Fix libm feraiseexcept namespace (bug 17723).
[platform/upstream/glibc.git] / ChangeLog
1 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
2
3         [BZ #17723]
4         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
5         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
6         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
7         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
8         libm_hidden_weak.
9         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
10         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
11         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
12         libm_hidden_def.
13         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
14         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
15         libm_hidden_weak.
16         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
17         Likewise.
18         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
19         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
20         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
21         libm_hidden_weak.
22         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
23         libm_hidden_def.
24         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
25         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
26         (__feraiseexcept): Likewise.
27         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
28         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
29         libm_hidden_weak.
30         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
31         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
32         libm_hidden_def.
33         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
34         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
35         Use libm_hidden_def.
36         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
37         libm_hidden_def.
38         (feraiseexcept): Define as weak not strong alias.  Use
39         libm_hidden_weak.
40         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
41         New inline function.  Factored out of ...
42         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
43         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
44         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
45         feraiseexcept.
46         * math/w_acos.c (__acos): Likewise.
47         * math/w_asin.c (__asin): Likewise.
48         * math/w_ilogb.c (__ilogb): Likewise.
49         * math/w_j0.c (y0): Likewise.
50         * math/w_j1.c (y1): Likewise.
51         * math/w_jn.c (yn): Likewise.
52         * math/w_log.c (__log): Likewise.
53         * math/w_log10.c (__log10): Likewise.
54         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
55         * sysdeps/aarch64/fpu/math_private.h
56         (libc_feupdateenv_test_aarch64): Likewise.
57         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
58         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
59         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
60         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
61         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
62         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
63         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
64         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
65         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
66         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
67
68 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
69
70         [BZ #17732]
71         * io/test-utime.c (main): Replace %ld with %jd and cast to
72         intmax_t.
73         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
74         * nptl/tst-mutex5.c: Include <stdint.h>.
75         (do_test): Replace %ld with %jd and cast to intmax_t.
76         * posix/tst-regex.c (run_test): Likewise.
77         (run_test_backwards): Likewise.
78         * rt/tst-clock.c: Include <stdint.h>.
79         (clock_test): Replace %ld with %jd and cast to intmax_t.
80         * rt/tst-cpuclock1.c: Include <stdint.h>.
81         (do_test): Replace %lu with %ju and cast to uintmax_t.
82         * rt/tst-cpuclock2.c: Include <stdint.h>.
83         (do_test): Replace %lu with %ju and cast to uintmax_t.
84         * rt/tst-mqueue1.c: Include <stdint.h>.
85         (check_attrs): Replace %ld with %jd and cast to intmax_t.
86         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
87         intmax_t.
88         * rt/tst-mqueue4.c (do_test): Likewise.
89         * rt/tst-timer4.c: Include <stdint.h>.
90         (check_ts): Replace %ld with %jd and cast to intmax_t.
91         (do_test): Likewise.
92         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
93         and cast to intmax_t.
94         * sysdeps/pthread/tst-timer.c (main): Likewise.
95         * time/clocktest.c (main): Likewise.
96         * time/tst-posixtz.c (do_test): Likewise.
97         * timezone/tst-timezone.c (main): Likewise.
98
99 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
100             H.J. Lu  <hongjiu.lu@intel.com>
101
102         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
103         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
104         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
105         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
106         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
107         version if bit_Fast_Unaligned_Load is set.
108         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
109         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
110         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
111         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
112         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
113         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
114         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
115         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
116         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
117         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
118         to 4.
119         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
120         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
121         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
122         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
123
124 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
125
126         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
127         instead of #if to avoid a Wundef warning.
128         * stdlib/tst-limits.c (do_test): Likewise.
129
130         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
131         parallel other exception macros.
132         (fegetenv): Convert from macro to extern inline so that it applies
133         retroactively to inline functions already seen by the compiler.
134         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
135
136         * posix/Makefile (before-compile): Use $(objpfx) for
137         posix-conf-vars-def.h.
138
139 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
140
141         * posix/getconf.c (main): Use size_t for type of I.
142         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
143         NSPEC.
144
145         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
146         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
147         * posix/posix-envs.def: Likewise.
148         * sysdeps/posix/sysconf.c: Likewise.
149         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
150         (specs): Remove array.
151         * scripts/gen-posix-conf-vars.awk: Support generation of specs
152         array.
153
154         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
155         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
156         (__sysconf): Use CONF_IS_* macros.
157
158         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
159         ($(objpfx)posix-conf-vars-def.h): New target.
160         * posix/posix-conf-vars.list: New file.
161         * posix/posix-conf-vars.h: New file.
162         * posix/confstr.c: Include posix-conf-vars.h.
163         (confstr): Use CONF_IS_* macros.
164         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
165         CONF_IS_* macros.
166         * scripts/gen-posix-conf-vars.awk: New file.
167
168 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
169
170         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
171         fegetround): Add no-op macros to avoid linknamespace issues.
172
173         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
174         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
175
176         * sysdeps/unix/sysv/linux/tile/sysdep.h
177         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
178         assembly-specific section to avoid a redefinition warning.
179
180         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
181         long before casting to pointer to avoid a cast warning.
182
183 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
184
185         * sysdeps/tile/tilegx/Implies: New file.
186
187 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
188
189         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
190
191 2014-12-23  Florian Weimer  <fweimer@redhat.com>
192
193         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
194
195 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
196
197         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
198         not define.
199         * sysdeps/unix/sysv/linux/utimes.c: Do not include
200         <kernel-features.h>.
201         (__utimes) [__NR_utimes]: Make code unconditional.
202         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
203         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
204         (__ASSUME_UTIMES): Do not undefine.
205         * sysdeps/unix/sysv/linux/tile/kernel-features.h
206         (__ASSUME_UTIMES): Likewise.
207         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
208         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
209         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
210         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
211
212 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
213
214         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
215
216 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
217
218         [BZ #17747]
219         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
220         alias to weak alias for j0l, y0l.
221         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
222         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
223
224         [BZ #17746]
225         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
226         conversion.
227
228 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
229
230         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
231         to zero if not already defined.
232
233 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
234
235         [BZ #17724]
236         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
237         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
238         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
239         (char *) casts added.
240         * sysdeps/ieee754/k_standardf.c: New file.
241         * sysdeps/ieee754/k_standardl.c: Likewise.
242         * math/Makefile (libm-support): Remove k_standard.
243         (libm-calls): Add k_standard.
244
245 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
246
247         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
248         Optimize to avoid an unnecessary FPCR read.
249
250 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
251
252         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
253         Optimize to reduce FPCR/FPSR accesses.
254
255 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
256
257         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
258         Call libc_fetestexcept_aarch64.
259
260 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
261
262         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
263         Call libc_fesetround_aarch64.
264
265 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
266
267         [BZ #17733]
268         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
269         (__bind): Do not define as weak alias.
270         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
271         define.
272         (__getsockname): Do not define as weak alias.
273
274 2014-12-22  Will Newton  <will.newton@linaro.org>
275
276         * manual/install.texi: Document that we require bison 2.7
277         or above.
278         * INSTALL: Regenerate.
279         * configure.ac: Use AC_CHECK_PROG_VER instead of
280         AC_PATH_PROG when checking for bison and check for
281         version 2.7 or above.
282         * configure: Regenerate.
283
284 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
285
286         [BZ #17745]
287         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
288         * sysdeps/tile/ffsll.c (ffsll): To here.
289
290         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
291
292 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
293
294         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
295         if not defined.
296         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
297         definition.
298         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
299         hidden ___tls_get_addr.
300         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
301         hidden __tls_get_addr.
302         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
303         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
304         Likewise.
305
306 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
307
308         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
309         _dl_init call.
310
311 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
312
313         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
314         from "call _dl_init@PLT".
315         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
316
317 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
318
319         * manual/search.texi: (Array Sort Function): Clarify stable sorting
320         guarantees.
321
322 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
323
324         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
325
326 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
327
328         [BZ #17744]
329         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
330         strnlen.
331
332 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
333
334         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
335         of multu on MIPSr6.
336         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
337         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
338         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
339         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
340         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
341
342 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
343
344         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
345         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
346         (PTR_SUBU): Use subu for mips32r6/mips64r6.
347         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
348         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
349         mips32r6/mips64r6.
350         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
351
352 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
353
354         * string/strncat.c (STRNCAT): Simplify implementation.
355
356 2014-12-19  David S. Miller  <davem@davemloft.net>
357
358         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
359         access the quad as both a long double and as a series of 4 words.
360
361         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
362         link_map->l_info array access.
363
364 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
365
366         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
367
368         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
369         * math/atest-exp2.c (TIMEOUT): Likewise.
370         * math/atest-sincos.c (TIMEOUT): Likewise.
371
372 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
373
374         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
375         -Wno-error with -fno-builtin-lround.
376
377 2014-12-19  Torvald Riegel  <triegel@redhat.com>
378
379         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
380         Contains futex constants and functions moved over from ...
381         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
382         <lowlevellock-futex.h>.
383         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
384         (lll_timedwait_tid): Add comments and parentheses around macro
385         arguments.
386
387 2014-12-19  Torvald Riegel  <triegel@redhat.com>
388
389         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
390         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
391         (__lll_private_flag): Remove.
392         (lll_futex_wait): Likewise.
393         (lll_futex_timed_wait): Likewise.
394         (lll_futex_wake): Likewise.
395         (lll_futex_requeue): Likewise.
396         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
397         (__lll_timedwait_tid): Spell out argument names.
398         (lll_timedwait_tid): Add comments and parentheses around macro
399         arguments.
400         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
401         LLL_SHARED and LLL_PRIVATE usable from assembly code.
402
403 2014-12-19  Torvald Riegel  <triegel@redhat.com>
404
405         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
406         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
407         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
408         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
409         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
410         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
411         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
412         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
413         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
414         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
415         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
416         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
417         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
418         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
419         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
420         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
421         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
422         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
423         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
424
425 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
426
427         * sysdeps/x86_64/x32/Makefile: New file.
428
429 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
430
431         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
432         1L with (mp_limb_t) 1.
433
434 2014-12-17  Roland McGrath  <roland@hack.frob.com>
435
436         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
437         * nptl/libc_pthread_init.c: ... here.
438         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
439         * nptl/register-atfork.c: ... here.
440
441         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
442         Use pthread_sigmask rather than INTERNAL_SYSCALL.
443         Use assert_perror to check its return value.
444         (__gai_create_helper_thread): Likewise.
445
446         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
447
448         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
449
450 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
451
452         [BZ #17725]
453         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
454         __profil_counter.
455         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
456         Likewise.
457         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
458         Likewise.
459         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
460         Likewise.
461         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
462         (profil_counter): Likewise.
463         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
464         (profil_counter): Likewise.
465         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
466         Likewise.
467         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
468         Likewise.
469         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
470         (profil_counter): Likewise.
471         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
472         Likewise.
473         [!__profil_counter] (profil_counter): Define as weak alias of
474         __profil_counter.
475         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
476         (profil_counter): Rename to __profil_counter.
477         [!__profil_counter] (profil_counter): Define as weak alias of
478         __profil_counter.
479         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
480         (profil_counter): Rename to __profil_counter.
481         [!__profil_counter] (profil_counter): Define as weak alias of
482         __profil_counter.
483         * sysdeps/posix/profil.c: Update comment referring to
484         profil_counter.
485         (__profil): Use __profil_counter instead of profil_counter.
486         * sysdeps/posix/sprofil.c (profil_counter): Rename to
487         __profil_counter.  Use __profil_counter_ushort and
488         __profil_counter_uint in definitions.
489         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
490         instead of profil_counter_uint and profil_counter_ushort.
491
492         [BZ #17722]
493         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
494         define as weak alias of __inet_makeaddr.
495         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
496         as weak alias of __inet_addr.
497         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
498         as weak alias of __inet_pton.  Use libc_hidden_weak.
499         * include/arpa/inet.h (__inet_pton): Declare.  Use
500         libc_hidden_proto.
501         (inet_makeaddr): Don't use libc_hidden_proto.
502         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
503         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
504         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
505         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
506         Remove variable.
507         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
508         (test-xfail-POSIX/time.h/linknamespace): Likewise.
509
510 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
511
512         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
513
514 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
515
516         * stdio-common/bug-vfprintf-nargs.c (do_test):
517         Cast value to intptr_t to avoid format warning
518         for usage with PRIdPTR printing macro.
519
520 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
521
522         * libio/tst-widetext.c (do_test):
523         Use format type %td instead of %Zd for ptrdiff_t
524         in order to avoid format warning.
525
526 2014-12-17  Andreas Schwab  <schwab@suse.de>
527
528         * nscd/mem.c (gc): Add size_t cast to match printf format.
529
530 2014-12-16  Roland McGrath  <roland@hack.frob.com>
531
532         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
533         (init): Apply PTR_MANGLE to pointers before storing them.
534         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
535         before using them.
536
537 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
538
539         [BZ #17719]
540         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
541         define as weak alias of __memrchr.
542         (__memrchr): Do not define as strong alias of memrchr.
543         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
544         Remove variable.
545         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
546         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
547         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
548
549         [BZ #17717]
550         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
551         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
552         (if_indextoname): Rename to __if_indextoname and define as weak
553         alias of __if_indextoname.  Use libc_hidden_weak.
554         (if_freenameindex): Rename to __if_freenameindex and define as
555         weak alias of __if_freenameindex.
556         (if_nameindex): Rename to __if_nameindex and define as weak alias
557         of __if_nameindex.
558         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
559         __if_nametoindex and define as weak alias of __if_nametoindex.
560         Use libc_hidden_weak.
561         (if_freenameindex): Rename to __if_freenameindex and define as
562         weak alias of __if_freenameindex.
563         (if_nameindex): Rename to __if_nameindex and define as weak alias
564         of __if_nameindex.
565         (if_indextoname): Rename to __if_indextoname and define as weak
566         alias of __if_indextoname.  Use libc_hidden_weak.
567         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
568         __if_nametoindex and define as weak alias of __if_nametoindex.
569         Use libc_hidden_weak.
570         (if_freenameindex): Rename to __if_freenameindex and define as
571         weak alias of __if_freenameindex.  Use libc_hidden_weak.
572         (if_nameindex_netlink): Use __if_freenameindex instead of
573         if_freenameindex.
574         (if_nameindex): Rename to __if_nameindex and define as weak alias
575         of __if_nameindex.  Use libc_hidden_weak.
576         (if_indextoname): Rename to __if_indextoname and define as weak
577         alias of __if_indextoname.  Use libc_hidden_weak.
578         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
579         libc_hidden_proto.
580         [!_ISOMAC] (__if_freenameindex): Likewise.
581         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
582         if_nametoindex.
583         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
584         variable.
585         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
586         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
587         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
588         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
589         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
590         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
591         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
592
593         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
594         Remove variable.
595         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
596         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
597
598 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
599
600         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
601         subscript above bounds'
602
603         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
604         bounds.
605
606 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
607
608         * libio/tst-fopenloc.c: Use test-skeleton.c.
609
610         * stdlib/tst-bsearch.c: Use test-skeleton.c.
611         (entry): Rename to ITEM.
612         (do_test, comp): Adjust.
613
614         * stdio-common/tst-fseek.c: Use test-skeleton.c.
615
616 2014-12-16  Torvald Riegel  <triegel@redhat.com>
617
618         * string/tester.c: Include <libc-internal.h>.
619         (test_memset): Ignore -Wmemset-transposed-args.
620
621 2014-12-16  Torvald Riegel  <triegel@redhat.com>
622
623         * misc/tst-mntent2.c (do_test): Fix warning.
624
625 2014-12-16  Torvald Riegel  <triegel@redhat.com>
626
627         * elf/tst-unique4lib.cc(a): Mark as used.
628
629 2014-12-16  Florian Weimer  <fweimer@redhat.com>
630
631         [BZ #17630]
632         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
633         names.
634
635 2014-12-16  Allan McRae  <allan@archlinux.org>
636
637         * stdio-common/Makefile (tests): Re-add bug26.
638
639 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
640
641         [BZ #17657]
642         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
643         static array.
644
645 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
646
647         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
648         (__lll_lock_wait): Likewise.
649         (__lll_timedlock_wait): Likewise.
650         (__lll_timedwait_tid): Likewise.
651         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
652         (__lll_robust_timedlock_wait): Likewise.
653         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
654         (lll_cond_trylock): Likewise.
655         (__lll_lock): Likewise.
656         (__lll_robust_lock): Likewise.
657         (__lll_cond_lock): Likewise.
658         (lll_robust_cond_lock): Likewise.
659         (__lll_timedlock): Likewise.
660         (__lll_robust_timedlock): Likewise.
661         (__lll_unlock): Likewise.
662         (__lll_robust_unlock): Likewise.
663         (lll_wait_tid): Likewise.
664         (lll_timedwait_tid): Likewise.
665
666 2014-12-15  Torvald Riegel  <triegel@redhat.com>
667
668         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
669
670 2014-12-15  Torvald Riegel  <triegel@redhat.com>
671
672         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
673
674 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
675
676         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
677         * stdio-common/tst-sprintf.c: Likewise.
678
679 2014-12-15  Torvald Riegel  <triegel@redhat.com>
680
681         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
682
683 2014-12-15  Jeff Law  <law@redhat.com>
684
685         [BZ #16617]
686         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
687         on the heap.  (CVE-2012-3406)
688         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
689         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
690         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
691
692 2014-12-15  Will Newton  <will.newton@linaro.org>
693
694         * manual/install.texi: Bump required version of texinfo
695         to 4.7 from 4.5.
696         * INSTALL: Regenerated.
697         * configure.ac: Check for makeinfo version 4.7 and above.
698         * configure: Regenerated.
699
700 2014-12-12  Roland McGrath  <roland@hack.frob.com>
701
702         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
703         PREFIX, string constant to insert between directory and name.
704         * sysdeps/posix/shm_open.c: Update caller.
705         * sysdeps/posix/shm_unlink.c: Likewise.
706         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
707         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
708         (SEM_SHM_PREFIX): New macro.
709         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
710         [$(have-thread-library) = no].
711         * nptl/Makefile (libpthread-routines): Add shm-directory.
712         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
713         * sysdeps/nptl/shm-directory.h: New file.
714         * sysdeps/posix/shm-directory.c
715         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
716         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
717         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
718         INTERNAL_SYSCALL.
719         (__where_is_shmfs): Function removed.
720         (mountpoint, defaultmount, defaultdir, __namedsem_once):
721         Variables removed.
722         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
723         Use SHM_GET_NAME.
724         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
725
726         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
727         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
728         unconditional for use inside libpthread.
729         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
730
731 2014-12-12  Roland McGrath  <roland@hack.frob.com>
732
733         * nptl/pthread_getaffinity.c: New file.
734         * nptl/pthread_setaffinity.c: New file.
735         * nptl/pthread_getname.c: New file.
736         * nptl/pthread_setname.c: New file.
737
738         * nptl/pthread_create.c (START_THREAD_DEFN)
739         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
740
741 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
742             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
743
744         * resolv/res_send.c (send_vc): Disable warning resplen may
745         be used uninitialized.
746
747 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
748
749         * nptl/tst-mutex6.c
750         (ATTR_NULL): New define checks ATTR against NULL.
751         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
752         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
753
754 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
755
756         [BZ #17581]
757         * malloc/hooks.c
758         (mem2mem_check): Revert my previous change.
759         (malloc_check_get_size): Revert my previous change.
760         (mem2chunk_check): Revert my previous change.
761
762 2014-12-11  Roland McGrath  <roland@hack.frob.com>
763
764         * sysdeps/posix/shm-directory.c: New file.
765         * sysdeps/posix/shm-directory.h: New file.
766         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
767         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
768         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
769         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
770         Transmute EPERM to EACCES.
771         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
772         from ...
773         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
774         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
775
776 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
777
778         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
779         pointer and cast to uintptr_t.
780         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
781         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
782         Add cast to avoid warning.
783         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
784
785 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
786
787         * nptl/semaphore.h: Move to ...
788         * sysdeps/pthread/semaphore.h: ... here.
789         * Makefile (installed-headers): Change nptl/semaphore.h to
790         sysdeps/pthread/semaphore.h.
791
792 2014-12-11  Roland McGrath  <roland@hack.frob.com>
793
794         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
795         generated error format strings.
796
797         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
798         -Wformat-extra-args warnings for scanf formats.
799         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
800         test of zero-length format (duh).
801         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
802         corner-case scanf format test.
803         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
804         generated fprintf format string.
805         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
806         corner-case sprintf format tests.
807         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
808         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
809         -Wformat-extra-args warnings throughout.
810         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
811         (CFLAGS-scanf4.c): Likewise.
812         (CFLAGS-scanf7.c): Likewise.
813         (CFLAGS-tst-sprintf.c): Likewise.
814         (CFLAGS-tst-printf.c): Likewise.
815         (CFLAGS-tst-printfsz.c): Likewise.
816
817 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
818
819         * include/cpio.h: New file.
820         * include/fmtmsg.h: Likewise.
821
822         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
823         corresponding format argument to size_t.
824         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
825         arguments.
826         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
827         corresponding format argument to size_t.
828         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
829         arguments.
830         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
831         corresponding format argument to size_t.
832         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
833         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
834         (CFLAGS-tst-mbswcs2.c): Likewise.
835         (CFLAGS-tst-mbswcs3.c): Likewise.
836         (CFLAGS-tst-mbswcs4.c): Likewise.
837         (CFLAGS-tst-mbswcs5.c): Likewise.
838         (CFLAGS-tst-trans.c): Likewise
839
840 2014-12-11  Roland McGrath  <roland@hack.frob.com>
841
842         * posix/regexbug1.c (main): Use "%s" format with regerror results,
843         rather than assuming they won't contain any '%'s.
844
845 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
846
847         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
848         inhibit_loop_to_libcall to avoid recursive calls.
849         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
850         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
851
852 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
853
854         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
855         prototype.
856
857 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
858
859         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
860         integer value instead of boolean.
861
862 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
863
864         * malloc/malloc.c: Fix powerof2 check.
865
866 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
867
868         * locale/programs/locfile.h (maybe_swap_uint32):
869         Remove inline and add unused attribute.
870
871 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
872
873         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
874         Truncating assembler expression to a .long expression.
875
876 2014-12-11  Andreas Schwab  <schwab@suse.de>
877
878         * elf/rtld.c (struct map_args): Constify str member.
879         (do_preload): Constify fname argument.
880
881 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
882
883         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
884         constants definition.
885
886 2014-12-11  Andreas Schwab  <schwab@suse.de>
887
888         [BZ #16657]
889         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
890         FORCE_ELISION instead of DO_ELISION.
891         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
892         Remove.
893         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
894         Likewise.
895
896         * iconvdata/gconv-modules: Remove duplicate entry.
897
898 2014-12-11  Will Newton  <will.newton@linaro.org>
899
900         Merge gettext 0.19.3 into intl/.
901
902         This involves a number of cosmetic changes to comments
903         and ANSI function definitions and prototypes throughout
904         all the files. The gettext copyright header is used but
905         with the date ranges taken from the glibc copy.
906
907         * NEWS: Add gettext merge to 2.21.
908         * intl/bindtextdom.c: Switch to gettext copyright.
909         Use ANSI definitions and prototypes.
910         Use gl_* locking primitives rather than __libc_* ones.
911         Use __builtin_expect rather than __glibc_likely/unlikely.
912         * intl/dcgettext.c: Switch to gettext copyright.
913         Use ANSI definitions and prototypes.
914         * intl/dcigettext.c: Switch to gettext copyright.
915         Use ANSI definitions and prototypes.
916         (INTDIV0_RAISES_SIGFPE): New define.
917         Use gl_* locking primitives rather than __libc_* ones.
918         Include eval-plural.h instead of plural-eval.c.
919         Use __builtin_expect rather than __glibc_likely/unlikely.
920         * intl/dcngettext.c: Switch to gettext copyright.
921         Use ANSI definitions and prototypes.
922         * intl/dgettext.c: Likewise.
923         * intl/dngettext.c: Likewise.
924         * intl/plural-eval.c: Renamed to...
925         * intl/eval-plural.h: ...this.
926         * intl/explodename.c: Switch to gettext copyright.
927         Use ANSI definitions and prototypes.
928         (_nl_explode_name): Use strchr instead of __rawmemchr.
929         * intl/finddomain.c: Switch to gettext copyright.
930         Use ANSI definitions and prototypes.
931         Use gl_* locking primitives rather than __libc_* ones.
932         (_nl_find_domain): Use malloc rather than alloca for
933         allocation of temporary locale name.
934         * intl/gettext.c: Switch to gettext copyright.
935         Use ANSI definitions and prototypes.
936         * intl/gettextP.h: Switch to gettext copyright.
937         Use ANSI definitions and prototypes.
938         Use gl_* locking primitives rather than __libc_* ones.
939         * intl/gmo.h: Switch to gettext copyright.
940         (struct sysdep_string): Move struct segment_pair outside of
941         struct definition.
942         * intl/hash-string.c: Use ANSI definitions and prototypes.
943         * intl/hash-string.h: Switch to gettext copyright.
944         Use ANSI definitions and prototypes.
945         * intl/l10nflist.c: Switch to gettext copyright.
946         Use ANSI definitions and prototypes.
947         (_nl_normalize_codeset): Avoid integer overflow.
948         * intl/loadinfo.h: Switch to gettext copyright.
949         Use ANSI definitions and prototypes.
950         (LIBINTL_DLL_EXPORTED): New define.
951         (PATH_SEPARATOR): New define.
952         * intl/loadmsgcat.c: Switch to gettext copyright.
953         * intl/localealias.c: Switch to gettext copyright.
954         Use ANSI definitions and prototypes.
955         (_nl_expand_alias): Use PATH_SEPARATOR.
956         * intl/ngettext.c: Switch to gettext copyright.
957         Use ANSI definitions and prototypes.
958         * intl/plural-exp.c: Likewise.
959         * intl/plural-exp.h: Switch to gettext copyright.
960         Use ANSI definitions and prototypes.
961         (struct expression): Move definition of enum operator outside
962         of struct definition.
963         * intl/plural.c: Regenerate.
964         * intl/plural.y: Switch to gettext copyright.
965         Use ANSI definitions and prototypes.
966         Port to bison 3.0.
967         * intl/textdomain.c: Switch to gettext copyright.
968         Use ANSI definitions and prototypes.
969         Use gl_* locking primitives rather than __libc_* ones.
970
971 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
972
973         * debug/warning-nop.c: Add used atrribute.
974
975 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
976
977         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
978
979         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
980         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
981         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
982
983 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
984             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
985
986         [BZ #17634]
987         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
988         Undefine after defining function.  Define as weak alias of
989         __wcschr.  Use libc_hidden_weak.
990         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
991         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
992         (libc_hidden_def): Also define __GI___wcschr alias.
993         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
994         __wcschr and define as weak alias of __wcschr.
995         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
996         __wcschr.
997         [!WCSCHR] (DEFAULT_WCSCHR): Define.
998         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
999         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
1000         libc_hidden_weak.  Do not use libc_hidden_def.
1001         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
1002         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
1003         __GI___wcschr alias.
1004         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
1005         [IS_IN (libc)] (wcschr): Define as macro expanding to
1006         __redirect_wcschr.
1007         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
1008         [IS_IN (libc)] (__wcschr_power6): Likewise.
1009         [IS_IN (libc)] (__wcschr_power7): Likewise.
1010         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
1011         instead of wcschr.
1012         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
1013         __libc_wcschr.
1014         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
1015         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
1016         __wcschr and define as weak alias of __wcschr.  Use
1017         libc_hidden_builtin_def.
1018         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
1019         as weak alias of __wcschr.  Use libc_hidden_weak.
1020         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
1021         wcschr.
1022         * time/era.c (_nl_init_era_entries): Likewise.
1023         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
1024         variable.
1025         (test-xfail-XPG3/time.h/linknamespace): Likewise.
1026         (test-xfail-XPG4/time.h/linknamespace): Likewise.
1027
1028 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1029
1030         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
1031         format for long int variable.
1032
1033 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
1034
1035         [BZ #10672]
1036         * manual/search.texi: (Array Sort Function): Remove claim how to make
1037         qsort stable.
1038
1039 2014-12-10  Andreas Schwab  <schwab@suse.de>
1040
1041         [BZ #12847]
1042         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
1043         user-controlled locks.
1044
1045 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
1046
1047         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
1048         register.
1049
1050 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
1051
1052         * configure.ac (--disable-werror): New configure option.
1053         (enable_werror): New AC_SUBST.
1054         * configure: Regenerated.
1055         * config.make.in (enable-werror): New variable.
1056         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
1057         -Wno-error=undef.
1058         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
1059         * manual/install.texi (Configuring and compiling): Document
1060         --disable-werror.
1061         * INSTALL: Regenerated.
1062         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
1063         (CFLAGS-tst-chk2.c): Likewise.
1064         (CFLAGS-tst-chk3.c): Likewise.
1065         (CFLAGS-tst-chk4.cc): Likewise.
1066         (CFLAGS-tst-chk5.cc): Likewise.
1067         (CFLAGS-tst-chk6.cc): Likewise.
1068         (CFLAGS-tst-lfschk1.c): Likewise.
1069         (CFLAGS-tst-lfschk2.c): Likewise.
1070         (CFLAGS-tst-lfschk3.c): Likewise.
1071         (CFLAGS-tst-lfschk4.cc): Likewise.
1072         (CFLAGS-tst-lfschk5.cc): Likewise.
1073         (CFLAGS-tst-lfschk6.cc): Likewise.
1074
1075         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
1076         (main): Disable -Wdeprecated-declarations around calls to
1077         register_printf_function.
1078
1079         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
1080         (do_test): Disable -Wdiv-by-zero around some calls to
1081         fwrite_unlocked and fread_unlocked.
1082
1083         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
1084         (DIAG_POP_NEEDS_COMMENT): Likewise.
1085         (_DIAG_STR1): Likewise.
1086         (_DIAG_STR): Likewise.
1087         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
1088         * stdio-common/bug21.c: Include <libc-internal.h>.
1089         (do_test): Disable -Wformat around call to sscanf.
1090         * stdio-common/scanf14.c: Include <libc-internal.h>.
1091         (main): Disable -Wformat around some calls to scanf functions.
1092
1093 2014-12-09  Torvald Riegel  <triegel@redhat.com>
1094
1095         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
1096
1097 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1098
1099         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
1100         stack variable alignment.
1101
1102 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
1103
1104         [BZ #17682]
1105         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
1106         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
1107         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
1108         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
1109         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
1110         __getrlimit instead of getrlimit.
1111         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
1112         __gettimeofday instead of gettimeofday.
1113         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
1114         Likewise.
1115         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
1116         Likewise.
1117         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
1118         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
1119         Remove variable.
1120         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
1121         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
1122
1123 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1124
1125         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
1126         for wide-character tests.
1127
1128 2014-12-04  Roland McGrath  <roland@hack.frob.com>
1129
1130         * io/openat64.c: #include <libc-internal.h>
1131         (__openat64): Prototypify.  Use ignore_value on MODE.
1132         * io/openat.c: Likewise.
1133         * misc/reboot.c: #include <libc-internal.h>
1134         (reboot): Prototypify.  Use ignore_value on HOWTO.
1135         * misc/ptrace.c: #include <libc-internal.h>
1136         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
1137
1138 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
1139
1140         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
1141         XPG4, UNIX98 and XOPEN2K.
1142         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
1143         Remove variable.
1144         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
1145
1146 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1147
1148         * libio/fileops.c: Use ISO C style for function definitions.
1149         * libio/iofopen.c: Likewise.
1150         * libio/wfileops.c: Likewise.
1151
1152         [BZ #17653]
1153         * libio/fileops.c (_IO_new_file_underflow): Unset cached
1154         offset on EOF.
1155         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
1156         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
1157         (fgets_func): Function pointer to fgets and fgetws.
1158         (do_ftell_test): Add test to verify ftell value after read
1159         EOF.
1160         (do_test): Set fgets_func.
1161
1162         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
1163         O_TRUNC flag for w and w+ modes.
1164         (do_rewind_test): Likewise.
1165         (do_ftell_test): Likewise.
1166         (do_write_test): Likewise.
1167
1168         [BZ #17647]
1169         * libio/fileops.c (do_ftell): Seek only when there are
1170         unflushed writes.
1171         * libio/wfileops.c (do_ftell_wide): Likewise.
1172         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
1173         test case.
1174         (do_one_test): Call it.
1175
1176 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
1177
1178         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
1179         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
1180         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
1181         Remove variable.
1182         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
1183         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
1184         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
1185
1186 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
1187
1188         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
1189         Remove variable.
1190         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
1191
1192         [BZ #17668]
1193         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
1194         as weak alias of __getifaddrs.  Use libc_hidden_weak.
1195         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1196         __freeifaddrs.  Use libc_hidden_weak.
1197         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
1198         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
1199         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1200         __freeifaddrs.  Use libc_hidden_weak.
1201         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
1202         __getifaddrs and define as weak alias of __getifaddrs.  Use
1203         libc_hidden_weak.
1204         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
1205         __freeifaddrs.  Use libc_hidden_weak.
1206         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
1207         Remove variable.
1208         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
1209         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
1210
1211 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
1212
1213         [BZ #17601]
1214         * sysdeps/mips/start.S (__start): Use indirect jump to call
1215         __libc_start_main.
1216
1217 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
1218
1219         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
1220
1221         * nptl/tst-mutex1.c: Include <stdbool.h>.
1222         [!ATTR] (ATTR_NULL): New macro.
1223         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
1224         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
1225         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
1226
1227         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
1228         to char *.
1229
1230         [BZ #17665]
1231         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
1232         Change conditional to [__USE_MISC].
1233
1234         [BZ #17664]
1235         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
1236         fgets_unlocked.
1237         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
1238         __fgets_unlocked.
1239         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
1240         fgets_unlocked.
1241         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
1242         Remove variable.
1243         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
1244         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
1245         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
1246         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
1247         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
1248         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
1249         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
1250         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
1251         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
1252
1253         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
1254
1255 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1256
1257         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1258         Remove strpbrk objects.
1259         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1260         (__libc_ifunc_impl_list): Remove strpbrk implementation.
1261         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
1262         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
1263         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
1264         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
1265
1266         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1267         Remove strcspn objects.
1268         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1269         (__libc_ifunc_impl_list): Remove strcspn implementation.
1270         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
1271         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
1272         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
1273         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
1274
1275         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
1276         Remove strspn objetcs.
1277         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1278         (__libc_ifunc_impl_list): Remove strspn implementation.
1279         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
1280         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1281         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
1282         * sysdeps/powerpc/powerpc64/strspn.S: New file.
1283
1284 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
1285
1286         [BZ #17581]
1287         * malloc/hooks.c
1288         (mem2mem_check): Add a terminator to the chain of checking blocks.
1289         (malloc_check_get_size): Use it here.
1290         (mem2chunk_check): Ditto.
1291
1292 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1293
1294         * sysdeps/powerpc/powerpc64/strtok.S: New file.
1295         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
1296
1297 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
1298
1299         * bits/ioctl-types.h: Indent preprocessor directives correctly.
1300
1301         * nptl/nptl-init.c: Include libc-internal.h.
1302         (__pthread_initialize_minimal_internal): Use ROUND_UP.
1303
1304         * elf/ldconfig.c (search_dir): Expand comment.
1305
1306 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
1307
1308         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
1309         variable.
1310         (linknamespace-symlist-stdlibs-tests): Likewise.
1311         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
1312         instead of $(objpfx)symlist-stdlibs.
1313         (linknamespace-libs-isoc): New variable.
1314         (linknamespace-libs): Use $(linknamespace-libs-isoc).
1315         (linknamespace-libs-ISO): New variable.
1316         (linknamespace-libs-ISO99): Likewise.
1317         (linknamespace-libs-ISO11): Likewise.
1318         (linknamespace-libs-XPG3): Likewise.
1319         (linknamespace-libs-XPG4): Likewise.
1320         (linknamespace-libs-POSIX): Likewise.
1321         (linknamespace-libs-UNIX98): Likewise.
1322         (linknamespace-libs-XOPEN2K): Likewise.
1323         (linknamespace-libs-POSIX2008): Likewise.
1324         (linknamespace-libs-XOPEN2K8): Likewise.
1325         ($(objpfx)symlist-stdlibs): Replace by
1326         $(linknamespace-symlist-stdlibs-tests).  Use
1327         $(linknamespace-libs-$*) as set of libraries.
1328         ($(linknamespace-header-tests)): Update dependencies.  Use
1329         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
1330         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
1331         * conform/linknamespace.pl: Remove comment about considering
1332         definitions of symbols from irrelevant libraries.
1333
1334 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
1335
1336         [BZ #13862]
1337         * elf/dl-tls.c: Include <atomic.h>.
1338         (oom): Remove #ifdef SHARED/#endif.
1339         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
1340         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
1341         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
1342         big enough.
1343         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
1344         * nptl/Makefile (tests): Add tst-stack4.
1345         (modules-names): Add tst-stack4mod.
1346         ($(objpfx)tst-stack4): New.
1347         (tst-stack4mod.sos): Likewise.
1348         ($(objpfx)tst-stack4.out): Likewise.
1349         ($(tst-stack4mod.sos)): Likewise.
1350         (clean): Likewise.
1351         * nptl/tst-stack4.c: New file.
1352         * nptl/tst-stack4mod.c: Likewise.
1353
1354 2014-11-27  J. Brown  <jb999@gmx.de>
1355
1356         * sysdeps/x86/bits/string.h: Add recent CPUs.
1357
1358 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
1359
1360         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
1361         sigblock.
1362
1363         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
1364         feof.
1365
1366         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
1367         variable.
1368
1369 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
1370
1371         * nscd/connections.c: Include libc-internal.h because of macro
1372         usage ignore_value.
1373
1374 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
1375
1376         * string/bits/string3.h (__warn_memset_zero_len): Don't
1377         declare for gcc newer than 5.0.
1378         (memset): Don't test for zero-length __LEN for gcc newer than
1379         5.0.
1380
1381 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
1382
1383         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
1384         size_t for %zu format.
1385
1386         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
1387         difference, not %ju.
1388
1389 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
1390
1391         * include/libc-internal.h (ignore_value): New macro.
1392         * nscd/connections.c (restart): Wrap calls to setuid and setgid
1393         with ignore_value.
1394
1395         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
1396         definition.
1397
1398         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
1399         pthread_cleanup_push to void *.
1400
1401         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
1402         Undefine.
1403
1404         [BZ #16619]
1405         [BZ #16740]
1406         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
1407         instead of 1L << 52.
1408
1409         * libio/bug-rewind.c (do_test): Check fwscanf return values.
1410         * libio/bug-rewind2.c (do_test): Likewise.
1411
1412         * debug/test-stpcpy_chk-ifunc.c: Remove file.
1413         * debug/test-strcpy_chk-ifunc.c: Likewise.
1414         * wcsmbs/test-wcschr-ifunc.c: Likewise.
1415         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
1416         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
1417         * wcsmbs/test-wcslen-ifunc.c: Likewise.
1418         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
1419         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
1420         * Rules [$(multi-arch) = no] (tests): Do not filter out
1421         $(tests-ifunc).
1422         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
1423         * debug/Makefile (tests-ifunc): Remove variable.
1424         (tests): Do not add $(tests-ifunc).
1425         * wcsmbs/Makefile (tests-ifunc): Remove variable.
1426         (tests): Do not add $(tests-ifunc).
1427         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
1428         [TEST_IFUNC]: Remove conditionals.
1429         * string/test-string.h (TEST_IFUNC): Remove macro.
1430         [TEST_IFUNC]: Remove conditionals.
1431
1432         * string/test-strchr.c [!WIDE] (L): New macro.
1433         [WIDE] (L): Likewise.
1434         (check1): Use CHAR instead of char.  Use L on string and character
1435         constants.
1436
1437 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
1438
1439         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
1440         tests.
1441         * sysdeps/powerpc/bits/atomic.h
1442         (__arch_atomic_exchange_and_add_32_acq): Add definition.
1443         (__arch_atomic_exchange_and_add_32_rel): Likewise.
1444         (atomic_exchange_and_add_acq): Likewise.
1445         (atomic_exchange_and_add_rel): Likewise.
1446         * sysdeps/powerpc/powerpc32/bits/atomic.h
1447         (__arch_atomic_exchange_and_add_64_acq): Add definition.
1448         (__arch_atomic_exchange_and_add_64_rel): Likewise.
1449         * sysdeps/powerpc/powerpc64/bits/atomic.h
1450         (__arch_atomic_exchange_and_add_64_acq): Add definition.
1451         (__arch_atomic_exchange_and_add_64_rel): Likewise.
1452
1453 2014-11-26  Torvald Riegel  <triegel@redhat.com>
1454
1455         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
1456         Change synchronization of __sched_fifo_min_prio and
1457         __sched_fifo_max_prio.
1458         * nptl/pthread_mutexattr_getprioceiling.c
1459         (pthread_mutexattr_getprioceiling): Likewise.
1460         * nptl/pthread_mutexattr_setprioceiling.c
1461         (pthread_mutexattr_setprioceiling): Likewise.
1462         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
1463         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
1464         Likewise.
1465
1466 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
1467
1468         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
1469         void.
1470
1471 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
1472
1473         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
1474         third argument const.
1475
1476 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
1477
1478         fnmatch: work around GCC compiler warning bug with uninit var
1479         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
1480         This works around a bug with x86-64 GCC 4.9.2 and earlier
1481         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
1482         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
1483         used uninitialized in this function [-Wmaybe-uninitialized]".
1484
1485 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
1486
1487         * posix/bug-regex31.c (main): Return RES not 0.
1488
1489 2014-11-25  Anton Blanchard <anton@samba.org>
1490
1491         * sysdeps/powerpc/bits/atomic.h
1492         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
1493
1494 2014-11-24  Sterling Augustine  <saugustine@google.com>
1495
1496         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
1497
1498 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
1499
1500         [BZ #17608]
1501         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
1502
1503 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
1504
1505         [BZ #17633]
1506         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
1507         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
1508         variable.
1509         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
1510         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
1511
1512 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
1513
1514         * string/strncpy.c (strncpy): Improve performance by using memset.
1515
1516 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
1517
1518         * string/strcpy.c (strcpy):
1519         Improve performance by using strlen and memcpy.
1520
1521 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
1522
1523         * string/strcoll_l.c (get_next_seq): __always_inline.
1524         * string/strcoll_l.c (do_compare): __always_inline.
1525
1526 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
1527
1528         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
1529         defined.
1530         * include/mqueue.h: Likewise.
1531         * include/stdlib.h: Likewise.
1532
1533         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
1534         (get_null_defines): Adjust.
1535         * sunrpc/Makefile: Adjust comment.
1536         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
1537         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
1538         (CFLAGS-interp.c): Likewise.
1539         (CFLAGS-ldconfig.c): Likewise.
1540         (CPPFLAGS-.os): Likewise.
1541         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
1542         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
1543         * extra-modules.mk (extra-modules.mk): Likewise.
1544         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
1545         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
1546         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
1547         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
1548         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
1549         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
1550         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
1551         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
1552         * iconvdata/Makefile (CPPFLAGS): Likewise.
1553         (cpp-srcs-left): Add libof for all iconvdata routines.
1554         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
1555         * include/assert.h: Likewise.
1556         * include/ctype.h: Likewise.
1557         * include/errno.h: Likewise.
1558         * include/libc-symbols.h: Likewise.
1559         * include/math.h: Likewise.
1560         * include/netdb.h: Likewise.
1561         * include/resolv.h: Likewise.
1562         * include/stdio.h: Likewise.
1563         * include/stdlib.h: Likewise.
1564         * include/string.h: Likewise.
1565         * include/sys/stat.h: Likewise.
1566         * include/wctype.h: Likewise.
1567         * intl/l10nflist.c: Likewise.
1568         * libidn/idn-stub.c: Likewise.
1569         * libio/libioP.h: Likewise.
1570         * nptl/libc_multiple_threads.c: Likewise.
1571         * nptl/pthreadP.h: Likewise.
1572         * posix/regex_internal.h: Likewise.
1573         * resolv/res_hconf.c: Likewise.
1574         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
1575         * sysdeps/arm/memmove.S: Likewise.
1576         * sysdeps/arm/sysdep.h: Likewise.
1577         * sysdeps/generic/_itoa.h: Likewise.
1578         * sysdeps/generic/symbol-hacks.h: Likewise.
1579         * sysdeps/gnu/errlist.awk: Likewise.
1580         * sysdeps/gnu/errlist.c: Likewise.
1581         * sysdeps/i386/i586/memcpy.S: Likewise.
1582         * sysdeps/i386/i586/memset.S: Likewise.
1583         * sysdeps/i386/i686/memcpy.S: Likewise.
1584         * sysdeps/i386/i686/memmove.S: Likewise.
1585         * sysdeps/i386/i686/mempcpy.S: Likewise.
1586         * sysdeps/i386/i686/memset.S: Likewise.
1587         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
1588         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
1589         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
1590         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
1591         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
1592         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
1593         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
1594         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
1595         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
1596         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
1597         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
1598         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
1599         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
1600         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
1601         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
1602         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
1603         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
1604         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
1605         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
1606         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
1607         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
1608         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
1609         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
1610         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
1611         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
1612         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
1613         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
1614         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
1615         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
1616         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
1617         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
1618         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
1619         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
1620         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
1621         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
1622         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
1623         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
1624         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
1625         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
1626         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
1627         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
1628         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
1629         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
1630         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
1631         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
1632         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
1633         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
1634         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
1635         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
1636         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
1637         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
1638         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
1639         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
1640         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
1641         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
1642         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
1643         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
1644         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
1645         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
1646         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
1647         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
1648         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
1649         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
1650         * sysdeps/nptl/bits/libc-lock.h: Likewise.
1651         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
1652         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
1653         * sysdeps/posix/closedir.c: Likewise.
1654         * sysdeps/posix/opendir.c: Likewise.
1655         * sysdeps/posix/readdir.c: Likewise.
1656         * sysdeps/posix/rewinddir.c: Likewise.
1657         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
1658         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
1659         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
1660         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
1661         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
1662         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
1663         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
1664         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
1665         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
1666         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
1667         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
1668         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
1669         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
1670         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
1671         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
1672         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
1673         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
1674         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
1675         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
1676         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
1677         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
1678         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
1679         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
1680         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
1681         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
1682         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
1683         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
1684         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
1685         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
1686         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
1687         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
1688         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
1689         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
1690         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
1691         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
1692         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
1693         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
1694         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
1695         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
1696         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
1697         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
1698         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
1699         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
1700         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
1701         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
1702         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
1703         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
1704         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
1705         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
1706         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
1707         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
1708         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
1709         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
1710         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
1711         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
1712         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
1713         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
1714         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
1715         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
1716         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
1717         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
1718         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
1719         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
1720         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
1721         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
1722         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
1723         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
1724         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
1725         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
1726         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
1727         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
1728         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
1729         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
1730         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
1731         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
1732         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
1733         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
1734         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
1735         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
1736         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
1737         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
1738         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
1739         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
1740         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
1741         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
1742         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
1743         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
1744         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
1745         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
1746         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
1747         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
1748         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
1749         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
1750         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
1751         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
1752         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
1753         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
1754         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
1755         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
1756         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
1757         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
1758         * sysdeps/unix/alpha/sysdep.S: Likewise.
1759         * sysdeps/unix/alpha/sysdep.h: Likewise.
1760         * sysdeps/unix/make-syscalls.sh: Likewise.
1761         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
1762         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1763         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
1764         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
1765         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
1766         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
1767         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
1768         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1769         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
1770         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
1771         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1772         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
1773         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1774         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1775         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
1776         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
1777         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1778         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1779         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1780         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
1781         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
1782         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1783         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
1784         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
1785         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
1786         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
1787         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1788         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
1789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
1790         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
1791         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1792         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
1793         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
1794         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1795         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
1796         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
1797         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
1798         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1799         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
1800         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
1801         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1802         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
1803         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1804         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
1805         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1806         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
1807         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1808         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
1809         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
1810         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1811         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1812         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
1813         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1814         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1815         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
1816         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1817         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
1818         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1819         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
1820         * sysdeps/x86_64/memcpy.S: Likewise.
1821         * sysdeps/x86_64/memmove.c: Likewise.
1822         * sysdeps/x86_64/memset.S: Likewise.
1823         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
1824         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
1825         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
1826         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
1827         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
1828         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
1829         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
1830         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
1831         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
1832         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
1833         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
1834         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
1835         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
1836         * sysdeps/x86_64/multiarch/memset.S: Likewise.
1837         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
1838         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
1839         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
1840         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
1841         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
1842         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
1843         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
1844         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
1845         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
1846         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
1847         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
1848         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
1849         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
1850         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
1851         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
1852         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
1853         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
1854         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
1855         * sysdeps/x86_64/strcmp.S: Likewise.
1856
1857         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
1858
1859         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
1860         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
1861         * elf/rtld-Rules: Likewise.
1862         * elf/setup-vdso.h: Likewise.
1863         * include/assert.h: Likewise.
1864         * include/bits/stdlib-float.h: Likewise.
1865         * include/errno.h: Likewise.
1866         * include/sys/stat.h: Likewise.
1867         * include/unistd.h: Likewise.
1868         * sysdeps/aarch64/setjmp.S: Likewise.
1869         * sysdeps/alpha/setjmp.S: Likewise.
1870         * sysdeps/arm/__longjmp.S: Likewise.
1871         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
1872         * sysdeps/arm/setjmp.S: Likewise.
1873         * sysdeps/arm/sysdep.h: Likewise.
1874         * sysdeps/generic/_itoa.h: Likewise.
1875         * sysdeps/generic/dl-sysdep.h: Likewise.
1876         * sysdeps/generic/ldsodefs.h: Likewise.
1877         * sysdeps/i386/dl-tls.h: Likewise.
1878         * sysdeps/i386/setjmp.S: Likewise.
1879         * sysdeps/m68k/setjmp.c: Likewise.
1880         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
1881         * sysdeps/mach/hurd/opendir.c: Likewise.
1882         * sysdeps/posix/getcwd.c: Likewise.
1883         * sysdeps/posix/opendir.c: Likewise.
1884         * sysdeps/posix/profil.c: Likewise.
1885         * sysdeps/powerpc/dl-procinfo.h: Likewise.
1886         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
1887         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
1888         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
1889         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
1890         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
1891         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
1892         * sysdeps/s390/dl-tls.h: Likewise.
1893         * sysdeps/s390/s390-32/setjmp.S: Likewise.
1894         * sysdeps/s390/s390-64/setjmp.S: Likewise.
1895         * sysdeps/sh/sh3/setjmp.S: Likewise.
1896         * sysdeps/sh/sh4/setjmp.S: Likewise.
1897         * sysdeps/unix/alpha/sysdep.h: Likewise.
1898         * sysdeps/unix/arm/sysdep.S: Likewise.
1899         * sysdeps/unix/i386/sysdep.S: Likewise.
1900         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
1901         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
1902         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
1903         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
1904         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
1905         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
1906         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
1907         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
1908         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
1909         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
1910         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
1911         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
1912         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
1913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
1914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
1915         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
1916         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
1917         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
1918         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
1919         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
1920         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
1921         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
1922         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
1923         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
1924         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
1925         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
1926         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
1927         * sysdeps/unix/x86_64/sysdep.S: Likewise.
1928         * sysdeps/x86_64/setjmp.S: Likewise.
1929
1930         * include/math.h: Use IS_IN instead of IS_IN_libm.
1931         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
1932         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
1933         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
1934         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
1935         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
1936         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
1937         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
1938         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
1939         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
1940         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
1941         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
1942         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
1943         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
1944         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
1945         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
1946         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
1947         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
1948         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
1949         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
1950         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
1951         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
1952         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
1953         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
1954         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
1955         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
1956         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
1957         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
1958         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
1959         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
1960         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
1961         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
1962         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
1963         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
1964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
1965         Likewise.
1966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
1967         Likewise.
1968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
1969         Likewise.
1970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
1971         Likewise.
1972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
1973         Likewise.
1974         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
1975         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
1976         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
1977         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
1978         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
1979         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
1980         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
1981         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
1982         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
1983         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
1984         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
1985         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
1986         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
1987         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
1988         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
1989         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
1990         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
1991         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
1992         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
1993         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
1994         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
1995         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
1996         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
1997         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
1998         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
1999         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
2000         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
2001
2002         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
2003         * nptl/pthreadP.h: Likewise.
2004         * nptl_db/structs.def: Likewise.
2005         * sysdeps/arm/sysdep.h: Likewise.
2006         * sysdeps/nptl/bits/libc-lock.h: Likewise.
2007         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
2008         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
2009         * sysdeps/unix/alpha/sysdep.h: Likewise.
2010         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2011         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
2012         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2013         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2014         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2015         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2016         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
2017         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2018         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2019         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2020         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2021         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2022         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2023         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
2025         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
2026         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2027         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2028         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2029         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2030         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2031         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2032         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
2033         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2034         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
2035         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2036
2037         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
2038         * nptl/pthreadP.h: Likewise.
2039         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
2040         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
2041         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
2042         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
2043         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
2044         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
2045         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
2046         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
2047         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
2048         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
2049         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
2050         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
2051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
2052         Likewise.
2053         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
2054         Likewise.
2055         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
2056         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
2057         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
2058         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
2059         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
2060         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
2061         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
2062         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
2063
2064         * dlfcn/dladdr.c: Use IS_IN.
2065         * dlfcn/dladdr1.c: Likewise.
2066         * dlfcn/dlclose.c: Likewise.
2067         * dlfcn/dlerror.c: Likewise.
2068         * dlfcn/dlinfo.c: Likewise.
2069         * dlfcn/dlmopen.c: Likewise.
2070         * dlfcn/dlopen.c: Likewise.
2071         * dlfcn/dlsym.c: Likewise.
2072         * dlfcn/dlvsym.c: Likewise.
2073
2074         * include/ifaddrs.h: Use IS_IN.
2075         * inet/check_pf.c: Likewise.
2076         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
2077         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
2078
2079         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
2080         IS_IN_ldconfig.
2081         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
2082         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
2083
2084         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
2085         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
2086         IS_IN (libc).
2087
2088         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
2089
2090         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
2091         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
2092         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
2093         * include/libc-symbols.h (IS_IN_LIB): New macro.
2094         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
2095         * include/netdb.h: Likewise.
2096         * include/stap-probe.h: Remove all uses of IN_LIB.
2097
2098         * Makeconfig (module-cppflags-real): Define MODULE_NAME
2099         instead of IN_MODULE.
2100         * include/libc-symbols.h (IN_MODULE): Define using
2101         MODULE_NAME.
2102         (PASTE_NAME, PASTE_NAME1): New macros.
2103         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
2104         of IN_LIB.
2105         (STAP_PROBE_ASM): Likewise.
2106
2107 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
2108
2109         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
2110         __mach_init in dlopened libc.
2111
2112 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
2113
2114         * sysdeps/arm/preconfigure.ac: Delete EABI check.
2115         * sysdeps/arm/preconfigure: Regenerate.
2116
2117 2014-11-21  Roland McGrath  <roland@hack.frob.com>
2118
2119         * nptl/pthread_create.c (__pthread_create_2_1): Set
2120         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
2121         when copying values from IATTR into PD.
2122
2123 2014-11-21  Will Newton  <will.newton@linaro.org>
2124             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
2125
2126         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
2127         Refactor inline-asm.  Also add comment.
2128
2129         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
2130         ElfW macro instead of hardcoded Elf64 types.
2131         (la_aarch64_gnu_pltenter): Likewise.
2132         * sysdeps/aarch64/dl-machine.h
2133         (elf_machine_runtime_setup): Use ElfW(Addr).
2134
2135         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
2136         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
2137         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
2138         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
2139         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
2140         (R_AARCH64_TLS_DTPMOD64): Rename to ..
2141         (R_AARCH64_TLS_DTPMOD): This.
2142         (R_AARCH64_TLS_DTPREL64): Rename to ...
2143         (R_AARCH64_TLS_DTPREL): This.
2144         (R_AARCH64_TLS_TPREL64): Rename to ...
2145         (R_AARCH64_TLS_TPREL): This.
2146         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
2147         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
2148         R_AARCH64_TLS_TPREL64.
2149         (elf_machine_rela): Likewise.
2150
2151 2014-11-21  Torvald Riegel  <triegel@redhat.com>
2152
2153         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
2154         by setting it to 0.  64b atomics are not supported currently.
2155
2156 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2157
2158         [BZ #16469]
2159         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
2160         search domain names.
2161
2162 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2163
2164         [BZ #16469]
2165         * NEWS: Update.
2166         * resolv/res_query.c (__libc_res_nquerydomain): Retain
2167         trailing dot.
2168         * posix/tst-getaddrinfo5.c: New.
2169         * posix/Makefile (tests): Add it.
2170
2171 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2172
2173         [BZ #14498]
2174         * NEWS: Fixed.
2175         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
2176         after parsing line but before break_if_match.
2177         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
2178         if there is a protocol mismatch.
2179
2180 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
2181
2182         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
2183         because the potential race is on the user-supplied stream.
2184
2185 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2186
2187         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
2188         string literal if not passed a buffer.
2189         * manual/job.texi (ctermid): Update reasoning, note deviation
2190         from posix, suggest mtasurace when not passed a buffer, for
2191         future non-preliminary safety notes.
2192
2193 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2194
2195         * manual/users.texi (cuserid): Fix MT-Safety note for the case
2196         of not passing it a buffer.
2197         Reported by Peng Haitao.
2198
2199 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
2200
2201         * manual/Makefile ($(objpfx)stamp-summary): Require
2202         check-safety.sh to pass.
2203         * manual/check-safety.sh: Wish for verification that every
2204         @deftypefn and @deftypefun is followed by a @safety remark.
2205
2206 2014-11-20  Roland McGrath  <roland@hack.frob.com>
2207
2208         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
2209
2210         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
2211         PTHREAD_CANCEL_ASYNCHRONOUS.
2212         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
2213         send SIGCANCEL.
2214
2215         * nptl/default-sched.h: New file.
2216         * sysdeps/unix/sysv/linux/default-sched.h: New file.
2217         * nptl/pthread_create.c: Include it.
2218         (__pthread_create_2_1): Use collect_default_sched instead of making
2219         Linux syscalls here directly.
2220
2221 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2222
2223         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
2224         __pthread_once): Use C11 atomics.
2225
2226 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2227
2228         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
2229
2230 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2231
2232         * include/atomic.h (__atomic_link_error, __atomic_check_size,
2233         atomic_thread_fence_acquire, atomic_thread_fence_release,
2234         atomic_thread_fence_seq_cst, atomic_load_relaxed,
2235         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
2236         atomic_compare_exchange_weak_relaxed,
2237         atomic_compare_exchange_weak_acquire,
2238         atomic_compare_exchange_weak_release,
2239         atomic_exchange_acquire, atomic_exchange_release,
2240         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
2241         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
2242         atomic_fetch_and_acquire,
2243         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
2244
2245 2014-11-20  Torvald Riegel  <triegel@redhat.com>
2246
2247         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
2248         USE_ATOMIC_COMPILER_BUILTINS): Define.
2249         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
2250         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2251         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
2252         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2253         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
2254         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2255         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
2256         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2257         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
2258         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2259         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
2260         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2261         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
2262         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2263         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
2264         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2265         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2266         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2267         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2268         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2269         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
2270         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2271         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
2272         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2273         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
2274         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2275         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
2276         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2277         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
2278         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2279         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
2280         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2281         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
2282         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2283         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
2284         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2285         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
2286         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2287         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
2288         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
2289
2290 2014-11-19  Roland McGrath  <roland@hack.frob.com>
2291
2292         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
2293         the sched_priority value here.  It was already checked when the user
2294         called pthread_attr_setschedparam.
2295
2296         * nptl/tst-bad-schedattr.c: New file.
2297         * nptl/Makefile (tests): Add it.
2298
2299 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
2300             Florian Weimer  <fweimer@redhat.com>
2301             Joseph Myers  <joseph@codesourcery.com>
2302             Adam Conrad  <adconrad@0c3.net>
2303             Andreas Schwab  <schwab@suse.de>
2304             Brooks  <bmoses@google.com>
2305
2306         [BZ #17625]
2307         * wordexp-test.c (__dso_handle): Add prototype.
2308         (__register_atfork): Likewise.
2309         (__app_register_atfork): New function.
2310         (registered_forks): New global.
2311         (register_fork): New function.
2312         (test_case): Add 3 new tests for WRDE_CMDSUB.
2313         (main): Call __app_register_atfork.
2314         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
2315         fork count is non-zero fail the test.
2316         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
2317         is set.
2318         (parse_dollars): Remove check for WRDE_NOCMD.
2319         (parse_dquote): Likewise.
2320
2321 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
2322
2323         * Makeconfig (built-modules): List non-library modules to be
2324         built.
2325         (module-cppflags): Include libc-modules.h for
2326         everything except shlib-versions.v.i.
2327         (CPPFLAGS): Use it.
2328         (before-compile): Add libc-modules.h.
2329         ($(common-objpfx)libc-modules.h,
2330         $(common-objpfx)libc-modules.stmp): New targets.
2331         (common-generated): Add libc-modules.h and libc-modules.stmp.
2332         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
2333         * include/libc-symbols.h: Don't include libc-modules.h.
2334         * include/libc-modules.h: Remove file.
2335         * scripts/gen-libc-modules.awk: New script to generate
2336         libc-modules.h.
2337         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
2338         Depend on libc-modules.stmp.
2339
2340         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
2341
2342         * Makeconfig (in-module): Get value of libof set for the
2343         translation unit.
2344         (CPPFLAGS): Use $(in-module).
2345         * Makerules: Don't suffix routine names for nonlib.
2346         * include/libc-modules.h: New file.
2347         * include/libc-symbols.h: Include libc-modules.h
2348         (IS_IN): New macro to replace IS_IN_* macros.
2349         * elf/Makefile: Set libof-* for each routine.
2350         * elf/rtld-Rules: Likewise.
2351         * extra-modules.mk: Likewise.
2352         * iconv/Makefile: Likewise.
2353         * iconvdata/Makefile: Likewise.
2354         * locale/Makefile: Likewise.
2355         * malloc/Makefile: Likewise.
2356         * nss/Makefile: Likewise.
2357         * sysdeps/gnu/Makefile: Likewise.
2358         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
2359         * sysdeps/unix/sysv/linux/Makefile: Likewise.
2360         * sysdeps/s390/s390-64/Makefile: Likewise.
2361         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
2362         CPPFLAGS for nscd instead of nonlib.
2363
2364 2014-11-18  Roland McGrath  <roland@hack.frob.com>
2365
2366         * nptl/createthread.c: New file.
2367
2368         * nptl/createthread.c: Moved ...
2369         * sysdeps/unix/sysv/linux/createthread.c: ... here.
2370
2371         * nptl/createthread.c: Add proper top-line comment.
2372         (do_clone): Folded into ...
2373         (create_thread): ... here.  Take new arguments STOPPED_START and
2374         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
2375         increment __nptl_threads, do event-reporting logic, do
2376         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
2377         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
2378         resource cleanup if sched_setaffinity or sched_setscheduler fails,
2379         just send SIGCANCEL.
2380         * nptl/pthread_create.c: Forward-declare create_thread before
2381         including createthread.c.
2382         (start_thread): Use new macro START_THREAD_DEFN to replace defining
2383         declaration, and new macro START_THREAD_SELF to replace argument.
2384         Remove return statement.
2385         (report_thread_creation): New function.
2386         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
2387         synchronization logic, and __nptl_nthreads increment here, around
2388         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
2389         PD->parent_cancelhandling here, before create_thread.  When
2390         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
2391         __deallocate_stack, and ENOMEM translation here.
2392
2393 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
2394
2395         [BZ #17616]
2396         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
2397         (mptwo): Rename to __mptwo.
2398         (__inv): Use __mptwo instead of mptwo.
2399         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
2400         (mptwo): Rename to __mptwo.
2401         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
2402         of mpone and __mptwo instead of mptwo.
2403         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
2404         instead of mpone.
2405         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
2406         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
2407         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
2408         of mpone and __mptwo instead of mptwo.
2409         (__mpranred): Use __mpone instead of mpone.
2410         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
2411         variable.
2412         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2413         (test-xfail-ISO99/math.h/linknamespace): Likewise.
2414         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2415         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2416         (test-xfail-ISO11/math.h/linknamespace): Likewise.
2417         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2418         (test-xfail-XPG3/math.h/linknamespace): Likewise.
2419         (test-xfail-XPG4/math.h/linknamespace): Likewise.
2420         (test-xfail-POSIX/math.h/linknamespace): Likewise.
2421         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2422         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2423         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2424         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2425         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2426         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2427         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2428         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2429         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2430         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2431
2432 2014-11-18  Tom de Vries  <tom@codesoucery.com>
2433
2434         * manual/signal.texi (Primitives Interrupted by Signals): In section,
2435         replace BSD Handler xref with BSD Signal Handling.
2436
2437 2014-11-17  Richard Henderson  <rth@redhat.com>
2438
2439         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
2440         (_FP_PACK_RAW_2): Remove.
2441         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
2442         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
2443         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
2444         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
2445         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
2446         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
2447         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
2448         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
2449         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
2450         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
2451         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
2452         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
2453         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
2454         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
2455         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
2456         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
2457
2458 2014-11-14  Roland McGrath  <roland@hack.frob.com>
2459
2460         * signal/signal.h [__USE_MISC]
2461         (struct sigvec): Remove type.
2462         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
2463         (sigvec): Remove declaration.
2464         * sysdeps/posix/sigvec.c: Moved ...
2465         * signal/sigvec.c: ... here, replacing old file.
2466         (struct sigvec): New type, copied from old signal.h definition.
2467         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
2468         (__sigvec): Convert definition to prototype.
2469         (sigvec): Replace weak_alias with compat_symbol.
2470         * signal/Versions (libc: GLIBC_2.21): New version set.
2471         * include/signal.h: Remove __sigvec declaration.
2472         * sysdeps/unix/bsd/sigvec.c: Remove file.
2473         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
2474         * manual/signal.texi (BSD Handler): Remove subsection.
2475         Move siginterrupt up to ...
2476         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
2477         (Blocking in BSD): Fold subsection into its parent.
2478         * NEWS: Mention sigvec removal.
2479
2480 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
2481
2482         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
2483         (DLA_FMS): Make definition conditional only on [__FMA4__].
2484         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
2485         definition.
2486
2487         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
2488         Make definition conditional only on [PROF].
2489         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
2490         definition.
2491         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
2492         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
2493
2494         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
2495         !__GNUC__].
2496         * include/signal.h (__sigpause): Move declaration above call to
2497         libc_hidden_proto.
2498         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
2499         variable.
2500         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2501         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2502
2503 2014-11-14  David S. Miller  <davem@davemloft.net>
2504
2505         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
2506         Define before including <string/memcpy.c> and <string/mempcpy.c>.
2507
2508 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
2509
2510         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
2511         * configure: Regenerated.
2512         * manual/install.texi (Tools for Compilation): Document a
2513         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
2514         compiler verified to work.
2515         * INSTALL: Regenerated.
2516
2517         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
2518         redeclare with asm name.
2519         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
2520         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
2521         including <string.h>.
2522         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2523         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
2524         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2525         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
2526         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2527         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
2528         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
2529
2530 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
2531
2532         * stdlib/strtol.c (__strtol): Use prototype definition.
2533
2534         [BZ #17594]
2535         * stdlib/strtol.c (SYM__): New macro.
2536         (SYM__1): Likewise.
2537         (__strtol): Likewise.
2538         (strtol): Rename to __strtol and define as weak alias of
2539         __strtol.  Use libc_hidden_weak.
2540
2541 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2542
2543         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
2544         Use numbered labels in inline assembly.
2545
2546 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2547
2548         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
2549         Add setjmp LIBC_PROBE.
2550         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
2551         Likewise.
2552         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
2553         Add longjmp, longjmp_target LIBC_PROBE.
2554         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
2555         Likewise.
2556
2557 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2558
2559         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
2560         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
2561         to get rid of unused variable warning.
2562
2563 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
2564
2565         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
2566         Check for unwind_backtrace ==  NULL only in SHARED case.
2567         (__backchain_backtrace): Compile only in SHARED case.
2568         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
2569         Likewise.
2570         (__backchain_backtrace): Declare as static.
2571
2572 2014-11-12  Roland McGrath  <roland@hack.frob.com>
2573
2574         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
2575         (__libc_multiple_threads_ptr): Variable moved ...
2576         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
2577
2578 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
2579
2580         * conform/GlibcConform.pm: New file.
2581         * conform/conformtest.pl: Use GlibcConform module.
2582         * conform/linknamespace.pl: New file.
2583         * conform/list-header-symbols.pl: Likewise.
2584         * conform/Makefile (linknamespace-symlists-base): New variable.
2585         (linknamespace-symlists-tests): Likewise.
2586         (linknamespace-header-base): Likewise.
2587         (linknamespace-header-tests): Likewise.
2588         (tests-special): Add new tests.
2589         ($(linknamespace-symlists-tests)): New rule.
2590         (linknamespace-libs): New variable.
2591         ($(objpfx)symlist-stdlibs): New rule.
2592         ($(linknamespace-header-tests)): Likewise.
2593         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
2594         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
2595         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
2596         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
2597         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
2598         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
2599         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
2600         (test-xfail-ISO/math.h/linknamespace): Likewise.
2601         (test-xfail-ISO/signal.h/linknamespace): Likewise.
2602         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
2603         (test-xfail-ISO/time.h/linknamespace): Likewise.
2604         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
2605         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
2606         (test-xfail-ISO99/math.h/linknamespace): Likewise.
2607         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
2608         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
2609         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
2610         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
2611         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
2612         (test-xfail-ISO11/math.h/linknamespace): Likewise.
2613         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
2614         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
2615         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
2616         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
2617         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
2618         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
2619         (test-xfail-XPG3/math.h/linknamespace): Likewise.
2620         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
2621         (test-xfail-XPG3/search.h/linknamespace): Likewise.
2622         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
2623         (test-xfail-XPG3/time.h/linknamespace): Likewise.
2624         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
2625         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
2626         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
2627         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
2628         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
2629         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
2630         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
2631         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
2632         (test-xfail-XPG4/math.h/linknamespace): Likewise.
2633         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
2634         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
2635         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
2636         (test-xfail-XPG4/search.h/linknamespace): Likewise.
2637         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
2638         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
2639         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
2640         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
2641         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
2642         (test-xfail-XPG4/time.h/linknamespace): Likewise.
2643         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
2644         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
2645         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
2646         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
2647         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
2648         (test-xfail-POSIX/math.h/linknamespace): Likewise.
2649         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
2650         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
2651         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
2652         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
2653         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
2654         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
2655         (test-xfail-POSIX/time.h/linknamespace): Likewise.
2656         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
2657         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
2658         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
2659         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
2660         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
2661         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
2662         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
2663         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
2664         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
2665         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
2666         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
2667         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
2668         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
2669         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
2670         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
2671         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
2672         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
2673         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
2674         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
2675         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
2676         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
2677         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
2678         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
2679         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
2680         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
2681         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
2682         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
2683         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
2684         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
2685         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
2686         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
2687         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
2688         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
2689         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
2690         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
2691         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
2692         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
2693         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
2694         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
2695         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
2696         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
2697         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
2698         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
2699         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
2700         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
2701         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
2702         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
2703         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
2704         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
2705         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
2706         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
2707         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
2708         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
2709         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
2710         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
2711         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
2712         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
2713         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
2714         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
2715         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
2716         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
2717         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
2718         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
2719         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
2720         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
2721         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
2722         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
2723         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
2724         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
2725         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
2726         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
2727         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
2728         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
2729         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
2730         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
2731         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
2732         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
2733         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
2734         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
2735         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
2736         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
2737         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
2738         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
2739         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
2740         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
2741         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
2742         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
2743         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
2744         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
2745         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
2746         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
2747         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
2748         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
2749         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
2750         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
2751         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
2752         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
2753         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
2754
2755         [BZ #17589]
2756         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
2757         of fgets_unlocked.
2758
2759         [BZ #17585]
2760         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
2761         (memmem): Rename to __memmem and define as weak alias of
2762         __memmem.  Use libc_hidden_weak.
2763         (__memmem): Use libc_hidden_def.
2764         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
2765         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
2766         memmem.
2767
2768         [BZ #17582]
2769         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
2770         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
2771         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
2772         and define as weak alias of __fgets_unlocked.  Use
2773         libc_hidden_weak.
2774         (__fgets_unlocked): Use libc_hidden_def.
2775         * include/stdio.h (__fgets_unlocked): Declare.  Use
2776         libc_hidden_proto.
2777         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
2778         __fgets_unlocked instead of fgets_unlocked.
2779         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
2780         (GET_NPROCS_CONF_PARSER): Likewise.
2781         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
2782         (GET_NPROCS_CONF_PARSER): Likewise.
2783
2784         [BZ #17574]
2785         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
2786         weak alias of __wmemset.  Use libc_hidden_weak.
2787         (__wmemset): Use libc_hidden_def.
2788         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
2789         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
2790         of wmemset.
2791
2792         [BZ #17573]
2793         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
2794         with asm name __mempcpy.
2795         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
2796
2797         [BZ #17572]
2798         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
2799         and define as weak alias of __rawmemchr.
2800         (__rawmemchr): Do not define as strong alias of rawmemchr.
2801
2802         [BZ #17571]
2803         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
2804         alias of __qsort_r.
2805         (qsort): Call __qsort_r instead of qsort_r.
2806         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
2807         (__qsort_r): Declare.  Call libc_hidden_proto.
2808         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
2809         instead of qsort_r.
2810         * nscd/gai.c (__qsort_r): Define to qsort_r.
2811         * posix/tst-rfc3484.c (__qsort_r): Likewise.
2812         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
2813         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
2814
2815         [BZ #17570]
2816         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
2817         define as weak alias of __malloc_info.
2818
2819         [BZ #17584]
2820         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
2821         as weak alias of __rewinddir.  Don't use libc_hidden_def.
2822         (__rewinddir): Use libc_hidden_def.
2823         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
2824         as weak alias of __rewinddir.  Don't use libc_hidden_def.
2825         (__rewinddir): Use libc_hidden_def.
2826         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
2827         weak alias of __rewinddir.  Don't use libc_hidden_def.
2828         (__rewinddir): Use libc_hidden_def.
2829         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
2830         (__rewinddir): Use libc_hidden_proto.
2831         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
2832         rewinddir.
2833         (__getcwd): Use __rewinddir instead of rewinddir.
2834
2835         [BZ #17583]
2836         * libio/fileno.c (fileno): Rename to __fileno and define as weak
2837         alias of __fileno.  Use libc_hidden_weak.
2838         (__fileno): Use libc_hidden_def.
2839         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
2840         * libio/ftello.c (ftello): Rename to __ftello and define as weak
2841         alias of __ftello.
2842         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
2843         __ftello.
2844         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
2845         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
2846         libc_hidden_def.
2847         (fread_unlocked): Don't use libc_hidden_ver.
2848         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
2849         and define as weak alias of __fread_unlocked.  Don't use
2850         libc_hidden_def.
2851         (__fread_unlocked): Use libc_hidden_def.
2852         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
2853         (ftello): Don't use libc_hidden_proto.
2854         (__ftello): Declare.  Use libc_hidden_proto.
2855         (fread_unlocked): Don't use libc_hidden_proto.
2856         (__fread_unlocked): Declare.  Use libc_hidden_proto.
2857         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
2858         and __ftello instead of fileno, fread_unlocked and ftello.
2859
2860 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
2861
2862         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
2863         GOT12.
2864         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
2865         Likewise.
2866         (_dl_start_user): Likewise.
2867         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
2868
2869 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
2870             Siddhesh Poyarekar  <siddhesh@redhat.com>
2871
2872         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
2873         Move argv and envp down instead of moving argc up.
2874         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
2875
2876 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
2877
2878         [BZ #17506]
2879         * test-skeleton.c (main): Return successful if one of
2880         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
2881         * string/tst-strcoll-overflow.c: Define expected status.
2882
2883 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
2884
2885         [BZ #17475]
2886         * locale/iso-639.def: Define Bhili and Tulu language codes.
2887
2888 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
2889
2890         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
2891
2892 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
2893
2894         [BZ #17555]
2895         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
2896
2897 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
2898
2899         * configure.ac: Updated check of minimal required version to
2900         2.22.
2901         * manual/install.texi (Tools for Compilation): Updated version
2902         number.
2903         * configure: Regenerated.
2904         * INSTALL: Likewise.
2905
2906 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
2907
2908         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
2909         __tls_get_addr.
2910
2911 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
2912
2913         * include/sys/wait.h (__libc_waitpid): Remove declaration.
2914         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
2915         (__waitpid): Don't define as alias.  Use libc_hidden_def not
2916         libc_hidden_weak.
2917         (waitpid): Define as alias of __waitpid.
2918         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
2919         __waitpid.
2920         (__waitpid): Don't define as alias.  Use libc_hidden_def not
2921         libc_hidden_weak.
2922         (waitpid): Define as alias of __waitpid.
2923         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
2924         __libc_waitpid alias.
2925         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
2926         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
2927         Likewise.
2928         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
2929         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
2930         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
2931         alias.
2932         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
2933         __waitpid.
2934         (__waitpid): Don't define as alias.  Use libc_hidden_def not
2935         libc_hidden_weak.
2936         (waitpid): Define as alias of __waitpid.
2937
2938 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
2939
2940         * manual/llio.texi: Add comment that write safety has been
2941         fixed in Linux.
2942
2943         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
2944         (localplt-build-dso): Add elf/ld.so.
2945         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
2946         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
2947         and free for ld.so.
2948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
2949         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
2950         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
2951         Likewise.
2952         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
2953         Likewise.
2954         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
2955         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
2956         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
2957         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
2958         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
2959         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
2960         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
2961         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
2962         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
2963         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
2964         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
2965
2966 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
2967
2968         [BZ #14132]
2969         * include/libc-symbols.h (INTUSE): Remove macro.
2970         (INTDEF): Likewise.
2971         (INTVARDEF): Likewise.
2972         (_INTVARDEF): Likewise.
2973         (INTDEF2): Likewise.
2974         (INTVARDEF2): Likewise.
2975         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
2976         rtld_hidden_def instead of INTVARDEF.
2977         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
2978         (_dl_starting_up_internal): Remove declaration.
2979         (_dl_starting_up): Use rtld_hidden_proto.
2980         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
2981         declaration.
2982         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
2983         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
2984         _dl_starting_up.
2985         * elf/dl-writev.h (_dl_writev): Likewise.
2986         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
2987         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
2988         _dl_starting_up_internal.
2989
2990 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2991
2992         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
2993         test-skeleton.c.
2994
2995 2014-11-05  Will Newton  <will.newton@linaro.org>
2996
2997         * benchtests/Makefile: (bench-malloc): Add malloc thread
2998         scalability benchmark.
2999         * benchtests/bench-malloc-threads.c: New file.
3000
3001 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
3002
3003         * sysdeps/aarch64/strchrnul.S: New file.
3004
3005 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3006
3007         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
3008         definition.
3009         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
3010         Likwise.
3011         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
3012         Likewise.
3013         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
3014         Likewise.
3015         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
3016         Likewise.
3017         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
3018         Likewise.
3019
3020 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
3021
3022         * catgets/test-gencat.c: Use test-skeleton.c.
3023         * catgets/tst-catgets.c: Likewise.
3024         * csu/tst-empty.c: Likewise.
3025         * elf/tst-audit2.c: Likewise.
3026         * elf/tst-global1.c: Likewise.
3027         * elf/tst-pathopt.c: Likewise.
3028         * elf/tst-piemod1.c: Likewise.
3029         * elf/tst-tls10.c: Likewise.
3030         * elf/tst-tls11.c: Likewise.
3031         * elf/tst-tls12.c: Likewise.
3032         * gnulib/tst-gcc.c: Likewise.
3033         * iconvdata/tst-e2big.c: Likewise.
3034         * iconvdata/tst-loading.c: Likewise.
3035         * iconv/tst-iconv1.c: Likewise.
3036         * iconv/tst-iconv2.c: Likewise.
3037         * inet/test-inet6_opt.c: Likewise.
3038         * inet/tst-gethnm.c: Likewise.
3039         * inet/tst-network.c: Likewise.
3040         * inet/tst-ntoa.c: Likewise.
3041         * intl/tst-codeset.c: Likewise.
3042         * intl/tst-gettext2.c: Likewise.
3043         * intl/tst-gettext3.c: Likewise.
3044         * intl/tst-ngettext.c: Likewise.
3045         * intl/tst-translit.c: Likewise.
3046         * io/test-stat.c: Likewise.
3047         * libio/test-fmemopen.c: Likewise.
3048         * libio/tst-freopen.c: Likewise.
3049         * libio/tst-sscanf.c: Likewise.
3050         * libio/tst-ungetwc1.c: Likewise.
3051         * libio/tst-ungetwc2.c: Likewise.
3052         * libio/tst-widetext.c: Likewise.
3053         * localedata/tst-ctype.c: Likewise.
3054         * localedata/tst-digits.c: Likewise.
3055         * localedata/tst-leaks.c: Likewise.
3056         * localedata/tst-mbswcs1.c: Likewise.
3057         * localedata/tst-mbswcs2.c: Likewise.
3058         * localedata/tst-mbswcs3.c: Likewise.
3059         * localedata/tst-mbswcs4.c: Likewise.
3060         * localedata/tst-mbswcs5.c: Likewise.
3061         * localedata/tst-setlocale.c: Likewise.
3062         * localedata/tst-trans.c: Likewise.
3063         * localedata/tst-wctype.c: Likewise.
3064         * localedata/tst-xlocale1.c: Likewise.
3065         * login/tst-grantpt.c: Likewise.
3066         * malloc/tst-calloc.c: Likewise.
3067         * malloc/tst-malloc.c: Likewise.
3068         * malloc/tst-mallocstate.c: Likewise.
3069         * malloc/tst-mcheck.c: Likewise.
3070         * malloc/tst-mtrace.c: Likewise.
3071         * malloc/tst-obstack.c: Likewise.
3072         * math/atest-exp2.c: Likewise.
3073         * math/atest-exp.c: Likewise.
3074         * math/atest-sincos.c: Likewise.
3075         * math/test-matherr.c: Likewise.
3076         * math/test-misc.c: Likewise.
3077         * math/test-powl.c: Likewise.
3078         * math/tst-definitions.c: Likewise.
3079         * misc/tst-dirname.c: Likewise.
3080         * misc/tst-efgcvt.c: Likewise.
3081         * misc/tst-fdset.c: Likewise.
3082         * misc/tst-hsearch.c: Likewise.
3083         * misc/tst-mntent2.c: Likewise.
3084         * nptl/tst-sem7.c: Likewise.
3085         * nptl/tst-sem8.c: Likewise.
3086         * nptl/tst-sem9.c: Likewise.
3087         * nss/test-netdb.c: Likewise.
3088         * posix/tst-fnmatch.c: Likewise.
3089         * posix/tst-getlogin.c: Likewise.
3090         * posix/tst-gnuglob.c: Likewise.
3091         * posix/tst-mmap.c: Likewise.
3092         * pwd/tst-getpw.c: Likewise.
3093         * resolv/tst-inet_ntop.c: Likewise.
3094         * rt/tst-timer.c: Likewise.
3095         * stdio-common/test-fseek.c: Likewise.
3096         * stdio-common/test-popen.c: Likewise.
3097         * stdio-common/test-vfprintf.c: Likewise.
3098         * stdio-common/tst-cookie.c: Likewise.
3099         * stdio-common/tst-fileno.c: Likewise.
3100         * stdio-common/tst-gets.c: Likewise.
3101         * stdio-common/tst-obprintf.c: Likewise.
3102         * stdio-common/tst-perror.c: Likewise.
3103         * stdio-common/tst-sprintf2.c: Likewise.
3104         * stdio-common/tst-sprintf3.c: Likewise.
3105         * stdio-common/tst-sprintf.c: Likewise.
3106         * stdio-common/tst-swprintf.c: Likewise.
3107         * stdio-common/tst-tmpnam.c: Likewise.
3108         * stdio-common/tst-unbputc.c: Likewise.
3109         * stdio-common/tst-wc-printf.c: Likewise.
3110         * stdlib/tst-environ.c: Likewise.
3111         * stdlib/tst-fmtmsg.c: Likewise.
3112         * stdlib/tst-limits.c: Likewise.
3113         * stdlib/tst-rand48-2.c: Likewise.
3114         * stdlib/tst-rand48.c: Likewise.
3115         * stdlib/tst-random2.c: Likewise.
3116         * stdlib/tst-random.c: Likewise.
3117         * stdlib/tst-strtol.c: Likewise.
3118         * stdlib/tst-strtoll.c: Likewise.
3119         * stdlib/tst-tls-atexit.c: Likewise.
3120         * stdlib/tst-xpg-basename.c: Likewise.
3121         * string/test-ffs.c: Likewise.
3122         * string/tst-bswap.c: Likewise.
3123         * string/tst-inlcall.c: Likewise.
3124         * string/tst-strtok.c: Likewise.
3125         * string/tst-strxfrm.c: Likewise.
3126         * sysdeps/x86_64/tst-audit10.c: Likewise.
3127         * sysdeps/x86_64/tst-audit3.c: Likewise.
3128         * sysdeps/x86_64/tst-audit4.c: Likewise.
3129         * sysdeps/x86_64/tst-audit5.c: Likewise.
3130         * time/tst-ftime_l.c: Likewise.
3131         * time/tst-getdate.c: Likewise.
3132         * time/tst-mktime3.c: Likewise.
3133         * time/tst-mktime.c: Likewise.
3134         * time/tst-posixtz.c: Likewise.
3135         * time/tst-strptime2.c: Likewise.
3136         * time/tst-strptime3.c: Likewise.
3137         * wcsmbs/tst-btowc.c: Likewise.
3138         * wcsmbs/tst-mbrtowc.c: Likewise.
3139         * wcsmbs/tst-mbsrtowcs.c: Likewise.
3140         * wcsmbs/tst-wchar-h.c: Likewise.
3141         * wcsmbs/tst-wcpncpy.c: Likewise.
3142         * wcsmbs/tst-wcrtomb.c: Likewise.
3143         * wcsmbs/tst-wcsnlen.c: Likewise.
3144         * wcsmbs/tst-wcstof.c: Likewise.
3145
3146 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
3147
3148         [BZ #14132]
3149         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
3150         INTDEF.
3151         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
3152         declaration.
3153         (_dl_mcount): Use rtld_hidden_proto.
3154         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
3155         _dl_mcount.
3156         * elf/rtld.c (_rtld_global_ro): Likewise.
3157
3158         [BZ #14132]
3159         * elf/dl-init.c (_dl_init): Don't use INTDEF.
3160         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
3161         of _dl_init_internal.
3162         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
3163         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
3164         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
3165         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
3166         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
3167         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
3168         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
3169         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
3170         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
3171         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
3172         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
3173         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
3174         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
3175         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
3176         * sysdeps/tile/dl-start.S (_start): Likewise.
3177         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
3178         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
3179
3180         [BZ #14132]
3181         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
3182         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
3183         (rtld_progname): Make macro definition unconditional.
3184         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
3185         INTDEF.
3186         (dlmopen_doit): Do not use INTUSE with _dl_argv.
3187         (dl_main): Likewise.
3188         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
3189         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
3190         instead of _dl_argv_internal.
3191         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
3192         __GI__dl_argv instead of INTUSE(_dl_argv).
3193         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
3194         __GI__dl_argv instead of _dl_argv_internal.
3195
3196         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
3197         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
3198         macro.
3199         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
3200         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
3201         New macro.
3202         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
3203         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
3204         macro.
3205         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
3206         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
3207
3208 2014-11-04  Andreas Schwab  <schwab@suse.de>
3209
3210         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
3211
3212 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3213
3214         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
3215         mtvsrd instruction in binary form.
3216
3217 2014-11-03  Andreas Schwab  <schwab@suse.de>
3218
3219         [BZ #17522]
3220         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
3221         for less than MB_LEN_MAX use a local buffer of that size.
3222         * libio/tst-fputws.c: New file.
3223         * libio/Makefile (tests): Add tst-fputws.
3224
3225 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
3226
3227         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
3228         the size of the fpu_fr.fpu_dregs[] array.
3229
3230 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
3231
3232         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
3233         (__nanosleep): Do not define as alias.
3234         (nanosleep): Define as alias of __nanosleep.
3235         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
3236         __libc_nanosleep name.
3237
3238 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
3239
3240         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
3241         install.texi in comment.
3242
3243 2014-10-31  Torvald Riegel  <triegel@redhat.com>
3244
3245         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
3246         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
3247         ... add here and use lwsync or sync ...
3248         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
3249         ... and add here using lwsync.
3250
3251 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
3252
3253         * elf/dl-machine-reject-phdr.h: New file.
3254         * elf/dl-load.c: #include that.
3255         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
3256         if that returned true.
3257
3258 2014-10-31  Roland McGrath  <roland@hack.frob.com>
3259
3260         [BZ #17496]
3261         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
3262         gen-as-const-headers chunk.  Add a big scare comment after the last
3263         safe place to touch before-compile.
3264
3265 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
3266
3267         * manual/install.texi (Tools for Compilation): Update autoconf
3268         version requirements.
3269         * INSTALL: Regenerated.
3270
3271         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
3272         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
3273         (__libc_pselect): Likewise.
3274
3275         [BZ #14138]
3276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
3277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
3278         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
3279         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
3280
3281 2014-10-31  Torvald Riegel  <triegel@redhat.com>
3282
3283         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
3284         correct barrier instruction.
3285         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
3286         Likewise.
3287         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
3288         Likewise.
3289
3290 2014-10-30  Roland McGrath  <roland@hack.frob.com>
3291
3292         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
3293         after defining inlines.  Instead, just use parens to defeat macro
3294         expansion of __isctype in its declaration.
3295
3296 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
3297
3298         * include/sys/uio.h (__libc_readv): Remove declaration.
3299         (__libc_writev): Likewise.
3300         * misc/readv.c (__libc_readv): Rename to __readv.
3301         (__readv): Do not define as alias.
3302         (readv): Define as alias of __readv.
3303         * misc/writev.c (__libc_writev): Rename to __writev.
3304         (__writev): Do not define as alias.
3305         (writev): Define as alias of __writev.
3306         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
3307         (__readv): Do not define as alias.
3308         (readv): Define unconditionally as alias of __readv.
3309         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
3310         (__writev): Do not define as alias.
3311         (writev): Define unconditionally as alias of __writev.
3312         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
3313         name.
3314         (writev): Do not define __libc_writev name.
3315
3316 2014-10-30  Roland McGrath  <roland@hack.frob.com>
3317
3318         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
3319         (convert_charseq): New function, broken out of ...
3320         (use_from_charmap): ... here.  Call it.
3321         (use_to_charmap): Use convert_charseq and free instead of duplicating
3322         its code with a variable-length stack struct.
3323
3324 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
3325
3326         * include/fcntl.h (__libc_creat): Remove declaration.
3327         * io/creat.c (__libc_creat): Rename to creat.
3328         (creat): Do not define as alias.
3329         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
3330         of creat instead of __libc_creat.
3331         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
3332         to creat.
3333         (creat): Do not define as alias.
3334         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
3335         __libc_creat.
3336         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
3337         __libc_creat name.
3338         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
3339         Likewise.
3340
3341 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
3342
3343         * manual/llio.texi: Add comments discussing why write() may be
3344         considered MT-unsafe on Linux.
3345
3346 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
3347
3348         * dl-load.c (local_strdup): Remove.
3349         (expand_dynamic_string_token): Use __strdup.
3350         (decompose_rpath): Likewise.
3351         (_dl_map_object): Likewise.
3352
3353 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
3354
3355         [BZ #14132]
3356         * sysdeps/generic/unwind-dw2-fde.c
3357         (__register_frame_info_bases_internal): Do not declare.
3358         (__register_frame_info_table_bases_internal): Likewise.
3359         (__deregister_frame_info_bases_internal): Likewise.
3360         (__register_frame_info_bases): Declare and use hidden_proto before
3361         definition.  Use hidden_def instead of INTDEF.
3362         (__register_frame_info_table_bases): Likewise.
3363         (__deregister_frame_info_bases): Likewise.
3364         (__register_frame_info): Do not use INTUSE.
3365         (__register_frame): Likewise.
3366         (__register_frame_info_table): Likewise.
3367         (__register_frame_table): Likewise.
3368         (__deregister_frame_info): Likewise.
3369         (__deregister_frame): Likewise.
3370
3371 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
3372
3373         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3374         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
3375         not undefine.
3376         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
3377         Likewise.
3378         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
3379         Likewise.
3380
3381 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
3382
3383         [BZ #14138]
3384         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
3385         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
3386         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
3387         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
3388         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
3389         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
3390         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
3391         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
3392         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
3393         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
3394         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
3395         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
3396         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
3397         syscall.
3398         (setfsuid): Likewise.
3399         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
3400         (setfsuid): Likewise.
3401         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
3402         (setfsuid): Likewise.
3403         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
3404         Likewise.
3405         (setfsuid): Likewise.
3406         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
3407         (setfsuid): Likewise.
3408         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
3409         Likewise.
3410         (setfsuid): Likewise.
3411
3412 2014-10-27  Andreas Schwab  <schwab@suse.de>
3413
3414         [BZ #17501]
3415         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
3416         check for Slow_SSE4_2 feature bit.
3417         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
3418         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
3419         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
3420         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
3421
3422 2014-10-24  Roland McGrath  <roland@hack.frob.com>
3423
3424         * configure.ac: Validate compiler version with a empirical test of
3425         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
3426         $CC -v output.
3427         * configure: Regenerated.
3428
3429         * inet/htons.c (htons): Prototypify.
3430         * inet/htonl.c (htonl): Likewise.
3431
3432 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3433
3434         * string/strncat.c (strncat): Improve performance by using strlen.
3435
3436 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3437
3438         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
3439
3440 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3441
3442         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
3443         Call libc_fetestexcept_aarch64.
3444
3445 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3446
3447         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
3448         Call libc_feholdexcept_aarch64.
3449
3450 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3451
3452         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
3453         Call get_rounding_mode.
3454
3455 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3456
3457         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
3458         Simplify logic.
3459
3460 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
3461
3462         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
3463         Simplify logic.
3464
3465 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
3466
3467         [BZ #14138]
3468         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
3469         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
3470         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
3471         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
3472         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
3473         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
3474         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
3475         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
3476         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
3477         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
3478         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
3479         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
3480         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
3481         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
3482         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
3483         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
3484         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
3485         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
3486         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
3487         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
3488         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
3489         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
3490         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
3491         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
3492         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
3493         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
3494         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
3495         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
3496         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
3497         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
3498         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
3499         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
3500         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
3501         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
3502         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
3503         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
3504         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
3505         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
3506         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
3507         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
3508         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
3509         syscall.
3510         (geteuid): Likewise.
3511         (getgid): Likewise.
3512         (getuid): Likewise.
3513         (getresgid): Likewise.
3514         (getresuid): Likewise.
3515         (getgroups): Likewise.
3516         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
3517         (geteuid): Likewise.
3518         (getgid): Likewise.
3519         (getuid): Likewise.
3520         (getresgid): Likewise.
3521         (getresuid): Likewise.
3522         (getgroups): Likewise.
3523         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
3524         (geteuid): Likewise.
3525         (getgid): Likewise.
3526         (getuid): Likewise.
3527         (getresgid): Likewise.
3528         (getresuid): Likewise.
3529         (getgroups): Likewise.
3530         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
3531         Likewise.
3532         (geteuid): Likewise.
3533         (getgid): Likewise.
3534         (getuid): Likewise.
3535         (getresgid): Likewise.
3536         (getresuid): Likewise.
3537         (getgroups): Likewise.
3538         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
3539         (geteuid): Likewise.
3540         (getgid): Likewise.
3541         (getuid): Likewise.
3542         (getresgid): Likewise.
3543         (getresuid): Likewise.
3544         (getgroups): Likewise.
3545         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
3546         Likewise.
3547         (geteuid): Likewise.
3548         (getgid): Likewise.
3549         (getuid): Likewise.
3550         (getgroups): Likewise.
3551
3552         [BZ #14138]
3553         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
3554         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
3555         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
3556         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
3557         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
3558         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
3559         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
3560         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
3561         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
3562         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
3563         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
3564         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
3565         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
3566         __chown.
3567         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
3568         (lchown): Likewise.
3569         (fchown): Likewise.
3570         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
3571         Likewise.
3572         (lchown): Likewise.
3573         (fchown): Likewise.
3574         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
3575         (lchown): Likewise.
3576         (fchown): Likewise.
3577         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
3578         Likewise.
3579         (lchown): Likewise.
3580         (fchown): Likewise.
3581
3582 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3583
3584         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
3585         Simplify logic.
3586
3587 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3588
3589         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3590         Cleanup logic.
3591
3592 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3593
3594         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
3595         Remove unused include.
3596
3597 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
3598
3599         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
3600         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
3601         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
3602         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
3603
3604 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
3605             Helge Deller <deller@gmx.de>
3606
3607         [BZ #17508]
3608         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
3609         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
3610         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
3611
3612 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
3613
3614         [BZ #14132]
3615         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
3616         Remove macro definition.
3617         (__ashrdi3_v_glibc20): Likewise.
3618         (__lshrdi3_v_glibc20): Likewise.
3619         (__cmpdi2_v_glibc20): Likewise.
3620         (__ucmpdi2_v_glibc20): Likewise.
3621         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
3622         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
3623         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
3624         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
3625         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
3626         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
3627
3628 2014-10-22  Roland McGrath  <roland@hack.frob.com>
3629
3630         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
3631         old GNU extension [0] syntax.
3632         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
3633         alloca rather than an array member with variable length.
3634         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
3635         * nscd/nscd.c (invalidate_db): New function, broken out of ...
3636         (parse_opt): ... here.  Likewise use alloca there.
3637         Validate the -i argument before checking for rootness.
3638         (send_shutdown): New function, broken out of ...
3639         (parse_opt): ... here.
3640
3641 2014-10-22  Roland McGrath  <roland@hack.frob.com>
3642
3643         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
3644         macro to get at the _rt_local_ro field.
3645         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
3646         ([PIC] case) or _dl_hwcap ([!PIC] case).
3647         * sysdeps/arm/setjmp.S: Likewise.
3648
3649         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
3650         * sysdeps/arm/configure.ac: New check to define it.
3651         * sysdeps/arm/configure: Regenerated.
3652         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
3653         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
3654         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
3655         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
3656         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
3657         Use move/movt pair instead of a load.
3658         (LDST_GLOBAL): Macro removed.
3659         (LDR_GLOBAL): New macro replaces it.
3660         (LDR_HIDDEN): New macro.
3661         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
3662         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
3663
3664         * setjmp/tst-setjmp-static.c: New file.
3665         * setjmp/Makefile (tests): Add it.
3666         (tests-static): New variable.
3667
3668 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
3669
3670         [BZ #17485]
3671         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
3672
3673 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
3674
3675         [BZ #14132]
3676         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
3677
3678 2014-10-21  Roland McGrath  <roland@hack.frob.com>
3679
3680         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
3681
3682 2014-10-20  Roland McGrath  <roland@hack.frob.com>
3683
3684         * io/fts.c (dirent_not_directory): New function.
3685         (fts_build): Call it.
3686
3687 2014-10-20  Roland McGrath  <roland@hack.frob.com>
3688
3689         * nptl/version.c (__nptl_main): Use normal __write rather than
3690         INTERNAL_SYSCALL.
3691         (banner): Update copyright years.
3692
3693         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
3694         gettimeofday.
3695         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
3696         * nptl/pthread_cond_timedwait.c: Likewise.
3697         * nptl/pthread_mutex_timedlock.c: Likewise.
3698         * nptl/sem_timedwait.c: Likewise.
3699
3700         * sysdeps/nptl/bits/libc-lock.h
3701         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
3702         (__libc_lock_init_recursive): Return void, not 0.
3703         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
3704         (__libc_rwlock_init): Likewise.
3705         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
3706
3707 2014-10-20  Torvald Riegel  <triegel@redhat.com>
3708
3709         [BZ #15215]
3710         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
3711         (__pthread_once_slow): ... here.
3712         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
3713         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
3714
3715 2014-10-20  Torvald Riegel  <triegel@redhat.com>
3716
3717         [BZ #15215]
3718         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
3719         __PTHREAD_ONCE_FORK_GEN_INCR): New.
3720         * sysdeps/nptl/fork.c (__libc_fork): Use them.
3721         * nptl/pthread_once.c (__pthread_once): Likewise.
3722         Update comments.
3723
3724 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
3725
3726         [BZ #14138]
3727         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
3728         name.
3729         (writev): Use __libc_writev as strong name.
3730         * sysdeps/unix/sysv/linux/readv.c: Remove file.
3731         * sysdeps/unix/sysv/linux/writev.c: Likewise.
3732
3733 2014-10-17  Roland McGrath  <roland@hack.frob.com>
3734
3735         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
3736
3737         * sysdeps/i386/nptl/tls.h
3738         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
3739         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
3740         New macros.
3741         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
3742         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
3743         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
3744         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
3745         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
3746         Call CHECK_THREAD_SYSINFO instead of doing an assert.
3747
3748         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
3749         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
3750         on [__NR_futex].
3751         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
3752         broken out of ...
3753         (__pthread_mutex_init): ... here.  Call it.
3754         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
3755         Conditionalize PI cases on [__NR_futex].
3756         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
3757         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
3758         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
3759
3760         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
3761         conditional on [SIGSETXID].
3762         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
3763         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
3764         is defined.  Likewise for SIGSETXID.
3765         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
3766         Conditionalize definitions on [SIGSETXID].
3767         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
3768         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
3769         unblocking on [SIGCANCEL].
3770
3771         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
3772         [__NR_set_robust_list].
3773
3774 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
3775
3776         * string/strcoll_l.c (get_next_seq): Fix up formatting.
3777         (do_compare): Likewise.
3778
3779 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
3780
3781         [BZ #15884]
3782         * string/strcoll_l.c: Don't include stdio.h.
3783         (coll_seq): Remove members idxarr and rulearr.
3784         (get_next_seq_cached): Remove function.
3785         (get_next_seq): Likewise.
3786         (get_next_seq_nocache): Rename to get_next_seq.
3787         (do_compare): Remove function.
3788         (do_compare_nocache): Rename to do_compare.
3789         (STRCOLL): Remove weight and rules cache.
3790
3791 2014-10-16  Roland McGrath  <roland@hack.frob.com>
3792
3793         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
3794         * sysdeps/arm/sfp-machine.h: ... to here.
3795         * sysdeps/arm/Implies: Remove arm/soft-fp.
3796
3797 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
3798
3799         * conform/data/sys/utsname.h-data (*_t): Allow.
3800         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
3801         [POSIX] (WEXITED): Do not expect constant.
3802         [POSIX] (WSTOPPED): Likewise.
3803         [POSIX] (WNOHANG): Likewise.
3804         [POSIX] (WNOWAIT): Likewise.
3805         [POSIX] (siginfo_t): Do not expect type or elements.
3806         [POSIX] (pid_t): Do not expect type.
3807         [POSIX] (signal.h): Do not allow header.
3808         [POSIX] (sys/resource.h): Likewise.
3809         [POSIX] (si_*): Do not allow pattern.
3810         [POSIX] (W*): Likewise.
3811         [POSIX] (P_*): Likewise.
3812         [POSIX] (BUS_*): Likewise.
3813         [POSIX] (CLD_*): Likewise.
3814         [POSIX] (FPE_*): Likewise.
3815         [POSIX] (ILL_*): Likewise.
3816         [POSIX] (POLL_*): Likewise.
3817         [POSIX] (SEGV_*): Likewise.
3818         [POSIX] (SI_*): Likewise.
3819         [POSIX] (TRAP_*): Likewise.
3820         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
3821         variable.
3822
3823 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
3824
3825         [BZ #12926]
3826         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
3827         infinite loop when __recvmsg returns 0.
3828
3829 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
3830
3831         * CANCEL-FCT-WAIVE: Remove file.
3832         * CANCEL-FILE-WAIVE: Likewise.
3833
3834         [BZ #14132]
3835         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
3836         instead of INTVARDEF.
3837         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3838         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
3839         rtld_hidden_data_def instead of INTVARDEF.
3840         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
3841         * elf/dl-deps.c (expand_dst): Likewise.
3842         * elf/dl-load.c (_dl_dst_count): Likewise.
3843         (_dl_dst_substitute): Likewise.
3844         (decompose_rpath): Likewise.
3845         (_dl_init_paths): Likewise.
3846         (open_path): Likewise.
3847         (_dl_map_object): Likewise.
3848         * elf/rtld.c (dl_main): Likewise.
3849         (process_dl_audit): Likewise.
3850         (process_envvars): Likewise.
3851         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
3852         Remove declaration.
3853         (__libc_enable_secure): Use rtld_hidden_proto.
3854
3855 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
3856
3857         * elf/dl-load.c
3858         (add_path): New function broken out of _dl_rtld_di_serinfo.
3859         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
3860
3861 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
3862
3863         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
3864         parentheses around macro arguments.
3865         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
3866         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
3867         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
3868         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
3869         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
3870         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3871         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3872         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
3873         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
3874         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
3875         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
3876         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
3877         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
3878         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
3879         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
3880         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
3881         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
3882         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
3883         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
3884         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
3885         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
3886         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
3887         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
3888         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
3889         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
3890         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
3891         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
3892         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
3893         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
3894         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
3895         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
3896         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
3897         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
3898         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
3899         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
3900         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
3901         Likewise.
3902         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
3903         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3904         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3905         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
3906         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
3907         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
3908         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
3909         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
3910         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
3911         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
3912         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
3913         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
3914         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
3915         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
3916         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
3917         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
3918         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
3919         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
3920         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
3921         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
3922         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
3923         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
3924         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
3925         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
3926         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
3927         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
3928         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
3929         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
3930         (_FP_FRAC_SRS_1): Likewise.
3931         (_FP_FRAC_CLZ_1): Likewise.
3932         (_FP_MUL_MEAT_1_imm): Likewise.
3933         (_FP_MUL_MEAT_1_wide): Likewise.
3934         (_FP_MUL_MEAT_1_hard): Likewise.
3935         (_FP_SQRT_MEAT_1): Likewise.
3936         (_FP_FRAC_ASSEMBLE_1): Likewise.
3937         (_FP_FRAC_DISASSEMBLE_1): Likewise.
3938         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
3939         (__FP_CLZ_2): Likewise.
3940         (_FP_MUL_MEAT_2_wide): Likewise.
3941         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
3942         (_FP_MUL_MEAT_2_gmp): Likewise.
3943         (_FP_MUL_MEAT_2_120_240_double): Likewise.
3944         (_FP_SQRT_MEAT_2): Likewise.
3945         (_FP_FRAC_ASSEMBLE_2): Likewise.
3946         (_FP_FRAC_DISASSEMBLE_2): Likewise.
3947         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
3948         (_FP_FRAC_CLZ_4): Likewise.
3949         (_FP_MUL_MEAT_4_wide): Likewise.
3950         (_FP_MUL_MEAT_4_gmp): Likewise.
3951         (_FP_SQRT_MEAT_4): Likewise.
3952         (_FP_FRAC_ASSEMBLE_4): Likewise.
3953         (_FP_FRAC_DISASSEMBLE_4): Likewise.
3954         * soft-fp/op-common.h (_FP_CMP): Likewise.
3955         (_FP_CMP_EQ): Likewise.
3956         (_FP_CMP_UNORD): Likewise.
3957         (_FP_TO_INT): Likewise.
3958         (_FP_FROM_INT): Likewise.
3959         [!__FP_CLZ] (__FP_CLZ): Likewise.
3960         (_FP_DIV_HELP_imm): Likewise.
3961         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
3962         Likewise.
3963         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
3964         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
3965         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
3966         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
3967         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
3968         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3969         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3970         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
3971         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
3972         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
3973         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
3974         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
3975         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
3976         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
3977         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
3978         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
3979         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
3980         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
3981         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
3982         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
3983         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
3984         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
3985         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
3986         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
3987         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
3988         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
3989         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
3990         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
3991         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
3992         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
3993         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
3994         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
3995         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
3996         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
3997         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
3998         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
3999         (FP_UNPACK_RAW_SP): Likewise.
4000         (FP_PACK_RAW_S): Likewise.
4001         (FP_PACK_RAW_SP): Likewise.
4002         (FP_UNPACK_S): Likewise.
4003         (FP_UNPACK_SP): Likewise.
4004         (FP_UNPACK_SEMIRAW_S): Likewise.
4005         (FP_UNPACK_SEMIRAW_SP): Likewise.
4006         (FP_PACK_S): Likewise.
4007         (FP_PACK_SP): Likewise.
4008         (FP_PACK_SEMIRAW_S): Likewise.
4009         (FP_PACK_SEMIRAW_SP): Likewise.
4010         (_FP_SQRT_MEAT_S): Likewise.
4011         (FP_CMP_S): Likewise.
4012         (FP_CMP_EQ_S): Likewise.
4013         (FP_CMP_UNORD_S): Likewise.
4014         (FP_TO_INT_S): Likewise.
4015         (FP_FROM_INT_S): Likewise.
4016
4017         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
4018
4019         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
4020         (FP_EX_INVALID_IMZ): Likewise.
4021         (FP_EX_INVALID_IMZ_FMA): Likewise.
4022         (FP_EX_INVALID_ISI): Likewise.
4023         (FP_EX_INVALID_ZDZ): Likewise.
4024         (FP_EX_INVALID_IDI): Likewise.
4025         (FP_EX_INVALID_SQRT): Likewise.
4026         (FP_EX_INVALID_CVI): Likewise.
4027         (FP_EX_INVALID_VC): Likewise.
4028         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
4029         "invalid" exceptions.
4030         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
4031         (_FP_ADD_INTERNAL): Likewise.
4032         (_FP_MUL): Likewise.
4033         (_FP_FMA): Likewise.
4034         (_FP_DIV): Likewise.
4035         (_FP_CMP_CHECK_NAN): Likewise.
4036         (_FP_SQRT): Likewise.
4037         (_FP_TO_INT): Likewise.
4038         (FP_EXTEND): Likewise.
4039
4040 2014-10-09  Allan McRae  <allan@archlinux.org>
4041
4042         * po/fr.po: Update French translation from translation project.
4043
4044 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
4045
4046         [BZ #14132]
4047         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
4048         of INTDEF.
4049         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
4050         (__cxa_atexit): Use libc_hidden_proto.
4051         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
4052
4053         [BZ #14132]
4054         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
4055         declaration.
4056         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
4057         [!_ISOMAC] (__iswspace_l_internal): Likewise.
4058         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
4059         [!_ISOMAC] (__iswctype_internal): Likewise.
4060         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
4061         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
4062         alias.
4063         (fcntl): Remove __fcntl_internal alias.
4064         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
4065         __connect_internal alias.
4066         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
4067         Likewise.
4068
4069         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
4070         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
4071         FP_DENORM_ZERO.
4072         (_FP_CHECK_FLUSH_ZERO): New macro.
4073         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
4074         (_FP_CMP): Likewise.
4075         (_FP_CMP_EQ): Likewise.
4076         (_FP_TO_INT): Do not set inexact for subnormal arguments if
4077         FP_DENORM_ZERO.
4078         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
4079         (FP_TRUNC): Likewise.
4080
4081         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
4082         treated as invalid conversion, not as normal exponent.
4083
4084         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
4085         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
4086         (_FP_CMP_EQ): Likewise.
4087         (_FP_CMP_UNORD): Likewise.
4088         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
4089         (FP_CMP_EQ_D): Likewise.
4090         (FP_CMP_UNORD_D): Likewise.
4091         * soft-fp/extended.h (FP_CMP_E): Likewise.
4092         (FP_CMP_EQ_E): Likewise.
4093         (FP_CMP_UNORD_E): Likewise.
4094         * soft-fp/quad.h (FP_CMP_Q): Likewise.
4095         (FP_CMP_EQ_Q): Likewise.
4096         (FP_CMP_UNORD_Q): Likewise.
4097         * soft-fp/single.h (FP_CMP_S): Likewise.
4098         (FP_CMP_EQ_S): Likewise.
4099         (FP_CMP_UNORD_S): Likewise.
4100         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
4101         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
4102         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
4103         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
4104         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
4105         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
4106         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
4107         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
4108         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
4109         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
4110         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
4111         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
4112         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
4113         to FP_CMP_Q.
4114         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
4115         FP_CMP_Q.
4116         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
4117         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
4118         FP_CMP_EQ_Q.
4119         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
4120         FP_CMP_Q.
4121         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
4122         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
4123         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
4124         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
4125         FP_CMP_EQ_Q.
4126         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
4127         FP_CMP_Q.
4128         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
4129         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
4130         FP_CMP_EQ_Q.
4131         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
4132         FP_CMP_Q.
4133         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
4134         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
4135         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
4136         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
4137         FP_CMP_EQ_Q.
4138
4139         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
4140         a subnormal result, set the underflow exception if trapping on
4141         underflow is enabled.
4142         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
4143         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
4144         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
4145         redefine to 0.
4146         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
4147         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4148         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
4149         * soft-fp/extendxftf2.c (__extendxftf2): Use
4150         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
4151
4152         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
4153         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
4154         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4155         FP_HANDLE_EXCEPTIONS.
4156         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
4157         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4158         FP_HANDLE_EXCEPTIONS.
4159         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
4160         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4161         FP_HANDLE_EXCEPTIONS.
4162         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
4163         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
4164         FP_HANDLE_EXCEPTIONS.
4165
4166 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
4167
4168         [BZ #14132]
4169         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
4170         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
4171         use INTUSE.
4172         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
4173         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
4174         Remove alias.
4175         (__adjtimex): Define using libc_hidden_ver.
4176         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
4177         Remove declaration.
4178         (ntp_gettime): Call __adjtimex directly.
4179         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
4180         Remove declaration.
4181         (ntp_gettimex): Call __adjtimex directly.
4182         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
4183         __adjtimex_internal alias.
4184
4185 2014-10-08  Roland McGrath  <roland@hack.frob.com>
4186
4187         [BZ #17460]
4188         * nscd/nscd.c (more_help): Rewrite list of tables collection
4189         using xstrdup and asprintf.
4190
4191         * nscd/nscd_conf.c: Remove local xstrdup declaration.
4192
4193 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4194             Roland McGrath  <roland@hack.frob.com>
4195
4196         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
4197         (do_lookup_unique): ... local function 'enter' here; update callers.
4198
4199 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
4200
4201         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
4202         compat_symbol calls on [SHARED].
4203         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
4204         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
4205         Remove.
4206         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4207         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
4208         (oldsetrlimit): Remove.
4209         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4210         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4211         (lchown): New syscall entry.
4212         (oldsetrlimit): Remove.
4213         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4214         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
4215         (oldsetrlimit): Remove.
4216         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
4217
4218         [BZ #14138]
4219         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
4220         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
4221         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
4222         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
4223         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
4224         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
4225         (fchown): Likewise.
4226         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
4227         (fchown): Likewise.
4228         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
4229         Likewise.
4230
4231 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4232
4233         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
4234         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
4235         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
4236         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
4237         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
4238         Likewise.
4239         (__old_sem_post): Likewise.
4240
4241 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
4242
4243         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
4244         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
4245         HAVE_CLOCK_GETTIME_VSYSCALL macros.
4246         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
4247         Use INLINE_VSYSCALL macro.
4248         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
4249         __vdso_clock_gettime.
4250         * sysdeps/unix/sysv/linux/tile/init-first.c
4251         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
4252         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
4253         __vdso_clock_gettime.
4254
4255         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
4256         to set up frame more cleanly.
4257
4258         * sysdeps/tile/memcmp.c: New file.
4259
4260         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
4261
4262         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
4263         * sysdeps/tile/tilegx/strcasestr.c: New file.
4264         * sysdeps/tile/tilegx/strnlen.c: New file.
4265         * sysdeps/tile/tilegx/strstr.c: New file.
4266
4267         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
4268
4269 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
4270
4271         * nptl/tst-setuid3.c: Write errors to stdout.
4272
4273 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4274
4275         * elf/dl-deps.c
4276         (preload): New functions broken out of _dl_map_object_deps.
4277         (_dl_map_object_deps):  Remove a nested function. Update call sites.
4278
4279 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
4280
4281         [BZ #14138]
4282         * sysdeps/unix/sysv/linux/execve.c: Remove file.
4283         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
4284
4285 2014-10-01  Steve Ellcey  <sellcey@mips.com>
4286
4287         * sysdeps/mips/strcmp.S: New.
4288
4289 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
4290
4291         [BZ #14138]
4292         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
4293         (linkat): Likewise.
4294         (mkdirat): Likewise.
4295         (readlinkat): Likewise.
4296         (renameat): Likewise.
4297         (symlinkat): Likewise.
4298         (unlinkat): Likewise.
4299         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
4300         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
4301         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
4302         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
4303         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
4304         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
4305         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
4306
4307 2014-09-30  Will Newton  <will.newton@linaro.org>
4308
4309         * math/math.h: Define long double math functions if
4310         _LIBC_TEST is defined.
4311         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
4312
4313         * localedata/Makefile: Move assignment to tests-special
4314         into an ifdef testing run-built-tests.
4315         * timezone/Makefile: Likewise.
4316
4317 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
4318
4319         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
4320         with $(BASH) not $(SHELL).
4321
4322 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
4323             Matthew LeGendre  <legendre1@llnl.gov>
4324
4325         [BZ #17411]
4326         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
4327         l_reloc_result.
4328
4329 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4330
4331         * stdio-common/printf_fp.c
4332         (hack_digit): New function, broken out of ...
4333         (__printf_fp): ... local function here.  Update call sites.
4334         hack_digit now takes an additional parameter that is a pointer
4335         to a struct of the referenced locals.  Those locals moved inside
4336         the struct and references updated.
4337
4338 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
4339
4340         * aclocal.m4: Require autoconf 2.69.
4341         * configure: Regenerated.
4342         * sysdeps/aarch64/configure: Likewise.
4343         * sysdeps/alpha/configure: Likewise.
4344         * sysdeps/arm/armv7/configure: Likewise.
4345         * sysdeps/arm/configure: Likewise.
4346         * sysdeps/ia64/configure: Likewise.
4347         * sysdeps/mach/configure: Likewise.
4348         * sysdeps/mips/configure: Likewise.
4349         * sysdeps/s390/configure: Likewise.
4350         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
4351         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
4352
4353         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
4354         file.
4355         * sysdeps/ia64/configure.ac: Likewise.
4356
4357 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
4358
4359         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
4360         specify symbol version for ld.so.  Do not include entry for
4361         libpthread.
4362         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4363         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4364         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4365
4366         [BZ #14171]
4367         * Makeconfig [$(build-shared) = yes]
4368         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
4369         makefiles.
4370         [$(build-shared) = yes && $(soversions.mk-done) = t]
4371         ($(common-objpfx)gnu/lib-names.h): Remove rule.
4372         [$(build-shared) = yes && $(soversions.mk-done) = t]
4373         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
4374         to Makerules.
4375         [$(build-shared) = yes && $(soversions.mk-done) = t]
4376         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
4377         here.
4378         [$(build-shared) = yes && $(soversions.mk-done) = t]
4379         (common-generated): Don't append gnu/lib-names.h and
4380         gnu/lib-names.stmp here.
4381         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
4382         (lib-names-h-abi): New variable.
4383         [$(build-shared) = yes && $(soversions.mk-done) = t]
4384         (lib-names-stmp-abi): Likewise.
4385         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4386         abi-variants] (before-compile): Append
4387         $(common-objpfx)$(lib-names-h-abi).
4388         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4389         abi-variants] (common-generated): Append gnu/lib-names.h.
4390         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4391         abi-variants] (install-others-nosubdir): Depend on
4392         $(inst_includedir)/$(lib-names-h-abi).
4393         [$(build-shared) = yes && $(soversions.mk-done) = t &&
4394         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
4395         [$(build-shared) = yes && $(soversions.mk-done) = t]
4396         ($(common-objpfx)$(lib-names-h-abi)): New rule.
4397         [$(build-shared) = yes && $(soversions.mk-done) = t]
4398         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
4399         [$(build-shared) = yes && $(soversions.mk-done) = t]
4400         (common-generated): Append $(lib-names-h-abi) and
4401         $(lib-names-stmp-abi).
4402         * scripts/lib-names.awk: Do not handle multi being set.
4403         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
4404         Remove variable.
4405         (abi-lp64_be-ld-soname): Likewise.
4406         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
4407         Likewise.
4408         (abi-hard-ld-soname): Likewise.
4409         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
4410         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
4411         Remove variable.
4412         (abi-o32_hard-ld-soname): Likewise.
4413         (abi-o32_soft_2008-ld-soname): Likewise.
4414         (abi-o32_hard_2008-ld-soname): Likewise.
4415         (abi-n32_soft-ld-soname): Likewise.
4416         (abi-n32_hard-ld-soname): Likewise.
4417         (abi-n32_soft_2008-ld-soname): Likewise.
4418         (abi-n32_hard_2008-ld-soname): Likewise.
4419         (abi-n64_soft-ld-soname): Likewise.
4420         (abi-n64_hard-ld-soname): Likewise.
4421         (abi-n64_soft_2008-ld-soname): Likewise.
4422         (abi-n64_hard_2008-ld-soname): Likewise.
4423         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
4424         Likewise.
4425         (abi-64-v2-ld-soname): Likewise.
4426         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
4427         ld.so entries.
4428         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
4429         variable.
4430         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
4431         entry.
4432         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
4433         variable.
4434         (abi-64-ld-soname): Likewise.
4435         (abi-x32-ld-soname): Likewise.
4436         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
4437         entry.
4438         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4439
4440 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
4441
4442         [BZ #14138]
4443         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
4444         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
4445         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
4446         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
4447         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
4448         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
4449         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
4450         syscall entry for GLIBC_2.2 symbol version.
4451         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
4452         Likewise.
4453         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
4454         (setrlimit): Likewise.
4455         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
4456         Likewise.
4457
4458 2014-09-23  Will Newton  <will.newton@linaro.org>
4459
4460         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
4461         _LINUX_ARM_SYSDEP_H include guard too.
4462         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
4463         define.
4464
4465 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
4466
4467         * sysdeps/unix/sysv/linux/eventfd.c:
4468         Make first argument unsigned.
4469         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
4470         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
4471
4472 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
4473
4474         * socket/recvmmsg.c (recvmmsg): Drop const argument.
4475         * socket/sys/socket.h: Likewise
4476         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
4477
4478 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4479
4480         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
4481
4482 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
4483
4484         * time/tst-ftime.c: New test.
4485         * time/Makefile (tests): Add tst-ftime.
4486
4487 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
4488
4489         * soft-fp/extended.h: Fix comment formatting.
4490         * soft-fp/op-1.h: Likewise.
4491         * soft-fp/op-2.h: Likewise.
4492         * soft-fp/op-4.h: Likewise.
4493         * soft-fp/op-8.h: Likewise.
4494         * soft-fp/op-common.h: Likewise.
4495         * soft-fp/soft-fp.h: Likewise.
4496
4497         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
4498
4499 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
4500
4501         [BZ #6652]
4502         * Makeconfig (soversions-default-setname): Remove variable.
4503         ($(common-objpfx)soversions.i): Don't pass default_setname to
4504         soversions.awk.
4505         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
4506         oldest_abi to abi-versions.awk.
4507         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
4508         * config.make.in (oldest-abi): Remove variable.
4509         * configure.ac (--enable-oldest-abi): Remove configure option.
4510         * configure: Regenerated.
4511         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
4512         text.
4513         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
4514         * scripts/soversions.awk: Do not handle default_setname variable.
4515         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
4516         variable.
4517         * sysdeps/mach/hurd/configure: Regenerated.
4518         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
4519         variable.
4520         * sysdeps/unix/sysv/linux/configure: Regenerated.
4521
4522 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4523
4524         * elf/Makefile (CFLAGS-interp.c): Remove.
4525         ($(elf-objpfx)runtime-linker.h): Generate header with linker
4526         path string.
4527         * elf/interp.c: Include generated runtime-linker.h
4528
4529         * Makerules (lib%.so): Don't include $(+interp) in
4530         prerequisites.
4531         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
4532         * dlfcn/eval.c: Remove file.
4533
4534         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
4535         macros.
4536
4537         [BZ #17266]
4538         * misc/sys/cdefs.h: Define __extern_always_inline for clang
4539         4.2 and newer.
4540
4541         [BZ #17370]
4542         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
4543
4544 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
4545             Jakub Jelinek  <jakub@redhat.com>
4546
4547         [BZ #17266]
4548         * libio/stdio.h: Check definition of __fortify_function
4549         instead of __extern_always_inline to include bits/stdio2.h.
4550         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
4551         check if __extern_always_inline is defined.
4552         [__USE_MISC || __USE_XOPEN]: Likewise.
4553         [__USE_ISOC99] Likewise.
4554         * misc/sys/cdefs.h (__fortify_function): Define only if
4555         __extern_always_inline is defined.
4556         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
4557         __extern_always_inline and __extern_inline only for g++-4.3
4558         and newer or a compatible gcc.
4559
4560 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
4561
4562         [BZ #17371]
4563         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
4564         last change to handle zero prefix length.
4565
4566 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
4567
4568         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
4569         _SC_REGEX_VERSION.
4570
4571         * posix/getconf.c (vars): Add _POSIX_IPV6 and
4572         _POSIX_RAW_SOCKETS.
4573
4574 2014-09-13  Allan McRae  <allan@archlinux.org>
4575
4576         * po/ru.po: Update Russian translation from translation project.
4577
4578 2014-09-12  Roland McGrath  <roland@hack.frob.com>
4579
4580         * locale/programs/locale.c (show_locale_vars): Inline local function
4581         into its sole call site.  Clean up some style nits.
4582         (print_item): New function, broken out of ...
4583         (show_info): ... local function here.  Clean up style nits.
4584
4585         * locale/programs/ld-ctype.c (set_one_default): New function, broken
4586         out of ...
4587         (set_class_defaults): ... local function set_default here.
4588         Define set_default as a macro locally to pass constant parameters.
4589         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
4590         rather than a shared local.
4591
4592         * stdlib/rpmatch.c (try): New function, broken out of ...
4593         (rpmatch): ... local function here.  Also, prototypify definition.
4594
4595 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
4596
4597         * scripts/soversions.awk: Do not handle configuration names.
4598         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
4599         vendor and os variables to soversions.awk.
4600         * configure.ac: Do not modify gnu-* host_os.
4601         * configure: Regenerated
4602         * shlib-versions: Remove first column with configuration names.
4603         * nptl/shlib-versions: Likewise.
4604         * nptl_db/shlib-versions: Likewise.
4605         * sysdeps/hppa/shlib-versions: Likewise.
4606         * sysdeps/m68k/shlib-versions: Likewise.
4607         * sysdeps/mach/hurd/shlib-versions: Likewise.
4608         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
4609         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
4610         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
4611         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
4612         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
4613         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
4614         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
4615         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
4616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4617         Likewise.
4618         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4619         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4620         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4621         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4622         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4623         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
4624         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
4625         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
4626
4627         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
4628         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
4629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
4630         Regenerated.
4631         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
4632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
4633         Condition symbol version definitions on [HAVE_ELFV2_ABI].
4634
4635         * shlib-versions: Remove OS-specific entries.  Moved to files in
4636         sysdeps.
4637         * sysdeps/mach/hurd/shlib-versions: New file.
4638         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
4639
4640         * nptl/shlib-versions: Remove architecture-specific entries.
4641         Moved to files in sysdeps.
4642         * shlib-versions: Likewise.
4643         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
4644         file.
4645         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
4646         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
4647         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
4648         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
4649
4650         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
4651         (UDP_NO_CHECK6_RX): Likewise.
4652
4653 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4654
4655         * sysdeps/posix/sysconf.c (__sysconf): Spell
4656         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
4657
4658 2014-08-12  Florian Weimer  <fweimer@redhat.com>
4659
4660         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
4661         loading.
4662         * iconv/Versions (__gconv_transliterate): Export for use from
4663         gconv modules.
4664         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
4665         (struct __gconv_trans_data, __gconv_trans_fct,
4666         __gconv_trans_context_fct, __gconv_trans_query_fct,
4667         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
4668         definitions.
4669         (struct __gconv_step_data): Remove __trans member.
4670         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
4671         longer hidden.  Remove unused trans_data argument.
4672         * iconv/gconv_int.h (struct trans_struct): Remove definition.
4673         (__gconv_translit_find): Remove declaration.
4674         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
4675         prototype.
4676         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
4677         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
4678         trans_data argument.  Add hidden definition.
4679         (__gconv_translit_find): Remove.
4680         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
4681         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
4682         * iconv/skeleton.c: Remove transliteration initialization.
4683         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
4684         __gconv_step_data initialization.
4685         * libio/iofwide.c (__libio_translit_): Remove.
4686         (_IO_fwide): Adjust struct __gconv_step_data initialization.
4687         * wcsmbs/btowc.c (__btowc): Likewise.
4688         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
4689         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
4690         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
4691         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
4692         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
4693         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
4694         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
4695         * wcsmbs/wctob.c (wctob): Likewise.
4696
4697 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
4698
4699         [BZ #16194]
4700         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
4701         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
4702         register usage.
4703         * sysdeps/x86/Makefile: Adjust.
4704
4705 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
4706             Roland McGrath  <roland@hack.frob.com>
4707
4708         * locale/weight.h: Add include guard.
4709         (findidx): Make static rather than auto; take new parameters
4710         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
4711         * locale/weightwc.h: Likewise.
4712         * posix/fnmatch_loop.c
4713         (FCT): Change type of EXTRA from int32_t to wint_t.
4714         Don't include either header inside the function.
4715         Call FINDIDX rather than findidx, and pass new arguments.
4716         #undef FINDIDX at the end of the file.
4717         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
4718         FINDIDX before including fnmatch_loop.c for the non-wide version.
4719         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
4720         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
4721         for the wide version.
4722         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
4723         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
4724         Pass new arguments to findidx.
4725         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
4726         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
4727         Don't #include it inside the function.  Pass new arguments to findidx.
4728         * posix/regex_internal.h
4729         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
4730         (re_string_elem_size_at): Don't #include it inside the function.
4731         Pass new arguments to findidx.
4732         * string/strcoll_l.c: #include WEIGHT_H at top level.
4733         (get_next_seq): Don't #include it inside the function.
4734         Pass new arguments to findidx.
4735         (get_next_seq_nocache): Likewise.
4736         * string/strxfrm_l.c: #include WEIGHT_H at top level.
4737         (STRXFRM): Don't #include it inside the function.
4738         Pass new arguments to findidx.
4739
4740 2014-09-11  Florian Weimer  <fweimer@redhat.com>
4741
4742         [BZ #17344]
4743         * malloc/malloc.c (unlink): Turn asserts into a call to
4744         malloc_printerr.
4745
4746 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
4747
4748         [BZ #17370]
4749         * libio/wfileops (do_ftell_wide): Free OUT.
4750
4751 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
4752
4753         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
4754
4755 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
4756
4757         [BZ #17363]
4758         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
4759         group if the current group is empty.
4760
4761 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4762
4763         * benchtests/bench-memset.c (test_main): Add more test from size
4764         from 32 to 512 bytes.
4765         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4766         Add POWER8 memset object.
4767         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
4768         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
4769         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
4770         implementation.
4771         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
4772         Likewise.
4773         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
4774         multiarch POWER8 memset optimization.
4775         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
4776         POWER8 memset optimization.
4777
4778         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
4779         Remove bzero multiarch objects.
4780         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
4781         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
4782         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
4783         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
4784         Remove define.
4785         [__bzero]: Redefine to specific name.
4786         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
4787         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
4788         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
4789         define.
4790         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4791         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
4792
4793 2014-09-10  Florian Weimer  <fweimer@redhat.com>
4794
4795         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
4796         warnings into errors.
4797
4798         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
4799         __cxa_thread_atexit_impl prototype.
4800
4801 2014-09-09  Steve Ellcey  <sellcey@mips.com>
4802
4803         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
4804         Fix capitalization of error message.
4805
4806 2014-09-09  Steve Ellcey  <sellcey@mips.com>
4807
4808         * sysdeps/mips/preconfigure: Modify ABI tests.
4809
4810 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
4811
4812         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
4813
4814 2014-09-07  Roland McGrath  <roland@hack.frob.com>
4815             Carlos O'Donell  <carlos@systemhalted.org>
4816
4817         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
4818         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
4819         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
4820         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
4821         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
4822         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
4823         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
4824         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
4825         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
4826         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
4827         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
4828         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
4829         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
4830         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
4831         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
4832         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
4833         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
4834         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
4835         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
4836         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
4837         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
4838         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
4839         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
4840         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
4841         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
4842         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
4843         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
4844         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
4845         Deconditionalize the code that was previously under [RESET_PID].
4846         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
4847         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
4848         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
4849         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
4850         include sysdep.h.
4851
4852 2014-09-08  Allan McRae  <allan@archlinux.org>
4853
4854         * version.h (RELEASE): Set to "development".
4855         (VERSION): Set to "2.20.90"
4856
4857 2014-09-07  Allan McRae  <allan@archlinux.org
4858
4859         * version.h (RELEASE): Set to "stable".
4860         (VERSION): Set to "2.20"
4861         * include/features.h (__GLIBC_MINOR__): Set to 20.
4862
4863         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
4864         Liebler.
4865
4866         * po/ko.po: Update Korean translation from translation project.
4867
4868 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
4869
4870         [BZ #17354]
4871         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
4872         macro for handling signed relocations.
4873
4874 2014-09-03  Florian Weimer  <fweimer@redhat.com>
4875
4876         [BZ #17325]
4877         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
4878         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
4879         assert.
4880         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
4881         * iconvdata/ibm935.c (BODY): Likewise.
4882         * iconvdata/ibm937.c (BODY): Likewise.
4883         * iconvdata/ibm939.c (BODY): Likewise.
4884         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
4885         assert.
4886         * iconvdata/Makefile (iconv-test.out): Pass module list to test
4887         script.
4888         * iconvdata/run-iconv-test.sh: New test loop for checking for
4889         decoder crashers.
4890
4891 2014-09-02  Khem Raj  <raj.khem@gmail.com>
4892
4893         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
4894         libm_hidden_ver.
4895
4896 2014-09-01  Allan McRae  <allan@archlinux.org>
4897
4898         * po/eo.po: Update Esperanto translation from translation project.
4899
4900         * po/ca.po: Update Catalan translation from translation project.
4901
4902 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4903
4904         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
4905         __proc_dostop call.
4906
4907 2014-08-27  Mark Wielaard  <mjw@redhat.com>
4908
4909         [BZ #17319]
4910         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
4911         to call set_thread_area instead of hand written asm.
4912         (__NR_set_thread_area): Removed define.
4913         (TLS_FLAG_WRITABLE): Likewise.
4914         (__ASSUME_SET_THREAD_AREA): Remove check.
4915         (TLS_EBX_ARG): Remove define.
4916         (TLS_LOAD_EBX): Likewise.
4917
4918 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4919
4920         Simplify atomicity of socket creation in bind.
4921
4922         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
4923         looking up the name after linking the file.
4924
4925 2014-08-27  Allan McRae  <allan@archlinux.org>
4926
4927         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
4928
4929 2014-08-26  Florian Weimer  <fweimer@redhat.com>
4930
4931         [BZ #17187]
4932         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
4933         trans_compare, open_translit, __gconv_translit_find):
4934         Remove module loading code.
4935
4936 2014-08-26  Allan McRae  <allan@archlinux.org>
4937
4938         * po/vi.po: Update Vietnamese translation from translation project.
4939
4940         * po/uk.po: Update Ukrainian translation from translation project.
4941
4942         * po/fr.po: Update French translation from translation project.
4943
4944         * po/ru.po: Update Russian translation from translation project.
4945
4946         * po/pl.po: Update Polish translation from translation project.
4947
4948         * po/cs.po: Update Czech translation from translation project.
4949
4950         * po/de.po: Update German translation from translation project.
4951
4952         * po/bg.po: Update Bulgarian translation from translation project.
4953
4954         * po/sv.po: Update Sweedish translation from translation project.
4955
4956         * po/nl.po: Update Dutch translation from translation project.
4957
4958         * po/es.po: Update Spanish translation from translation project.
4959
4960 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4961
4962         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
4963
4964         * catgets/Makefile (CPPFLAGS-gencat): Remove.
4965         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
4966         (CPPFLAGS-iconvconfig): Likewise.
4967         * timezone/Makefile (CPPFLAGS-zic): Likewise.
4968
4969         * include/libc-symbols.h: Remove unnecessary check for
4970         NOT_IN_libc.
4971         * nptl/pthreadP.h: Likewise.
4972         * sysdeps/aarch64/setjmp.S: Likewise.
4973         * sysdeps/alpha/setjmp.S: Likewise.
4974         * sysdeps/arm/sysdep.h: Likewise.
4975         * sysdeps/i386/setjmp.S: Likewise.
4976         * sysdeps/m68k/setjmp.c: Likewise.
4977         * sysdeps/posix/getcwd.c: Likewise.
4978         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
4979         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
4980         * sysdeps/s390/s390-32/setjmp.S: Likewise.
4981         * sysdeps/s390/s390-64/setjmp.S: Likewise.
4982         * sysdeps/sh/sh3/setjmp.S: Likewise.
4983         * sysdeps/sh/sh4/setjmp.S: Likewise.
4984         * sysdeps/unix/alpha/sysdep.h: Likewise.
4985         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
4986         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
4987         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
4988         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
4989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
4990         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
4991         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
4992         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
4993         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
4994         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
4995         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
4996         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
4997         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
4998         * sysdeps/x86_64/setjmp.S: Likewise.
4999
5000 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
5001
5002         [BZ #17263]
5003         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
5004         <stdint.h>.
5005         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
5006         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
5007
5008 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
5009
5010         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
5011
5012         [BZ #17262]
5013         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
5014         and __x86_64__ when disabling x87 inline functions.
5015
5016 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
5017
5018         [BZ #17259]
5019         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
5020         asm statement with __cpuid_count.
5021
5022 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
5023
5024         * configure.ac: Change __ehdr_start code to dereference the struct.
5025         Run readelf on the output to look for relocations.
5026         * configure: Regenerated.
5027
5028 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
5029
5030         [BZ #17261]
5031         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
5032         value to 0.
5033         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
5034
5035 2014-08-12  Roland McGrath  <roland@hack.frob.com>
5036
5037         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
5038
5039 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
5040
5041         [BZ #16892]
5042         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
5043         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
5044
5045 2014-08-12  Sean Anderson  <seanga2@gmail.com>
5046
5047         * malloc/malloc.c: Fix typo in comment.
5048
5049 2014-08-09  Allan McRae  <allan@archlinux.org>
5050
5051         * Regenerate libc.po.
5052
5053 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
5054
5055         * intl/tst-gettext2.sh: Check every lang file for creation.
5056
5057 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
5058
5059         * sysdeps/aarch64/fpu/math_private.h
5060         (libc_feholdsetround_noex_aarch64_ctx): New function.
5061
5062 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
5063
5064         * sysdeps/arm/armv6/strcpy.S (strcpy):
5065         Fix performance issue in misaligned cases.
5066
5067 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5068
5069         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
5070         Move definition from termios.h.
5071         (struct termio): Likewise.
5072         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5073         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5074         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5075         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5076         Likewise.
5077         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
5078         Move definition to ioctl-types.h
5079         (struct termio): Likewise.
5080         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
5081         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
5082         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
5083         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
5084         Likewise.
5085
5086 2014-08-05  Richard Henderson  <rth@redhat.com>
5087
5088         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
5089         exceptions.
5090         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
5091         Add fraiseexcpt.
5092         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
5093         Use __feraiseexcept.
5094         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
5095         Protect libm symbols with IS_IN_libm.
5096
5097         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
5098
5099 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
5100
5101         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
5102
5103 2014-08-04  Will Newton  <will.newton@linaro.org>
5104
5105         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
5106         file.
5107
5108 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
5109
5110         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
5111         variants for each function.
5112
5113 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5114
5115         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
5116         appended ...
5117         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
5118         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
5119         appended ...
5120         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
5121         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
5122         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
5123         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
5124         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
5125         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
5126         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
5127         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
5128         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
5129         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
5130         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
5131         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
5132         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
5133         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
5134         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
5135         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
5136         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
5137         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
5138         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
5139         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
5140         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
5141         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
5142         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
5143         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
5144         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
5145         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
5146         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
5147         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
5148         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
5149         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
5150         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
5151         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
5152         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
5153         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
5154         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
5155         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
5156         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
5157         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
5158         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
5159         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
5160         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
5161         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
5162         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
5163         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
5164         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
5165         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
5166         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
5167         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
5168         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
5169         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
5170         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
5171         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
5172         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
5173         Update #include.
5174         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
5175         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
5176
5177 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5178
5179         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
5180         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
5181         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
5182         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
5183         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
5184         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
5185
5186 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5187
5188         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
5189         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
5190         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
5191         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
5192
5193 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5194
5195         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
5196         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
5197         (__libc_vfork): Define function under this name.
5198         (__vfork): Define as an alias.
5199         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
5200         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
5201
5202 2014-08-04  Roland McGrath  <roland@hack.frob.com>
5203
5204         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
5205         that was previously under [RESET_PID].
5206         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
5207
5208 2014-08-04  Andreas Schwab  <schwab@suse.de>
5209
5210         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
5211
5212 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
5213
5214         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
5215         (main): Likewise.
5216
5217 2014-08-01  Roland McGrath  <roland@hack.frob.com>
5218
5219         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
5220
5221 2014-08-01  Richard Henderon  <rth@redhat.com>
5222
5223         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
5224         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
5225         typo in exact zero test.
5226         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
5227         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
5228         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
5229
5230 2014-08-01  Roland McGrath  <roland@hack.frob.com>
5231
5232         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
5233         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
5234         * sysdeps/arm/sysdep.h: ... here.
5235         [!__ASSEMBLER__]: Include <stdint.h>.
5236
5237 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
5238
5239         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
5240         (HAVE_WCTYPE_H): Likewise.
5241         (HAVE_ISWCTYPE): Likewise.
5242         (ENABLE_NLS): Likewise.
5243         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
5244         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
5245
5246         * posix/regex_internal.c: Check if DEBUG is defined and is
5247         set.
5248
5249         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
5250         (HAVE_MBSRTOWCS): Likewise.
5251         * posix/fnmatch.c: Include string.h unconditionally.
5252
5253 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
5254
5255         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
5256         reversal.
5257
5258 2014-07-31  Roland McGrath  <roland@hack.frob.com>
5259
5260         * sysdeps/generic/safe-fatal.h: New file.
5261         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
5262         * nptl/forward.c: Include it.
5263         (__pthread_unwind): Use __safe_fatal as default action, rather
5264         than a bogus use of INTERNAL_SYSCALL that could never work.
5265
5266         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
5267         * configure.ac (libc_cv_builtin_trap): New test.
5268         * configure: Regenerated.
5269         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
5270         (ABORT_INSTRUCTION): Define using __builtin_trap.
5271
5272         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
5273         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
5274         * sysdeps/nptl/nptl-signals.h: New file.
5275         * nptl/pthreadP.h: Include <nptl-signals.h>.
5276
5277 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5278
5279         * sysdeps/s390/s390-64/utf16-utf32-z9.c
5280         (ONE_DIRECTION): Define.
5281         * sysdeps/s390/s390-64/utf8-utf16-z9.c
5282         (ONE_DIRECTION): Define.
5283         * sysdeps/s390/s390-64/utf8-utf32-z9.c
5284         (ONE_DIRECTION): Define.
5285
5286 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
5287
5288         * sysdeps/s390/Makefile: Delete file.
5289         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
5290         * sysdeps/s390/__longjmp.c: Delete file.
5291         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
5292         Remove fields __flags and __reserved.
5293         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
5294         and add versioning.
5295         * sysdeps/s390/rtld-__longjmp.c: Delete file.
5296         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
5297         * sysdeps/s390/rtld-setjmp.S: Likewise.
5298         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
5299         * sysdeps/s390/s390-32/__longjmp.c: ... here.
5300         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
5301         * sysdeps/s390/s390-32/setjmp.S: ... here.
5302         Add versioning.
5303         (__sigsetjmp): Remove setting __flags field.
5304         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
5305         * sysdeps/s390/s390-64/__longjmp.c: ... here.
5306         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
5307         * sysdeps/s390/s390-64/setjmp.S: ... here.
5308         Add versioning.
5309         (__sigsetjmp): Remove setting __flags field.
5310         * sysdeps/s390/setjmp.S: Delete file.
5311         * sysdeps/s390/sigjmp.c: Likewise.
5312         * sysdeps/s390/v1-longjmp.c: Likewise.
5313         * sysdeps/s390/v1-setjmp.h: Likewise.
5314         * sysdeps/s390/v1-sigjmp.c: Likewise.
5315         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
5316         Remove v1-longjmp_chk.
5317         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
5318         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
5319         Include debug/longjmp_chk.c and add versioning.
5320         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
5321         Include nptl/pt-longjmp.c and add versioning.
5322         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
5323         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
5324         Include __longjmp.c.
5325         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
5326         Move to ...
5327         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
5328         (__getcontext): Remove setting __flags field.
5329         Add versioning.
5330         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
5331         Don't restore upper high grps.
5332         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
5333         Likewise.
5334         (__swapcontext): Remove setting uc_flags field.
5335         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
5336         Delete file.
5337         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
5338         Include __longjmp.c.
5339         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
5340         Move to ...
5341         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
5342         (__getcontext): Remove setting __flags field.
5343         Add versioning.
5344         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
5345         (__swapcontext): Remove setting uc_flags field.
5346         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
5347         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
5348         Remove fields uc_high_gprs and __reserved.
5349         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
5350         New file with reverted content.
5351         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
5352         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
5353         Regenerated.
5354         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
5355         Regenerated.
5356
5357 2014-07-31  Andreas Schwab  <schwab@suse.de>
5358
5359         * config.h.in (HAVE_IFUNC): Define to 0.
5360         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
5361         definedness.
5362
5363 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
5364
5365         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5366         memmove-avx-unaligned, memcpy-avx-unaligned and
5367         mempcpy-avx-unaligned.
5368         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5369         Add tests for AVX memcpy functions.
5370         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
5371         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
5372         memcpy_chk.
5373         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
5374         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
5375         memmove_chk.
5376         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
5377         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
5378         mempcpy_chk.
5379         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
5380         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
5381         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
5382
5383 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5384
5385         [BZ #17213]
5386         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
5387         powerpc64le.
5388
5389 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
5390
5391         [BZ #16839]
5392         * manual/llio.texi: Add section about open file description locks.
5393         * manual/examples/ofdlocks.c: Example of open file description
5394         lock usage.
5395         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
5396         F_OFD_SETLK, and F_OFD_SETLKW.
5397
5398 2014-07-23  Allan McRae  <allan@archlinux.org>
5399
5400         * po/es.po: Update Spanish translation from translation project.
5401
5402 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
5403
5404         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
5405
5406 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
5407
5408         [BZ #17078]
5409         * sysdeps/arm/dl-machine.h (elf_machine_rela)
5410         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
5411         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
5412
5413 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
5414
5415         [BZ #17088]
5416         * math/fesetenv.c (__fesetenv)
5417         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
5418         * math/feupdateenv.c (__feupdateenv)
5419         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
5420
5421         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
5422         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
5423         (__ASSUME_SOCKETCALL): Do not define.
5424
5425         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
5426         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
5427         (__ASSUME_SOCKETCALL): Do not define.
5428         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
5429         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5430         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5431         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
5432         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5433         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
5434         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5435         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5436
5437         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
5438         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
5439         (__ASSUME_SOCKETCALL): Do not define.
5440         (__ASSUME_IPC64): Define unconditionally.
5441         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5442         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5443         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
5444         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5445         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
5446         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5447         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
5448         Likewise.
5449
5450         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
5451         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
5452         (__ASSUME_SOCKETCALL): Do not define.
5453         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
5454         (__ASSUME_FUTEX_LOCK_PI): Likewise.
5455         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5456         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
5457         (__ASSUME_REQUEUE_PI): Define unconditionally.
5458         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
5459         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
5460         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5461         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
5462         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5463         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5464
5465         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
5466         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
5467         (__ASSUME_SOCKETCALL): Do not define.
5468         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
5469         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5470         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5471         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
5472         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5473         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
5474
5475         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
5476         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
5477         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
5478         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
5479         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
5480         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
5481         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
5482         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
5483         (__ASSUME_GETCPU_SYSCALL): Likewise.
5484
5485         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
5486         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
5487         cases for individual architectures.
5488         * sysdeps/gnu/configure: Regenerated.
5489         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
5490         LIBC_SLIBDIR_RTLDDIR.
5491         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
5492         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
5493         LIBC_SLIBDIR_RTLDDIR.
5494         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
5495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
5496         LIBC_SLIBDIR_RTLDDIR.
5497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
5498         Regenerated.
5499         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
5500         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
5501         file.
5502         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
5503         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
5504         file.
5505         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
5506         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
5507         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
5508         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
5509
5510         * sysdeps/aarch64/shlib-versions: Move to ...
5511         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
5512         * sysdeps/alpha/shlib-versions: Move to ...
5513         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
5514         * sysdeps/arm/shlib-versions: Move to ...
5515         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
5516         * sysdeps/hppa/shlib-versions: Move all contents except for
5517         libgcc_s entry to ...
5518         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
5519         entry from ...
5520         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
5521         * sysdeps/ia64/shlib-versions: Move to ...
5522         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
5523         entry from ...
5524         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
5525         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
5526         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
5527         * sysdeps/microblaze/shlib-versions: Move to ...
5528         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
5529         * sysdeps/mips/shlib-versions: Move to ...
5530         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
5531         entry from ...
5532         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
5533         * sysdeps/tile/shlib-versions: Move to ...
5534         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
5535         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
5536         from ...
5537         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
5538         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
5539         entry from ...
5540         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
5541
5542 2014-07-17  Will Newton  <will.newton@linaro.org>
5543
5544         * sysdeps/arm/bits/atomic.h
5545         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
5546         (__arch_compare_and_exchange_bool_16_int): Likewise.
5547         (__arch_compare_and_exchange_bool_64_int): Likewise.
5548
5549         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
5550         into an #else block.
5551
5552 2014-07-16  Roland McGrath  <roland@hack.frob.com>
5553
5554         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
5555         just Linux configurations.  Test empirically that the compiler sets
5556         __ARM_EABI__, rather than using the tuple to decide.
5557         * sysdeps/arm/preconfigure: Regenerated.
5558         * sysdeps/unix/sysv/linux/arm/configure: File removed.
5559         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
5560         contents appended ...
5561         * sysdeps/arm/configure.ac: ... here.
5562         * sysdeps/arm/configure: Regenerated.
5563
5564 2014-07-15  Roland McGrath  <roland@hack.frob.com>
5565
5566         * nptl/pthread_kill.c: New file.
5567         * nptl/pthread_sigmask.c: New file.
5568         * nptl/pthread_sigqueue.c: New file.
5569
5570         * sysdeps/nptl/lowlevellock.h: New file.
5571         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
5572         * sysdeps/nptl/lowlevellock-futex.h: New file.
5573
5574         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
5575         Remove dead declarations.
5576
5577 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
5578
5579         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
5580         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
5581         config-cflags-avx2.
5582         * sysdeps/x86_64/configure.ac: Likewise.
5583         * sysdeps/i386/configure: Regenerated.
5584         * sysdeps/x86_64/configure: Likewise.
5585         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
5586         memset-avx2 only if config-cflags-avx2 is yes.
5587         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
5588         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
5589         defined.
5590         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
5591         only if HAVE_AVX2_SUPPORT is defined.
5592         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
5593
5594 2014-07-14  Alan Modra  <amodra@gmail.com>
5595
5596         [BZ #17153]
5597         * elf/elf.h (DT_PPC64_NUM): Correct value.
5598         * NEWS: Add to fixed bug list.
5599
5600 2014-07-13  Jim Meyering  <meyering@fb.com>
5601
5602         [BZ 17150]
5603         regex: don't deref NULL upon heap allocation failure
5604         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
5605         failure in one more place.
5606         To trigger the segfault, configure grep -with-included-regex,
5607         build it, and run these commands:
5608         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
5609
5610 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
5611
5612         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
5613
5614 2014-07-11  Richard Henderson  <rth@redhat.com>
5615
5616         * sysdeps/aarch64/libm-test-ulps: Update.
5617
5618 2014-07-10  Florian Weimer  <fweimer@redhat.com>
5619
5620         [BZ #17135]
5621         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
5622         * nptl/allocatestack.c (__nptl_setxid_error): New function.
5623         (__nptl_setxid): Initialize error member.  Call
5624         __nptl_setxid_error.
5625         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
5626         * nptl/descr.h (struct xid_command): Add error member.
5627         * nptl/tst-setuid3.c: New file.
5628         * nptl/Makefile (tests): Add it.
5629
5630 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5631
5632         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
5633         New define.
5634         (__lll_trylock): Use __lll_base_trylock.
5635         (__lll_cond_trylock): Likewise.
5636
5637 2014-07-10  Roland McGrath  <roland@hack.frob.com>
5638
5639         * nptl/pthread_create.c (start_thread): Use atomic_or and
5640         lll_futex_wake directly rather than lll_robust_dead.
5641         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5642         (lll_robust_dead): Macro removed.
5643         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
5644         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5645         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5646         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5647         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5648         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5649         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5650         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5651         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5652         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5653         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5654         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5655         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5656         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5657         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5658
5659         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
5660         Use atomic_compare_and_exchange_val_acq directly rather than
5661         lll_robust_trylock.
5662         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
5663         (__lll_robust_trylock, lll_robust_trylock): Removed.
5664         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
5665         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
5666         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
5667         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
5668         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
5669         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
5670         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
5671         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
5672         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
5673         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
5674         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
5675         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
5676         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
5677         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
5678
5679 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5680
5681         * manual/locale.texi (Locale Names): New section documenting
5682         locale name syntax.  Adjust menu and node chaining accordingly.
5683         (Choosing Locale): Reference Locale Names, Locale Categories.
5684         Mention setting LC_ALL=C.  Reflect that name syntax is now
5685         documented.
5686         (Locale Categories): New section title.  Reference Locale Names.
5687         LC_ALL is an environment variable, but not a category.
5688         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
5689         description, now in Locale Name.  Reference that section.  Locale
5690         name syntax is now documented.
5691
5692 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5693
5694         [BZ #17137]
5695         * locale/findlocale.c (name_present, valid_locale_name): New
5696         functions.
5697         (_nl_find_locale): Use the loc_name variable to store name
5698         candidates.  Call name_present and valid_locale_name to check and
5699         validate locale names.  Return an error if the locale is invalid.
5700
5701 2014-07-02  Florian Weimer  <fweimer@redhat.com>
5702
5703         * locale/setlocale.c (setlocale): Use strdup for allocating
5704         composite name copy.
5705
5706 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5707
5708         Sync up with gnulib.
5709         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
5710         [!_LIBC && ENABLE_NLS]: Include gettext.h.
5711         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
5712         and _GL_ARG_NONNULL.
5713         [USE_UNLOCKED_IO]: Include unlocked-io.h.
5714         [!_LIBC]: Include code for Windows and Cygwin.
5715         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
5716         Include prototype for int strerror_r.
5717         [!_LIBC] (is_open): New function.
5718         (flush_stdout): New function.
5719         (print_errno_message): Use it.
5720         (error): Likewise.
5721         (error_at_line): Likewise.
5722         (error_tail) Add function attribute macros.  Use
5723         __builtin_expect.
5724
5725         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
5726
5727         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
5728
5729         * io/ftw.c: Include sys/param.h unconditionally.
5730
5731         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
5732
5733         [BZ #17125]
5734         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
5735         libc_freeres_ptr.
5736         (freecache): New function to free CACHE on exit.
5737
5738         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
5739         initialization.
5740
5741 2014-07-09  David S. Miller  <davem@davemloft.net>
5742
5743         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5744
5745         * sysdeps/sparc/nptl/internaltypes.h: Delete.
5746         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
5747         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
5748         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
5749         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
5750         * sysdeps/sparc/nptl/sem_init.c: Likewise.
5751         * sysdeps/sparc/nptl/sem_post.c: Likewise.
5752         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
5753         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
5754         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
5755         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
5756         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
5757         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
5758
5759 2014-07-09  Andreas Schwab  <schwab@suse.de>
5760
5761         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
5762         output.
5763         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
5764         (do_test): Likewise.
5765
5766         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
5767
5768 2014-07-09  Will Newton  <will.newton@linaro.org>
5769
5770         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
5771         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
5772         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
5773         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
5774         * sysdeps/hppa/start.S (_start): Likewise.
5775
5776 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
5777
5778         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
5779
5780         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
5781         defined.
5782
5783 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5784
5785         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
5786         after checking that it is non-NULL.
5787
5788         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
5789
5790 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5791
5792         * sysdeps/powerpc/memmove.c: Remove file.
5793         * sysdeps/powerpc/powerpc32/power4/memcopy.h
5794         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
5795         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
5796         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
5797         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
5798         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
5799         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
5800         string memmove instead of removed powerpc one.
5801
5802         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
5803         [weak_alias]: Fix compiler warning due trailing data.
5804         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
5805         [weak_alias]: Likewise.
5806         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
5807         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
5808
5809         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
5810         (__libc_ifunc_impl_list): Add memmove functions.
5811
5812 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
5813
5814         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
5815         Remove code.
5816         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
5817         Likewise
5818         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
5819         Likewise
5820         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
5821         Likewise
5822         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
5823         Likewise
5824         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
5825         Likewise
5826         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
5827         Likewise
5828         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
5829         Likewise
5830         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
5831         Likewise
5832         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
5833         Likewise
5834         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
5835         Likewise
5836         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
5837         Likewise
5838         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
5839         Likewise
5840         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
5841         Likewise
5842         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
5843         Likewise
5844         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
5845         Likewise
5846         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
5847         Likewise
5848
5849 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5850
5851         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
5852         to avoid alignment traps in non-cacheable memory.
5853         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
5854
5855         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
5856         multiarch objects.
5857         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
5858         file: multiarch power7 memmove.
5859         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
5860         multiarch default memmove.
5861         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
5862         multiarch memove for powerpc32/power4.
5863
5864         * string/bcopy.c: Use full path to include memmove.c.
5865         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
5866         multiarch objects.
5867         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
5868         bcopy for powerpc64.
5869         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
5870         bcopy for powerpc64.
5871         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
5872         and memmove implementations.
5873         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
5874         optimized multiarch memmove for POWER7/powerpc64.
5875         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
5876         default multiarch memmove for powerpc64.
5877         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
5878         multiarch for powerpc64.
5879         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
5880         for POWER7/powerpc64.
5881         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
5882         memmove for POWER7/powerpc64.
5883
5884         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
5885         glibc default one.
5886
5887         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
5888         __ELF_NATIVE_CLASS equal to 64.
5889
5890 2014-07-07  Roland McGrath  <roland@hack.frob.com>
5891
5892         * sysdeps/nptl/lowlevellock.h: File removed.
5893
5894         * NEWS: NPTL is no longer an add-on!
5895         * nptl/internaltypes.h: Moved ...
5896         * sysdeps/nptl/internaltypes.h: ... here.
5897         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
5898         * sysdeps/nptl/fork.c: Likewise.
5899         * sysdeps/nptl/gai_misc.h: Likewise.
5900         * sysdeps/nptl/librt-cancellation.c: Likewise.
5901         * sysdeps/nptl/jmp-unwind.c: Likewise.
5902         * sysdeps/nptl/setxid.h: Likewise.
5903         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
5904         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
5905         * sysdeps/unix/sysv/linux/arm/Implies: New file.
5906         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
5907         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
5908         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
5909         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
5910         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
5911         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
5912         * sysdeps/unix/sysv/linux/mips/Implies: New file.
5913         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
5914         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
5915         * sysdeps/unix/sysv/linux/sh/Implies: New file.
5916         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
5917         * sysdeps/unix/sysv/linux/tile/Implies: New file.
5918         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
5919         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
5920         * nptl/Makeconfig: Moved ...
5921         * sysdeps/nptl/Makeconfig: ... here.
5922         * nptl/configure: File removed.
5923         * nptl/ANNOUNCE: File removed.
5924         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
5925         * sysdeps/unix/sysv/linux/configure: Regenerated.
5926
5927         * nptl/Makefile (routines): Add libc_pthread_init,
5928         libc_multiple_threads, register-atfork and unregister-atfork.
5929         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
5930         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
5931         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
5932         pthread-pi-defines.sym, structsem.sym.
5933         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
5934         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
5935         [$(subdir) = nptl] (tests): Add tst-setgetname.
5936         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
5937         * sysdeps/unix/sysv/linux/sigaction.c: Just include
5938         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
5939         [!LIBC_SIGACTION]: Remove aliases.
5940         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
5941         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
5942         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
5943         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
5944         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
5945         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
5946         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
5947         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
5948         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
5949         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
5950         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
5951         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
5952         __libc_allocate_rtsig_private.
5953         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
5954         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
5955         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
5956         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
5957         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
5958         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
5959         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
5960         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
5961         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
5962         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
5963         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
5964         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
5965         * nptl/internaltypes.h: ... here.
5966         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
5967         * sysdeps/nptl/jmp-unwind.c: ... here.
5968         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
5969         * nptl/libc-lowlevellock.c: ... here.
5970         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
5971         * nptl/libc_multiple_threads.c: ... here.
5972         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
5973         * nptl/libc_pthread_init.c: ... here.
5974         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
5975         * nptl/lowlevelbarrier.sym: ... here.
5976         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
5977         * nptl/lowlevelcond.sym: ... here.
5978         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
5979         * nptl/lowlevellock.c: ... here.
5980         * nptl/lowlevellock.h: Moved ...
5981         * sysdeps/nptl/lowlevellock.h: ... here.
5982         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
5983         * nptl/lowlevelrobustlock.c: ... here.
5984         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
5985         * nptl/lowlevelrobustlock.sym: ... here.
5986         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
5987         * nptl/lowlevelrwlock.sym: ... here.
5988         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
5989         * nptl/pt-fork.c: ... here.
5990         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
5991         * nptl/pthread-pi-defines.sym: ... here.
5992         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
5993         * nptl/pthread_attr_getaffinity.c: ... here.
5994         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
5995         * nptl/pthread_attr_setaffinity.c: ... here.
5996         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
5997         * nptl/pthread_mutex_cond_lock.c: ... here.
5998         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
5999         Update #include.
6000         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
6001         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
6002         * nptl/pthread_once.c: ... here, replacing old file.
6003         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
6004         * nptl/pthread_yield.c: ... here.
6005         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
6006         * nptl/register-atfork.c: ... here.
6007         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
6008         * nptl/sem_post.c: ... here.
6009         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
6010         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
6011         * nptl/sem_timedwait.c: ... here.
6012         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
6013         * nptl/sem_trywait.c: ... here.
6014         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
6015         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
6016         * nptl/sem_wait.c: ... here.
6017         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
6018         * nptl/structsem.sym: ... here.
6019         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
6020         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
6021         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
6022         * nptl/unregister-atfork.c: ... here.
6023         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
6024         * nptl/unwindbuf.sym: ... here.
6025         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
6026         * sysdeps/nptl/fork.c: ... here.
6027         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
6028         * sysdeps/nptl/fork.h: ... here.
6029         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
6030         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
6031         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
6032         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
6033         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
6034         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
6035         * sysdeps/unix/sysv/linux/getpid.c: ... here.
6036         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
6037         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
6038         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
6039         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
6040         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
6041         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
6042         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
6043         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
6044         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
6045         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
6046         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
6047         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
6048         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
6049         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
6050         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
6051         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
6052         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
6053         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
6054         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
6055         * sysdeps/unix/sysv/linux/raise.c: ... here.
6056         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
6057         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
6058         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
6059         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
6060         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
6061         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
6062         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
6063         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
6064         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
6065         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
6066         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
6067         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
6068         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
6069         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
6070         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
6071
6072 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
6073
6074         * sysdeps/generic/memcopy.h: Add comment for
6075         MEMCPY_OK_FOR_FWD_MEMMOVE.
6076
6077 2014-07-04  Will Newton  <will.newton@linaro.org>
6078
6079         * string/memchr.c: Merge from gnulib.
6080         [_LIBC]: Remove conditionals.
6081         (__ptr_t): Remove define.
6082         (LONG_MAX_32_BITS): Likewise.
6083         (LONG_MAX): Likewise.
6084         (MEMCHR): Use ANSI prototype and optimize algorithm.
6085
6086         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
6087
6088 2014-07-03  Roland McGrath  <roland@hack.frob.com>
6089
6090         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
6091         (lll_futex_timed_wait_bitset): Fix syscall argument count.
6092
6093         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
6094         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
6095         in a bare environment with no <stdlib.h> installed.
6096         * sysdeps/nptl/configure: Regenerated.
6097
6098         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
6099
6100         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
6101         AC_EGREP_CPP for kernel header checks, so they only succeed if
6102         including <linux/version.h> actually works right.
6103         * sysdeps/unix/sysv/linux/configure: Regenerated.
6104
6105         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
6106         value so it's not diagnosed as unused.
6107
6108         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
6109         thing) with "ifeq ($(subdir),rt)".
6110
6111 2014-07-03  Richard Henderson  <rth@redhat.com>
6112
6113         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
6114         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
6115         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
6116
6117         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
6118         (math_force_eval): New.
6119
6120         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
6121         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
6122
6123         * sysdeps/alpha/fpu/s_round.c: Remove file.
6124         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
6125
6126         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
6127         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
6128         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
6129         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
6130         (_dl_start, print_statistics): Likewise.
6131         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
6132         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
6133
6134         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6135         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6136         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6137         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6138         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6139         (HP_SMALL_TIMING_AVAIL): Define.
6140         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6141         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6142         (HP_SMALL_TIMING_AVAIL): Define.
6143         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6144         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
6145
6146         * sysdeps/aarch64/hp-timing.h: New file.
6147
6148         * sysdeps/generic/hp-timing.h: Remove dead comment.
6149         * sysdeps/generic/hp-timing-common.h: New file.
6150         * sysdeps/alpha/hp-timing.h: Include it.
6151         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
6152         * sysdeps/i386/i686/hp-timing.h: Likewise.
6153         * sysdeps/ia64/hp-timing.h: Likewise.
6154         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
6155         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
6156         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
6157         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
6158         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
6159         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
6160         (hp_timing_t): New.
6161
6162         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
6163         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
6164         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
6165         * elf/rtld.c (_dl_start_final): Likewise.
6166         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
6167         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6168         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6169         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6170         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6171         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6172         (HP_TIMING_DIFF_INIT): Remove.
6173         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6174         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
6175         (HP_TIMING_DIFF_INIT): Remove.
6176         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
6177         * sysdeps/i386/i686/hp-timing.c: Remove file.
6178         * sysdeps/x86_64/hp-timing.c: Remove file.
6179         * sysdeps/ia64/hp-timing.c: Remove file.
6180         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
6181         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
6182         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
6183         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
6184
6185         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
6186         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
6187         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
6188         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6189         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
6190         (HP_TIMING_ACCUM): Remove.
6191         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6192         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
6193         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
6194
6195         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
6196         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
6197         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
6198         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
6199         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
6200         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6201         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
6202         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
6203
6204         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
6205
6206 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
6207
6208         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
6209
6210 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6211
6212         Sync up with gettext.
6213         * intl/loadmsgcat.c: Define O_BINARY if not defined.
6214         [_MSC_VER]: Include malloc.h
6215         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
6216         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
6217         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
6218         TEMP_FAILURE_RETRY.  Cast return of alloca.
6219         [!_LIBC] Call gl_rwlock_init.
6220         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
6221
6222 2014-07-02  Roland McGrath  <roland@hack.frob.com>
6223
6224         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
6225         before checking its value.
6226
6227 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6228
6229         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
6230
6231         * debug/memcpy_chk.c: Don't include pagecopy.h.
6232         * debug/mempcpy_chk.c: Likewise.
6233         * string/memcpy.c: Likewise.
6234         * string/memmove.c: Likewise.
6235         * sysdeps/powerpc/memmove.c: Likewise.
6236         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
6237         definition of PAGE_COPY_FWD_MAYBE here...
6238         * sysdeps/generic/pagecopy.h: ... from here.
6239         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
6240
6241 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
6242             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6243
6244         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
6245         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
6246         optimizations.
6247         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
6248         (__libc_ifunc_impl_list): Likewise.
6249         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
6250         multiarch strcat for PPC64.
6251         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
6252         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
6253
6254 2014-07-02  Roland McGrath  <roland@hack.frob.com>
6255
6256         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
6257
6258 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6259
6260         * intl/loadmsgcat.c: Remove declaration of
6261         get_sysdep_segment_value.
6262         (get_sysdep_segment_value): Use ISO C style.
6263         (_nl_load_domain): Use ISO C style.  Get rid of redundant
6264         semicolon.  Fix typo and formatting in comment.
6265         (_nl_unload_domain): Use ISO C style.
6266
6267         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
6268
6269 2014-07-02  Will Newton  <will.newton@linaro.org>
6270
6271         * malloc/obstack.c: Merge from gnulib master.
6272         [HAVE_CONFIG_H]: Remove conditional code.
6273         [!_LIBC]: Include config.h.
6274         [!ELIDE_CODE]: Don't include inttypes.h, include
6275         stdint.h unconditionally.
6276         (print_and_abort): Mark as _Noreturn.
6277         (_obstack_allocated_p): Mark as __attribute_pure__.
6278         (obstack_free): Rename to __obstack_free.
6279         [!__attribute__]: Remove conditional code.
6280         * malloc/obstack.h: Merge from gnulib master.
6281         [__cplusplus]: Move conditional down.
6282         [!__attribute_pure__]: Define __attribute_pure__ here
6283         if it is not already defined.
6284         (_obstack_memory_used): Mark as __attribute_pure__.
6285         [!__obstack_free]: Define as obstack_free.
6286         [__GNUC__]: Remove check for ancient NeXT gcc.
6287
6288 2014-07-02  Will Newton  <will.newton@linaro.org>
6289             Paul Eggert  <eggert@cs.ucla.edu>
6290
6291         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
6292
6293 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
6294
6295         * resolv/gethnamaddr.c: Add comment warning that the file is
6296         not maintained.
6297
6298 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
6299
6300         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
6301         entries.
6302
6303         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
6304         entry for aio_cancel and aio_cancel64.
6305         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
6306         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
6307         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
6308         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
6309         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
6310         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
6311         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
6312         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
6313         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
6314         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
6315         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
6316         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
6317         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
6318
6319 2014-07-01  Roland McGrath  <roland@hack.frob.com>
6320
6321         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
6322         * nptl/pthread_mutex_lock.c: Likewise.
6323         * nptl/pthread_mutex_timedlock.c: Likewise.
6324         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
6325
6326 2014-07-01  Richard henderson  <rth@redhat.com>
6327
6328         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
6329         (__isnan, __isnanl): Remove.
6330         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
6331
6332         * sysdeps/alpha/fpu/libm-test-ulps: Update.
6333
6334 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
6335
6336         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
6337
6338 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
6339
6340         * resolv/nss_dns/dns-host.c (getanswer_r)
6341         [MULTI_PTRS_ARE_ALIASES]: Remove code.
6342
6343 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
6344
6345         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
6346         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
6347         undefine.
6348         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
6349         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
6350
6351 2014-07-01  Roland McGrath <roland@hack.frob.com>
6352
6353         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
6354         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
6355
6356         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
6357         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
6358
6359         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
6360         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
6361         ... here.
6362         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
6363         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
6364
6365         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
6366         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
6367         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
6368         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
6369
6370         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
6371         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
6372         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
6373         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
6374         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
6375         Moved ...
6376         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
6377         ... here.
6378         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
6379         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
6380         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
6381         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
6382         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
6383         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
6384         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
6385         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
6386         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
6387         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
6388         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
6389         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
6390         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
6391         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
6392         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
6393         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
6394         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
6395         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
6396         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
6397         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
6398         ... here.
6399         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
6400         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
6401         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
6402         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
6403         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
6404         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
6405         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
6406         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
6407
6408 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
6409
6410         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
6411         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
6412         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
6413         Add sysdep.
6414
6415 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6416
6417         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6418
6419 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
6420
6421         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
6422         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
6423
6424         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
6425
6426         * sysdeps/arm/libm-test-ulps: Regenerated.
6427
6428 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
6429             Roland McGrath <roland@hack.frob.com>
6430
6431         * test-skeleton.c (signal_handler): Kill the whole process group
6432         before killing the child individually.
6433         (main): Report any failure on `setpgid'.
6434
6435 2014-06-30  Roland McGrath  <roland@hack.frob.com>
6436
6437         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
6438         from _TLS_H to _ARM_NPTL_TLS_H.
6439         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
6440         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
6441
6442 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
6443
6444         [BZ #16539]
6445         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
6446         (__expm1l): Return argument unchanged when small but not
6447         subnormal.
6448
6449         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
6450         include macro name.
6451         (_FP_UNPACK_RAW_1_P): Likewise.
6452         (_FP_PACK_RAW_1): Likewise.
6453         (_FP_PACK_RAW_1_P): Likewise.
6454         (_FP_MUL_MEAT_1_wide): Likewise.
6455         (_FP_MUL_MEAT_DW_1_hard): Likewise.
6456         (_FP_MUL_MEAT_1_hard): Likewise.
6457         (_FP_DIV_MEAT_1_imm): Likewise.
6458         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
6459         (_FP_DIV_MEAT_1_udiv): Likewise.
6460         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
6461         (_FP_UNPACK_RAW_2): Likewise.
6462         (_FP_UNPACK_RAW_2_P): Likewise.
6463         (_FP_PACK_RAW_2): Likewise.
6464         (_FP_PACK_RAW_2_P): Likewise.
6465         (_FP_MUL_MEAT_DW_2_wide): Likewise.
6466         (_FP_MUL_MEAT_2_wide): Likewise.
6467         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
6468         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
6469         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
6470         (_FP_MUL_MEAT_2_gmp): Likewise.
6471         (_FP_DIV_MEAT_2_udiv): Likewise.
6472         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
6473         (_FP_FRAC_SRL_4): Likewise.
6474         (_FP_FRAC_SRST_4): Likewise.
6475         (_FP_FRAC_SRS_4): Likewise.
6476         (_FP_UNPACK_RAW_4): Likewise.
6477         (_FP_UNPACK_RAW_4_P): Likewise.
6478         (_FP_PACK_RAW_4): Likewise.
6479         (_FP_PACK_RAW_4_P): Likewise.
6480         (_FP_MUL_MEAT_DW_4_wide): Likewise.
6481         (_FP_MUL_MEAT_4_wide): Likewise.
6482         (_FP_MUL_MEAT_4_gmp): Likewise.
6483         (umul_ppppmnnn): Likewise.
6484         (_FP_DIV_MEAT_4_udiv): Likewise.
6485         (__FP_FRAC_ADD_4): Likewise.
6486         (__FP_FRAC_SUB_3): Likewise.
6487         (__FP_FRAC_SUB_4): Likewise.
6488         (__FP_FRAC_DEC_3): Likewise.
6489         (__FP_FRAC_DEC_4): Likewise.
6490         (__FP_FRAC_ADDI_4): Likewise.
6491         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
6492         (_FP_FRAC_SRL_8): Likewise.
6493         (_FP_FRAC_SRS_8): Likewise.
6494
6495         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
6496         include macro name.
6497         (FP_UNPACK_RAW_EP): Likewise.
6498         (FP_PACK_RAW_E): Likewise.
6499         (FP_PACK_RAW_EP): Likewise.
6500         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
6501         (_FP_ISSIGNAN): Likewise.
6502         (_FP_ADD_INTERNAL): Likewise.
6503         (_FP_FMA): Likewise.
6504         (_FP_CMP): Likewise.
6505         (_FP_SQRT): Likewise.
6506         (_FP_TO_INT): Likewise.
6507         (_FP_FROM_INT): Likewise.
6508         (FP_EXTEND): Likewise.
6509         (_FP_DIV_MEAT_N_loop): Likewise.
6510
6511 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
6512
6513         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
6514         throughout.
6515
6516 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
6517
6518         [BZ #17097]
6519         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
6520         result with correct sign in case of exponents that produce
6521         overflow except for X very close to 1.
6522
6523 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
6524
6525         mktime: merge #if/#ifdef usage from glibc
6526         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
6527         as that works with both Glibc's and Gnulib's style.
6528         See thread starting at Siddhesh Poyarekar's bug report at:
6529         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
6530
6531 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
6532
6533         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
6534         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
6535         * sysdeps/tile/tilegx/memmove.c: Remove file.
6536
6537 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
6538
6539         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
6540         abi-name definition.
6541         * scripts/soversions.awk: Do not handle or generate ABI lines.
6542         * shlib-versions: Remove ABI entries.
6543         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
6544         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
6545
6546 2014-06-27  Roland McGrath  <roland@hack.frob.com>
6547
6548         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
6549         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
6550         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
6551         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
6552         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
6553         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
6554         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
6555         Moved ...
6556         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
6557         ... here.
6558         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
6559         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
6560         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
6561         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
6562         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
6563         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
6564         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
6565         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
6566         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
6567         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
6568         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
6569         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
6570         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
6571         Moved ...
6572         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
6573         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
6574         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
6575         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
6576         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
6577         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
6578         Moved ...
6579         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
6580         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
6581         Moved ...
6582         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
6583         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
6584         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
6585         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
6586         Moved ...
6587         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
6588         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
6589         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
6590         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
6591         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
6592         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
6593         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
6594         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
6595         Moved ...
6596         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
6597         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
6598         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
6599         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
6600         Moved ...
6601         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
6602         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
6603         Moved ...
6604         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
6605         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
6606         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
6607         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
6608         Moved ...
6609         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
6610         ... here.
6611         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
6612         Identical file removed.
6613         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
6614         Moved ...
6615         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
6616         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
6617         Identical file removed.
6618         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
6619         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
6620         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
6621         Moved ...
6622         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
6623         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
6624         Identical file removed.
6625         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
6626         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
6627         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
6628         Identical file removed.
6629         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
6630         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
6631         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
6632         Identical file removed.
6633         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
6634         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
6635         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
6636         Identical file removed.
6637         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
6638         Moved ...
6639         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
6640         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
6641         Identical file removed.
6642         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
6643         Moved ...
6644         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
6645         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
6646         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
6647         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
6648         Identical file removed.
6649         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
6650         Moved ...
6651         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
6652         ... here.
6653         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
6654         Identical file removed.
6655         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
6656         Moved ...
6657         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
6658         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
6659         Identical file removed.
6660         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
6661         Moved ...
6662         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
6663         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
6664         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
6665         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
6666         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
6667         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
6668         Moved ...
6669         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
6670         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
6671         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
6672
6673         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
6674         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
6675         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
6676         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
6677         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
6678
6679 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
6680
6681         [BZ #17092]
6682         * nscd/nscd.c (monitor_child): Return exit status of child
6683         instead of return value from wait syscall.
6684
6685 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
6686
6687         * configure.ac (libc_commonpagesize): Remove variable.
6688         (libc_relro_required): Likewise.
6689         (libc_cv_z_relro): Remove configure test.
6690         * configure: Regenerated.
6691         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
6692         variable.
6693         (libc_relro_required): Likewise.
6694         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
6695         (libc_relro_required): Likewise.
6696         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
6697         (libc_relro_required): Likewise.
6698         * sysdeps/arm/preconfigure: Regenerated.
6699         * sysdeps/ia64/preconfigure: Remove file.
6700         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
6701         variable.
6702         (libc_relro_required): Likewise.
6703
6704         [BZ #16561]
6705         [BZ #16562]
6706         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
6707         (__ieee754_yn): Set FE_TONEAREST mode internally and then
6708         recompute overflowing results in original rounding mode.
6709         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
6710         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
6711         recompute overflowing results in original rounding mode.
6712         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
6713         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6714         recompute overflowing results in original rounding mode.
6715         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
6716         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6717         recompute overflowing results in original rounding mode.
6718         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
6719         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
6720         recompute overflowing results in original rounding mode.
6721         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
6722         (libc_feholdsetround_ctx): New macro.
6723         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
6724         * sysdeps/i386/fpu/libm-test-ulps: Update.
6725         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
6726
6727 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6728
6729         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
6730         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
6731         corresponding .cpsetup call.
6732
6733 2014-06-26  Roland McGrath  <roland@hack.frob.com>
6734
6735         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
6736         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
6737         * sysdeps/arm/Makefile [$(subdir) = csu]
6738         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
6739         (static-only-routines): Add aeabi_read_tp here.
6740         (shared-only-routines): Add libc-aeabi_read_tp here.
6741         (CFLAGS-libc-start.c): Add -fexceptions here.
6742         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
6743         (sysdep_routines, static-only-routines, shared-only-routines):
6744         Don't add to these here.
6745         (CFLAGS-libc-start.c): Likewise.
6746
6747         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
6748         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
6749         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
6750         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
6751         * sysdeps/arm/Makefile [$(subdir) = rt]
6752         (librt-sysdep_routines, librt-shared-only-routines):
6753         Append rt-aeabi_unwind_cpp_pr1 here.
6754         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
6755         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
6756         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
6757         (libpthread-sysdep_routines, libpthread-shared-only-routines):
6758         Append nptl-aeabi_unwind_cpp_pr1 here.
6759         (tests): Filter out tst-cleanupx4 here.
6760         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
6761         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
6762         Don't do those here.
6763
6764 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6765
6766         * scripts/list-sources.sh: Do not handle ports specially.
6767
6768 2014-06-26  Roland McGrath  <roland@hack.frob.com>
6769
6770         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
6771         * sysdeps/arm/feupdateenv.c: Likewise.
6772
6773         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
6774
6775 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6776
6777         * manual/texinfo.tex: Update to version 2014-05-05.10 with
6778         trailing whitespace removed.
6779         * scripts/config.guess: Update to version 2014-03-23.
6780         * scripts/config.sub: Update to version 2014-05-01
6781         * scripts/install-sh: Update to version 2013-12-25.23.
6782         * scripts/move-if-change: Update from gnulib.
6783
6784 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6785
6786         * debug/memmove_chk.c: Remove pagecopy.h include.
6787
6788 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
6789
6790         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
6791         identical to gnulib mktime.
6792
6793 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
6794
6795         * configure.ac: Do not test for machine being rs6000.  Do not test
6796         for powerpc*-*soft.
6797         * configure: Regenerated.
6798
6799         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
6800         test.
6801         * configure: Regenerated.
6802         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
6803         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
6804         Remove configure test.
6805         * sysdeps/arm/configure: Regenerated.
6806         * sysdeps/nptl/configure.ac: Do not check
6807         libc_cv_asm_cfi_directives.
6808         * sysdeps/nptl/configure: Regenerated.
6809         * sysdeps/x86_64/nptl/configure.ac: Remove file.
6810         * sysdeps/x86_64/nptl/configure: Remove generated file.
6811         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
6812         unconditional.
6813         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
6814
6815 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
6816
6817         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
6818         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
6819         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
6820         it is defined.
6821
6822         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
6823         instead of whether it is defined.
6824         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
6825         * sysdeps/hppa/dl-machine.h: Likewise.
6826         * sysdeps/ia64/dl-machine.h: Likewise.
6827         * sysdeps/m68k/dl-machine.h: Likewise.
6828         * sysdeps/microblaze/dl-machine.h: Likewise.
6829         * sysdeps/mips/dl-machine.: Likewise.
6830         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
6831         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
6832         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
6833         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
6834         * sysdeps/sh/dl-machine.h: Likewise.
6835         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
6836         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
6837         * sysdeps/tile/dl-machine.h: Likewise.
6838         * sysdeps/x86_64/dl-machine.h: Likewise.
6839
6840         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
6841         code.
6842         (verify_persistent_db): Likewise.
6843
6844 2014-06-26  Roland McGrath  <roland@hack.frob.com>
6845
6846         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
6847         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
6848         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
6849         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
6850         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
6851         Moved ...
6852         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
6853         ... here.
6854         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
6855         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
6856         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
6857         Identical file removed.
6858         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
6859         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
6860         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
6861         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
6862         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
6863         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
6864         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
6865         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
6866         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
6867         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
6868         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
6869         Moved ...
6870         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
6871         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
6872         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
6873         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
6874         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
6875         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
6876         Moved ...
6877         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
6878         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
6879         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
6880         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
6881         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
6882         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
6883         Identical file removed.
6884         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
6885         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
6886         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
6887         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
6888         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
6889         Moved ...
6890         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
6891         ... here.
6892         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
6893         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
6894         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
6895         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
6896         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
6897         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
6898         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
6899         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
6900         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
6901         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
6902         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
6903         Moved ...
6904         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
6905         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
6906         Moved ...
6907         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
6908         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
6909         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
6910         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
6911         Moved ...
6912         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
6913         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
6914         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
6915
6916         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
6917         folded into ...
6918         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
6919         * sysdeps/unix/sysv/linux/s390/Versions
6920         (libpthread: GLIBC_2.19): New version set.
6921         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
6922         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
6923         (librt: GLIBC_2.3.3): New version set.
6924         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
6925         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
6926         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
6927         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
6928         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
6929         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
6930         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
6931         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
6932         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
6933         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
6934         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
6935         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
6936         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
6937         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
6938         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
6939         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
6940         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
6941         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
6942         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
6943         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
6944         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
6945         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
6946         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
6947         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
6948         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
6949         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
6950         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
6951         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
6952         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
6953         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
6954         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
6955         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
6956         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
6957         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
6958         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
6959         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
6960         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
6961         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
6962         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
6963         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
6964         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
6965         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
6966         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
6967         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
6968         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
6969
6970         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
6971         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
6972         (__libc_vfork): Define the function under this name.
6973         [!NOT_IN_libc] (__vfork): Make this an alias.
6974         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6975         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
6976         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
6977         (__libc_vfork): Define the function under this name.
6978         [!NOT_IN_libc] (__vfork): Make this an alias.
6979         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
6980         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
6981         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
6982         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
6983         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
6984         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
6985
6986         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
6987         code that was previously under [RESET_PID].
6988         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
6989         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
6990         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
6991
6992         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
6993         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
6994         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
6995         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
6996         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
6997         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
6998         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
6999         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
7000         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
7001         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
7002         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
7003         Moved ...
7004         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
7005         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
7006         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
7007         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
7008         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
7009         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
7010         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
7011         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
7012         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
7013         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
7014         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
7015         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
7016         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
7017         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
7018         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
7019         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
7020         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
7021         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
7022         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
7023         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
7024         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
7025         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
7026         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
7027         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
7028         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
7029         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
7030         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
7031         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
7032         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
7033
7034 2014-06-25  Roland McGrath  <roland@hack.frob.com>
7035
7036         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
7037         that was previously under [RESET_PID].
7038         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
7039
7040 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
7041
7042         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
7043         not undefine and redefine.
7044         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
7045         [O_CLOEXEC]: Make code unconditional.
7046         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
7047         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
7048         <kernel-features.h>.
7049         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
7050         conditional variable definition.
7051         (shm_open) [O_CLOEXEC]: Make code unconditional.
7052         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
7053         code.
7054
7055         * configure.ac (USE_REGPARMS): Don't define here.
7056         * configure: Regenerated.
7057         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
7058         * sysdeps/i386/configure: Regenerated.
7059
7060         * nptl/createthread.c: Don't include kernel-features.h.
7061         * nptl/pthread_cancel.c: Likewise.
7062         * nptl/pthread_condattr_setclock.c: Likewise.
7063         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
7064         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
7065         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
7066         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
7067         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
7068         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
7069         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
7070         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
7071         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
7072         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
7073         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
7074         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
7075         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
7076         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
7077         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
7078         * nscd/gai.c: Likewise.
7079         * nss/nss_db/db-open.c: Likewise.
7080         * sysdeps/generic/ldsodefs.h: Likewise.
7081         * sysdeps/sh/nptl/tls.h: Likewise.
7082         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
7083         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
7084         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
7085         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
7086         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
7087         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
7088         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
7089         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7090         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
7091         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
7092         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
7093         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
7094         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
7095         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
7096         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
7097         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
7098         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
7099         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
7100         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
7101         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
7102         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
7103         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
7104         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
7105         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
7106         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
7107         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
7108         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
7109         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
7110         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
7111         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
7112         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
7113         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
7114         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
7115         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
7116         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
7117         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
7118         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
7119         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
7120         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
7121         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
7122         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
7123         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
7124         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
7125         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
7126         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
7127         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
7128         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
7129         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
7130         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
7131         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
7132         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
7133         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
7134         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
7135         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
7136         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
7137         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7138         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
7139         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
7140         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
7141         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
7142         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
7143         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
7144         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
7145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
7146         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
7147         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
7148         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
7149         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
7150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
7151         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
7152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
7153         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
7154         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
7155         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
7156         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
7157         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
7158         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
7159         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
7160         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
7161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
7162         * sysdeps/unix/sysv/linux/pread.c: Likewise.
7163         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
7164         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
7165         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
7166         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
7167         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
7168         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
7169         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
7170         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
7171         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
7172         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
7173         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
7174         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
7175         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
7176         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
7177         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
7178         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
7179         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
7180         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
7181         * sysdeps/unix/sysv/linux/system.c: Likewise.
7182         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
7183         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
7184         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
7185         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
7186         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
7187         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
7188         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
7189
7190         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
7191         * configure: Regenerated.
7192         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
7193
7194         * configure.ac (base_machine): Do not set specially for particular
7195         machines here.
7196         * configure: Regenerated.
7197         * sysdeps/powerpc/preconfigure: Move machine and base_machine
7198         settings from configure.ac.
7199         * sysdeps/i386/preconfigure: New file.
7200         * sysdeps/s390/preconfigure: Likewise.
7201         * sysdeps/sh/preconfigure: Likewise.
7202         * sysdeps/sparc/preconfigure: Likewise.
7203
7204 2014-06-25  Roland McGrath  <roland@hack.frob.com>
7205
7206         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
7207         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
7208         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
7209         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
7210         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
7211         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
7212         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
7213         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
7214         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
7215         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
7216         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
7217         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
7218         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
7219         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
7220         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
7221         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
7222         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
7223         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
7224         * sysdeps/sparc/sparc64/Makefile: ... appended here.
7225
7226         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
7227         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
7228         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
7229         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
7230         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
7231         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
7232         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
7233         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
7234         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
7235         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
7236         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
7237         * sysdeps/sparc/sparc32/sem_post.c: ... here.
7238         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
7239         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
7240         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
7241         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
7242         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
7243         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
7244         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
7245         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
7246         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
7247         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
7248         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
7249         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
7250         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
7251         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
7252         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
7253         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
7254         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
7255         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
7256         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
7257         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
7258         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
7259         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
7260         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
7261         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
7262         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
7263         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
7264
7265         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
7266         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
7267         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
7268         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
7269         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
7270         Moved ...
7271         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
7272         ... here.
7273         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
7274         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
7275         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
7276         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
7277         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
7278         Moved ...
7279         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
7280         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
7281         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
7282         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
7283         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
7284         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
7285         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
7286         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
7287         Moved ...
7288         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
7289         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
7290         Moved ...
7291         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
7292         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
7293         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
7294         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
7295         Moved ...
7296         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
7297         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
7298         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
7299         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
7300         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
7301         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
7302         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
7303         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
7304         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
7305         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
7306         Moved ...
7307         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
7308         ... here.
7309         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
7310         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
7311         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
7312         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
7313         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
7314         Moved ...
7315         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
7316         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
7317         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
7318         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
7319         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
7320         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
7321         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
7322         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
7323         Moved ...
7324         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
7325         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
7326         Moved ...
7327         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
7328         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
7329         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
7330         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
7331         Moved ...
7332         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
7333         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
7334         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
7335         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
7336         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
7337
7338 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
7339
7340         * timezone/checktab.awk: Update from tzcode 2014e.
7341         * timezone/private.h: Likewise.
7342         * timezone/tzfile.h: Likewise.
7343         * timezone/zdump.c: Likewise.
7344         * timezone/zic.c: Likewise.
7345
7346         * sysdeps/unix/sysv/linux/kernel-features.h
7347         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
7348         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
7349         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
7350         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
7351         Remove conditional code.
7352
7353 2014-06-25  Will Newton  <will.newton@linaro.org>
7354
7355         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
7356         (_dl_arm_cap_flags): Add HWCAP2 values.
7357         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
7358         (_DL_HWCAP_COUNT): Increase to 37.
7359         (_DL_HWCAP_LAST): New define.
7360         (_DL_HWCAP2_LAST): New define.
7361         (_dl_procinfo): Add support for printing
7362         AT_HWCAP2 entries.
7363         (_dl_string_hwcap): Use _dl_hwcap_string.
7364
7365 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7366
7367         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
7368
7369 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
7370
7371         * README: Do not mention ports directory.
7372
7373         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
7374         Remove macro.
7375         * sysdeps/unix/sysv/linux/futimes.c: Do not include
7376         <kernel-features.h>.
7377         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
7378         conditional variable definition.
7379         (__futimes): Update comment.
7380         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
7381         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
7382
7383         [BZ #16560]
7384         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
7385         arguments close to 0.
7386         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
7387         Likewise.
7388         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
7389         Likewise.
7390         * math/auto-libm-test-in: Add more tests of exp10.
7391         * math/auto-libm-test-out: Regenerated.
7392         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
7393
7394         * sysdeps/unix/sysv/linux/kernel-features.h
7395         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
7396         * sysdeps/unix/sysv/linux/readv.c: Do not include
7397         <kernel-features.h>.
7398         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7399         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7400         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7401         unconditional.
7402         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7403         conditional code.
7404         * sysdeps/unix/sysv/linux/writev.c: Do not include
7405         <kernel-features.h>.
7406         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
7407         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
7408         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
7409         unconditional.
7410         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
7411         conditional code.
7412
7413 2014-06-25  Will Newton  <will.newton@linaro.org>
7414
7415         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
7416         comment changes throughout the file.  Remove checks
7417         for HAVE_*_H definitions that are not required.
7418         (__gen_tempname): Call abort if an unknown kind value is
7419         passed.
7420
7421 2014-06-25  Andreas Schwab  <schwab@suse.de>
7422
7423         [BZ #17086]
7424         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
7425         scalbln, scalblnf, scalblnl in libc.
7426
7427 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
7428
7429         [BZ #17086]
7430         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
7431         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
7432         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
7433
7434 2014-06-24  Roland McGrath  <roland@hack.frob.com>
7435
7436         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
7437         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
7438         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
7439         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
7440         Update #include.
7441         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
7442         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
7443         Update #include.
7444         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
7445         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
7446         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
7447         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
7448         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
7449         * sysdeps/x86/bits/pthreadtypes.h: ... here.
7450         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
7451         * sysdeps/x86/bits/semaphore.h: ... here.
7452         * sysdeps/x86/nptl/elide.h: Moved ...
7453         * sysdeps/x86/elide.h: ... here.
7454         * sysdeps/x86_64/nptl/Implies: File removed.
7455         * sysdeps/i386/nptl/Implies: File removed.
7456
7457 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
7458
7459         [BZ #16539]
7460         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
7461         return the argument for normal arguments with exponent below -64.
7462         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
7463         Likewise.
7464         * math/auto-libm-test-in: Add another test of expm1.
7465         * math/auto-libm-test-out: Regenerated.
7466
7467         [BZ #16287]
7468         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
7469         calling __erfcl for arguments at least 16.
7470         * math/auto-libm-test-in: Add more tests of erf.
7471         * math/auto-libm-test-out: Regenerated.
7472
7473         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
7474         individual architectures.
7475         * sysdeps/unix/sysv/linux/configure: Regenerated.
7476         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
7477         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
7478         * sysdeps/unix/sysv/linux/powerpc/configure.ac
7479         (ldd_rewrite_script): Define variable.
7480         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
7481         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
7482         file.
7483         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
7484         generated file.
7485         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
7486         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
7487         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
7488         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
7489         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
7490         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
7491         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
7492         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
7493
7494 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7495
7496         [BZ #17084]
7497         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
7498         Rename member __data.d to __data.__elision_data.
7499
7500 2014-06-24  Wilco  <wdijkstr@arm.com>
7501
7502         * NEWS: Add 16918 to fixed bug list.
7503
7504 2014-06-24  Wilco  <wdijkstr@arm.com>
7505
7506         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
7507
7508 2014-06-24  Wilco  <wdijkstr@arm.com>
7509
7510         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
7511         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
7512         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
7513         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
7514         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
7515         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
7516         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
7517         Use _FPU_MASK_RM.
7518
7519 2014-06-24  Wilco  <wdijkstr@arm.com>
7520
7521         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
7522
7523 2014-06-24  Wilco  <wdijkstr@arm.com>
7524
7525         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
7526         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
7527         * sysdeps/arm/fesetround.c (fesetround): Remove space.
7528         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
7529
7530 2014-06-24  Wilco  <wdijkstr@arm.com>
7531
7532         [BZ #16918]
7533         * sysdeps/arm/feupdateenv.c (feupdateenv):
7534         Rewrite to reduce FPSCR accesses and fix return value.
7535
7536 2014-06-24  Wilco  <wdijkstr@arm.com>
7537
7538         * sysdeps/arm/fclrexcpt.c (feclearexcept):
7539         Optimize to avoid unnecessary FPSCR writes.
7540         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
7541         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
7542         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
7543         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
7544
7545 2014-06-24  Wilco  <wdijkstr@arm.com>
7546
7547         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
7548         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
7549         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
7550         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
7551         Call libc_fetestexcept_vfp.
7552         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
7553         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
7554         __SOFTFP__ ifdef so that they can be built for softfp.
7555
7556 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
7557
7558         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
7559         argument type signed char.
7560
7561         * Makerules (check-abi): Dump diff of symlist if the test
7562         fails.
7563
7564 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7565
7566         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
7567         using abort.
7568
7569         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
7570         Remove unused variable ST.
7571
7572 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
7573
7574         [BZ #16354]
7575         [BZ #17061]
7576         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
7577         small arguments before calling __expm1.
7578         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
7579         small arguments before calling __expm1f.
7580         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
7581         small arguments before calling __expm1l.
7582         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
7583         Likewise.
7584         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
7585         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
7586         spurious underflow for some cosh tests.
7587         * math/auto-libm-test-out: Regenerated.
7588         * sysdeps/i386/fpu/libm-test-ulps: Update.
7589
7590         [BZ #17050]
7591         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
7592         (__ieee754_y1): Set errno if return value overflows.
7593         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
7594         (__ieee754_y1f): Set errno if return value overflows.
7595         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
7596         (__ieee754_y1l): Set errno if return value overflows.
7597         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
7598         (__ieee754_y1l): Set errno if return value overflows.
7599         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
7600         * math/auto-libm-test-out: Regenerated.
7601
7602         * math/gen-auto-libm-tests.c: Document use of
7603         ignore-zero-inf-sign.
7604         (input_flag_type): Add value flag_ignore_zero_inf_sign.
7605         (input_flags): Add ignore-zero-inf-sign.
7606         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
7607         * math/gen-libm-test.pl (generate_testfile): Handle
7608         ignore-zero-inf-sign.
7609         * math/auto-libm-test-in: Mark some cpow tests with
7610         ignore-zero-inf-sign and some with xfail-rounding.
7611         * math/auto-libm-test-out: Regenerated.
7612         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
7613         * sysdeps/i386/fpu/libm-test-ulps: Update.
7614         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7615
7616         [BZ #16315]
7617         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
7618         overflowing or underflowing operations take place with sign of
7619         result.
7620         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
7621         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
7622         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
7623         (__ieee754_pow): Recompute overflowing and underflowing results in
7624         original rounding mode.
7625         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
7626         (__powl_helper): Allow negative argument X and scale negated value
7627         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
7628         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
7629         overflowing or underflowing operations take place with sign of
7630         result.
7631         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
7632         Include <math.h>.
7633         * math/auto-libm-test-in: Add more tests of pow.
7634         * math/auto-libm-test-out: Regenerated.
7635         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
7636         (pow_tonearest_test_data): Remove.
7637         (pow_test_tonearest): Likewise.
7638         (pow_towardzero_test_data): Likewise.
7639         (pow_test_towardzero): Likewise.
7640         (pow_downward_test_data): Likewise.
7641         (pow_test_downward): Likewise.
7642         (pow_upward_test_data): Likewise.
7643         (pow_test_upward): Likewise.
7644         (main): Don't call removed functions.
7645         * sysdeps/i386/fpu/libm-test-ulps: Update.
7646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7647
7648 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7649
7650         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
7651         Moved ...
7652         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
7653         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
7654         Moved ...
7655         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
7656         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
7657         Moved ...
7658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
7659         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
7660         Moved ...
7661         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
7662         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
7663         File removed.
7664         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
7665         File removed.
7666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
7667         File removed.
7668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
7669         File removed.
7670         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
7671         File removed.
7672         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
7673         File removed.
7674         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
7675         File removed.
7676         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
7677         File removed.
7678         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
7679         File removed.
7680         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
7681         File removed.
7682         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
7683         File removed.
7684         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
7685         File removed.
7686         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
7687         Moved ...
7688         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
7689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
7690         Moved ...
7691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
7692         ... here.
7693         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
7694         Moved ...
7695         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
7696         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
7697         Moved ...
7698         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
7699         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
7700         Moved ...
7701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
7702         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
7703         Moved ...
7704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
7705         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
7706         Moved ...
7707         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
7708         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
7709         Moved ...
7710         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
7711         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
7712         Moved ...
7713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
7714         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
7715         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
7716         ... here.
7717         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
7718         Moved ...
7719         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
7720         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
7721         Moved ...
7722         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
7723         ... here.
7724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
7725         Moved ...
7726         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7727         ... here.
7728         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
7729         Moved ...
7730         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
7731         ... here.
7732         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
7733         Moved ...
7734         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
7735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
7736         Moved ...
7737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
7738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
7739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
7740         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
7741         Moved ...
7742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
7743         ... here.
7744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
7745         Moved ...
7746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
7747         ... here.
7748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
7749         Moved ...
7750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
7751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
7752         Moved ...
7753         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
7754         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
7755         Moved ...
7756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
7757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
7758         Moved ...
7759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
7760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
7761         Moved ...
7762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
7763         ... here.
7764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
7765         Moved ...
7766         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
7767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
7768         Moved ...
7769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
7770         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
7771         Moved ...
7772         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
7773         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
7774         Moved ...
7775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
7776         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
7777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
7778         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
7779         Moved ...
7780         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
7781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
7782         Moved ...
7783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
7784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
7785         Moved ...
7786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
7787         ... here.
7788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
7789         Moved ...
7790         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
7791         ... here.
7792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
7793         Moved ...
7794         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
7795         ... here.
7796         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
7797         Moved ...
7798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
7799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
7800         Moved ...
7801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
7802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
7803         Moved ...
7804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
7805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
7806         Moved ...
7807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
7808         ... here.
7809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
7810         Moved ...
7811         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
7812         ... here.
7813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
7814         Moved ...
7815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
7816         ... here.
7817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
7818         Moved ...
7819         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
7820         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
7821         Moved ...
7822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
7823
7824 2014-06-23  Will Newton  <will.newton@linaro.org>
7825             Wilco  <wdijkstr@arm.com>
7826
7827         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
7828         implementation.  Include get-rounding-mode.h.
7829         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
7830         [!libc_feholdsetround_noex_ctx]: Define
7831         libc_feholdsetround_noex_ctx.
7832         [!libc_feholdsetround_noexf_ctx]: Define
7833         libc_feholdsetround_noexf_ctx.
7834         [!libc_feholdsetround_noexl_ctx]: Define
7835         libc_feholdsetround_noexl_ctx.
7836         (libc_feholdsetround_ctx): New function.
7837         (libc_feresetround_ctx): New function.
7838         (libc_feholdsetround_noex_ctx): New function.
7839         (libc_feresetround_noex_ctx): New function.
7840
7841 2014-06-23  Roland McGrath  <roland@hack.frob.com>
7842
7843         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
7844         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
7845         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
7846         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
7847         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
7848         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
7849
7850         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
7851         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
7852         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
7853         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
7854         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
7855         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
7856         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
7857         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
7858         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
7859         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
7860         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
7861         Moved ...
7862         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
7863         ... here.
7864         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
7865         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
7866         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
7867         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
7868         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
7869         Moved ...
7870         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
7871         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
7872         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
7873         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
7874         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
7875         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
7876         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
7877         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
7878         Moved ...
7879         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
7880         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
7881         Moved ...
7882         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
7883         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
7884         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
7885         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
7886         Moved ...
7887         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
7888         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
7889         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
7890         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
7891         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
7892         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
7893         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
7894         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
7895         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
7896         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
7897         Moved ...
7898         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
7899         ... here.
7900         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
7901         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
7902         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
7903         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
7904         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
7905         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
7906         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
7907         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
7908         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
7909         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
7910         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
7911         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
7912         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
7913         Moved ...
7914         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
7915         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
7916         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
7917         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
7918         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
7919         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
7920         Moved ...
7921         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
7922         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
7923         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
7924         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
7925         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
7926
7927         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
7928         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
7929         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
7930         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
7931         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
7932         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
7933         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
7934         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
7935         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
7936         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
7937         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
7938         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
7939         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
7940         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
7941         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
7942         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
7943         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
7944         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
7945         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
7946         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
7947         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
7948         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
7949         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
7950         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
7951         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
7952         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
7953         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
7954         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
7955
7956 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
7957
7958         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
7959         (FALLOC_FL_COLLAPSE_RANGE): New macro.
7960         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
7961         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
7962         (IPV6_PMTUDISC_INTERFACE): Likewise.
7963         (IPV6_PMTUDISC_OMIT): Likewise.
7964
7965 2014-06-23  Andreas Schwab  <schwab@suse.de>
7966
7967         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
7968         Remove unused errout label.
7969
7970 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7971
7972         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
7973         macro: hardware supports Vector Crypto instructions.
7974
7975 2014-06-23  Will Newton  <will.newton@linaro.org>
7976
7977         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
7978         rather than __builtin_expect.
7979
7980         * elf/dl-lookup.c (undefined_msg): Remove variable.
7981         (_dl_lookup_symbol_x): Replace undefined_msg with string
7982         literal.
7983
7984         * elf/dl-lookup.c (do_lookup_unique): New function.
7985         (do_lookup_x): Move STB_GNU_UNIQUE handling code
7986         to a separate function.
7987
7988 2014-06-23  Andreas Schwab  <schwab@suse.de>
7989
7990         [BZ #17079]
7991         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
7992         before reading the next line.
7993
7994 2014-06-23  Will Newton  <will.newton@linaro.org>
7995
7996         * test-skeleton.c (signal_handler): Use printf and %m
7997         rather than perror.  Use printf rather than fprintf to
7998         stderr.  Use puts rather than fputs to stderr.
7999         (main): Likewise.
8000
8001 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
8002
8003         * nscd/nscd.c (thread_info_t): Remove typedef.
8004         (thread_info): Remove variable.
8005
8006 2014-06-21  Allan McRae  <allan@archlinux.org>
8007
8008         * NEWS: Mention CVE-2014-4043.
8009
8010 2014-06-20  Roland McGrath  <roland@hack.frob.com>
8011
8012         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
8013         * nptl/smp.h: ... here.
8014
8015         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
8016
8017         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
8018         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
8019         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
8020         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
8021
8022         * nptl/allocatestack.c: Include <stack-aliasing.h>.
8023         * nptl/stack-aliasing.h: New file.
8024         * sysdeps/i386/i686/stack-aliasing.h: New file.
8025         * sysdeps/i386/i686/nptl/Makefile: File removed.
8026         * sysdeps/x86_64/stack-aliasing.h: New file.
8027         * sysdeps/x86_64/nptl/Makefile
8028         (CFLAGS-pthread_create.c): Variable removed.
8029
8030         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
8031         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
8032         old file.
8033         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
8034         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
8035         old file.
8036
8037 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
8038
8039         * sysdeps/unix/sysv/linux/arm/kernel-features.h
8040         (__ASSUME_SIGFRAME_V2): Remove macro.
8041         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
8042         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
8043         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
8044         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
8045         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
8046         Declare as function.  Remove conditional macro definitions.
8047         (__default_rt_sa_restorer): Likewise.
8048         (__default_sa_restorer_v1): Remove declaration.
8049         (__default_sa_restorer_v2): Likewise.
8050         (__default_rt_sa_restorer_v1): Likewise.
8051         (__default_rt_sa_restorer_v2): Likewise.
8052         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
8053         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
8054         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
8055
8056 2014-06-20  Roland McGrath  <roland@hack.frob.com>
8057
8058         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
8059         (libpthread-routines): Add sysdep.
8060         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
8061         * sysdeps/unix/sysv/linux/sparc/Versions
8062         (libpthread: GLIBC_2.3.3): New version set.
8063         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
8064         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
8065         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
8066         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
8067         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
8068         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
8069         Moved ...
8070         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
8071         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
8072         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
8073         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
8074         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
8075         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
8076         * sysdeps/sparc/nptl/sem_init.c: ... here.
8077         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
8078         * sysdeps/sparc/nptl/sem_post.c: ... here.
8079         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
8080         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
8081         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
8082         * sysdeps/sparc/nptl/sem_wait.c: ... here.
8083         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
8084         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
8085         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
8086         (libpthread-routines): Add cpu_relax.
8087         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
8088         File removed.
8089         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
8090         (librt: GLIBC_2.3.3): New version set.
8091         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
8092         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
8093         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
8094         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
8095         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
8096         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
8097         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
8098         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
8099         Moved ...
8100         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
8101         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
8102         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
8103         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
8104         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
8105         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
8106         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
8107         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
8108         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
8109         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
8110         Moved ...
8111         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
8112         Update #include.
8113         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
8114         Moved ...
8115         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
8116         Update #include.
8117         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
8118         Moved ...
8119         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
8120         Update #include.
8121         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
8122         Moved ...
8123         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
8124         Update #include.
8125         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
8126         Moved ...
8127         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
8128         Update #include.
8129         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
8130         Moved ...
8131         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
8132         Update #include.
8133         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
8134         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
8135         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
8136         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
8137         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
8138         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
8139         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
8140         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
8141         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
8142         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
8143         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
8144         Moved ...
8145         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
8146         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
8147         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
8148         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
8149         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
8150
8151 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
8152
8153         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
8154         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
8155         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
8156         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
8157         * nscd/nscd.c: Likewise.
8158         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
8159         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
8160         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
8161         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
8162
8163         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
8164         <kernel-features.h>.
8165         (init_mq_netlink): Remove conditional have_sock_cloexec
8166         definitions.  Remove code conditional on have_sock_cloexec < 0.
8167         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
8168         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
8169         * sysdeps/unix/sysv/linux/opensock.c: Do not include
8170         <kernel-features.h>.
8171         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
8172         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
8173
8174 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
8175
8176         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
8177         Add tests for memset_chk and memset.
8178
8179         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
8180         with AVX2_Usable.
8181
8182 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
8183
8184         [BZ #16046]
8185         * elf/tst-dl-iter-static.c: New file.
8186         * elf/Makefile (tests-static): Add tst-dl-iter-static.
8187
8188         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
8189         error.
8190
8191 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
8192
8193         * sysdeps/unix/sysv/linux/kernel-features.h
8194         (__ASSUME_F_GETOWN_EX): Remove macro.
8195         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
8196         <kernel-features.h>.
8197         (miss_F_GETOWN_EX): Remove variable or macro.
8198         (do_fcntl): Do not check miss_F_GETOWN_EX.
8199         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
8200
8201         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
8202         Remove macro.
8203         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
8204         [!__ASSUME_AT_RANDOM]: Remove conditional code.
8205         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
8206
8207         * sysdeps/unix/sysv/linux/kernel-features.h
8208         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
8209         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
8210         [ADJ_OFFSET_SS_READ]: Make code unconditional.
8211         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
8212
8213 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
8214
8215         [BZ #17075]
8216         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
8217         Fix calculation of the symbol's value.
8218         * sysdeps/arm/tst-armtlsdescloc.c: New file.
8219         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
8220         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
8221         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
8222         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
8223         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
8224         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
8225         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
8226         (modules-names): Add `tst-armtlsdescmod',
8227         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
8228         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
8229         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8230         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
8231         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
8232         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
8233         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
8234         ($(objpfx)tst-armtlsdescloc): New dependency.
8235         ($(objpfx)tst-armtlsdescextnow): Likewise.
8236         ($(objpfx)tst-armtlsdescextlazy): Likewise.
8237         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
8238         TLS scheme support.
8239         * sysdeps/arm/configure: Regenerate.
8240
8241 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
8242
8243         * include/fcntl.h (__atfct_seterrno): Remove prototype.
8244         (__atfct_seterrno_2): Likewise.
8245         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
8246         <kernel-features.h>.
8247         (__ASSUME_ATFCTS): Do not undefine and redefine.
8248         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
8249         (__have_atfcts): Remove conditional definition.
8250         (__fxstatat([__NR_fstatat64]: Make code unconditional.
8251         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
8252         unreachable if [__ASSUME_ATFCTS].
8253         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
8254         not undefine and redefine.
8255         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
8256         <kernel-features.h>.
8257         (faccessat) [__NR_faccessat]: Make code unconditional.
8258         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
8259         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
8260         <kernel-features.h>.
8261         (fchmodat) [__NR_fchmodat]: Make code unconditional.
8262         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8263         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
8264         <kernel-features.h>.
8265         (fchownat) [__NR_fchownat]: Make code unconditional.
8266         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
8267         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
8268         <kernel-features.h>.
8269         (futimesat) [__NR_futimesat]: Make code unconditional.
8270         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
8271         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
8272         <kernel-features.h>.
8273         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8274         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8275         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
8276         <kernel-features.h>.
8277         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
8278         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8279         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
8280         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
8281         <kernel-features.h>.
8282         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
8283         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8284         * sysdeps/unix/sysv/linux/linkat.c: Do not include
8285         <kernel-features.h>.
8286         (linkat) [__NR_linkat]: Make code unconditional.
8287         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8288         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
8289         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
8290         <kernel-features.h>.
8291         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
8292         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
8293         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
8294         <kernel-features.h>.
8295         (mkdirat) [__NR_mkdirat]: Make code unconditional.
8296         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
8297         * sysdeps/unix/sysv/linux/openat.c: Do not include
8298         <kernel-features.h>.
8299         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
8300         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
8301         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
8302         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
8303         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
8304         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
8305         <kernel-features.h>.
8306         (readlinkat) [__NR_readlinkat]: Make code unconditional.
8307         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
8308         result of INLINE_SYSCALL directly, not via int variable.
8309         * sysdeps/unix/sysv/linux/renameat.c: Do not include
8310         <kernel-features.h>.
8311         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
8312         (renameat) [__NR_renameat]: Make code unconditional.
8313         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
8314         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
8315         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
8316         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
8317         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
8318         (__ASSUME_ATFCTS): Do not undefine and redefine.
8319         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
8320         <kernel-features.h>.
8321         (symlinkat) [__NR_symlinkat]: Make code unconditional.
8322         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8323         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
8324         <kernel-features.h>.
8325         (unlinkat) [__NR_unlinkat]: Make code unconditional.
8326         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
8327         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
8328         (__ASSUME_ATFCTS): Do not undefine and redefine.
8329         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
8330         <kernel-features.h>.
8331         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
8332         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
8333         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
8334         <kernel-features.h>.
8335         (__xmknodat) [__NR_mknodat]: Make code unconditional.
8336         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
8337
8338 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
8339
8340         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
8341
8342 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
8343
8344         [BZ #17069]
8345         * posix/regcomp.c (parse_reg_exp): Deallocate partially
8346         constructed tree before returning error.
8347         * posix/bug-regexp36.c: Expand test case.
8348
8349 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
8350
8351         [BZ #6803]
8352         * math/libm-test.inc (scalbln_test_date):
8353         Add errno expectations.
8354         * math/w_scalblnf.c: New File.
8355         Add wrapper which checks for setting errno to ERANGE.
8356         Add weak_alias for corresponding scalbln function.
8357         * math/w_scalbln.c: Likewise.
8358         * math/w_scalblnl.c: Likewise.
8359         * math/Makefile (libm-calls): Add w_scalbln.
8360         * sysdeps/ieee754/flt-32/s_scalblnf.c:
8361         Remove weak_alias for corresponding scalbln function.
8362         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
8363         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
8364         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
8365         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
8366         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
8367         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
8368         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
8369         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
8370         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
8371         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
8372         Remove long_double_symbol for scalblnl function in libm, libc.
8373         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
8374         Add wrapper which checks for setting errno to ERANGE.
8375         Add long_double_symbol for scalblnl function in libm, libc.
8376         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
8377         Remove long_double_symbol for scalblnl in libm.
8378         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
8379         Add wrapper which checks for setting errno to ERANGE.
8380         Add long_double_symbol for scalblnl function in libm.
8381         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
8382         Do not use wrapper because of own implementation.
8383
8384 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
8385
8386         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
8387         3 bytes for __pad1 for x32.
8388         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
8389
8390 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
8391             H.J. Lu  <hongjiu.lu@intel.com>
8392
8393         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
8394         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
8395         * sysdeps/x86_64/multiarch/memset.S: Likewise.
8396         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
8397         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
8398
8399 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
8400
8401         [BZ #17069]
8402         * posix/regcomp.c (parse_expression): Deallocate partially
8403         constructed tree before returning error.
8404         * posix/Makefile.c (tests): Add bug-regex36.
8405         (generated): Add bug-regex36.mtrace.
8406         (tests-special): Add $(objpfx)bug-regex36-mem.out
8407         (bug-regex36-ENV): New variable.
8408         ($(objpfx)bug-regex36-mem.out): New rule.
8409         * posix/bug-regex36.c: New file.
8410
8411 2014-06-19  Will Newton  <will.newton@linaro.org>
8412
8413         * malloc/malloc.c (systrim): If extra is zero then return
8414         early.
8415
8416 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
8417
8418         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
8419
8420 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
8421
8422         * sysdeps/aarch64/strchr.S: New file.
8423
8424 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
8425
8426         [BZ #17022]
8427         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
8428         from arguments -2 or below.
8429         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
8430         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
8431
8432 2014-06-18  Andreas Schwab  <schwab@suse.de>
8433
8434         [BZ #17062]
8435         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
8436         of a bracket expr not to run off the end of the string.
8437         * posix/Makefile (tests): Add tst-fnmatch3.
8438         * posix/tst-fnmatch3.c: New file.
8439
8440 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
8441
8442         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
8443         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
8444         [$(cross-compiling) = no]: Likewise.
8445         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
8446         [$(cross-compiling) = no]: Likewise.
8447
8448 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
8449
8450         [BZ #17031]
8451         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
8452         double, adjusted for any remainder from the high double.
8453         * math/libm-test.inc (nearbyint): Add tests.
8454         (rint): Likewise.
8455
8456 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8457
8458         * nptl/sysdeps/powerpc/Makefile: Moved ...
8459         * sysdeps/powerpc/nptl/Makefile: ... here.
8460         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
8461         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
8462         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
8463         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
8464         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
8465         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
8466         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
8467         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
8468         * nptl/sysdeps/powerpc/tls.h: Moved ...
8469         * sysdeps/powerpc/nptl/tls.h: ... here.
8470
8471 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
8472
8473         [BZ #16681]
8474         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
8475         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
8476         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
8477         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
8478         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
8479         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
8480         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
8481         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
8482         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
8483
8484 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
8485
8486         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
8487
8488 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
8489
8490         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
8491         defined operator.
8492
8493         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
8494         $TIMEOUTFACTOR.
8495
8496 2014-06-16  Florian Weimer  <fweimer@redhat.com>
8497
8498         [BZ #17058]
8499         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
8500         non-executed part of the test.
8501
8502 2014-06-16  Andreas Schwab  <schwab@suse.de>
8503
8504         * string/bits/string2.h (strdup, strndup): Update feature guard.
8505
8506 2014-06-14  David S. Miller  <davem@davemloft.net>
8507
8508         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8509
8510 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
8511
8512         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
8513         that was previously under [RESET_PID].
8514         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
8515
8516         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
8517         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
8518         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
8519         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
8520         (__libc_vfork): New strong alias.
8521         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
8522
8523 2014-06-14 Andi Kleen  <ak@linux.intel.com>
8524
8525         * sysdeps/generic/elide.h: New file.
8526
8527 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
8528
8529         * Makefile (installed-headers): Adjust path of pthread.h header.
8530
8531 2014-06-13  Roland McGrath  <roland@hack.frob.com>
8532
8533         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
8534         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
8535         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
8536         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
8537
8538         * nptl/sysdeps/s390/Makefile: Moved ...
8539         * sysdeps/s390/nptl/Makefile: ... here.
8540         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
8541         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
8542         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
8543         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
8544         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
8545         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
8546         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
8547         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
8548         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
8549         * sysdeps/s390/nptl/pthreaddef.h: ... here.
8550         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
8551         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
8552         * nptl/sysdeps/s390/tls.h: Moved ...
8553         * sysdeps/s390/nptl/tls.h: ... here.
8554
8555         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
8556         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
8557
8558 2014-06-13  David S. Miller  <davem@davemloft.net>
8559
8560         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
8561         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
8562         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
8563         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
8564         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
8565         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
8566         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
8567         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
8568         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
8569         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
8570         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
8571         Remove RESET_PID cpp guards.
8572         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
8573         Remove RESET_PID cpp guards.
8574         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
8575
8576 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
8577
8578         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
8579         __sp to uintptr_t.
8580
8581 2014-06-13  Andi Kleen  <ak@linux.intel.com>
8582
8583         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
8584         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
8585         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
8586         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
8587         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
8588         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
8589         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
8590         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
8591         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
8592         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
8593         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
8594         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
8595         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
8596         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
8597         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
8598         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
8599         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
8600         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
8601         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
8602         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
8603
8604         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
8605         (pthread_rwlock_rdlock): Add elision.
8606         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
8607         (pthread_rwlock_wrlock): Add elision.
8608         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
8609         (pthread_rwlock_trywrlock): Add elision.
8610         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
8611         (pthread_rwlock_tryrdlock): Add elision.
8612         * nptl/pthread_rwlock_unlock.c: Include elide.h.
8613         (pthread_rwlock_tryrdlock): Add elision unlock.
8614         * nptl/sysdeps/pthread/pthread.h:
8615         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
8616         (PTHREAD_RWLOCK_INITIALIZER,
8617         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
8618         Handle new elision field.
8619         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
8620         * sysdeps/arm/nptl/bits/pthreadtypes.h
8621         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8622         * sysdeps/sh/nptl/bits/pthreadtypes.h
8623         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8624         * sysdeps/tile/nptl/bits/pthreadtypes.h
8625         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8626         * sysdeps/a/nptl/bits/pthreadtypes.h
8627         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8628         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
8629         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8630         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
8631         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8632         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
8633         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8634         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
8635         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8636         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
8637         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8638         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
8639         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8640         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
8641         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8642         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
8643         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8644         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
8645         (elision_init): Set try_xbegin to zero when no RTM.
8646         * sysdeps/x86/nptl/bits/pthreadtypes.h
8647         (pthread_rwlock_t): Change __pad1 to __rwelision.
8648         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
8649
8650 2014-06-13  Andi Kleen  <ak@linux.intel.com>
8651
8652         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
8653         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
8654         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
8655         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
8656
8657 2014-06-13  Meador Inge  <meadori@codesourcery.com>
8658
8659         [BZ #16996]
8660         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
8661         that the cached result has been set before returning it.
8662
8663 2014-06-12  Roland McGrath  <roland@hack.frob.com>
8664
8665         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
8666         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
8667         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
8668         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
8669         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
8670         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
8671
8672         * nptl/sysdeps/sparc/Makefile: Moved ...
8673         * sysdeps/sparc/nptl/Makefile: ... here.
8674         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
8675         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
8676         * nptl/sysdeps/sparc/tls.h: Moved ...
8677         * sysdeps/sparc/nptl/tls.h: ... here.
8678         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
8679         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
8680         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
8681         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
8682         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
8683         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
8684         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
8685         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
8686         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
8687         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
8688         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
8689         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
8690         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
8691         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
8692         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
8693         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
8694         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
8695         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
8696         Update #include.
8697         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
8698         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
8699         Update #include.
8700         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
8701         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
8702         Update #include.
8703         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
8704         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
8705         Update #include.
8706
8707         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8708
8709         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
8710         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
8711
8712         * sysdeps/pthread/posix-timer.h: Include <list.h>.
8713         (struct list_links): Type removed.
8714         (struct thread_node, struct timer_node): Replace struct list_links
8715         with struct list_head.
8716         (list_unlink_ip): Likewise.
8717         * sysdeps/pthread/timer_routines.c
8718         (timer_free_list, thread_free_list, thread_active_list): Likewise.
8719         (list_append, list_insbefore): Likewise.
8720         (list_init): Function removed.
8721         (thread_init, init_module): Use INIT_LIST_HEAD instead.
8722         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
8723         * sysdeps/pthread/Makefile: ... here, new file.
8724
8725         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
8726         * sysdeps/nptl/Implies: ... here.
8727         * sysdeps/unix/sysv/linux/Implies: Add nptl.
8728         * nptl/sysdeps/pthread/list.h: Moved ...
8729         * include/list.h: ... here.
8730         * nptl/sysdeps/pthread/createthread.c: Moved ...
8731         * nptl/createthread.c: ... here.
8732         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
8733         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
8734         * nptl/pt-longjmp.c: ... here.
8735         * nptl/sysdeps/pthread/Makefile: Moved ...
8736         * sysdeps/nptl/Makefile: ... here.
8737         * nptl/sysdeps/pthread/Subdirs: Moved ...
8738         * sysdeps/nptl/Subdirs: ... here.
8739         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
8740         * sysdeps/nptl/aio_misc.h: ... here.
8741         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
8742         * sysdeps/nptl/bits/libc-lock.h: ... here.
8743         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
8744         * sysdeps/nptl/bits/libc-lockP.h: ... here.
8745         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
8746         * sysdeps/nptl/bits/stdio-lock.h: ... here.
8747         * nptl/sysdeps/pthread/configure: Moved ...
8748         * sysdeps/nptl/configure: ... here.
8749         * nptl/sysdeps/pthread/configure.ac: Moved ...
8750         * sysdeps/nptl/configure.ac: ... here.
8751         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
8752         * sysdeps/nptl/gai_misc.h: ... here.
8753         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
8754         * sysdeps/nptl/librt-cancellation.c: ... here.
8755         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
8756         * sysdeps/nptl/malloc-machine.h: ... here.
8757         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
8758         * sysdeps/nptl/pthread-functions.h: ... here.
8759         * nptl/sysdeps/pthread/pthread.h: Moved ...
8760         * sysdeps/nptl/pthread.h: ... here.
8761         * nptl/sysdeps/pthread/setxid.h: Moved ...
8762         * sysdeps/nptl/setxid.h: ... here.
8763         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
8764         * sysdeps/nptl/sigfillset.c: ... here.
8765         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
8766         * sysdeps/nptl/tcb-offsets.h: ... here.
8767         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
8768         * sysdeps/nptl/tst-mqueue8x.c: ... here.
8769         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
8770         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
8771         * nptl/sysdeps/pthread/allocalim.h: Moved ...
8772         * sysdeps/pthread/allocalim.h: ... here.
8773         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
8774         * sysdeps/pthread/bits/sigthread.h: ... here.
8775         * nptl/sysdeps/pthread/flockfile.c: Moved ...
8776         * sysdeps/pthread/flockfile.c: ... here.
8777         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
8778         * sysdeps/pthread/ftrylockfile.c: ... here.
8779         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
8780         * sysdeps/pthread/funlockfile.c: ... here.
8781         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
8782         * sysdeps/pthread/posix-timer.h: ... here.
8783         * nptl/sysdeps/pthread/timer_create.c: Moved ...
8784         * sysdeps/pthread/timer_create.c: ... here.
8785         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
8786         * sysdeps/pthread/timer_delete.c: ... here.
8787         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
8788         * sysdeps/pthread/timer_getoverr.c: ... here.
8789         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
8790         * sysdeps/pthread/timer_gettime.c: ... here.
8791         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
8792         * sysdeps/pthread/timer_routines.c: ... here.
8793         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
8794         * sysdeps/pthread/timer_settime.c: ... here.
8795         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
8796         * sysdeps/pthread/tst-timer.c: ... here.
8797         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
8798         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
8799
8800         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
8801         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
8802
8803         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
8804         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
8805         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
8806         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
8807         Update #include target.
8808         * nptl/sysdeps/i386/i686/Makefile: Moved ...
8809         * sysdeps/i386/i686/nptl/Makefile: ... here.
8810         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
8811         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
8812         Update #include target.
8813         * nptl/sysdeps/i386/i686/tls.h: Moved ...
8814         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
8815         * nptl/sysdeps/i386/Makefile: Moved ...
8816         * sysdeps/i386/nptl/Makefile: ... here.
8817         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
8818         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
8819         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
8820         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
8821         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
8822         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
8823         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
8824         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
8825         * sysdeps/i386/nptl/pthreaddef.h: ... here.
8826         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
8827         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
8828         * nptl/sysdeps/i386/tls.h: Moved ...
8829         * sysdeps/i386/nptl/tls.h: ... here.
8830
8831         * sysdeps/sh/Makefile [$(subdir) = csu]
8832         (gen-as-const-headers): Add tcb-offsets.sym.
8833         * nptl/sysdeps/sh/Makefile: File removed.
8834         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
8835         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
8836         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
8837         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
8838         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
8839         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
8840         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
8841         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
8842         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
8843         * sysdeps/sh/nptl/pthreaddef.h: ... here.
8844         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
8845         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
8846         * nptl/sysdeps/sh/tls.h: Moved ...
8847         * sysdeps/sh/nptl/tls.h: ... here.
8848         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
8849         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
8850         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
8851         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
8852         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
8853         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
8854         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
8855         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
8856         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
8857         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
8858         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
8859         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
8860         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
8861         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
8862         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
8863         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
8864         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
8865         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
8866         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
8867         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
8868         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
8869         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
8870         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
8871         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
8872         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
8873         Moved ...
8874         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
8875         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
8876         Moved ...
8877         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
8878         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
8879         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
8880         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
8881         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
8882         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
8883         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
8884         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
8885         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
8886         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
8887         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
8888         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
8889         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
8890         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
8891         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
8892         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
8893         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
8894         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
8895         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
8896
8897 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
8898
8899         * posix/spawn_faction_addopen.c: Include string.h.
8900
8901 2014-06-11  Roland McGrath  <roland@hack.frob.com>
8902
8903         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
8904         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
8905         * nptl/sysdeps/x86_64/Makefile: Moved ...
8906         * sysdeps/x86_64/nptl/Makefile: ... here.
8907         * nptl/sysdeps/x86_64/configure: Moved ...
8908         * sysdeps/x86_64/nptl/configure: ... here.
8909         * nptl/sysdeps/x86_64/configure.ac: Moved ...
8910         * sysdeps/x86_64/nptl/configure.ac: ... here.
8911         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
8912         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
8913         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
8914         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
8915         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
8916         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
8917         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
8918         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
8919         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
8920         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
8921         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
8922         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
8923         * nptl/sysdeps/x86_64/tls.h: Moved ...
8924         * sysdeps/x86_64/nptl/tls.h: ... here.
8925         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
8926         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
8927         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
8928         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
8929
8930         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
8931
8932 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8933
8934         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8935
8936 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
8937
8938         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
8939         type.
8940         [POSIX] (off_t): Likewise.
8941         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
8942         [POSIX] (S_ISBLK): Require macro.
8943         [POSIX] (S_ISCHR): Likewise.
8944         [POSIX] (S_ISDIR): Likewise.
8945         [POSIX] (S_ISFIFO): Likewise.
8946         [POSIX] (S_ISREG): Likewise.
8947         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
8948         optional-macro.
8949         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
8950         type.
8951         [POSIX] (time_t): Likewise.
8952         [POSIX] (timer_t): Likewise.
8953
8954 2014-06-11  Florian Weimer  <fweimer@redhat.com>
8955
8956         [BZ #17048]
8957         * posix/spawn_int.h (struct __spawn_action): Make the path string
8958         non-const to support deallocation.
8959         * posix/spawn_faction_addopen.c
8960         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
8961         * posix/spawn_faction_destroy.c
8962         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
8963         path in all spawn_do_open actions.
8964         * posix/tst-spawn.c (do_test): Exercise the copy operation in
8965         posix_spawn_file_actions_addopen.
8966
8967 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
8968
8969         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
8970         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
8971         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
8972         conditional code always true.
8973         (__libc_vfork): New alias.
8974
8975 2014-06-11  Roland McGrath  <roland@hack.frob.com>
8976
8977         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8978         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
8979
8980         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
8981
8982         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8983         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
8984
8985         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
8986         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
8987
8988         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
8989         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
8990
8991 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
8992
8993         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
8994         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
8995         multiarch strcmp for PPC64.
8996         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
8997         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
8998         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
8999         multiarch optimizations.
9000         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9001         (__libc_ifunc_impl_list): Likewise.
9002
9003 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9004
9005         * benchtests/scripts/validate_benchout.py: New script.
9006         * benchtests/Makefile (bench-func): Call it.
9007         * benchtests/scripts/benchout.schema.json: New file.
9008
9009 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
9010
9011         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
9012         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
9013         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
9014         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
9015         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
9016         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
9017         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
9018         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
9019         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
9020         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
9021         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
9022         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
9023         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
9024         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
9025         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
9026         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
9027         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
9028         Moved ...
9029         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
9030         ... here.
9031         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
9032         Moved ...
9033         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
9034         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
9035         Moved ...
9036         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
9037         ... here.
9038         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
9039         Moved ...
9040         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
9041         ... here.
9042         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
9043         Moved ...
9044         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
9045         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
9046         Moved ...
9047         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
9048         ... here.
9049         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
9050         Moved ...
9051         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
9052         ... here.
9053         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
9054         Moved ...
9055         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
9056         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
9057         Moved ...
9058         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
9059         ... here.
9060         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
9061         Moved ...
9062         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
9063         ... here.
9064         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
9065         Moved ...
9066         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
9067         ... here.
9068         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
9069         Moved ...
9070         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
9071         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
9072         Moved ...
9073         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
9074         ... here.
9075         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
9076         Moved ...
9077         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
9078         ... here.
9079         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
9080         Moved ...
9081         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
9082         ... here.
9083         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
9084         Moved ...
9085         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
9086         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
9087         Moved ...
9088         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
9089         ... here.
9090         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
9091         Moved ...
9092         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
9093         ... here.
9094         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
9095         Moved ...
9096         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
9097         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
9098         Moved ...
9099         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
9100         ... here.
9101         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
9102         Moved ...
9103         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
9104         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
9105         Moved ...
9106         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
9107         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
9108         Moved ...
9109         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
9110         ... here.
9111         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
9112         Moved ...
9113         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
9114         ... here.
9115         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
9116         Moved ...
9117         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
9118         ... here.
9119         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
9120         Moved ...
9121         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
9122         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
9123         Moved ...
9124         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
9125         ... here.
9126         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
9127         Moved ...
9128         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
9129         ... here.
9130         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
9131         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
9132         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
9133         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
9134         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
9135         Moved ...
9136         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
9137         ... here.
9138         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
9139         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
9140         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
9141         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
9142         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
9143         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
9144         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
9145         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
9146         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
9147         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
9148         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
9149         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
9150         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
9151         Moved ...
9152         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
9153         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
9154         Moved ...
9155         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
9156         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
9157         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
9158         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
9159         Moved ...
9160         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
9161         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
9162         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
9163         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
9164         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
9165         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
9166         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
9167
9168 2014-06-10  Wilco  <wdijkstr@arm.com>
9169
9170         * math/test-fenv-return.c: New file.
9171         * math/Makefile: Add new test test-fenv-return.
9172
9173 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
9174
9175         [BZ #17042]
9176         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
9177         when x - 1 is zero.
9178         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
9179         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
9180         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
9181         0.0L for an argument of 1.0L.
9182         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
9183         Likewise.
9184         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
9185         value when x - 1 is zero.
9186         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
9187         * sysdeps/i386/fpu/libm-test-ulps: Update.
9188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9189
9190 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
9191
9192         [BZ #15119]
9193         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
9194
9195 2014-06-09  Roland McGrath  <roland@hack.frob.com>
9196
9197         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
9198         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
9199
9200 2014-06-09  Roland McGrath  <roland@hack.frob.com>
9201
9202         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9203         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
9204
9205         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9206         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
9207
9208         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9209         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
9210
9211         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
9212         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
9213
9214         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
9215         if not already defined.
9216         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
9217         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
9218         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
9219         (TLS_INIT_TP): Use it.
9220         (TLS_DEFINE_INIT_TP): New macro.
9221         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
9222
9223 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
9224
9225         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
9226         constant.
9227         [POSIX] (IXANY): Likewise.
9228         [POSIX] (OLCUC): Likewise.
9229         [POSIX || POSIX2008] (CBAUD): Do not allow.
9230         [POSIX || POSIX2008] (DEFECHO): Likewise.
9231         [POSIX || POSIX2008] (ECHOCTL): Likewise.
9232         [POSIX || POSIX2008] (ECHOKE): Likewise.
9233         [POSIX || POSIX2008] (ECHOPRT): Likewise.
9234         [POSIX || POSIX2008] (EXTA): Likewise.
9235         [POSIX || POSIX2008] (EXTB): Likewise.
9236         [POSIX || POSIX2008] (FLUSHO): Likewise.
9237         [POSIX || POSIX2008] (LOBLK): Likewise.
9238         [POSIX || POSIX2008] (PENDIN): Likewise.
9239         [POSIX || POSIX2008] (SWTCH): Likewise.
9240         [POSIX || POSIX2008] (VDISCARD): Likewise.
9241         [POSIX || POSIX2008] (VDSUSP): Likewise.
9242         [POSIX || POSIX2008] (VLNEXT): Likewise.
9243         [POSIX || POSIX2008] (VREPRINT): Likewise.
9244         [POSIX || POSIX2008] (VSTATUS): Likewise.
9245         [POSIX || POSIX2008] (VWERASE): Likewise.
9246         (B*): Change to B[0123456789]*.
9247         * conform/data/time.h-data [POSIX || UNIX98]
9248         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
9249         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
9250         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
9251         [POSIX] (tm_*): Do not allow.
9252
9253 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
9254
9255         * Makefile (install): Don't set LANGUAGE.
9256         * Makefile.in (install): Likewise.
9257         * assert/Makefile (test-assert-ENV): Remove variable.
9258         (test-assert-perr-ENV): Likewise.
9259         * elf/Makefile (neededtest4-ENV): Likewise.
9260         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
9261         [$(cross-compiling) = no]: Don't set LANGUAGE.
9262         * io/ftwtest-sh (LANG): Remove variable.
9263         * libio/Makefile (tst-widetext-ENV): Likewise.
9264         * manual/install.texi (Running make install): Don't refer to
9265         environment settings for make install.
9266         * INSTALL: Regenerated.
9267         * nptl/tst-tls6.sh: Don't set LANG.
9268         * posix/globtest.sh (LANG): Remove variable.
9269         * string/Makefile (tester-ENV): Likewise.
9270         (inl-tester-ENV): Likewise.
9271         (noinl-tester-ENV): Likewise.
9272         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
9273         [$(cross-compiling) = no]: Don't set LANGUAGE.
9274         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
9275         without explicit environment settings.
9276
9277 2014-06-06  Roland McGrath  <roland@hack.frob.com>
9278
9279         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
9280         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
9281         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
9282         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
9283
9284 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
9285
9286         * crypt/crypt-private.h [DOS]: Add some includes taken from the
9287         other files in the crypt directory.
9288         * crypt/crypt.c: Remove duplicate includes.
9289         * crypt/crypt-entry.c: Likewise.
9290         * crypt/crypt_util.c: Likewise.
9291
9292 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
9293
9294         * Makeconfig (run-program-env): New variable.
9295         (run-program-prefix-before-env): Likewise.
9296         (run-program-prefix-after-env): Likewise.
9297         (run-program-prefix): Define in terms of new variables.
9298         (built-program-cmd-before-env): New variable.
9299         (built-program-cmd-after-env): Likewise.
9300         (built-program-cmd): Define in terms of new variables.
9301         (test-program-prefix-before-env): New variable.
9302         (test-program-prefix-after-env): Likewise.
9303         (test-program-prefix): Define in terms of new variables.
9304         (test-program-cmd-before-env): New variable.
9305         (test-program-cmd-after-env): Likewise.
9306         (test-program-cmd): Define in terms of new variables.
9307         * Rules (make-test-out): Use $(run-program-env).
9308         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
9309         (help): Do not mention environment variables.  Mention
9310         --timeoutfactor option.
9311         (timeoutfactor): New variable.
9312         (blacklist_exports): Remove function.
9313         (exports): Remove variable.
9314         (command): Do not include ${exports}.
9315         * manual/install.texi (Configuring and compiling): Do not mention
9316         test wrappers preserving environment variables.  Mention that last
9317         assignment to a variable must take precedence.
9318         * INSTALL: Regenerated.
9319         * benchtests/Makefile (run-bench): Use $(run-program-env).
9320         * catgets/Makefile ($(objpfx)test1.cat): Use
9321         $(built-program-cmd-before-env), $(run-program-env) and
9322         $(built-program-cmd-after-env).
9323         ($(objpfx)test2.cat): Do not specify environment variables
9324         explicitly.
9325         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
9326         $(run-program-env) and $(built-program-cmd-after-env).
9327         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
9328         $(run-program-env) and $(test-program-cmd-after-env).
9329         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
9330         explicitly.
9331         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
9332         run_program_env and test_program_cmd_after_env arguments.
9333         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
9334         * elf/tst-pathopt.sh: Use run_program_env argument.
9335         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
9336         $(test-wrapper-env) and $(run-program-env).
9337         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
9338         run_program_env arguments.
9339         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
9340         * intl/Makefile ($(objpfx)tst-gettext.out): Use
9341         $(test-program-prefix-before-env), $(run-program-env) and
9342         $(test-program-prefix-after-env).
9343         ($(objpfx)tst-gettext2.out): Likewise.
9344         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
9345         run_program_env and test_program_prefix_after_env arguments.
9346         * intl/tst-gettext2.sh: Likewise.
9347         * intl/tst-gettext4.sh: Do not set environment variables
9348         explicitly.
9349         * intl/tst-gettext6.sh: Likewise.
9350         * intl/tst-translit.sh: Likewise.
9351         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
9352         $(test-program-prefix-before-env), $(run-program-env) and
9353         $(test-program-prefix-after-env).
9354         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
9355         run_program_env and test_program_prefix_after_env arguments.
9356         * math/Makefile (run-regen-ulps): Use $(run-program-env).
9357         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
9358         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
9359         explicitly with each use of ${test_wrapper_env}.
9360         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
9361         $(test-program-prefix-before-env), $(run-program-env) and
9362         $(test-program-prefix-after-env).
9363         * posix/tst-getconf.sh: Do not set environment variables
9364         explicitly.
9365         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
9366         run_program_env and test_program_prefix_after_env arguments.
9367         * stdio-common/tst-printf.sh: Do not set environment variables
9368         explicitly.
9369         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
9370         $(test-program-prefix-before-env), $(run-program-env) and
9371         $(test-program-prefix-after-env).
9372         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
9373         run_program_env and test_program_prefix_after_env arguments.
9374         Split $test calls into $test_pre and $test.
9375         * timezone/Makefile (build-testdata): Use
9376         $(built-program-cmd-before-env), $(run-program-env) and
9377         $(built-program-cmd-after-env).
9378
9379 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9380
9381         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
9382         strlen for non SHARED builds.
9383
9384 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
9385
9386         * nptl/allocatestack.c (check_list): Inlined function...
9387         (__reclaim_stacks): ... here.
9388
9389 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
9390
9391         [BZ #15698]
9392         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
9393         memory overrun.
9394
9395 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
9396
9397         * Rules (make-test-out): Include
9398         LOCPATH=$(common-objpfx)localedata in default environment.
9399         * debug/Makefile (tst-chk1-ENV): Remove variable.
9400         (tst-chk2-ENV): Likewise.
9401         (tst-chk3-ENV): Likewise.
9402         (tst-chk4-ENV): Likewise.
9403         (tst-chk5-ENV): Likewise.
9404         (tst-chk6-ENV): Likewise.
9405         (tst-lfschk1-ENV): Likewise.
9406         (tst-lfschk2-ENV): Likewise.
9407         (tst-lfschk3-ENV): Likewise.
9408         (tst-lfschk4-ENV): Likewise.
9409         (tst-lfschk5-ENV): Likewise.
9410         (tst-lfschk6-ENV): Likewise.
9411         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
9412         (tst-iconv7-ENV): Likewise.
9413         * intl/Makefile (LOCPATH-ENV): Likewise.
9414         (tst-codeset-ENV): Likewise.
9415         (tst-gettext3-ENV): Likewise.
9416         (tst-gettext5-ENV): Likewise.
9417         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
9418         (tst-fopenloc-ENV): Likewise.
9419         (tst-fgetws-ENV): Remove variable.
9420         (tst-ungetwc1-ENV): Likewise.
9421         (tst-ungetwc2-ENV): Likewise.
9422         (bug-ungetwc2-ENV): Likewise.
9423         (tst-swscanf-ENV): Likewise.
9424         (bug-ftell-ENV): Likewise.
9425         (tst-fgetwc-ENV): Likewise.
9426         (tst-fseek-ENV): Likewise.
9427         (tst-ftell-partial-wide-ENV): Likewise.
9428         (tst-ftell-active-handler-ENV): Likewise.
9429         (tst-ftell-append-ENV): Likewise.
9430         * posix/Makefile (tst-fnmatch-ENV): Likewise.
9431         (tst-regexloc-ENV): Likewise.
9432         (bug-regex1-ENV): Likewise.
9433         (tst-regex-ENV): Likewise.
9434         (tst-regex2-ENV): Likewise.
9435         (bug-regex5-ENV): Likewise.
9436         (bug-regex6-ENV): Likewise.
9437         (bug-regex17-ENV): Likewise.
9438         (bug-regex18-ENV): Likewise.
9439         (bug-regex19-ENV): Likewise.
9440         (bug-regex20-ENV): Likewise.
9441         (bug-regex22-ENV): Likewise.
9442         (bug-regex23-ENV): Likewise.
9443         (bug-regex25-ENV): Likewise.
9444         (bug-regex26-ENV): Likewise.
9445         (bug-regex30-ENV): Likewise.
9446         (bug-regex32-ENV): Likewise.
9447         (bug-regex33-ENV): Likewise.
9448         (bug-regex34-ENV): Likewise.
9449         (bug-regex35-ENV): Likewise.
9450         (tst-rxspencer-ENV): Likewise.
9451         (tst-rxspencer-no-utf8-ENV): Likewise.
9452         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
9453         (tst-sscanf-ENV): Likewise.
9454         (tst-swprintf-ENV): Likewise.
9455         (tst-swscanf-ENV): Likewise.
9456         (test-vfprintf-ENV): Likewise.
9457         (scanf13-ENV): Likewise.
9458         (bug14-ENV): Likewise.
9459         (tst-grouping-ENV): Likewise.
9460         * stdlib/Makefile (tst-strtod-ENV): Likewise.
9461         (tst-strtod3-ENV): Likewise.
9462         (tst-strtod4-ENV): Likewise.
9463         (tst-strtod5-ENV): Likewise.
9464         (testmb2-ENV): Likewise./
9465         * string/Makefile (tst-strxfrm-ENV): Likewise.
9466         (tst-strxfrm2-ENV): Likewise.
9467         (bug-strcoll1-ENV): Likewise.
9468         (test-strcasecmp-ENV): Likewise.
9469         (test-strncasecmp-ENV): Likewise.
9470         * time/Makefile (tst-strptime-ENV): Likewise.
9471         (tst-ftime_l-ENV): Likewise.
9472         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
9473         (tst-mbrtowc-ENV): Likewise.
9474         (tst-wcrtomb-ENV): Likewise.
9475         (tst-mbrtowc2-ENV): Likewise.
9476         (tst-c16c32-1-ENV): Likewise.
9477         (tst-mbsnrtowcs-ENV): Likewise.
9478
9479 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
9480
9481         * manual/resource.texi (How to get information about the memory
9482         subsystem?): Fix typo.
9483         Reported by Peon de la Parra Ivan <peon@keba.com>
9484
9485 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
9486
9487         [BZ #16882]
9488         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
9489         (pthread_spin_lock): Branch out of spin loop to proper location.
9490         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
9491         (pthread_spin_lock): Likewise.
9492
9493         * nptl/tst-spin4.c: New test.
9494         * nptl/Makefile (tests): Add tst-spin4.
9495
9496 2014-06-03  Andreas Schwab  <schwab@suse.de>
9497
9498         [BZ #15946]
9499         * resolv/res_send.c (send_dg): Reload file descriptor after
9500         calling reopen.
9501
9502 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
9503
9504         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
9505
9506 2014-06-03  Richard Henderson  <rth@redhat.com>
9507
9508         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
9509         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
9510         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
9511         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
9512         in the SAVE_PID block.
9513         (__libc_vfork): New alias.
9514         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
9515
9516         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
9517         child in registers, not on the stack.  Remove RESET_PID conditionals.
9518         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
9519
9520 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
9521
9522         * sysdeps/aarch64/libm-test-ulps: Regenerate.
9523
9524 2014-06-03  Wilco  <wdijkstr@arm.com>
9525
9526         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
9527         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
9528         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9529         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
9530         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
9531         Likewise.
9532
9533 2014-06-03  Wilco  <wdijkstr@arm.com>
9534
9535         * sysdeps/aarch64/fpu/math_private.h
9536         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
9537         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
9538         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
9539         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
9540         Fix declarations.
9541
9542 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
9543
9544         * crypt/crypt-private.h: Include ufc-crypt.h.
9545         (__b64_from_24bit): Declare extern.
9546         * crypt/crypt_util.c(__b64_from_24bit): New function.
9547         (b64t): New static const variable.
9548         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
9549         (b64t): Remove variable.
9550         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
9551         * crypt/sha256-crypt.c: Include crypt-private.h.
9552         (b64t): Remove variable.
9553         (__sha256_crypt_r): Remove b64_from_24bit and replace
9554         with __b64_from_24bit.
9555         * crypt/sha512-crypt.c: Likewise.
9556
9557 2014-06-02  Roland McGrath  <roland@hack.frob.com>
9558
9559         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
9560         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
9561         Label the code __libc_vfork rather than __vfork.
9562         [!NOT_IN_libc] (vfork): Define as weak alias.
9563         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
9564         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
9565         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
9566
9567 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9568
9569         * malloc/malloc.c (malloc_info): Fix format specifier for
9570         n_mmaps.
9571
9572 2014-06-02  Wilco  <wdijkstr@arm.com>
9573
9574         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
9575         FPCR write.
9576
9577 2014-06-02  Wilco  <wdijkstr@arm.com>
9578
9579         [BZ #17009]
9580         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
9581         Rewrite to reduce FPCR/FPSR accesses.
9582
9583 2014-06-01  David S. Miller  <davem@davemloft.net>
9584
9585         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9586
9587 2014-05-31  David S. Miller  <davem@davemloft.net>
9588
9589         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
9590         to occur in round to nearest mode when |x| >= 2.0
9591
9592 2014-05-30  Richard Henderson  <rth@twiddle.net>
9593
9594         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
9595         (PSEUDO_RET_NOERRNO): Remove.
9596         (ret): Don't redefine.
9597         (ret_NOERRNO): Define in terms of ret.
9598         (ret_ERRVAL): Likewise.
9599
9600         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
9601         use of PSEUDO_RET; perform the error check directly.
9602
9603 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
9604
9605         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
9606         with __int128_t.
9607
9608 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9609
9610         * malloc/malloc (malloc_info): Fix formatting.
9611
9612 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
9613             Roland McGrath  <roland@hack.frob.com>
9614
9615         * malloc/malloc (malloc_info): Also print mmapped statistics.
9616
9617 2014-05-30  Roland McGrath  <roland@hack.frob.com>
9618
9619         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
9620         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
9621
9622 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
9623
9624         * malloc/malloc.c (malloc_info): Inline mi_arena.
9625
9626 2014-05-29  Richard Henderson  <rth@twiddle.net>
9627
9628         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
9629         Remove comma before expanding ASM_ARGS_##nr.
9630         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
9631         Make _x0 a strict output; make _x8 a strict input; adjust expansion
9632         of ASM_ARGS_##nr.
9633         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
9634         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
9635         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
9636         (ASM_ARGS_1): Add leading comma.
9637
9638         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
9639         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
9640         to __errno_location.
9641         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
9642         Remove the expected plt for __errno_location.
9643
9644         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9645         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
9646         call to __read_tp.
9647
9648         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9649         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
9650         it and break it down.
9651         (DOCARGS_0, DOCARGS_1): Do nothing.
9652         (DOCARGS_2): Update to store into the new stack frame.
9653         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
9654         (UNDOCARGS_1): Update to restore from the new stack frame.
9655         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
9656         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
9657
9658         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9659         (SINGLE_THREAD_P): New parameter for result regno.
9660         (PSEUDO): Update to match; use cbz instead of beq.
9661
9662         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9663         Use ENTRY to define the _nocancel entry point.  Share the syscall
9664         and syscall error check paths with the cancel path.
9665         (PSEUDO_END): New.
9666
9667         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
9668         whitespace; tabs before and after asm mnemonics.
9669
9670 2014-05-29  Eric Wong  <normalperson@yhbt.net>
9671
9672         [BZ #15132]
9673         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
9674         Call fstat64 or stat64 internally, depending on arguments passed.
9675         Replace stat buffer argument with file descriptor argument.
9676         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
9677         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
9678         Pass fd to __internal_statvfs instead of calling fstat64.
9679         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
9680         Pass fd to __internal_statvfs64 instead of calling fstat64.
9681         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
9682         Pass -1 to __internal_statvfs instead of calling stat64.
9683         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
9684         Pass -1 to __internal_statvfs64 instead of calling stat64.
9685
9686 2014-05-28  Roland McGrath  <roland@hack.frob.com>
9687
9688         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
9689         that was previously under [RESET_PID].
9690         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
9691
9692         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
9693         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
9694
9695 2014-05-27  Roland McGrath  <roland@hack.frob.com>
9696
9697         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
9698
9699         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
9700         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
9701
9702 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
9703
9704         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
9705
9706 2014-05-27  Andreas Schwab  <schwab@suse.de>
9707
9708         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
9709         TLS_INIT_TP macro.
9710         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
9711         * elf/rtld.c (init_tls, dl_main): Likewise.
9712         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
9713         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
9714         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
9715         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
9716         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
9717         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
9718         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
9719         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
9720         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
9721         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
9722         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
9723         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
9724         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
9725         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
9726         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
9727         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
9728         * sysdeps/generic/tls.h: Update description.
9729
9730 2014-05-27  Will Newton  <will.newton@linaro.org>
9731
9732         [BZ #16990]
9733         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
9734         and restore r2 rather than just restoring.
9735
9736 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
9737
9738         [BZ #16724]
9739         * libio/tst-ftell-append.c: New test case.
9740         * libio/Makefile (tests): Add test case.
9741         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
9742         append mode.
9743         * libio/wfileops.c (do_ftell_wide): Likewise.
9744
9745 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9746
9747         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9748
9749         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
9750         ...
9751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
9752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
9753         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
9754         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
9755         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
9756         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
9757         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
9758         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
9759         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
9760         Moved ...
9761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
9762         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
9763         Moved ...
9764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
9765         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
9766         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
9767         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
9768         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
9769         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
9770         ...
9771         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
9772         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
9773         Moved ...
9774         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
9775         here.
9776         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
9777         ...
9778         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
9779         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
9780         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
9781
9782         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
9783         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
9784         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
9785         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
9786
9787         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
9788         merge into ...
9789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
9790         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
9791         ...
9792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
9793         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
9794         ...
9795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
9796         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
9797         Moved ...
9798         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
9799         here.
9800         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
9801         Moved ...
9802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
9803         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
9804         Moved ...
9805         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
9806
9807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
9808         conditional [RESET_PID].
9809         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
9810         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
9811         removed.
9812         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
9813         removed.
9814
9815         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
9816         <tcb-offsets.h>.
9817         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
9818         (__libc_vfork): New strong alias.
9819         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
9820         removed.
9821         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
9822         Removed.
9823
9824         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
9825         <tcb-offsets.h>.
9826         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
9827         (__libc_vfork): New strong alias.
9828         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
9829         removed.
9830         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
9831         removed.
9832
9833 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
9834
9835         * malloc/malloc.c (mi_arena): New function.
9836         (malloc_info): Remove nested function mi_arena. Call non-nosted
9837         function mi_arena.
9838
9839 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9840
9841         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
9842         by insrwi.
9843         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
9844         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
9845         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
9846         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
9847         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
9848         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
9849         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
9850
9851 2014-05-26  Andreas Schwab  <schwab@suse.de>
9852
9853         [BZ #16984]
9854         * locale/programs/repertoire.c (repertoire_read): Add slash
9855         between I18NPATH element and file name.
9856         * locale/programs/locfile.c (locfile_read): Likewise.
9857
9858 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
9859
9860         * nptl/pthread_mutexattr_settype.c
9861         (__pthread_mutexattr_settype):
9862         Disable lock elision for PTHREAD_MUTEX_NORMAL.
9863
9864 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
9865
9866         * nptl/tst-mutex5 (do_test):
9867         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
9868
9869 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9870
9871         * benchtests/README: Document 'init' directive.
9872         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
9873         BENCH_INIT.
9874         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
9875         (parse_file): Recognize 'init' directive.
9876
9877 2014-05-26  Kyle McMartin  <kyle@redhat.com>
9878
9879         [BZ #16796]
9880         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
9881         alignment of struct pthread.
9882
9883 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9884
9885         [BZ #16878]
9886         * nscd/netgroupcache.c (addgetnetgrentX): Look for
9887         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9888         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
9889         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
9890
9891 2014-05-25  Richard Henderson  <rth@twiddle.net>
9892
9893         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
9894         (SINGLE_THREAD_P_PIC): Remove.
9895         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
9896         (SINGLE_THREAD_P_PIC): Remove.
9897
9898         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
9899         branch to syscall error ...
9900         (PSEUDO): ... here.
9901         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
9902         from __local_syscall_error to .Lsyscall_error.
9903         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
9904         (SYSCALL_ERROR): Update label name.
9905
9906         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
9907         Do not use DOARGS/UNDOARGS.
9908         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
9909         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
9910         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
9911         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
9912         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
9913
9914         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
9915         block comment.
9916
9917         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
9918         define if !NOT_IN_libc.
9919         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
9920         define with non-default symbol versions.
9921
9922 2014-05-23  Richard Henderson  <rth@twiddle.net>
9923
9924         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
9925         (vfork, __vfork): Define via compat_symbol.
9926
9927         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
9928         [!HAVE_IFUNC] (vfork_compat): Remove.
9929         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
9930
9931 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
9932
9933         [BZ #16978]
9934         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
9935         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
9936         variable.
9937
9938 2014-05-23  Richard Henderson  <rth@twiddle.net>
9939
9940         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
9941         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
9942         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
9943         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
9944
9945         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
9946         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
9947         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
9948         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
9949         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
9950         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
9951         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
9952         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
9953         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
9954         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
9955         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
9956         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
9957         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
9958         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
9959         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
9960         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
9961         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
9962         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
9963         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
9964         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
9965         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
9966         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
9967         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
9968         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
9969         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
9970         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
9971         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
9972         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
9973         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
9974         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
9975         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
9976         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
9977         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
9978         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
9979         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
9980         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
9981         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
9982         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
9983         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
9984         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
9985         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
9986         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
9987         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
9988         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
9989         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
9990         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
9991         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
9992         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
9993         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
9994         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
9995         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
9996         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
9997         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
9998         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
9999         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
10000         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
10001
10002         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
10003         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
10004         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
10005         before exiting on error.
10006         (__libc_vfork): New strong alias.
10007         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
10008         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
10009
10010         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
10011         that was previously under [RESET_PID].
10012         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
10013
10014         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
10015
10016 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
10017
10018         [BZ #16977]
10019         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
10020         value when x - 1 is zero.
10021         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
10022         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
10023         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
10024         0.0L for an argument of 1.0L.
10025         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
10026         Likewise.
10027         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
10028         value when x - 1 is zero.
10029         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
10030         * sysdeps/i386/fpu/libm-test-ulps: Update.
10031         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10032
10033 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
10034
10035         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
10036         alphasort and versionsort.
10037
10038 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10039
10040         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
10041         macro.
10042         [copysignf]: Likewise.
10043
10044 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
10045
10046         * crypt/md5-crypt.c: Fix formatting.
10047
10048 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
10049
10050         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
10051         (b64_from_24bit): New function.
10052
10053 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10054
10055         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
10056         libc_hidden_builtin_def to ifunc.
10057         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
10058         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
10059
10060 2014-05-21  Roland McGrath  <roland@hack.frob.com>
10061
10062         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
10063         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
10064
10065 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
10066
10067         * nscd/Depend (linuxthreads): Remove.
10068         (nptl): Add.
10069         * resolv/Depend (linuxthreads): Remove.
10070         * rt/Depend (linuxthreads): Remove.
10071
10072         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
10073         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
10074         $(common-objpfx)elf/.
10075         (link-libc-before-gnulib): Likewise.
10076         (elfobjdir): Remove variable.
10077         * Makefile (install): Use $(elf-objpfx) instead of
10078         $(common-objpfx)elf/.
10079         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
10080         $(elfobjdir)/.
10081         (link-libc-deps): Likewise.
10082         ($(common-objpfx)libc.so): Likewise.
10083         ($(common-objpfx)linkobj/libc.so): Likewise.
10084         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
10085         instead of $(common-objpfx)elf/.
10086         (symbolic-link-list): Likewise.
10087         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
10088         [$(cross-compiling) = no]: Likewise.
10089         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
10090         $(elfobjdir)/.
10091         (static-gnulib-arch): Likewise.
10092         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
10093         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
10094         $(common-objpfx)elf/.
10095
10096 2014-05-21  Richard Henderson  <rth@redhat.com>
10097
10098         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
10099         (SINGLE_THREAD_P): Use the correct width load.  Fold
10100         into the ldr offset.
10101
10102         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
10103         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
10104
10105 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
10106
10107         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
10108         (libgcc_s_resume): Use __attribute_used__.
10109         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
10110         Likewise.
10111
10112 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10113
10114         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
10115         optimization when used with float constants.
10116
10117         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
10118
10119 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
10120
10121         [BZ #16915]
10122         * locale/nl_langinfo_l.c: Make direct reference to every
10123         _nl_current_CATEGORY symbol.
10124         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
10125         (tests-static): Add tst-langinfo-static.
10126         (tests-special): Add tst-langinfo-static.out.
10127         ($(objpfx)tst-langinfo.out): Redirect output.
10128         ($(objpfx)tst-langinfo-static.out): New.
10129         * localedata/tst-langinfo.sh: Send output to stdout.
10130         * localedata/tst-langinfo-static.c: New file.
10131
10132         [BZ #16965]
10133         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
10134         when the shift amount is modulo the limb size.
10135
10136 2014-05-20  Richard Henderson  <rth@redhat.com>
10137
10138         [BZ #16967]
10139         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
10140         Change type of sa_flags from unsigned int to int.
10141
10142         [BZ #16966]
10143         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
10144
10145         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
10146
10147 2014-05-20  Will Newton  <will.newton@linaro.org>
10148
10149         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
10150         Test the return value of the system call in the nocancel case.
10151
10152 2014-05-20  Will Newton  <will.newton@linaro.org>
10153             Yvan Roux  <yvan.roux@linaro.org>
10154
10155         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
10156         #include of asm/ptrace.h.
10157         (PTRACE_GET_THREAD_AREA): Remove #undef.
10158         (PTRACE_GETHBPREGS): Likewise.
10159         (PTRACE_SETHBPREGS): Likewise.
10160         (struct user_regs_struct): New structure.
10161         (struct user_fpsimd_struct): New structure.
10162         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
10163         #include of asm/ptrace.h and second #include of sys/user.h.
10164         (PTRACE_GET_THREAD_AREA): Remove #undef.
10165         (PTRACE_GETHBPREGS): Likewise.
10166         (PTRACE_SETHBPREGS): Likewise.
10167         (ELF_NGREG): Use new struct user_regs_struct.
10168         (elf_fpregset_t): Use new struct user_fpsimd_struct.
10169
10170 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10171
10172         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
10173         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
10174
10175 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
10176
10177         [BZ #16958]
10178         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
10179         membar to avoid block loads/stores to overlap previous stores.
10180
10181 2014-05-17  Richard Henderson  <rth@redhat.com>
10182
10183         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
10184         Create the __##syscall_name##_nocancel entry point.
10185         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
10186         Remove; let the sysdep-cancel.h code create it.
10187
10188 2014-05-17  David S. Miller  <davem@davemloft.net>
10189
10190         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
10191         Protect with __USE_GNU.
10192         (TIOCSET_TEMPT): Likewise.
10193         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
10194         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
10195         these are already provided in bits/ioctl-types.h
10196
10197 2014-05-16  Roland McGrath  <roland@hack.frob.com>
10198
10199         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
10200         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
10201
10202         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
10203         Use wait4 regardless of [__NR_waitpid].
10204
10205 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
10206
10207         PR libgcc/60166
10208         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
10209         (_FP_NANSIGN_Q): Set the quiet bit.
10210
10211 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
10212
10213         * benchtests/Makefile
10214         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
10215         not $(common-objpfx)math/libm.so.
10216         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
10217         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
10218         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
10219         $(common-objpfx)dlfcn/libdl.so.
10220         ($(objpfx)tst-audit8): Depend on $(libm), not
10221         $(common-objpfx)math/libm.so.
10222         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
10223         not $(common-objpfx)dlfcn/libdl.so.
10224         * math/Makefile
10225         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
10226         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
10227         [$(build-shared) = yes].
10228         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
10229         $(common-objpfx)nptl/libpthread.so.
10230         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
10231         $(common-objpfx)math/libm.so$(libm.so-version) or
10232         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
10233         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
10234         $(common-objpfx)dlfcn/libdl.so.
10235         * setjmp/Makefile (link-libm): Remove variable.
10236         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
10237         * stdio-common/Makefile (link-libm): Remove variable.
10238         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
10239         * stdlib/Makefile (link-libm): Remove variable.
10240         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
10241         ($(objpfx)tst-strtod-round): Likewise.
10242         ($(objpfx)tst-tininess): Likewise.
10243         ($(objpfx)tst-strtod-underflow): Likewise.
10244         ($(objpfx)tst-strtod6): Likewise.
10245         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
10246         $(libdl), not $(common-objpfx)nptl/libpthread.so and
10247         $(common-objpfx)dlfcn/libdl.so.
10248
10249 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10250
10251         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
10252         BSD terminal modes definitions.
10253
10254 2014-05-16  Roland McGrath  <roland@hack.frob.com>
10255
10256         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
10257         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
10258
10259         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
10260         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
10261         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
10262         Don't do #include_next.
10263         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
10264         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
10265         Don't do #include_next.
10266         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
10267         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
10268         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
10269         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
10270
10271 2014-05-16  Allan McRae  <allan@archlinux.org>
10272
10273         * po/sv.po: Update Swedish translation from translation project.
10274
10275         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
10276         in sed expression.
10277
10278 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
10279
10280         [BZ #16917]
10281         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
10282         errno if the TIOCGPTN ioctl fails with an error different than
10283         EINVAL.
10284         * login/tst-ptsname.c: New file.
10285         * login/Makefile (tests): Add tst-ptsname.
10286
10287         [BZ #16943]
10288         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
10289         and prlimit64.
10290
10291 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10292
10293         [BZ #16849]
10294         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
10295         herrno to return EAI_AGAIN.
10296
10297 2014-05-14  Roland McGrath  <roland@hack.frob.com>
10298
10299         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
10300         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
10301         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
10302         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
10303         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
10304         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
10305         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
10306         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
10307         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
10308         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
10309         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
10310         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
10311         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
10312         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
10313         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
10314         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
10315         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
10316         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
10317         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
10318         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
10319         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
10320         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
10321         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
10322         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
10323         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
10324         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
10325         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
10326         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
10327         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
10328         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
10329         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
10330         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
10331         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
10332         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
10333         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
10334         Moved ...
10335         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
10336         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
10337         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
10338         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
10339         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
10340         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
10341         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
10342         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
10343         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
10344         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
10345         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
10346         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
10347         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
10348         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
10349         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
10350         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
10351         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
10352         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
10353         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
10354         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
10355         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
10356         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
10357         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
10358         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
10359         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
10360         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
10361         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
10362         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
10363         Moved ...
10364         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
10365         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
10366         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
10367         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
10368         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
10369         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
10370         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
10371         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
10372         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
10373         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
10374         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
10375         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
10376         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
10377         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
10378         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
10379         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
10380         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
10381         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
10382         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
10383         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
10384         Moved ...
10385         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
10386         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
10387         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
10388
10389         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
10390         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
10391         (libpthread-sysdep_routines): Add elision-related stuff here instead.
10392         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
10393         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
10394         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
10395         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
10396         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
10397         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
10398         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
10399         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
10400         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
10401         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
10402         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
10403         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
10404         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
10405         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
10406         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
10407         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
10408         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
10409         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
10410         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
10411         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
10412         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
10413         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
10414         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
10415         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
10416         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
10417         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
10418         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
10419         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
10420
10421         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
10422         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
10423
10424         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
10425         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
10426         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
10427         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
10428         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
10429         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
10430         Moved ...
10431         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
10432         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
10433         Moved ...
10434         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
10435         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
10436         Moved ...
10437         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
10438         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
10439         Moved ...
10440         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
10441         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
10442         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
10443         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
10444         Moved ...
10445         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
10446         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
10447         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
10448         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
10449         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
10450         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
10451         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
10452         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
10453         Moved ...
10454         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
10455         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10456         Moved ...
10457         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
10458         ... here.
10459         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
10460         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
10461         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
10462         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
10463         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10464         Moved ...
10465         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
10466         ... here.
10467         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
10468         Moved ...
10469         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
10470         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
10471         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
10472         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
10473         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
10474         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
10475         Moved ...
10476         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
10477         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
10478         Moved ...
10479         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
10480         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
10481         Moved ...
10482         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
10483         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
10484         Moved ...
10485         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
10486         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
10487         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
10488         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
10489         Moved ...
10490         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
10491         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
10492         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
10493         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
10494         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
10495         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
10496         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
10497         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
10498         Moved ...
10499         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
10500         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10501         Moved ...
10502         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
10503         ... here.
10504         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
10505         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
10506         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
10507         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
10508         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10509         Moved ...
10510         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
10511         ... here.
10512         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
10513         Moved ...
10514         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
10515         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
10516         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
10517         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
10518         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
10519         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
10520         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
10521         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
10522         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
10523         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
10524         Moved ...
10525         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
10526         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
10527         Moved ...
10528         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
10529         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
10530         Moved ...
10531         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
10532         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
10533         Moved ...
10534         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
10535         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
10536         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
10537         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
10538         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
10539         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
10540         Moved ...
10541         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
10542         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
10543         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
10544         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
10545         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
10546         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
10547         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
10548         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
10549         Moved ...
10550         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
10551         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10552         Moved ...
10553         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
10554         ... here.
10555         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
10556         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
10557         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
10558         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
10559         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10560         Moved ...
10561         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
10562         ... here.
10563         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
10564         Moved ...
10565         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
10566         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
10567         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
10568         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
10569         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
10570         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
10571         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
10572         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
10573         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
10574         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
10575         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
10576
10577         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
10578         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
10579
10580         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
10581         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
10582
10583         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
10584         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
10585         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
10586         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
10587         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
10588         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
10589         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
10590         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
10591         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
10592         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
10593         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
10594         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
10595         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
10596         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
10597         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
10598         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
10599         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
10600         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
10601         Moved ...
10602         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
10603         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
10604         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
10605         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
10606         Moved ...
10607         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
10608         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
10609         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
10610         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
10611         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
10612         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
10613         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
10614         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
10615         Moved ...
10616         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
10617         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
10618         Moved ...
10619         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
10620         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
10621         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
10622         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
10623         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
10624         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
10625         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
10626         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
10627         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
10628         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
10629         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
10630         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
10631         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
10632         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
10633         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
10634         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
10635         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
10636
10637         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
10638         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
10639         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
10640         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
10641         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
10642
10643         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
10644         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
10645         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
10646         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
10647         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
10648         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
10649         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
10650         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
10651         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
10652         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
10653
10654         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
10655         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
10656
10657         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
10658         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
10659         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
10660         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
10661         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
10662         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
10663         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
10664         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
10665         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
10666         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
10667         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
10668         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
10669         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
10670         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
10671         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
10672         Update #include.
10673         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
10674         Likewise.
10675         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
10676         Likewise.
10677         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
10678         Likewise.
10679         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
10680         Likewise.
10681         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
10682         Likewise.
10683         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
10684         Likewise.
10685         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
10686         Likewise.
10687         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
10688         Likewise.
10689         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
10690         Likewise.
10691         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
10692         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
10693         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
10694         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
10695         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
10696         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
10697         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
10698         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
10699         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
10700         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
10701         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
10702         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
10703         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
10704         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
10705         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
10706
10707         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
10708         that was previously under [RESET_PID].
10709         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
10710         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
10711         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
10712
10713         * sysdeps/i386/nptl/Implies: New file.
10714         * sysdeps/x86_64/nptl/Implies: New file.
10715         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
10716         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
10717         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
10718         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
10719
10720         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
10721         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10722         (__libc_vfork): New strong alias.
10723         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
10724         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
10725
10726         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
10727         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10728         (__libc_vfork): New strong alias.
10729         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
10730         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
10731
10732         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
10733         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
10734         (__libc_vfork): New strong alias.
10735         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
10736         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
10737         * nptl/pt-vfork.c: New file.
10738         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
10739         (libpthread: GLIBC_2.20): New version set (empty).
10740
10741 2014-05-14  Will Newton  <will.newton@linaro.org>
10742
10743         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
10744         rather than #if.
10745
10746 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
10747
10748         [BZ #16564]
10749         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
10750         arguments with exponent 65 or above.
10751         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
10752         arguments 0x1p113L or above.
10753         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
10754         to arguments 0x1p107L or above.
10755         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
10756         positive arguments with exponent 65 or above.
10757         * math/auto-libm-test-in: Add more tests of log1p.
10758         * math/auto-libm-test-out: Regenerated.
10759
10760         [BZ #16928]
10761         * math/s_cacos.c (__cacos): Ensure zero real part of result from
10762         non-finite arguments is +0.
10763         * math/s_cacosf.c (__cacosf): Likewise.
10764         * math/s_cacosl.c (__cacosl): Likewise.
10765         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
10766         * sysdeps/i386/fpu/libm-test-ulps: Update.
10767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10768
10769         [BZ #16927]
10770         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
10771         value.
10772         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
10773         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
10774         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
10775         for explicit high bit of mantissa when testing for argument equal
10776         to 1.
10777         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
10778         * sysdeps/i386/fpu/libm-test-ulps: Update.
10779         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
10780
10781         [BZ #16516]
10782         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
10783         (__erf): Scale by 16 instead of 8 in potentially underflowing
10784         case.  Ensure exception if result actually underflows.
10785         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
10786         (__erff): Scale by 16 instead of 8 in potentially underflowing
10787         case.  Ensure exception if result actually underflows.
10788         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
10789         (efx8): Remove variable.
10790         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10791         case.  Ensure exception if result actually underflows.
10792         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
10793         (efx8): Remove variable.
10794         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10795         case.  Ensure exception if result actually underflows.
10796         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
10797         (efx8): Remove variable.
10798         (__erfl): Scale by 16 instead of 8 in potentially underflowing
10799         case.  Ensure exception if result actually underflows.
10800         * math/auto-libm-test-in: Add more tests of erf.
10801         * math/auto-libm-test-out: Regenerated.
10802
10803 2014-05-14  Andreas Schwab  <schwab@suse.de>
10804
10805         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
10806         Remove code conditionalized on USE___THREAD.
10807
10808         * config.h.in (HAVE_PT_CHOWN): Define as 0.
10809         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
10810         not definedness.
10811
10812 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
10813
10814         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
10815         Define unconditionally.
10816         (__ASSUME_O_CLOEXEC): Likewise.
10817         (__ASSUME_SOCK_CLOEXEC): Likewise.
10818         (__ASSUME_IN_NONBLOCK): Likewise.
10819         (__ASSUME_PIPE2): Likewise.
10820         (__ASSUME_EVENTFD2): Likewise.
10821         (__ASSUME_SIGNALFD4): Likewise.
10822         (__ASSUME_DUP3): Likewise.
10823         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
10824         (__ASSUME_DUP3): Do not define.
10825         (__ASSUME_EVENTFD2): Likewise.
10826         (__ASSUME_IN_NONBLOCK): Likewise.
10827         (__ASSUME_O_CLOEXEC): Likewise.
10828         (__ASSUME_PIPE2): Likewise.
10829         (__ASSUME_SIGNALFD4): Likewise.
10830         (__ASSUME_SOCK_CLOEXEC): Likewise.
10831         (__ASSUME_UTIMES): Undefine.
10832         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
10833         (__ASSUME_UTIMES): Do not define.
10834         (__ASSUME_O_CLOEXEC): Likewise.
10835         (__ASSUME_SOCK_CLOEXEC): Likewise.
10836         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
10837         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
10838         0x020621].
10839         (__ASSUME_PIPE2): Likewise.
10840         (__ASSUME_EVENTFD2): Likewise.
10841         (__ASSUME_SIGNALFD4): Likewise.
10842         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
10843         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
10844         Do not define.
10845         (__ASSUME_EVENTFD2): Likewise.
10846         (__ASSUME_SIGNALFD4): Likewise.
10847         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
10848         (__ASSUME_32BITUIDS): Likewise.
10849         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
10850         (__ASSUME_IPC64): Likewise.
10851         (__ASSUME_ST_INO_64_BIT): Likewise.
10852         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
10853         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
10854         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
10855         (__ASSUME_UTIMES): Do not define.
10856         (__ASSUME_PSELECT): Likewise.
10857         (__ASSUME_PPOLL): Likewise.
10858         (__ASSUME_O_CLOEXEC): Likewise.
10859         (__ASSUME_SOCK_CLOEXEC): Likewise.
10860         (__ASSUME_IN_NONBLOCK): Likewise.
10861         (__ASSUME_PIPE2): Likewise.
10862         (__ASSUME_EVENTFD2): Likewise.
10863         (__ASSUME_SIGNALFD4): Likewise.
10864         (__ASSUME_DUP3): Likewise.
10865         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
10866         (__ASSUME_UTIMES): Likewise.
10867         (__ASSUME_O_CLOEXEC): Likewise.
10868         (__ASSUME_SOCK_CLOEXEC): Likewise.
10869         (__ASSUME_IN_NONBLOCK): Likewise.
10870         (__ASSUME_PIPE2): Likewise.
10871         (__ASSUME_EVENTFD2): Likewise.
10872         (__ASSUME_SIGNALFD4): Likewise.
10873         (__ASSUME_DUP3): Likewise.
10874         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
10875         (__ASSUME_UTIMES): Likewise.
10876         (__ASSUME_O_CLOEXEC): Likewise.
10877         (__ASSUME_SOCK_CLOEXEC): Likewise.
10878         (__ASSUME_IN_NONBLOCK): Likewise.
10879         (__ASSUME_PIPE2): Likewise.
10880         (__ASSUME_EVENTFD2): Likewise.
10881         (__ASSUME_SIGNALFD4): Likewise.
10882         (__ASSUME_DUP3): Likewise.
10883         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
10884         Likewise.
10885         (__ASSUME_UTIMES): Likewise.
10886         (__ASSUME_EVENTFD2): Likewise.
10887         (__ASSUME_SIGNALFD4): Likewise.
10888         * sysdeps/unix/sysv/linux/tile/kernel-features.h
10889         (__ASSUME_O_CLOEXEC): Likewise.
10890         (__ASSUME_SOCK_CLOEXEC): Likewise.
10891         (__ASSUME_IN_NONBLOCK): Likewise.
10892         (__ASSUME_PIPE2): Likewise.
10893         (__ASSUME_EVENTFD2): Likewise.
10894         (__ASSUME_SIGNALFD4): Likewise.
10895         (__ASSUME_DUP3): Likewise.
10896         (__ASSUME_UTIMES): Undefine.
10897
10898         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
10899         feclearexcept.  Remove symbol versioning code.
10900         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
10901         symbol versioning code.
10902         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
10903         symbol versioning code.
10904         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
10905         feupdateenv.  Remove symbol versioning code.
10906         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
10907         fegetexceptflag.  Remove symbol versioning code.
10908         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
10909         fesetexceptflag.  Remove symbol versioning code.
10910         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
10911         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
10912         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
10913         (__posix_fadvise64_l32): Remove prototype.
10914         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
10915         code.
10916
10917 2014-05-13  Roland McGrath  <roland@hack.frob.com>
10918
10919         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
10920         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
10921         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
10922         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
10923
10924 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
10925
10926         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
10927         current working directory
10928
10929 2014-05-13  Roland McGrath  <roland@hack.frob.com>
10930
10931         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
10932         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
10933         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
10934         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
10935         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
10936         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
10937         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
10938         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
10939         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
10940         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
10941         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
10942         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
10943         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
10944         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
10945         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
10946         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
10947         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
10948         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
10949         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
10950         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
10951         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
10952         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
10953         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
10954         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
10955         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
10956         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
10957         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
10958         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
10959         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
10960         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
10961         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
10962         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
10963         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
10964         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
10965         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
10966         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
10967         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
10968         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
10969         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
10970         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
10971         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
10972         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
10973
10974         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
10975         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
10976
10977         * sysdeps/unix/sysv/linux/arm/Makefile
10978         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
10979         Add rt-aeabi_unwind_cpp_pr1.
10980         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
10981         Add nptl-aeabi_unwind_cpp_pr1.
10982         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
10983         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
10984         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
10985         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
10986         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
10987         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
10988
10989         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
10990         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
10991         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
10992         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
10993
10994         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
10995         Deconditionalize the code that was previously under [RESET_PID].
10996         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
10997
10998         * sysdeps/generic/exit-thread.h: New file.
10999         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
11000         * include/unistd.h (__exit_thread): Remove declaration.
11001         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
11002         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
11003         * csu/libc-start.c: Include <exit-thread.h>.
11004         (LIBC_START_MAIN): Pass no argument to __exit_thread.
11005         * nptl/pthread_create.c: Include <exit-thread.h>.
11006         (start_thread): Call __exit_thread in place of __exit_thread_inline.
11007         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
11008         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
11009         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
11010         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
11011         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
11012         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
11013         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
11014         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
11015         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
11016         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
11017         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
11018         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
11019         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
11020         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
11021         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
11022         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
11023
11024 2014-05-13  Andreas Schwab  <schwab@suse.de>
11025
11026         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
11027
11028 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
11029
11030         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
11031         (__ASSUME_UTIMES): Do not condition on kernel version.
11032         (__ASSUME_PSELECT): Define unconditionally.
11033         (__ASSUME_PPOLL): Likewise.
11034         (__ASSUME_ATFCTS): Likewise.
11035         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
11036         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
11037         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
11038         (__ASSUME_UTIMENSAT): Define unconditionally.
11039         (__ASSUME_PRIVATE_FUTEX): Likewise.
11040         (__ASSUME_FALLOCATE): Likewise.
11041         (__ASSUME_O_CLOEXEC): Likewise.
11042         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
11043         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
11044         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
11045         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
11046         (__ASSUME_IN_NONBLOCK): Likewise.
11047         (__ASSUME_PIPE2): Likewise.
11048         (__ASSUME_EVENTFD2): Likewise.
11049         (__ASSUME_SIGNALFD4): Likewise.
11050         (__ASSUME_DUP3): Likewise.
11051         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11052         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
11053         (__ASSUME_AT_RANDOM): Likewise.
11054         (__ASSUME_PREADV): Likewise.
11055         (__ASSUME_PWRITEV): Likewise.
11056         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
11057         (__ASSUME_F_GETOWN_EX): Define unconditionally.
11058         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
11059         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
11060         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
11061         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
11062         (__ASSUME_O_CLOEXEC): Define unconditionally.
11063         (__ASSUME_PSELECT): Do not undefine conditionally.
11064         (__ASSUME_PPOLL): Likewise.
11065         (__ASSUME_ATFCTS): Likewise.
11066         (__ASSUME_SET_ROBUST_LIST): Likewise.
11067         (__ASSUME_UTIMENSAT): Likewise.
11068         (__ASSUME_FDATASYNC): Define unconditionally.
11069         * sysdeps/unix/sysv/linux/arm/kernel-features.h
11070         (__ASSUME_SIGFRAME_V2): Likewise.
11071         )__ASSUME_EVENTFD2): Likewise.
11072         (__ASSUME_SIGNALFD4): Likewise.
11073         (__ASSUME_PSELECT): Do not undefine conditionally.
11074         (__ASSUME_PPOLL): Likewise.
11075         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
11076         (__ASSUME_PSELECT): Define unconditionally.
11077         (__ASSUME_PPOLL): Likewise.
11078         (__ASSUME_O_CLOEXEC): Likewise.
11079         (__ASSUME_SOCK_CLOEXEC): Likewise.
11080         (__ASSUME_IN_NONBLOCK): Likewise.
11081         (__ASSUME_PIPE2): Likewise.
11082         (__ASSUME_EVENTFD2): Likewise.
11083         (__ASSUME_SIGNALFD4): Likewise.
11084         (__ASSUME_DUP3): Likewise.
11085         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11086         (__ASSUME_O_CLOEXEC): Likewise.
11087         (__ASSUME_SOCK_CLOEXEC): Likewise.
11088         (__ASSUME_IN_NONBLOCK): Likewise.
11089         (__ASSUME_PIPE2): Likewise.
11090         (__ASSUME_EVENTFD2): Likewise.
11091         (__ASSUME_SIGNALFD4): Likewise.
11092         (__ASSUME_DUP3): Likewise.
11093         * sysdeps/unix/sysv/linux/mips/kernel-features.h
11094         (__ASSUME_EVENTFD2): Likewise.
11095         (__ASSUME_SIGNALFD4): Likewise.
11096         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
11097
11098 2014-05-12  Andreas Schwab  <schwab@suse.de>
11099
11100         [BZ #16932]
11101         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
11102         (_nss_nis_gethostbyname4_r): Return error if item length is larger
11103         than maximum RPC packet size.
11104         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
11105         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
11106         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
11107         (_nss_nis_getservbyport_r): Likewise.
11108
11109 2014-05-12  Will Newton  <will.newton@linaro.org>
11110
11111         * malloc/Makefile (tests): Add tst-mallopt.
11112         * malloc/tst-mallopt.c: New file.
11113
11114 2014-05-09  Roland McGrath  <roland@hack.frob.com>
11115
11116         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
11117         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
11118
11119 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11120
11121         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
11122         (tst-tlsmod6.so): Likewise.
11123
11124 2014-05-09  Roland McGrath  <roland@hack.frob.com>
11125
11126         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
11127
11128 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
11129
11130         [BZ #16064]
11131         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
11132         and <dl-procinfo.h>.
11133         (__fegetenv): Save SSE state in envp->__eip if supported.
11134         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
11135         envp->__eip if supported.
11136         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
11137         and <dl-procinfo.h>.
11138         (__fesetenv): Always set __eip, __cs_selector, __opcode,
11139         __data_offset and __data_selector in environment to 0.  Set SSE
11140         state if supported.
11141         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11142         test-fenv-sse.
11143         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
11144         -mfpmath=sse.
11145         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
11146
11147 2014-05-09  Will Newton  <will.newton@linaro.org>
11148
11149         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
11150         and libc_relro_required for ARM.
11151         * sysdeps/arm/preconfigure: Regenerate.
11152
11153 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
11154             Stefan Liebler  <stli@linux.vnet.ibm.com>
11155
11156         * config.make.in (enable-lock-elision): New Makefile variable.
11157         * configure.ac: Likewise.
11158         * configure: Regenerate.
11159         * sysdeps/s390/configure.ac:
11160         Add check for gcc transactions support.
11161         * sysdeps/s390/configure: Regenerate.
11162         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
11163         Build elision files if enabled.
11164         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
11165         Add lock elision support for s390.
11166         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
11167         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
11168         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
11169         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
11170         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
11171         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
11172         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
11173         Likewise.
11174         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
11175         Likewise.
11176         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
11177         Likewise.
11178         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
11179         Likewise.
11180         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
11181         (__lll_timedlock_elision, __lll_lock_elision)
11182         (__lll_unlock_elision, __lll_trylock_elision)
11183         (lll_timedlock_elision, lll_lock_elision)
11184         (lll_unlock_elision, lll_trylock_elision): Add.
11185         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11186         (pthread_mutex_t): Add lock elision support for s390.
11187
11188 2014-05-14  Wilco  <wdijkstr@arm.com>
11189
11190         * sysdeps/arm/fclrexcpt.c: Cleanup.
11191         * sysdeps/arm/fedisblxcpt.c: Cleanup.
11192         * sysdeps/arm/feenablxcpt.c: Cleanup.
11193         * sysdeps/arm/fegetenv.c: Cleanup.
11194         * sysdeps/arm/fegetexcept.c: Cleanup.
11195         * sysdeps/arm/fegetround.c: Cleanup.
11196         * sysdeps/arm/feholdexcpt.c: Cleanup.
11197         * sysdeps/arm/fesetenv.c: Cleanup.
11198         * sysdeps/arm/fesetround.c: Cleanup.
11199         * sysdeps/arm/feupdateenv.c: Cleanup.
11200         * sysdeps/arm/fgetexcptflg.c: Cleanup.
11201         * sysdeps/arm/fraiseexcpt.c: Cleanup.
11202         * sysdeps/arm/fsetexcptflg.c: Cleanup.
11203         * sysdeps/arm/ftestexcept.c: Cleanup.
11204         * sysdeps/arm/get-rounding-mode.h: Cleanup.
11205         * sysdeps/arm/setfpucw.c: Cleanup.
11206
11207 2014-05-09  Will Newton  <will.newton@linaro.org>
11208
11209         * sysdeps/arm/armv7/strcmp.S: New file.
11210         * NEWS: Mention addition of ARMv7 optimized strcmp.
11211
11212 2014-05-08  Roland McGrath  <roland@hack.frob.com>
11213
11214         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
11215         look for %.ac rather than %.in.
11216
11217         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
11218         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
11219         * sysdeps/mach/hurd/configure: Regenerated.
11220         * sysdeps/unix/sysv/linux/configure: Regenerated.
11221
11222         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
11223
11224 2014-05-07  Steve Ellcey  <sellcey@mips.com>
11225
11226         [BZ# 16922]
11227         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
11228         (LONG_SUB): Ditto.
11229         (PTR_SUB): Ditto.
11230
11231 2014-05-07  Andreas Schwab  <schwab@suse.de>
11232
11233         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
11234         when skipping over non-matching result from nscd.
11235
11236 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
11237
11238         [BZ #16876]
11239         * nptl/sockperf.c (client): Check socket return value.
11240
11241         [BZ #16877]
11242         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
11243         nscd security class.
11244
11245 2014-05-06  Roland McGrath  <roland@hack.frob.com>
11246
11247         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
11248         * sysdeps/arm/unwind.h: ... here.
11249
11250 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
11251
11252         [BZ# 16916]
11253         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
11254         Define.
11255
11256 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
11257
11258         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
11259         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
11260         multiarch strncpy for PPC64.
11261         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
11262         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
11263         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
11264         multiarch optimizations.
11265         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
11266         (__libc_ifunc_impl_list): Likewise.
11267         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
11268         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
11269         multiarch stpncpy for PPC64.
11270         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
11271         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
11272
11273 2014-05-06  Andreas Schwab  <schwab@suse.de>
11274
11275         [BZ #16912]
11276         * gmon/mcount.c (_MCOUNT_DECL): Use
11277         atomic_compare_and_exchange_bool_acq instead of
11278         catomic_compare_and_exchange_bool_acq.
11279
11280 2014-05-05  Roland McGrath  <roland@hack.frob.com>
11281
11282         * elf/Makefile (others, install-bin): Remove pldd.
11283         (pldd-modules): Variable removed.
11284         ($(objpfx)pldd): Target removed.
11285         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
11286         (others, install-bin): Append pldd here.
11287         ($(objpfx)pldd): New target.
11288
11289         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
11290         to 0, so the first #if test emitted later doesn't see it undefined.
11291         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
11292         * sysdeps/gnu/errlist.c: Regenerated.
11293
11294 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11295
11296         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
11297         [libc_hidden_builtin_def]: Define to empty value.
11298         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
11299         [libc_hidden_builtin_def]: Likewise.
11300         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
11301         [libc_hidden_builtin_def]: Likewise.
11302         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
11303         [libc_hidden_builtin_def]: Likewise.
11304         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
11305         __redirect_memcpy and define ifunc as default hidden symbol.
11306         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
11307         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
11308
11309 2014-05-04  Adam Conrad  <adconrad@0c3.net>
11310
11311         * locale/iso-4217.def: Reintroduce XDR currency.
11312
11313 2014-05-04  Allan McRae  <allan@archlinux.org>
11314
11315         * po/eo.po: Update Esperanto translation from translation project.
11316
11317 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
11318
11319         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
11320         and FEATURE_INDEX_MAX to 1.
11321         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
11322
11323 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11324
11325         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
11326         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
11327         * iconvdata/big5.c (ONE_DIRECTION): Define.
11328         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
11329         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
11330         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
11331         * iconvdata/cp932.c (ONE_DIRECTION): Define.
11332         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
11333         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
11334         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
11335         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
11336         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
11337         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
11338         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
11339         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
11340         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
11341         * iconvdata/gbk.c (ONE_DIRECTION): Define.
11342         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
11343         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
11344         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
11345         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
11346         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
11347         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
11348         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
11349         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
11350         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
11351         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
11352         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
11353         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
11354         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
11355         * iconvdata/iso646.c (ONE_DIRECTION): Define.
11356         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
11357         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
11358         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
11359         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
11360         * iconvdata/johab.c (ONE_DIRECTION): Define.
11361         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
11362         * iconvdata/sjis.c (ONE_DIRECTION): Define.
11363         * iconvdata/t.61.c (ONE_DIRECTION): Define.
11364         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
11365         * iconvdata/tscii.c (ONE_DIRECTION): Define.
11366         * iconvdata/uhc.c (ONE_DIRECTION): Define.
11367         * iconvdata/unicode.c (ONE_DIRECTION): Define.
11368         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
11369         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
11370         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
11371
11372 2014-05-01  Roland McGrath  <roland@hack.frob.com>
11373
11374         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
11375         (_IO_JUMPS_OFFSET): Define to 0.
11376
11377         * nptl/sysdeps/pthread/bits/libc-lock.h
11378         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
11379         (__libc_lock_define_initialized_recursive): Always define using
11380         initializer.  Modern compilers treat uninitialized (implicit zero) and
11381         explicit zero initializers the same (i.e. put the datum in bss).
11382
11383 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11384
11385         * nscd/nscd-client.h: Include <string.h>.
11386
11387 2014-05-01  David S. Miller  <davem@davemloft.net>
11388
11389         [BZ #16885]
11390         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
11391         multiple zero bytes exist at the end of a string.
11392         Reported by Aurelien Jarno <aurelien@aurel32.net>
11393
11394         * string/test-strcmp.c (check): Add explicit test for situations where
11395         there are multiple zero bytes after the first.
11396
11397 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
11398
11399         [BZ #16890]
11400         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
11401         when compiling wprintf.
11402         * stdio-common/tstdiomisc.c (t3): New function.
11403         (main): Call it.
11404
11405 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11406
11407         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
11408         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
11409         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
11410         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
11411
11412 2014-05-01  Steve Ellcey  <sellcey@mips.com>
11413
11414         * stdlib/longlong.h: Updated from GCC.
11415
11416 2014-05-01  Will Newton  <will.newton@linaro.org>
11417             Bernard Ogden  <bernie.ogden@linaro.org>
11418
11419         * NEWS: Update fixed bug list.
11420
11421         [BZ #15119]
11422         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
11423
11424 2014-04-30  David S. Miller  <davem@davemloft.net>
11425
11426         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
11427         (libc_feholdexcept_setround_sparc_ctx): New function.
11428         (libc_fesetenv_sparc_ctx): Likewise.
11429         (libc_feupdateenv_sparc_ctx): Likewise.
11430         (libc_feholdsetround_sparc_ctx): Likewise.
11431         (libc_feholdexcept_setround_ctx): Define.
11432         (libc_feholdexcept_setroundf_ctx): Likewise.
11433         (libc_feholdexcept_setroundl_ctx): Likewise.
11434         (libc_fesetenv_ctx): Likewise.
11435         (libc_fesetenvf_ctx): Likewise.
11436         (libc_fesetenvl_ctx): Likewise.
11437         (libc_feupdateenv_ctx): Likewise.
11438         (libc_feupdateenvf_ctx): Likewise.
11439         (libc_feupdateenvl_ctx): Likewise.
11440         (libc_feresetround_ctx): Likewise.
11441         (libc_feresetroundf_ctx): Likewise.
11442         (libc_feresetroundl_ctx): Likewise.
11443         (libc_feholdsetround_ctx): Likewise.
11444         (libc_feholdsetroundf_ctx): Likewise.
11445         (libc_feholdsetroundl_ctx): Likewise.
11446
11447         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11448         with __USE_GNU instead of XOPEN cpp guards.
11449
11450         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
11451         0.
11452
11453         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
11454         with XOPEN cpp guards.
11455
11456 2014-04-30  Julian Brown  <julian@codesourcery.com>
11457
11458         [BZ #16888]
11459         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
11460         handling.
11461
11462 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
11463
11464         [BZ #9894]
11465         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
11466         Change to 2.6.32.
11467         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
11468         * sysdeps/unix/sysv/linux/configure: Regenerated.
11469         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
11470         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
11471         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
11472         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
11473         * README: Update reference to required Linux kernel version.
11474         * manual/install.texi (Linux): Update reference to required Linux
11475         kernel headers version.
11476         * INSTALL: Regenerated.
11477
11478         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
11479         header inclusion.
11480         [POSIX] (limits.h): Likewise.
11481         [POSIX] (math.h): Likewise.
11482         [POSIX] (sys/wait.h): Likewise.
11483         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
11484         function.
11485         [POSIX] (stddef.h): Do not allow header inclusion.
11486
11487 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11488
11489         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
11490
11491 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
11492
11493         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
11494         Return immediately after lll_futex_wake.
11495
11496 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11497
11498         [BZ #16791]
11499         * nscd/nscd-client.h (datahead_init_common): Initialize entire
11500         structure.
11501         (datahead_init_pos): Call datahead_init_common early.
11502         (datahead_init_neg): Likewise.
11503
11504         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
11505         datahead_init_neg): New functions.
11506         * nscd/aicache.c (addhstaiX): Use them.
11507         * nscd/grpcache.c (cache_addgr): Likewise.
11508         * nscd/hstcache.c (cache_addhst): Likewise.
11509         * nscd/initgrcache.c (addinitgroupsX): Likewise.
11510         * nscd/netgroupcache.c (do_notfound): Likewise.
11511         (addgetnetgrentX): Likewise.
11512         (addinnetgrX): Likewise.
11513         * nscd/pwdcache.c (cache_addpw): Likewise.
11514         * nscd/servicescache.c (cache_addserv): Likewise.
11515
11516 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
11517             Atsushi Onoe  <atsushi@onoe.org>
11518
11519         [BZ #14308]
11520         [BZ #12994]
11521         [BZ #13651]
11522         * resolv/res_query.c (__libc_res_nsearch): Return if at least
11523         one response is valid.
11524         * resolv/res_send.c (send_dg): Check for validity of other
11525         response if the current response is a referral.
11526
11527 2014-04-29  Steve Ellcey  <sellcey@mips.com>
11528
11529         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
11530
11531 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
11532
11533         [BZ #16823]
11534         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
11535         Always divide by positive zero when computing -Inf result.
11536         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
11537         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
11538
11539 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11540
11541         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
11542         FPSCR if value do not change.
11543         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
11544         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
11545         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
11546         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
11547         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
11548         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
11549         function.
11550
11551 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
11552
11553         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
11554         * sysdeps/unix/sysv/linux/hppa: Move directory from
11555         ports/systeps/unix/sysv/linux/hppa.
11556         * README: Update listing for hppa-*-linux-gnu.
11557
11558 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
11559
11560         [BZ #16754]
11561         * manual/stdio.texi (Hook functions): Fix types of stream hook
11562         functions.
11563         [BZ #16854]
11564         * socket/sys/socket.h: Fix typo in comment.
11565
11566 2014-04-28  Wilco  <wdijkstr@arm.com>
11567
11568         * sysdeps/arm/fenv_private.h: New file.
11569         * sysdeps/arm/math_private.h: New file.
11570         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
11571
11572 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
11573
11574         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
11575         with __int128_t.
11576         (La_x86_64_retval): Likewise.
11577
11578 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
11579
11580         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
11581         fpsr if value didn't change.
11582         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
11583         to fpcr if value didn't change.
11584         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
11585         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
11586         fpsr or fpcr if value didn't change.
11587         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
11588         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
11589         fpcr if value didn't change.
11590         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
11591         to fpsr if value didn't change.
11592
11593 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
11594
11595         * nptl/tst-sem3.c: Use test-skeleton.c
11596         (main): Rename to do_test.  Use return instead of
11597         exit.
11598         * nptl/tst-sem4.c: Use test-skeleton.c
11599         (main): Rename to do_test.
11600
11601 2014-04-22  David S. Miller  <davem@davemloft.net>
11602
11603         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
11604         (struct sigaction): New struct member __glibc_reserved0, change
11605         type of sa_flags to int.
11606
11607 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
11608
11609         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
11610         (COUNT_LEADING_ZEROS_0): Define for AArch64.
11611
11612 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
11613
11614         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
11615         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
11616
11617 2014-04-22  Will Newton  <will.newton@linaro.org>
11618             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
11619
11620         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
11621         (__longjmp): Add longjmp and longjmp_target SystemTap
11622         probes.
11623         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
11624         (__sigsetjmp): Add setjmp SystemTap probe.
11625
11626 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
11627
11628         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
11629         match manual order.
11630
11631 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11632
11633         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
11634
11635         * sysdeps/powerpc/fpu/fenv_private.h
11636         (libc_feholdexcept_setroundl_ctx): Define to
11637         libc_feholdexcept_setround_ppc_ctx.
11638         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
11639         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
11640         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
11641         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
11642
11643 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
11644
11645         * sysdeps/aarch64/math-tests.h: New file.
11646
11647 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
11648
11649         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
11650         New.
11651         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
11652         Check and set bit_AVX2_Usable.
11653         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
11654         macro.
11655         (bit_AVX2): Likewise.
11656         (index_AVX2_Usable): Likewise.
11657         (CPUID_AVX2): Likewise.
11658         (HAS_AVX2): Likewise.
11659
11660 2014-04-17  Will Newton  <will.newton@linaro.org>
11661
11662         * manual/setjmp.texi (System V contexts): Add note that
11663         calling setcontext on a context created by a call to a
11664         signal handler is undefined.  Update text to note that
11665         setcontext from a signal handler is possible but not
11666         recommended.
11667
11668         [BZ #16629]
11669         * stdlib/tst-setcontext.c: Include signal.h.
11670         (main): Check that the signal stack before and
11671         after swapcontext is the same.
11672
11673         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
11674         Re-implement to restore registers in user code and avoid
11675         rt_sigreturn system call.
11676
11677 2014-04-17  Wilco  <wdijkstr@arm.com>
11678
11679         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
11680         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
11681         * math/test-fenv.c: Skip exception trap tests on targets which only
11682         support non-stop mode.
11683
11684 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
11685             Wilco Dijkstra  <wilco.dijkstra@arm.com>
11686
11687         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
11688         (libc_feholdsetround_aarch64_ctx)
11689         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
11690         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
11691         (libc_feresetround_ctx, libc_feresetroundf_ctx)
11692         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
11693         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
11694         (libc_feresetround_noexl_ctx): Define.
11695
11696 2014-04-16  Richard Henderson  <rth@redhat.com>
11697
11698         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
11699
11700         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
11701         unwind tables.
11702
11703         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
11704         const from the non-libc, non-ldso copy.
11705
11706         * sysdeps/alpha/libm-test-ulps: Regenerate.
11707
11708 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
11709             Wilco Dijkstra  <wilco.dijkstra@arm.com>
11710
11711         * sysdeps/aarch64/fpu/math_private.h: New file.
11712
11713 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
11714
11715         * sysdeps/aarch64/libm-test-ulps: Regenerate.
11716
11717 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
11718
11719         [BZ #16275]
11720         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
11721         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
11722         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
11723         Intel MPX bound registers before _dl_profile_fixup.
11724         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
11725         registers after _dl_profile_fixup.  Save and restore bound
11726         registers bnd0/bnd1 when calling _dl_call_pltexit.
11727         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
11728         (LR_BND_OFFSET): Likewise.
11729         (LRV_BND0_OFFSET): Likewise.
11730         (LRV_BND1_OFFSET): Likewise.
11731
11732 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11733
11734         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
11735         to...
11736         * sysdeps/mach/hurd/i386/tls.h: ... here.
11737         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
11738         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
11739         fields.
11740
11741 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
11742
11743         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
11744
11745 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
11746
11747         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
11748
11749 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
11750
11751         [BZ #14770]
11752         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
11753         * sysdeps/s390/configure: Regenerate.
11754
11755         [BZ #16824]
11756         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
11757         Set round-to-nearest internally to reduce error accumulation.
11758
11759 2014-04-16  Alan Modra  <amodra@gmail.com>
11760
11761         [BZ #16740]
11762         [BZ #16619]
11763         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
11764         * math/libm-test.inc (frexp_test_data): Add tests.
11765         * NEWS: Update fixed bug list.
11766
11767 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11768
11769         * benchtests/Makefile: Depend on libraries in build directory.
11770         (bench-math): Separate out math tests.
11771         (bench-pthread): Separate out pthread tests.
11772         (bench): Include math and pthread tests.
11773
11774 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
11775
11776         [BZ #16831]
11777         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
11778         _dl_debug_initialize.
11779
11780         * configure.ac: Remove SELinux header check.
11781         * configure: Regenerate.
11782         * nscd/selinux.c (perms): Array of const char* to permission names.
11783         (nscd_request_avc_has_perm): Call security_deny_unknown to find
11784         default policy. Call string_to_security_class and string_to_av_perm to
11785         translate strings. Enforce default policy and call avs_has_perm with
11786         results of translated strings.
11787
11788 2014-04-13  David S. Miller  <davem@davemloft.net>
11789
11790         * sysdeps/sparc/fpu/libm-test-ulps: Update.
11791
11792 2014-04-12  Allan McRae  <allan@archlinux.org>
11793
11794         [BZ #16838]
11795         * manual/string.texi (Collation Functions): Fix qsort argument
11796         order in example.
11797         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
11798
11799 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
11800
11801         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
11802         Make the test a no-op if there are no exceptions defined.
11803
11804 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
11805
11806         * elf/Makefile (tests): make tst-dlopen-aout conditional on
11807         enable-hardcoded-path-in-tests
11808
11809 2014-04-11  Will Newton  <will.newton@linaro.org>
11810
11811         * benchtests/Makefile (extra-objs): Add json-lib.o.
11812         (bench-func): Tidy up JSON output.
11813         * benchtests/bench-skeleton.c: Include json-lib.h.
11814         (main): Use JSON library functions to do output of
11815         benchmark results.
11816         * benchtests/bench-timing-type.c (main): Output the
11817         timing type simply, leaving formatting to the user.
11818         * benchtests/json-lib.c: New file.
11819         * benchtests/json-lib.h: Likewise.
11820
11821 2014-04-11  Torvald Riegel  <triegel@redhat.com>
11822
11823         [BZ #15215]
11824         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
11825         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
11826         memory barriers.  Add comments.
11827         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
11828         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
11829         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
11830         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
11831         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
11832         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
11833
11834 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
11835
11836         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
11837         * sysdeps/s390/s390-64/configure.ac: ... this ...
11838         * sysdeps/s390/configure.ac: ... to here.
11839         * sysdeps/s390/s390-32/configure: Delete file.
11840         * sysdeps/s390/s390-64/configure: Delete file.
11841         * sysdeps/s390/configure: Regenerate.
11842
11843 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
11844
11845         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
11846
11847 2014-04-11  Will Newton  <will.newton@linaro.org>
11848
11849         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
11850         to zero if it is not defined elsewhere.  (mtrim): Test
11851         the value of MALLOC_DEBUG with #if rather than #ifdef.
11852
11853 2014-04-10 Torvald Riegel  <triegel@redhat.com>
11854
11855         * benchtests/pthread_once-inputs: New file.
11856         * benchtests/pthread_once-source.c: New file.
11857         * benchtests/README: Update documentation.
11858
11859 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
11860             H.J. Lu  <hongjiu.lu@intel.com>
11861
11862         [BZ #16275]
11863         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
11864         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
11865         * sysdeps/x86_64/configure: Regenerated.
11866         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
11867         macro.
11868         (REGISTER_SAVE_RAX): Likewise.
11869         (REGISTER_SAVE_RCX): Likewise.
11870         (REGISTER_SAVE_RDX): Likewise.
11871         (REGISTER_SAVE_RSI): Likewise.
11872         (REGISTER_SAVE_RDI): Likewise.
11873         (REGISTER_SAVE_R8): Likewise.
11874         (REGISTER_SAVE_R9): Likewise.
11875         (REGISTER_SAVE_BND0): Likewise.
11876         (REGISTER_SAVE_BND1): Likewise.
11877         (REGISTER_SAVE_BND2): Likewise.
11878         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
11879         bound registers when calling _dl_fixup.
11880
11881 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11882
11883         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
11884         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
11885         of its definition.
11886         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
11887         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
11888         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
11889         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
11890         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
11891         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
11892         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
11893
11894 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
11895
11896         [BZ #15514]
11897         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
11898         pathconf(_PC_NAME_MAX).
11899
11900 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11901
11902         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
11903         Remove macro usage.
11904         (__PTHREAD_SPINS): Move definition to ...
11905         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11906         (__PTHREAD_SPINS): ... here.
11907         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
11908         (__PTHREAD_SPIN): Likewise.
11909         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
11910         (__PTHREAD_SPIN): Likewise.
11911         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
11912         (__PTHREAD_SPIN): Likewise.
11913         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
11914         (__PTHREAD_SPIN): Likewise.
11915         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
11916         (__PTHREAD_SPIN): Likewise.
11917         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
11918         (__PTHREAD_SPIN): Likewise.
11919         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
11920         (__PTHREAD_SPIN): Likewise.
11921         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
11922         (__PTHREAD_SPIN): Likewise.
11923         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
11924         (__PTHREAD_SPIN): Likewise.
11925         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
11926         (__PTHREAD_SPIN): Likewise.
11927         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
11928         (__PTHREAD_SPIN): Likewise.
11929         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
11930         (__PTHREAD_SPIN): Likewise.
11931
11932         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
11933         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
11934         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
11935         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
11936         imply folder.
11937         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
11938         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
11939         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
11940         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
11941         correct imply path.
11942         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
11943         strlen symbol for non multi-arch builds.
11944         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
11945         missing hidden_def and weak_alias.
11946
11947 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
11948
11949         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
11950
11951 2014-04-07  Will Newton  <will.newton@linaro.org>
11952
11953         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
11954         and contents.  [!_LIBC] Remove #ifndef and contents.
11955         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
11956         * string/memccpy.c (__memccpy): Use ANSI prototype.
11957         * string/memfrob.c (memfrob): Likewise.
11958         * string/strcoll.c (STRCOLL): Likewise.
11959         * string/strlen.c (strlen): Likewise.
11960         * string/strtok.c (STRTOK): Likewise.
11961         * string/strcat.c: Remove unused #include of memcopy.h.
11962         (strcat): Use ANSI prototype.
11963         * string/strchr.c: Remove unused #include of memcopy.h.
11964         (strchr): Use ANSI prototype.
11965         * string/strcmp.c: Remove unused #include of memcopy.h.
11966         (strcmp): Use ANSI prototype.
11967         * string/strcpy.c: Remove unused #include of memcopy.h.
11968         (strcpy): Use ANSI prototype.
11969
11970 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
11971
11972         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
11973         * config.make.in (config-extra-cppflags): Set it from
11974         libc_extra_cppflags.
11975         * configure.ac (libc_extra_cflags): Make it accumulate over
11976         configure fragments.
11977         (libc_extra_cppflags): New flag.
11978         * configure. Regenerate.
11979         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
11980         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
11981         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
11982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
11983
11984         [BZ #16815]
11985         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
11986         result for FE_DOWNWARD rounding mode.
11987         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
11988         Likewise.
11989         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
11990
11991 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
11992
11993         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
11994         in function argument name.
11995
11996 2014-04-03  David Svoboda  <svoboda@cert.org>
11997
11998         [BZ #5666]
11999         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
12000         explicitly.
12001
12002 2014-04-03  Roland McGrath  <roland@hack.frob.com>
12003
12004         * elf/dl-unmap-segments.h: New file.
12005         * sysdeps/generic/ldsodefs.h
12006         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
12007         * elf/dl-close.c: Include <dl-unmap-segments.h>.
12008         * elf/dl-fptr.c: Likewise.
12009         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
12010         * sysdeps/aarch64/tlsdesc.c: Likewise.
12011         * sysdeps/arm/tlsdesc.c: Likewise.
12012         * sysdeps/i386/tlsdesc.c: Likewise.
12013         * sysdeps/tile/dl-runtime.c: Likewise.
12014         * sysdeps/x86_64/tlsdesc.c: Likewise.
12015         * elf/dl-load.h: New file.
12016         * elf/dl-load.c: Include it.
12017         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
12018         Macros moved to dl-load.h.
12019         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
12020         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
12021         Use _dl_unmap_segments in place of __munmap.
12022         Break out segment-mapping loop into ...
12023         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
12024
12025 2014-04-03  Will Newton  <will.newton@linaro.org>
12026
12027         * elf/dl-lookup.c (do_lookup_x): Remove comment
12028         referring to nested function and move variable
12029         declarations down to before first use.
12030
12031 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
12032
12033         [BZ #16799]
12034         [BZ #16800]
12035         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
12036         with 0 numerator.
12037         * math/s_catanf.c (__catanf): Likewise.
12038         * math/s_catanh.c (__catanh): Likewise.
12039         * math/s_catanhf.c (__catanhf): Likewise.
12040         * math/s_catanhl.c (__catanhl): Likewise.
12041         * math/s_catanl.c (__catanl): Likewise.
12042         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
12043         by positive zero when computing -Inf result.
12044         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
12045         (catanh_test): Likewise.
12046         * sysdeps/i386/fpu/libm-test-ulps: Update.
12047         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12048
12049         [BZ #16789]
12050         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
12051         instead of using underflowing value in computing result.
12052         * math/s_clog10.c (__clog10): Likewise.
12053         * math/s_clog10f.c (__clog10f): Likewise.
12054         * math/s_clog10l.c (__clog10l): Likewise.
12055         * math/s_clogf.c (__clogf): Likewise.
12056         * math/s_clogl.c (__clogl): Likewise.
12057         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
12058         (clog10_test): Likewise.
12059         * sysdeps/i386/fpu/libm-test-ulps: Update.
12060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12061
12062 2014-04-02  Alan Modra  <amodra@gmail.com>
12063
12064         [BZ #16739]
12065         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
12066         output when value is near a power of two.  Use int64_t for lx and
12067         remove casts.  Use decimal rather than hex exponent constants.
12068         Don't use long double multiplication when double will suffice.
12069         * math/libm-test.inc (nextafter_test_data): Add tests.
12070         * NEWS: Add 16739 and 16786 to bug list.
12071
12072         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
12073
12074         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
12075
12076 2014-04-01  Will Newton  <will.newton@linaro.org>
12077
12078         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
12079         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
12080
12081 2014-04-01  Florian Weimer  <fweimer@redhat.com>
12082
12083         [BZ #13347]
12084         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
12085         * nptl/tst-setuid2.c: New file.
12086         * nptl/Makefile (xtests): Add tst-setuid2.
12087
12088 2014-04-01  Alan Modra  <amodra@gmail.com>
12089
12090         [BZ #16786]
12091         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
12092
12093 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
12094
12095         [BZ #6803]
12096         [BZ #6804]
12097         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
12098         set errno as appropriate.
12099         * math/w_scalbf.c (__scalbf): Likewise.
12100         * math/w_scalbl.c (__scalbl): Likewise.
12101         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
12102         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
12103         * math/libm-test.inc (scalb_test_data): Add errno expectations.
12104         Add more NaN tests.
12105
12106         [BZ #16349]
12107         * math/w_atan2.c: Include <errno.h>.
12108         (__atan2): Set errno for result underflowing to zero.
12109         * math/w_atan2f.c: Include <errno.h>.
12110         (__atan2f): Set errno for result underflowing to zero.
12111         * math/w_atan2l.c: Include <errno.h>.
12112         (__atan2l): Set errno for result underflowing to zero.
12113         * math/auto-libm-test-in: Don't allow missing errno for some atan2
12114         tests.
12115         * math/auto-libm-test-out: Regenerated.
12116
12117 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12118
12119         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
12120         Encode instruction correctly in little endian.
12121         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
12122         Likewise.
12123         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
12124         Likewise.
12125         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
12126         Likewise.
12127         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
12128         Likewise.
12129
12130 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
12131
12132         [BZ #9894]
12133         * sysdeps/unix/sysv/linux/kernel-features.h
12134         [__sparc__ && !__arch64__ && !__sparc_v9__]
12135         (__ASSUME_SET_ROBUST_LIST): Do not define.
12136         [__sparc__ && !__arch64__ && !__sparc_v9__]
12137         (__ASSUME_FUTEX_LOCK_PI): Likewise.
12138         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
12139         Likewise.
12140         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12141         (__ASSUME_FUTEX_LOCK_PI): Undefine.
12142         (__ASSUME_REQUEUE_PI): Likewise.
12143         (__ASSUME_SET_ROBUST_LIST): Likewise.
12144         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
12145         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
12146         Undefine.
12147         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12148         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
12149         Likewise.
12150         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
12151         Likewise.
12152         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
12153         Likewise.
12154         * sysdeps/unix/sysv/linux/mips/kernel-features.h
12155         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
12156         Undefine.
12157         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
12158         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
12159         Likewise.
12160
12161         [BZ #16648]
12162         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12163         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
12164         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
12165
12166 2014-03-31  Will Newton  <will.newton@linaro.org>
12167
12168         * benchtests/Makefile (bench): Add ffs and ffsll to list
12169         of tests.
12170         * benchtests/ffs-inputs: New file.
12171         * benchtests/ffsll-inputs: Likewise.
12172
12173 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
12174
12175         [BZ #16770]
12176         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
12177         too large before casting to int.
12178         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
12179         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
12180         * math/libm-test.inc (scalb_test_data): Add more tests.
12181
12182 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
12183
12184         * benchtests/Makefile (DETAILED_OPT): New make option.
12185         (bench-func): Run benchmark program with -d if DETAILED_OPT is
12186         set.
12187         * benchtests/bench-skeleton.c: Include stdbool.h.
12188         (main): Store and print timings per input.
12189         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
12190         member to each argument value.
12191         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
12192         (_print_arg_data): Initialize per-input timing to 0.
12193
12194         * benchtests/Makefile (timing-type): New binary.
12195         (bench-clean): Also remove bench-timing-type.
12196         (bench): New target for timing-type.
12197         (bench-func): Print output in JSON format.
12198         * benchtests/bench-skeleton.c (main): Print output in JSON
12199         format.
12200         * benchtests/bench-timing-type.c: New file.
12201         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
12202         (TIMING_PRINT_STATS): Remove.
12203         * benchtests/scripts/bench.py (_print_arg_data): Store variant
12204         name separately.
12205
12206         * benchtests/bench-modf.c: Remove.
12207         * benchtests/modf-inputs: New inputs file.
12208
12209 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
12210
12211         [BZ #16362]
12212         * math/s_clog10.c (M_PI_LOG10E): New macro.
12213         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
12214         imaginary parts are 0.
12215         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
12216         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
12217         imaginary parts are 0.
12218         * math/s_clog10l.c (M_PI_LOG10El): New macro.
12219         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
12220         imaginary parts are 0.
12221         * math/libm-test.inc (clog10_test_data): Update expected results
12222         for when real and imaginary parts are 0.
12223
12224 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
12225
12226         * elf/dl-load.c: Finish conversion of __builtin_expect into
12227         __glibc_{un}likely.
12228
12229 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
12230
12231         [BZ #16348]
12232         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
12233         1+x for argument with exponent below -67.
12234         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
12235         Likewise.
12236         * math/auto-libm-test-in: Add more tests of exp.
12237         * math/auto-libm-test-out: Regenerated.
12238
12239 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12240
12241         [BZ #16759]
12242         * inet/getnetgrent_r.c (get_nonempty_val): New function.
12243         (nscd_getnetgrent): Use it.
12244
12245         [BZ #16760]
12246         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
12247         of stpcpy.
12248
12249 2014-03-27  Andi Kleen  <ak@linux.intel.com>
12250
12251         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
12252         (lll_robust_lock, lll_cond_lock, lll_timedlock)
12253         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12254         (lll_robust_unlock): Remove out of line section. Use cfi
12255         intrinsics.
12256         (LLL_STUB_UNWIND_INFO*): Remove.
12257         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
12258         (lll_robust_lock, lll_cond_lock, lll_timedlock)
12259         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
12260         (lll_robust_unlock): Remove out of line section. Use cfi
12261         intrinsics.
12262         (LLL_STUB_UNWIND_INFO*): Remove.
12263
12264 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
12265
12266         [BZ #16758]
12267         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
12268         blank values.
12269
12270 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
12271
12272         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
12273
12274 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
12275
12276         [BZ #16198]
12277         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
12278         fnstenv.
12279         * math/test-fenv-preserve.c: New file.
12280         * math/Makefile (tests): Add test-fenv-preserve.
12281
12282 2014-03-26  Will Newton <will.newton@linaro.org>
12283
12284         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
12285
12286 2014-03-25  Roland McGrath  <roland@hack.frob.com>
12287
12288         * scripts/versionlist.awk: Partition the version sets and emit all
12289         GLIBC_* (sorted) before all others (sorted).
12290
12291 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
12292
12293         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
12294         GLIBC_2.2.5 version.
12295
12296 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12297
12298         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
12299         calls.
12300
12301         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
12302         previous change.
12303
12304         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
12305
12306 2014-03-25  Andreas Schwab  <schwab@suse.de>
12307
12308         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
12309         label to be used after in6ailist is initialized.
12310
12311 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12312
12313         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
12314         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12315
12316 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
12317
12318         [BZ #16357]
12319         [BZ #16599]
12320         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
12321         min_plus_half.
12322         (fp_formats): Update initializers.
12323         (init_fp_formats): Initialize new field.
12324         (output_for_one_input_case): Allow underflow for results up to
12325         min_plus_half.
12326         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
12327         * math/auto-libm-test-in: Don't mark some underflows from asin and
12328         atanh as spurious.
12329         * math/auto-libm-test-out: Regenerated.
12330         * sysdeps/i386/fpu/libm-test-ulps: Update.
12331         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12332
12333 2014-03-25  Andreas Schwab  <schwab@suse.de>
12334
12335         * libio/Makefile (tst-ftell-partial-wide-ENV)
12336         (tst-ftell-active-handler-ENV): Define.
12337
12338 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
12339
12340         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
12341
12342 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
12343
12344         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
12345
12346 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
12347
12348         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
12349         * sysdeps/x86_64/fpu/multiarch/e_exp.c
12350         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
12351
12352 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
12353
12354         [BZ #16634]
12355         * elf/dl-load.c (open_verify): Add mode parameter.
12356         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
12357         (open_path): Change from boolean 'secure' to complete flag 'mode'
12358         (_dl_map_object): Adjust.
12359         * elf/Makefile (tests): Add tst-dlopen-aout.
12360         * elf/tst-dlopen-aout.c: New test.
12361
12362 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
12363
12364         [BZ #16714]
12365         * sysdeps/unix/sysv/linux/s390/bits/stat.h
12366         (struct stat): Rename member pad0 to __glibc_reserved0.
12367
12368         [BZ #16712]
12369         * sysdeps/s390/s390-32/bits/wordsize.h
12370         (__WORDSIZE32_SIZE_ULONG): New define.
12371         * sysdeps/s390/s390-64/bits/wordsize.h
12372         (__WORDSIZE32_SIZE_ULONG): Likewise.
12373         * sysdeps/generic/stdint.h (SIZE_MAX):
12374         Define as UL if __WORDSIZE32_SIZE_ULONG.
12375
12376         [BZ #16713]
12377         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
12378         (__glibc_reserved0): New variable.
12379         (sa_flags): Change type to int.
12380
12381         * posix/Makefile (before-compile): Use += before-compile instead
12382         of a :=.
12383
12384         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
12385         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
12386
12387 2014-03-20  Andreas Schwab  <schwab@suse.de>
12388
12389         [BZ #16743]
12390         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
12391         non-matching result from nscd.
12392
12393 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
12394
12395         * scripts/bench.py: Moved to ...
12396         * benchtests/scripts/bench.py: ... here.
12397         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
12398
12399 2014-03-24  Andreas Schwab  <schwab@suse.de>
12400
12401         [BZ #16002]
12402         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
12403         alloca_account and account alloca use for struct in6ailist.
12404
12405 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
12406
12407         [BZ #16284]
12408         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
12409         rounding mode to recompute results that overflow to infinity or
12410         underflow to zero.
12411         * math/auto-libm-test-in: Don't mark tests as expected to fail for
12412         bug 16284.
12413         * math/auto-libm-test-out: Regenerated.
12414         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
12415         (ccosh_test): Likewise.
12416         (csin_test_data): Use plus_oflow.
12417         (csin_test): Use ALL_RM_TEST.
12418         (csinh_test_data): Use plus_oflow.
12419         (csinh_test): Use ALL_RM_TEST.
12420         * sysdeps/i386/fpu/libm-test-ulps: Update.
12421         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12422
12423 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
12424
12425         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
12426         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
12427         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
12428
12429         [BZ #16731]
12430         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
12431         when x - 1 is zero.
12432         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
12433         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
12434         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
12435         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
12436         argument is 1.
12437         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
12438         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
12439         zero.
12440         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
12441         * sysdeps/i386/fpu/libm-test-ulps: Update.
12442         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12443
12444 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
12445
12446         * scripts/bench.pl: Remove file.
12447         * scripts/bench.py: New benchmark script.
12448         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
12449         * benchtests/README: Mention python dependency.
12450         * scripts/pylintrc: New file.
12451         * scripts/pylint: New file.
12452
12453         * bits/mathdef.h: Use #ifdef instead of #if.
12454         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
12455         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12456         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
12457         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12458         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
12459         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
12460
12461 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12462             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
12463
12464         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
12465         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
12466         and strpbrk-ppc64 objects.
12467         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12468         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
12469         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
12470         multiarch strpbrk for POWER7.
12471         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
12472         multiarch strpbrk for PPC64.
12473         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
12474         ifunc selector.
12475         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
12476         strpbrk for POWER7.
12477
12478 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
12479
12480         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
12481         (atan_test): Likewise.
12482         (atanh_test_data): Use NO_TEST_INLINE for two tests.
12483         (atanh_test): Use ALL_RM_TEST.
12484         (atan2_test_data): Likewise.
12485         (cabs_test): Likewise.
12486         (cacosh_test): Likewise.
12487         (carg_test): Likewise.
12488         (casin_test): Likewise.
12489         (casinh_test): Likewise.
12490         (cbrt_test): Likewise.
12491         (csqrt_test): Likewise.
12492         (erf_test): Likewise.
12493         (erfc_test): Likewise.
12494         (pow10_test): Likewise.
12495         (exp2_test): Likewise.
12496         (hypot_test): Likewise.
12497         (j0_test): Likewise.
12498         (j1_test): Likewise.
12499         (lgamma_test): Likewise.
12500         (gamma_test): Likewise.
12501         (sincos_test): Likewise.
12502         (tanh_test): Likewise.
12503         (y0_test): Likewise.
12504         (y1_test): Likewise.
12505         * sysdeps/i386/fpu/libm-test-ulps: Update.
12506         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12507
12508 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12509
12510         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
12511         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
12512         and strcspn-ppc64 objects.
12513         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
12514         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
12515         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
12516         multiarch strcspn for POWER7.
12517         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
12518         multiarch strcspn for PPC64.
12519         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
12520         ifunc selector.
12521         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
12522         strcspn for POWER7.
12523
12524 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
12525
12526         * math/gen-libm-test.pl (generate_testfile): Expect only function
12527         name as argument to AUTO_TESTS_* and pass results for all rounding
12528         modes to parse_args.
12529         (parse_auto_input): Separate inputs of automatic tests from
12530         outputs before storing in %auto_tests.
12531         * math/libm-test.inc (acos_test_data): Update call to
12532         AUTO_TESTS_f_f.
12533         (acos_test): Use ALL_RM_TEST.
12534         (acos_tonearest_test_data): Remove.
12535         (acos_test_tonearest): Likewise.
12536         (acos_towardzero_test_data): Likewise.
12537         (acos_test_towardzero): Likewise.
12538         (acos_downward_test_data): Likewise.
12539         (acos_test_downward): Likewise.
12540         (acos_upward_test_data): Likewise.
12541         (acos_test_upward): Likewise.
12542         (acosh_test_data): Update call to AUTO_TESTS_f_f.
12543         (asin_test_data): Likewise.
12544         (asin_test): Use ALL_RM_TEST.
12545         (asin_tonearest_test_data): Remove.
12546         (asin_test_tonearest): Likewise.
12547         (asin_towardzero_test_data): Likewise.
12548         (asin_test_towardzero): Likewise.
12549         (asin_downward_test_data): Likewise.
12550         (asin_test_downward): Likewise.
12551         (asin_upward_test_data): Likewise.
12552         (asin_test_upward): Likewise.
12553         (asinh_test_data): Update call to AUTO_TESTS_f_f.
12554         (atan_test_data): Likewise.
12555         (atanh_test_data): Likewise.
12556         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
12557         (cabs_test_data): Update call to AUTO_TESTS_c_f.
12558         (carg_test_data): Likewise.
12559         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
12560         (ccos_test_data): Update call to AUTO_TESTS_c_c.
12561         (ccosh_test_data): Likewise.
12562         (cexp_test_data): Likewise.
12563         (clog_test_data): Likewise.
12564         (clog10_test_data): Likewise.
12565         (cos_test_data): Update call to AUTO_TESTS_f_f.
12566         (cos_test): Use ALL_RM_TEST.
12567         (cos_tonearest_test_data): Remove.
12568         (cos_test_tonearest): Likewise.
12569         (cos_towardzero_test_data): Likewise.
12570         (cos_test_towardzero): Likewise.
12571         (cos_downward_test_data): Likewise.
12572         (cos_test_downward): Likewise.
12573         (cos_upward_test_data): Likewise.
12574         (cos_test_upward): Likewise.
12575         (cosh_test_data): Update call to AUTO_TESTS_f_f.
12576         (cosh_test): Use ALL_RM_TEST.
12577         (cosh_tonearest_test_data): Remove.
12578         (cosh_test_tonearest): Likewise.
12579         (cosh_towardzero_test_data): Likewise.
12580         (cosh_test_towardzero): Likewise.
12581         (cosh_downward_test_data): Likewise.
12582         (cosh_test_downward): Likewise.
12583         (cosh_upward_test_data): Likewise.
12584         (cosh_test_upward): Likewise.
12585         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
12586         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
12587         (ctan_test_data): Likewise.
12588         (ctan_test): Use ALL_RM_TEST.
12589         (ctan_tonearest_test_data): Remove.
12590         (ctan_test_tonearest): Likewise.
12591         (ctan_towardzero_test_data): Likewise.
12592         (ctan_test_towardzero): Likewise.
12593         (ctan_downward_test_data): Likewise.
12594         (ctan_test_downward): Likewise.
12595         (ctan_upward_test_data): Likewise.
12596         (ctan_test_upward): Likewise.
12597         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
12598         (ctanh_test): Use ALL_RM_TEST.
12599         (ctanh_tonearest_test_data): Remove.
12600         (ctanh_test_tonearest): Likewise.
12601         (ctanh_towardzero_test_data): Likewise.
12602         (ctanh_test_towardzero): Likewise.
12603         (ctanh_downward_test_data): Likewise.
12604         (ctanh_test_downward): Likewise.
12605         (ctanh_upward_test_data): Likewise.
12606         (ctanh_test_upward): Likewise.
12607         (erf_test_data): Update call to AUTO_TESTS_f_f.
12608         (erfc_test_data): Likewise.
12609         (exp_test_data): Likewise.
12610         (exp_test): Use ALL_RM_TEST.
12611         (exp_tonearest_test_data): Remove.
12612         (exp_test_tonearest): Likewise.
12613         (exp_towardzero_test_data): Likewise.
12614         (exp_test_towardzero): Likewise.
12615         (exp_downward_test_data): Likewise.
12616         (exp_test_downward): Likewise.
12617         (exp_upward_test_data): Likewise.
12618         (exp_test_upward): Likewise.
12619         (exp10_test_data): Update call to AUTO_TESTS_f_f.
12620         (exp10_test): Use ALL_RM_TEST.
12621         (exp10_tonearest_test_data): Remove.
12622         (exp10_test_tonearest): Likewise.
12623         (exp10_towardzero_test_data): Likewise.
12624         (exp10_test_towardzero): Likewise.
12625         (exp10_downward_test_data): Likewise.
12626         (exp10_test_downward): Likewise.
12627         (exp10_upward_test_data): Likewise.
12628         (exp10_test_upward): Likewise.
12629         (exp2_test_data): Update call to AUTO_TESTS_f_f.
12630         (expm1_test_data): Likewise.
12631         (expm1_test): Use ALL_RM_TEST.
12632         (expm1_tonearest_test_data): Remove.
12633         (expm1_test_tonearest): Likewise.
12634         (expm1_towardzero_test_data): Likewise.
12635         (expm1_test_towardzero): Likewise.
12636         (expm1_downward_test_data): Likewise.
12637         (expm1_test_downward): Likewise.
12638         (expm1_upward_test_data): Likewise.
12639         (expm1_test_upward): Likewise.
12640         (fma_test_data): Update call to AUTO_TESTS_fff_f.
12641         (fma_test): Use ALL_RM_TEST.
12642         (fma_towardzero_test_data): Remove.
12643         (fma_test_towardzero): Likewise.
12644         (fma_downward_test_data): Likewise.
12645         (fma_test_downward): Likewise.
12646         (fma_upward_test_data): Likewise.
12647         (fma_test_upward): Likewise.
12648         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
12649         (j0_test_data): Update call to AUTO_TESTS_f_f.
12650         (j1_test_data): Likewise.
12651         (jn_test_data): Update call to AUTO_TESTS_if_f.
12652         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
12653         (log_test_data): Update call to AUTO_TESTS_f_f.
12654         (log10_test_data): Likewise.
12655         (log1p_test_data): Likewise.
12656         (log2_test_data): Likewise.
12657         (pow_test_data): Update call to AUTO_TESTS_ff_f.
12658         (pow_tonearest_test_data): Likewise.
12659         (sin_test_data): Update call to AUTO_TESTS_f_f.
12660         (sin_test): Use ALL_RM_TEST.
12661         (sin_tonearest_test_data): Remove.
12662         (sin_test_tonearest): Likewise.
12663         (sin_towardzero_test_data): Likewise.
12664         (sin_test_towardzero): Likewise.
12665         (sin_downward_test_data): Likewise.
12666         (sin_test_downward): Likewise.
12667         (sin_upward_test_data): Likewise.
12668         (sin_test_upward): Likewise.
12669         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
12670         (sinh_test_data): Update call to AUTO_TESTS_f_f.
12671         (sinh_test): Use ALL_RM_TEST.
12672         (sinh_tonearest_test_data): Remove.
12673         (sinh_test_tonearest): Likewise.
12674         (sinh_towardzero_test_data): Likewise.
12675         (sinh_test_towardzero): Likewise.
12676         (sinh_downward_test_data): Likewise.
12677         (sinh_test_downward): Likewise.
12678         (sinh_upward_test_data): Likewise.
12679         (sinh_test_upward): Likewise.
12680         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
12681         (sqrt_test): Use ALL_RM_TEST.
12682         (sqrt_tonearest_test_data): Remove.
12683         (sqrt_test_tonearest): Likewise.
12684         (sqrt_towardzero_test_data): Likewise.
12685         (sqrt_test_towardzero): Likewise.
12686         (sqrt_downward_test_data): Likewise.
12687         (sqrt_test_downward): Likewise.
12688         (sqrt_upward_test_data): Likewise.
12689         (sqrt_test_upward): Likewise.
12690         (tan_test_data): Update call to AUTO_TESTS_f_f.
12691         (tan_test): Use ALL_RM_TEST.
12692         (tan_tonearest_test_data): Remove.
12693         (tan_test_tonearest): Likewise.
12694         (tan_towardzero_test_data): Likewise.
12695         (tan_test_towardzero): Likewise.
12696         (tan_downward_test_data): Likewise.
12697         (tan_test_downward): Likewise.
12698         (tan_upward_test_data): Likewise.
12699         (tan_test_upward): Likewise.
12700         (tanh_test_data): Update call to AUTO_TESTS_f_f.
12701         (tgamma_test_data): Likewise.
12702         (y0_test_data): Likewise.
12703         (y1_test_data): Likewise.
12704         (yn_test_data): Update call to AUTO_TESTS_if_f.
12705         (main): Do not call removed functions.
12706
12707 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
12708
12709         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
12710         (ldexp_test_data): Remove.
12711         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
12712         scalbn_test_data.
12713         (scalb_test): Use ALL_RM_TEST.
12714
12715 2014-03-19  Andreas Schwab  <schwab@suse.de>
12716
12717         * nscd/nscd.service: Also invalidate netgroup cache on reload.
12718
12719 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
12720
12721         [BZ #16649]
12722         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
12723         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
12724         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
12725         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
12726         (__ASSUME_PREADV): Undefine.
12727         (__ASSUME_PWRITEV): Likewise.
12728
12729 2014-03-18  Roland McGrath  <roland@hack.frob.com>
12730
12731         * bits/mman-linux.h: Add comment about non-Linux use.
12732         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
12733         bits/mman-linux.h resting place.
12734
12735         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
12736         * bits/mman-linux.h: ... here.
12737
12738 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12739
12740         * conform/conformtest.pl: Add standard definition when calling C
12741         preprocessor on data files.
12742         (checknamespace): Remove unused variable.
12743
12744 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
12745
12746         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
12747         minus_oflow, plus_uflow and minus_uflow in expected results.
12748         * math/libm-test.inc (scalbn_test_data): Add more tests of
12749         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
12750         minus_uflow.
12751         (scalbn_test): Use ALL_RM_TEST.
12752         (scalbln_test_data): Add more tests of negative arguments.  Use
12753         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
12754         (scalbln_test): Use ALL_RM_TEST.
12755
12756 2014-03-18  Roland McGrath  <roland@hack.frob.com>
12757
12758         * scripts/abilist.awk: Ignore symbols marked with .hidden.
12759
12760 2014-03-18  Will Newton  <will.newton@linaro.org>
12761
12762         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
12763         inaccurate comment.
12764
12765 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
12766
12767         * Makerules [!subdir] (check-abi): Exit with error status if a
12768         test failed.
12769
12770 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
12771
12772         * math/libm-test.inc (nearbyint_test_data): Include all tests used
12773         for rint.  Include results for all rounding modes.
12774         (nearbyint_test): Use ALL_RM_TEST.
12775         (rint_test_data): Include all tests used for nearbyint.
12776
12777 2014-03-17  Will Newton  <will.newton@linaro.org>
12778
12779         * nptl/sysdeps/pthread/pthread.h: Revert previous
12780         change.
12781
12782         * sysdeps/generic/ldsodefs.h: Revert previous
12783         change.
12784
12785         * libio/genops.c: Revert previous change.
12786         * libio/libioP.h: Likewise.
12787         * stdio-common/vfprintf.c: Likewise.
12788
12789         * sysdeps/generic/math_private.h: Revert previous
12790         change.
12791
12792         * sysdeps/generic/math_private.h: Check whether
12793         HAVE_RM_CTX is defined with #ifdef rather
12794         than #if.
12795
12796         * argp/argp-fmtstream.h: Check whether
12797         __STRICT_ANSI__ is defined with #ifdef rather
12798         than #if.
12799         * argp/argp.h: Likewise.
12800
12801         * libio/genops.c: Check whether
12802         _IO_JUMPS_OFFSET is defined with #ifdef rather
12803         than #if.
12804         * libio/libioP.h: Likewise.
12805         * stdio-common/vfprintf.c: Likewise.
12806
12807         * sysdeps/generic/ldsodefs.h: Check whether
12808         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
12809         than #if.
12810
12811         * nptl/sysdeps/pthread/pthread.h: Check
12812         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
12813         its value.
12814
12815 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12816
12817         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
12818         setting O_APPEND.
12819         * libio/tst-ftell-active-handler.c (do_append_test): Add a
12820         test case.
12821
12822         [BZ #16680]
12823         * libio/fileops.c (_IO_file_open): Seek to end of file but
12824         don't cache the offset.
12825         (get_file_offset): Remove function.
12826         (do_ftell): Use cached offset when available.
12827         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
12828         don't cache the offset.
12829         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
12830         case.
12831         (do_one_test): Call it.
12832         (do_ftell_test): Fix up expected old offset for a+ mode.
12833         * libio/wfileops.c (do_ftell_wide): Used cached offset when
12834         available.
12835
12836         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
12837         up test status with function return status.
12838         (do_write_test): Likewise.
12839         (do_append_test): Likewise.
12840
12841         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
12842         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
12843         Remove.
12844
12845 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
12846
12847         * math/gen-libm-test.pl (parse_args): Handle results specified for
12848         each rounding mode separately.
12849         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
12850         tests and results from lrint_tonearest_test_data,
12851         lrint_towardzero_test_data, lrint_downward_test_data and
12852         lrint_upward_test_data.
12853         (lrint_test): Use ALL_RM_TEST.
12854         (lrint_tonearest_test_data): Remove.
12855         (lrint_test_tonearest): Likewise.
12856         (lrint_towardzero_test_data): Likewise.
12857         (lrint_test_towardzero): Likewise.
12858         (lrint_downward_test_data): Likewise.
12859         (lrint_test_downward): Likewise.
12860         (lrint_upward_test_data): Likewise.
12861         (lrint_test_upward): Likewise.
12862         (llrint_test_data): Merge in per-rounding-mode tests and results
12863         from llrint_tonearest_test_data, llrint_towardzero_test_data,
12864         llrint_downward_test_data and llrint_upward_test_data.
12865         (llrint_test): Use ALL_RM_TEST.
12866         (llrint_tonearest_test_data): Remove.
12867         (llrint_test_tonearest): Likewise.
12868         (llrint_towardzero_test_data): Likewise.
12869         (llrint_test_towardzero): Likewise.
12870         (llrint_downward_test_data): Likewise.
12871         (llrint_test_downward): Likewise.
12872         (llrint_upward_test_data): Likewise.
12873         (llrint_test_upward): Likewise.
12874         (rint_test_data): Merge in per-rounding-mode tests and results
12875         from rint_tonearest_test_data, rint_towardzero_test_data,
12876         rint_downward_test_data and rint_upward_test_data.  Add
12877         per-rounding-mode results for tests not in those arrays.
12878         (rint_test): Use ALL_RM_TEST.
12879         (rint_tonearest_test_data): Remove.
12880         (rint_test_tonearest): Likewise.
12881         (rint_towardzero_test_data): Likewise.
12882         (rint_test_towardzero): Likewise.
12883         (rint_downward_test_data): Likewise.
12884         (rint_test_downward): Likewise.
12885         (rint_upward_test_data): Likewise.
12886         (rint_test_upward): Likewise.
12887         (main): Don't call removed functions.
12888
12889 2014-03-14  Roland McGrath  <roland@hack.frob.com>
12890
12891         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
12892         "Compiled on ..." crapola.  It is anti-useful.
12893
12894 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
12895
12896         * scripts/evaluate-test.sh: Handle fourth argument to determine
12897         whether test run should stop on failure.
12898         * Makeconfig (stop-on-test-failure): New variable.
12899         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
12900         $(stop-on-test-failure).
12901         * Makefile (tests): Give a summary of results from testing and
12902         exit with failure status if they include an ERROR or FAIL.
12903         (xtests): Likewise.
12904         * manual/install.texi (Configuring and compiling): Mention
12905         stop-on-test-failure=y.
12906         * INSTALL: Regenerated.
12907
12908 2014-03-14  Roland McGrath  <roland@hack.frob.com>
12909
12910         * scripts/versionlist.awk: New file.
12911         * Makerules [$(build-shared) = yes]
12912         (postclean-generated): Add Versions.def, not Versions.def.v and
12913         Versions.def.v.i.
12914         ($(common-objpfx)Versions.def.v.i): Target removed.
12915         ($(common-objpfx)Versions.def): New target.
12916         ($(common-objpfx)Versions.all): Depend on that rather that
12917         $(common-objpfx)Versions.def.v.
12918         * Versions.def: File removed.
12919
12920         * Makeconfig (+gccwarn): Add -Wundef.
12921         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
12922         a dl-sysdep.h breaking its contract.
12923         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
12924         * include/stackinfo.h: New file.
12925         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
12926         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
12927         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
12928         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
12929         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
12930         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
12931         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12932         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12933         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12934         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12935         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12936         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
12937         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12938         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12939         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
12940
12941 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
12942
12943         [BZ #16707]
12944         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
12945         implementation.
12946         * math/libm-test.inc (round_test_data): Add more tests.
12947
12948         [BZ #16706]
12949         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
12950         implementation.
12951         * math/libm-test.inc (nearbyint_test_data): Add more tests.
12952
12953         [BZ #16701]
12954         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
12955         implementation.
12956         * math/libm-test.inc (ceil_test_data): Add more tests.
12957
12958         * math/libm-test.inc (trunc_test_data): Add more tests related to
12959         BZ#16414.
12960
12961 2014-03-14  Roland McGrath  <roland@hack.frob.com>
12962
12963         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
12964         with #if rather than #ifdef.
12965         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
12966
12967 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
12968
12969         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
12970         first.  Disable AVX-512 GCC support if assembler doesn't support
12971         it.
12972         * sysdeps/x86_64/configure: Regenerated.
12973
12974 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
12975
12976         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
12977         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
12978         (__old_pthread_attr_setstack): Likewise.
12979         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
12980         [!_STACK_GROWS_DOWN]: Likewise.
12981
12982 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
12983
12984         * config.make.in (have-bash2): Delete.
12985         * configure.ac (libc_cv_have_bash2): Delete.
12986         * configure: Regenerate.
12987         * elf/Makefile (common-ldd-rewrite): Rename to ...
12988         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
12989         (sh-ldd-rewrite): Delete.
12990         (bash-ldd-rewrite): Delete.
12991         (have-bash2): Delete checks.
12992         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
12993         ldd-rewrite.
12994
12995         * config.make.in (have-ksh): Delete.
12996         (KSH): Delete.
12997         * configure.ac (libc_cv_have_ksh): Delete.
12998         * configure: Regenerate.
12999
13000         * elf/Makefile: Delete $(have-ksh) check.
13001         ($(objpfx)sotruss): Change KSH to BASH.
13002         * elf/sotruss.ksh: Rename to ...
13003         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
13004         function style to match POSIX.  Drop ksh vim mode setting.
13005
13006         * manual/time.texi (Specifying the Time Zone with TZ): Change
13007         Tuesday to Thursday.
13008
13009         * debug/tst-longjmp_chk2.c: Update header comment.
13010         (stackoverflow_handler): Add comment.  Call assert on pass value.
13011
13012 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
13013
13014         [BZ #16194]
13015         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
13016         (HAVE_AVX512_ASM_SUPPORT): Likewise.
13017         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
13018         (La_x86_64_vector): Add zmm.
13019         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
13020         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
13021         ($(objpfx)tst-audit10): New target.
13022         ($(objpfx)tst-audit10.out): Likewise.
13023         (tst-audit10-ENV): New.
13024         (AVX512-CFLAGS): Likewise.
13025         (CFLAGS-tst-audit10.c): Likewise.
13026         (CFLAGS-tst-auditmod10a.c): Likewise.
13027         (CFLAGS-tst-auditmod10b.c): Likewise.
13028         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
13029         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
13030         * sysdeps/x86_64/configure: Regenerated.
13031         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
13032         AVX-512 zmm register support.
13033         (_dl_x86_64_save_sse): Likewise.
13034         (_dl_x86_64_restore_sse): Likewise.
13035         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
13036         size vector registers.
13037         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
13038         (ZMM_SIZE): Likewise.
13039         * sysdeps/x86_64/tst-audit10.c: New file.
13040         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
13041         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
13042
13043 2014-03-13  Roland McGrath  <roland@hack.frob.com>
13044
13045         * configure.ac (HAVE_EHDR_START): New check.
13046         * configure: Regenerated.
13047         * config.h.in (HAVE_EHDR_START): New #undef.
13048         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
13049         assuming the lowest-addressed segment maps the start of the file.
13050
13051 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
13052
13053         * INSTALL: Regenerated.
13054
13055 2014-03-13  Will Newton  <will.newton@linaro.org>
13056
13057         * manual/setjmp.texi (System V contexts): Improve
13058         clarity and grammar of documentation.
13059
13060 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
13061
13062         [BZ #16381]
13063         * elf/Makefile (tests): Add tst-pie2.
13064         (tests-pie): Add tst-pie2.
13065         * elf/tst-pie2.c: New file.
13066         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
13067         for ET_EXEC.
13068         * elf/rtld.c (map_doit): Load executable as lt_executable.
13069         (dl_main): Likewise.
13070
13071 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
13072
13073         [BZ #16642]
13074         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13075         (__ASSUME_PSELECT): Undefine.
13076
13077 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13078
13079         [BZ #16689]
13080         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
13081         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
13082         static build.
13083         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
13084         selector for static builds.
13085
13086 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
13087
13088         [BZ #16695]
13089         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
13090         key in the buffer.
13091
13092 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13093
13094         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
13095         IFUNC selector for static builds.
13096
13097 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
13098
13099         * sysdeps/mips/math_private.h [__mips_hard_float]
13100         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
13101         libc_feresetround_mips_ctx.
13102         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
13103         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
13104         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
13105
13106         [BZ #16677]
13107         * math/s_nextafter.c (__nextafter): Do not return value from
13108         overflowing computation.
13109         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
13110         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
13111         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
13112         Likewise.
13113         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
13114         Likewise.
13115         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
13116         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
13117
13118 2014-03-11  Roland McGrath  <roland@hack.frob.com>
13119
13120         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
13121         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
13122         Move sfi_sp use from the load-multiple (that no longer sets sp) to
13123         the new mov targetting sp.
13124
13125 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13126
13127         [BZ #16683]
13128         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
13129         Define it for static builds as well.
13130         (NO_BZERO_IMPL): Likewise.
13131
13132 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13133
13134         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
13135         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
13136         multiarch strspn for PPC64.
13137         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
13138         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
13139         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13140         (__libc_ifunc_impl_list): Likewise.
13141         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
13142         multiarch optimizations
13143         * string/strspn.c (strspn): Using macro to redefine symbol name.
13144
13145 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
13146             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13147
13148         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
13149         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
13150         multiarch strncat for PPC64.
13151         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
13152         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
13153         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
13154         (__libc_ifunc_impl_list): Likewise.
13155         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
13156         multiarch optimizations
13157
13158 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13159
13160         [BZ #16639]
13161         * nscd/nscd.service: Make service type forking.
13162
13163 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
13164
13165         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
13166         sign in non default rounding modes.
13167         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
13168
13169 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
13170
13171         * math/libm-test.inc (ALL_RM_TEST): New macro.
13172         (ceil_test): Use ALL_RM_TEST.
13173         (cimag_test): Likewise.
13174         (conj_test): Likewise.
13175         (copysign_test): Likewise.
13176         (cproj_test): Likewise.
13177         (creal_test): Likewise.
13178         (fabs_test): Likewise.
13179         (floor_test): Likewise.
13180         (fmax_test): Likewise.
13181         (fmin_test): Likewise.
13182         (fmod_test): Likewise.
13183         (fpclassify_test): Likewise.
13184         (frexp_test): Likewise.
13185         (ilogb_test): Likewise.
13186         (isfinite_test): Likewise.
13187         (finite_test): Likewise.
13188         (isgreater_test): Likewise.
13189         (isgreaterequal_test): Likewise.
13190         (isinf_test): Likewise.
13191         (isless_test): Likewise.
13192         (islessequal_test): Likewise.
13193         (islessgreater_test): Likewise.
13194         (isnan_test): Likewise.
13195         (isnormal_test): Likewise.
13196         (issignaling_test): Likewise.
13197         (isunordered_test): Likewise.
13198         (logb_test): Likewise.
13199         (logb_downward_test_data): Remove.
13200         (logb_test_downward): Likewise.
13201         (lround_test): Use ALL_RM_TEST.
13202         (llround_test): Likewise.
13203         (modf_test): Likewise.
13204         (nexttoward_test): Likewise.
13205         (remainder_test): Likewise.
13206         (drem_test): Likewise.
13207         (remainder_tonearest_test_data): Likewise.
13208         (remainder_test_tonearest): Likewise.
13209         (drem_test_tonearest): Likewise.
13210         (remainder_towardzero_test_data): Likewise.
13211         (remainder_test_towardzero): Likewise.
13212         (drem_test_towardzero): Likewise.
13213         (remainder_downward_test_data): Likewise.
13214         (remainder_test_downward): Likewise.
13215         (drem_test_downward): Likewise.
13216         (remainder_upward_test_data): Likewise.
13217         (remainder_test_upward): Likewise.
13218         (drem_test_upward): Likewise.
13219         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
13220         (round_test): Use ALL_RM_TEST.
13221         (signbit_test): Likewise.
13222         (trunc_test): Likewise.
13223         (significand_test): Likewise.
13224         (main): Don't call removed functions.
13225
13226 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
13227
13228         [BZ #16674]
13229         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
13230         || __USE_XOPEN2K8].
13231         (ILL_ILLOPN): Likewise.
13232         (ILL_ILLADR): Likewise.
13233         (ILL_ILLTRP): Likewise.
13234         (ILL_PRVOPC): Likewise.
13235         (ILL_PRVREG): Likewise.
13236         (ILL_COPROC): Likewise.
13237         (ILL_BADSTK): Likewise.
13238         (FPE_INTDIV): Likewise.
13239         (FPE_INTOVF): Likewise.
13240         (FPE_FLTDIV): Likewise.
13241         (FPE_FLTOVF): Likewise.
13242         (FPE_FLTUND): Likewise.
13243         (FPE_FLTRES): Likewise.
13244         (FPE_FLTINV): Likewise.
13245         (FPE_FLTSUB): Likewise.
13246         (SEGV_MAPERR): Likewise.
13247         (SEGV_ACCERR): Likewise.
13248         (BUS_ADRALN): Likewise.
13249         (BUS_ADRERR): Likewise.
13250         (BUS_OBJERR): Likewise.
13251         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13252         (TRAP_TRACE): Likewise.
13253         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13254         __USE_XOPEN2K8].
13255         (CLD_KILLED): Likewise.
13256         (CLD_DUMPED): Likewise.
13257         (CLD_TRAPPED): Likewise.
13258         (CLD_STOPPED): Likewise.
13259         (CLD_CONTINUED): Likewise.
13260         (POLL_IN): Likewise.
13261         (POLL_OUT): Likewise.
13262         (POLL_MSG): Likewise.
13263         (POLL_ERR): Likewise.
13264         (POLL_PRI): Likewise.
13265         (POLL_HUP): Likewise.
13266         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
13267         Likewise.
13268         (ILL_ILLOPN): Likewise.
13269         (ILL_ILLADR): Likewise.
13270         (ILL_ILLTRP): Likewise.
13271         (ILL_PRVOPC): Likewise.
13272         (ILL_PRVREG): Likewise.
13273         (ILL_COPROC): Likewise.
13274         (ILL_BADSTK): Likewise.
13275         (FPE_INTDIV): Likewise.
13276         (FPE_INTOVF): Likewise.
13277         (FPE_FLTDIV): Likewise.
13278         (FPE_FLTOVF): Likewise.
13279         (FPE_FLTUND): Likewise.
13280         (FPE_FLTRES): Likewise.
13281         (FPE_FLTINV): Likewise.
13282         (FPE_FLTSUB): Likewise.
13283         (SEGV_MAPERR): Likewise.
13284         (SEGV_ACCERR): Likewise.
13285         (BUS_ADRALN): Likewise.
13286         (BUS_ADRERR): Likewise.
13287         (BUS_OBJERR): Likewise.
13288         (BUS_MCEERR_AR): Likewise.
13289         (BUS_MCEERR_AO): Likewise.
13290         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13291         (TRAP_TRACE): Likewise.
13292         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13293         __USE_XOPEN2K8].
13294         (CLD_KILLED): Likewise.
13295         (CLD_DUMPED): Likewise.
13296         (CLD_TRAPPED): Likewise.
13297         (CLD_STOPPED): Likewise.
13298         (CLD_CONTINUED): Likewise.
13299         (POLL_IN): Likewise.
13300         (POLL_OUT): Likewise.
13301         (POLL_MSG): Likewise.
13302         (POLL_ERR): Likewise.
13303         (POLL_PRI): Likewise.
13304         (POLL_HUP): Likewise.
13305         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
13306         (ILL_ILLOPN): Likewise.
13307         (ILL_ILLADR): Likewise.
13308         (ILL_ILLTRP): Likewise.
13309         (ILL_PRVOPC): Likewise.
13310         (ILL_PRVREG): Likewise.
13311         (ILL_COPROC): Likewise.
13312         (ILL_BADSTK): Likewise.
13313         (FPE_INTDIV): Likewise.
13314         (FPE_INTOVF): Likewise.
13315         (FPE_FLTDIV): Likewise.
13316         (FPE_FLTOVF): Likewise.
13317         (FPE_FLTUND): Likewise.
13318         (FPE_FLTRES): Likewise.
13319         (FPE_FLTINV): Likewise.
13320         (FPE_FLTSUB): Likewise.
13321         (SEGV_MAPERR): Likewise.
13322         (SEGV_ACCERR): Likewise.
13323         (BUS_ADRALN): Likewise.
13324         (BUS_ADRERR): Likewise.
13325         (BUS_OBJERR): Likewise.
13326         (BUS_MCEERR_AR): Likewise.
13327         (BUS_MCEERR_AO): Likewise.
13328         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13329         (TRAP_TRACE): Likewise.
13330         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13331         __USE_XOPEN2K8].
13332         (CLD_KILLED): Likewise.
13333         (CLD_DUMPED): Likewise.
13334         (CLD_TRAPPED): Likewise.
13335         (CLD_STOPPED): Likewise.
13336         (CLD_CONTINUED): Likewise.
13337         (POLL_IN): Likewise.
13338         (POLL_OUT): Likewise.
13339         (POLL_MSG): Likewise.
13340         (POLL_ERR): Likewise.
13341         (POLL_PRI): Likewise.
13342         (POLL_HUP): Likewise.
13343         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
13344         Likewise.
13345         (ILL_ILLOPN): Likewise.
13346         (ILL_ILLADR): Likewise.
13347         (ILL_ILLTRP): Likewise.
13348         (ILL_PRVOPC): Likewise.
13349         (ILL_PRVREG): Likewise.
13350         (ILL_COPROC): Likewise.
13351         (ILL_BADSTK): Likewise.
13352         (ILL_BADIADDR): Likewise.
13353         (ILL_BREAK): Likewise.
13354         (FPE_INTDIV): Likewise.
13355         (FPE_INTOVF): Likewise.
13356         (FPE_FLTDIV): Likewise.
13357         (FPE_FLTOVF): Likewise.
13358         (FPE_FLTUND): Likewise.
13359         (FPE_FLTRES): Likewise.
13360         (FPE_FLTINV): Likewise.
13361         (FPE_FLTSUB): Likewise.
13362         (FPE_DECOVF): Likewise.
13363         (FPE_DECDIV): Likewise.
13364         (FPE_DECERR): Likewise.
13365         (FPE_INVASC): Likewise.
13366         (FPE_INVDEC): Likewise.
13367         (SEGV_MAPERR): Likewise.
13368         (SEGV_ACCERR): Likewise.
13369         (SEGV_PSTKOVF): Likewise.
13370         (BUS_ADRALN): Likewise.
13371         (BUS_ADRERR): Likewise.
13372         (BUS_OBJERR): Likewise.
13373         (BUS_MCEERR_AR): Likewise.
13374         (BUS_MCEERR_AO): Likewise.
13375         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13376         (TRAP_TRACE): Likewise.
13377         (TRAP_BRANCH): Likewise.
13378         (TRAP_HWBKPT): Likewise.
13379         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13380         __USE_XOPEN2K8].
13381         (CLD_KILLED): Likewise.
13382         (CLD_DUMPED): Likewise.
13383         (CLD_TRAPPED): Likewise.
13384         (CLD_STOPPED): Likewise.
13385         (CLD_CONTINUED): Likewise.
13386         (POLL_IN): Likewise.
13387         (POLL_OUT): Likewise.
13388         (POLL_MSG): Likewise.
13389         (POLL_ERR): Likewise.
13390         (POLL_PRI): Likewise.
13391         (POLL_HUP): Likewise.
13392         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
13393         (ILL_ILLOPN): Likewise.
13394         (ILL_ILLADR): Likewise.
13395         (ILL_ILLTRP): Likewise.
13396         (ILL_PRVOPC): Likewise.
13397         (ILL_PRVREG): Likewise.
13398         (ILL_COPROC): Likewise.
13399         (ILL_BADSTK): Likewise.
13400         (FPE_INTDIV): Likewise.
13401         (FPE_INTOVF): Likewise.
13402         (FPE_FLTDIV): Likewise.
13403         (FPE_FLTOVF): Likewise.
13404         (FPE_FLTUND): Likewise.
13405         (FPE_FLTRES): Likewise.
13406         (FPE_FLTINV): Likewise.
13407         (FPE_FLTSUB): Likewise.
13408         (SEGV_MAPERR): Likewise.
13409         (SEGV_ACCERR): Likewise.
13410         (BUS_ADRALN): Likewise.
13411         (BUS_ADRERR): Likewise.
13412         (BUS_OBJERR): Likewise.
13413         (BUS_MCEERR_AR): Likewise.
13414         (BUS_MCEERR_AO): Likewise.
13415         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13416         (TRAP_TRACE): Likewise.
13417         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13418         __USE_XOPEN2K8].
13419         (CLD_KILLED): Likewise.
13420         (CLD_DUMPED): Likewise.
13421         (CLD_TRAPPED): Likewise.
13422         (CLD_STOPPED): Likewise.
13423         (CLD_CONTINUED): Likewise.
13424         (POLL_IN): Likewise.
13425         (POLL_OUT): Likewise.
13426         (POLL_MSG): Likewise.
13427         (POLL_ERR): Likewise.
13428         (POLL_PRI): Likewise.
13429         (POLL_HUP): Likewise.
13430         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
13431         (ILL_ILLOPN): Likewise.
13432         (ILL_ILLADR): Likewise.
13433         (ILL_ILLTRP): Likewise.
13434         (ILL_PRVOPC): Likewise.
13435         (ILL_PRVREG): Likewise.
13436         (ILL_COPROC): Likewise.
13437         (ILL_BADSTK): Likewise.
13438         (FPE_INTDIV): Likewise.
13439         (FPE_INTOVF): Likewise.
13440         (FPE_FLTDIV): Likewise.
13441         (FPE_FLTOVF): Likewise.
13442         (FPE_FLTUND): Likewise.
13443         (FPE_FLTRES): Likewise.
13444         (FPE_FLTINV): Likewise.
13445         (FPE_FLTSUB): Likewise.
13446         (SEGV_MAPERR): Likewise.
13447         (SEGV_ACCERR): Likewise.
13448         (BUS_ADRALN): Likewise.
13449         (BUS_ADRERR): Likewise.
13450         (BUS_OBJERR): Likewise.
13451         (BUS_MCEERR_AR): Likewise.
13452         (BUS_MCEERR_AO): Likewise.
13453         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13454         (TRAP_TRACE): Likewise.
13455         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13456         __USE_XOPEN2K8].
13457         (CLD_KILLED): Likewise.
13458         (CLD_DUMPED): Likewise.
13459         (CLD_TRAPPED): Likewise.
13460         (CLD_STOPPED): Likewise.
13461         (CLD_CONTINUED): Likewise.
13462         (POLL_IN): Likewise.
13463         (POLL_OUT): Likewise.
13464         (POLL_MSG): Likewise.
13465         (POLL_ERR): Likewise.
13466         (POLL_PRI): Likewise.
13467         (POLL_HUP): Likewise.
13468         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
13469         (ILL_ILLOPN): Likewise.
13470         (ILL_ILLADR): Likewise.
13471         (ILL_ILLTRP): Likewise.
13472         (ILL_PRVOPC): Likewise.
13473         (ILL_PRVREG): Likewise.
13474         (ILL_COPROC): Likewise.
13475         (ILL_BADSTK): Likewise.
13476         (FPE_INTDIV): Likewise.
13477         (FPE_INTOVF): Likewise.
13478         (FPE_FLTDIV): Likewise.
13479         (FPE_FLTOVF): Likewise.
13480         (FPE_FLTUND): Likewise.
13481         (FPE_FLTRES): Likewise.
13482         (FPE_FLTINV): Likewise.
13483         (FPE_FLTSUB): Likewise.
13484         (SEGV_MAPERR): Likewise.
13485         (SEGV_ACCERR): Likewise.
13486         (BUS_ADRALN): Likewise.
13487         (BUS_ADRERR): Likewise.
13488         (BUS_OBJERR): Likewise.
13489         (BUS_MCEERR_AR): Likewise.
13490         (BUS_MCEERR_AO): Likewise.
13491         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13492         (TRAP_TRACE): Likewise.
13493         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13494         __USE_XOPEN2K8].
13495         (CLD_KILLED): Likewise.
13496         (CLD_DUMPED): Likewise.
13497         (CLD_TRAPPED): Likewise.
13498         (CLD_STOPPED): Likewise.
13499         (CLD_CONTINUED): Likewise.
13500         (POLL_IN): Likewise.
13501         (POLL_OUT): Likewise.
13502         (POLL_MSG): Likewise.
13503         (POLL_ERR): Likewise.
13504         (POLL_PRI): Likewise.
13505         (POLL_HUP): Likewise.
13506         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
13507         (ILL_ILLOPN): Likewise.
13508         (ILL_ILLADR): Likewise.
13509         (ILL_ILLTRP): Likewise.
13510         (ILL_PRVOPC): Likewise.
13511         (ILL_PRVREG): Likewise.
13512         (ILL_COPROC): Likewise.
13513         (ILL_BADSTK): Likewise.
13514         (ILL_DBLFLT): Likewise.
13515         (ILL_HARDWALL): Likewise.
13516         (FPE_INTDIV): Likewise.
13517         (FPE_INTOVF): Likewise.
13518         (FPE_FLTDIV): Likewise.
13519         (FPE_FLTOVF): Likewise.
13520         (FPE_FLTUND): Likewise.
13521         (FPE_FLTRES): Likewise.
13522         (FPE_FLTINV): Likewise.
13523         (FPE_FLTSUB): Likewise.
13524         (SEGV_MAPERR): Likewise.
13525         (SEGV_ACCERR): Likewise.
13526         (BUS_ADRALN): Likewise.
13527         (BUS_ADRERR): Likewise.
13528         (BUS_OBJERR): Likewise.
13529         (BUS_MCEERR_AR): Likewise.
13530         (BUS_MCEERR_AO): Likewise.
13531         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13532         (TRAP_TRACE): Likewise.
13533         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13534         __USE_XOPEN2K8].
13535         (CLD_KILLED): Likewise.
13536         (CLD_DUMPED): Likewise.
13537         (CLD_TRAPPED): Likewise.
13538         (CLD_STOPPED): Likewise.
13539         (CLD_CONTINUED): Likewise.
13540         (POLL_IN): Likewise.
13541         (POLL_OUT): Likewise.
13542         (POLL_MSG): Likewise.
13543         (POLL_ERR): Likewise.
13544         (POLL_PRI): Likewise.
13545         (POLL_HUP): Likewise.
13546         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
13547         (ILL_ILLOPN): Likewise.
13548         (ILL_ILLADR): Likewise.
13549         (ILL_ILLTRP): Likewise.
13550         (ILL_PRVOPC): Likewise.
13551         (ILL_PRVREG): Likewise.
13552         (ILL_COPROC): Likewise.
13553         (ILL_BADSTK): Likewise.
13554         (FPE_INTDIV): Likewise.
13555         (FPE_INTOVF): Likewise.
13556         (FPE_FLTDIV): Likewise.
13557         (FPE_FLTOVF): Likewise.
13558         (FPE_FLTUND): Likewise.
13559         (FPE_FLTRES): Likewise.
13560         (FPE_FLTINV): Likewise.
13561         (FPE_FLTSUB): Likewise.
13562         (SEGV_MAPERR): Likewise.
13563         (SEGV_ACCERR): Likewise.
13564         (BUS_ADRALN): Likewise.
13565         (BUS_ADRERR): Likewise.
13566         (BUS_OBJERR): Likewise.
13567         (BUS_MCEERR_AR): Likewise.
13568         (BUS_MCEERR_AO): Likewise.
13569         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
13570         (TRAP_TRACE): Likewise.
13571         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
13572         __USE_XOPEN2K8].
13573         (CLD_KILLED): Likewise.
13574         (CLD_DUMPED): Likewise.
13575         (CLD_TRAPPED): Likewise.
13576         (CLD_STOPPED): Likewise.
13577         (CLD_CONTINUED): Likewise.
13578         (POLL_IN): Likewise.
13579         (POLL_OUT): Likewise.
13580         (POLL_MSG): Likewise.
13581         (POLL_ERR): Likewise.
13582         (POLL_PRI): Likewise.
13583         (POLL_HUP): Likewise.
13584         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
13585         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13586
13587         [BZ #16670]
13588         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
13589         before #include of <time.h>.
13590         [!__USE_XOPEN2K] (__need_timespec): Likewise.
13591         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
13592         (test-xfail-UNIX98/sched.h/conform): Likewise.
13593
13594 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
13595
13596         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
13597         error absence of trapping exception support.
13598         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
13599
13600 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
13601
13602         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
13603         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
13604         * timezone/Makefile (testdata): Move definition above include of
13605         Rules.
13606         (test-zones): New variable.
13607         (tests-special): Add zone files.
13608         (build-testdata): Use $(evaluate-test).
13609
13610         * elf/Makefile (tests-special): Rename tests to end with .out.
13611         ($(objpfx)noload-mem): Likewise.
13612         ($(objpfx)tst-leaks1-mem): Likewise.
13613         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
13614         * iconv/Makefile (xtests-special): Change test-iconvconfig to
13615         $(objpfx)test-iconvconfig.out.
13616         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
13617         set -e inside subshell and redirect output to file.
13618         * iconvdata/Makefile (generated): Rename tests to end with .out.
13619         Correct type.
13620         (tests-special): Rename tests to end with .out.
13621         ($(objpfx)mtrace-tst-loading): Likewise.
13622         * intl/Makefile (generated): Likewise.
13623         (tests-special): Likewise.
13624         ($(objpfx)mtrace-tst-gettext): Likewise.
13625         * misc/Makefile (generated): Likewise.
13626         (tests-special): Likewise.
13627         ($(objpfx)tst-error1-mem): Likewise.
13628         * nptl/Makefile (tests-special): Likewise.
13629         ($(objpfx)tst-stack3-mem): Likewise.
13630         (generated): Likewise.
13631         * posix/Makefile (generated): Likewise.
13632         (tests-special): Likewise.
13633         (xtests-special): Likewise.
13634         ($(objpfx)tst-fnmatch-mem): Likewise.
13635         ($(objpfx)bug-regex2-mem): Likewise.
13636         ($(objpfx)bug-regex14-mem): Likewise.
13637         ($(objpfx)bug-regex21-mem): Likewise.
13638         ($(objpfx)bug-regex31-mem): Likewise.
13639         ($(objpfx)tst-vfork3-mem): Likewise.
13640         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
13641         ($(objpfx)tst-pcre-mem): Likewise.
13642         ($(objpfx)tst-boost-mem): Likewise.
13643         ($(objpfx)bug-ga2-mem): Likewise.
13644         ($(objpfx)bug-glob2-mem): Likewise.
13645         * resolv/Makefile (generate): Likewise.
13646         (tests-special): Likewise.
13647         (xtests-special): Likewise.
13648         (generated): Likewise.
13649         ($(objpfx)mtrace-tst-leaks): Likewise.
13650         ($(objpfx)mtrace-tst-leaks2): Likewise.
13651
13652         * scripts/merge-test-results.sh: New file.
13653         * Makefile (tests-special-notdir): New variable.
13654         (tests): Run merge-test-results.sh.
13655         (xtests): Likewise.
13656         * Rules (tests-special-notdir): New variable.
13657         (xtests-special-notdir): Likewise.
13658         (tests): Run merge-test-results.sh
13659         (xtests): Likewise.
13660
13661         * Makeconfig (test-xfail-name): New variable.
13662         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
13663         compute variable name for expected failures.
13664         * conform/Makefile (conformtest-headers-data): New variable.
13665         (conformtest-standards): Likewise.
13666         (conformtest-headers-ISO): Likewise.
13667         (conformtest-headers-ISO99): Likewise.
13668         (conformtest-headers-ISO11): Likewise.
13669         (conformtest-headers-POSIX): Likewise.
13670         (conformtest-headers-XPG3): Likewise.
13671         (conformtest-headers-XPG4): Likewise.
13672         (conformtest-headers-UNIX98): Likewise.
13673         (conformtest-headers-XOPEN2K): Likewise.
13674         (conformtest-headers-POSIX2008): Likewise.
13675         (conformtest-headers-XOPEN2K8): Likewise.
13676         (conformtest-header-list-base): Likewise.
13677         (conformtest-header-list-tests): Likewise.
13678         (conformtest-header-base): Likewise.
13679         (conformtest-header-tests): Likewise.
13680         (tests-special): Add $(conformtest-header-list-tests).  If
13681         [$(fast-check) && !$(cross-compiling)], add
13682         $(conformtest-header-tests) instead of
13683         $(objpfx)run-conformtest.out.
13684         (generated): Add $(conformtest-header-list-base).  If
13685         [$(fast-check) && !$(cross-compiling)], add
13686         $(conformtest-header-base).  Remove previous setting.
13687         ($(conformtest-header-list-tests)): New target.
13688         (test-xfail-run-conformtest): Remove variable.
13689         ($(objpfx)run-conformtest.out): Remove target.
13690         (test-xfail-ISO11/complex.h/conform): New variable.
13691         (test-xfail-ISO11/stdalign.h/conform): Likewise.
13692         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
13693         (test-xfail-XPG3/varargs.h/conform): Likewise.
13694         (test-xfail-XPG4/varargs.h/conform): Likewise.
13695         (test-xfail-UNIX98/varargs.h/conform): Likewise.
13696         (test-xfail-XPG4/ndbm.h/conform): Likewise.
13697         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
13698         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
13699         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
13700         (test-xfail-XPG3/fcntl.h/conform): Likewise.
13701         (test-xfail-XPG3/ftw.h/conform): Likewise.
13702         (test-xfail-XPG3/grp.h/conform): Likewise.
13703         (test-xfail-XPG3/langinfo.h/conform): Likewise.
13704         (test-xfail-XPG3/limits.h/conform): Likewise.
13705         (test-xfail-XPG3/pwd.h/conform): Likewise.
13706         (test-xfail-XPG3/search.h/conform): Likewise.
13707         (test-xfail-XPG3/signal.h/conform): Likewise.
13708         (test-xfail-XPG3/stdio.h/conform): Likewise.
13709         (test-xfail-XPG3/stdlib.h/conform): Likewise.
13710         (test-xfail-XPG3/string.h/conform): Likewise.
13711         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
13712         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
13713         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
13714         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
13715         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
13716         (test-xfail-XPG3/sys/types.h/conform): Likewise.
13717         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
13718         (test-xfail-XPG3/termios.h/conform): Likewise.
13719         (test-xfail-XPG3/time.h/conform): Likewise.
13720         (test-xfail-XPG3/unistd.h/conform): Likewise.
13721         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
13722         (test-xfail-XPG4/fcntl.h/conform): Likewise.
13723         (test-xfail-XPG4/langinfo.h/conform): Likewise.
13724         (test-xfail-XPG4/netdb.h/conform): Likewise.
13725         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
13726         (test-xfail-XPG4/signal.h/conform): Likewise.
13727         (test-xfail-XPG4/stdio.h/conform): Likewise.
13728         (test-xfail-XPG4/stdlib.h/conform): Likewise.
13729         (test-xfail-XPG4/stropts.h/conform): Likewise.
13730         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
13731         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
13732         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
13733         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
13734         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
13735         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
13736         (test-xfail-XPG4/sys/time.h/conform): Likewise.
13737         (test-xfail-XPG4/sys/types.h/conform): Likewise.
13738         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
13739         (test-xfail-XPG4/termios.h/conform): Likewise.
13740         (test-xfail-XPG4/ucontext.h/conform): Likewise.
13741         (test-xfail-XPG4/unistd.h/conform): Likewise.
13742         (test-xfail-XPG4/utmpx.h/conform): Likewise.
13743         (test-xfail-POSIX/sched.h/conform): Likewise.
13744         (test-xfail-POSIX/signal.h/conform): Likewise.
13745         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
13746         (test-xfail-POSIX/tar.h/conform): Likewise.
13747         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
13748         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
13749         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
13750         (test-xfail-UNIX98/netdb.h/conform): Likewise.
13751         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
13752         (test-xfail-UNIX98/sched.h/conform): Likewise.
13753         (test-xfail-UNIX98/signal.h/conform): Likewise.
13754         (test-xfail-UNIX98/stdio.h/conform): Likewise.
13755         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
13756         (test-xfail-UNIX98/stropts.h/conform): Likewise.
13757         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
13758         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
13759         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
13760         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
13761         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
13762         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
13763         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
13764         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
13765         (test-xfail-UNIX98/unistd.h/conform): Likewise.
13766         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
13767         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
13768         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
13769         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
13770         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
13771         (test-xfail-XOPEN2K/math.h/conform): Likewise.
13772         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
13773         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
13774         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
13775         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
13776         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
13777         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
13778         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
13779         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
13780         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
13781         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
13782         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
13783         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
13784         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
13785         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
13786         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
13787         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
13788         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
13789         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
13790         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
13791         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
13792         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
13793         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
13794         (test-xfail-POSIX2008/signal.h/conform): Likewise.
13795         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
13796         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
13797         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
13798         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
13799         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
13800         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
13801         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
13802         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
13803         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
13804         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
13805         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
13806         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
13807         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
13808         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
13809         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
13810         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
13811         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
13812         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
13813         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
13814         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
13815         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
13816         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
13817         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
13818         (conformtest-cc-flags): Likewise.
13819         ($(conformtest-header-tests): New target.
13820         * conform/check-header-lists.sh: New file.
13821         * conform/run-conformtest.sh: Remove.
13822
13823         * conform/conformtest.pl: Allow ' and \ in values given for
13824         constants.
13825         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
13826         inclusion.
13827         [POSIX] (sys/types.h): Likewise.
13828         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
13829         inclusion.
13830         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
13831         inclusion.
13832         * conform/data/signal.h-data (SIGIO): Remove expectation.
13833         [XPG3] (SIGBUS): Do not expect.
13834         [POSIX || XPG3] (SIGPOLL): Likewise.
13835         [POSIX || XPG3] (SIGPROF): Likewise.
13836         [POSIX || XPG3] (SIGSYS): Likewise.
13837         [XPG3] (SIGTRAP): Likewise.
13838         [POSIX || XPG3] (SIGURG): Likewise.
13839         [POSIX || XPG3] (SIGVTALRM): Likewise.
13840         [POSIX || XPG3] (SIGXCPU): Likewise.
13841         [POSIX || XPG3] (SIGXFSZ): Likewise.
13842         [POSIX] (SA_SIGINFO): Expect.
13843         [XPG3] (siginfo_t): Do not expect type or contents.
13844         [POSIX] (si_pid): Do not expect element.
13845         [POSIX] (si_uid): Likewise.
13846         [POSIX] (si_addr): Likewise.
13847         [POSIX] (si_status): Likewise.
13848         [POSIX] (si_band): Likewise.
13849         [XPG4] (si_value): Likewise.
13850         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
13851         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
13852         [POSIX || XPG3] (ILL_ILLADR): Likewise.
13853         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
13854         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
13855         [POSIX || XPG3] (ILL_PRVREG): Likewise.
13856         [POSIX || XPG3] (ILL_COPROC): Likewise.
13857         [POSIX || XPG3] (ILL_BADSTK): Likewise.
13858         [POSIX || XPG3] (FPE_INTDIV): Likewise.
13859         [POSIX || XPG3] (FPE_INTOVF): Likewise.
13860         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
13861         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
13862         [POSIX || XPG3] (FPE_FLTUND): Likewise.
13863         [POSIX || XPG3] (FPE_FLTRES): Likewise.
13864         [POSIX || XPG3] (FPE_FLTINV): Likewise.
13865         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
13866         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
13867         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
13868         [POSIX || XPG3] (BUS_ADRALN): Likewise.
13869         [POSIX || XPG3] (BUS_ADRERR): Likewise.
13870         [POSIX || XPG3] (BUS_OBJERR): Likewise.
13871         [POSIX || XPG3] (CLD_EXITED): Likewise.
13872         [POSIX || XPG3] (CLD_KILLED): Likewise.
13873         [POSIX || XPG3] (CLD_DUMPED): Likewise.
13874         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
13875         [POSIX || XPG3] (CLD_STOPPED): Likewise.
13876         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
13877         [POSIX || XPG3] (POLL_IN): Likewise.
13878         [POSIX || XPG3] (POLL_OUT): Likewise.
13879         [POSIX || XPG3] (POLL_MSG): Likewise.
13880         [POSIX || XPG3] (POLL_ERR): Likewise.
13881         [POSIX || XPG3] (POLL_PRI): Likewise.
13882         [POSIX || XPG3] (POLL_HUP): Likewise.
13883         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
13884         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
13885         (SIG*): Do not allow.
13886         [XPG3] (si_*): Likewise.
13887         [XPG3] (SI_*): Likewise.
13888         [XPG3 || XPG4] (sigev_*): Likewise.
13889         [XPG3 || XPG4] (SIGEV_*): Likewise.
13890         [XPG3 || XPG4] (sival_*): Likewise.
13891         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
13892         [POSIX || XPG3] (BUS_*): Likewise.
13893         [POSIX || XPG3] (CLD_*): Likewise.
13894         [POSIX || XPG3] (FPE_*): Likewise.
13895         [POSIX || XPG3] (ILL_*): Likewise.
13896         [POSIX || XPG3] (POLL_*): Likewise.
13897         [POSIX || XPG3] (SEGV_*): Likewise.
13898         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
13899         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
13900         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
13901         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
13902         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
13903         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
13904         Specify type and value.
13905         (TVERSLEN): Likewise.
13906         (REGTYPE): Likewise.
13907         (AREGTYPE): Likewise.
13908         (LNKTYPE): Likewise.
13909         (SYMTYPE): Likewise.
13910         (CHRTYPE): Likewise.
13911         (BLKTYPE): Likewise.
13912         (DIRTYPE): Likewise.
13913         (FIFOTYPE): Likewise.
13914         (CONTTYPE): Likewise.
13915         (TSUID): Likewise.
13916         (TSGID): Likewise.
13917         (TSVTX): Likewise.
13918         (TUREAD): Likewise.
13919         (TUWRITE): Likewise.
13920         (TUEXEC): Likewise.
13921         (TGREAD): Likewise.
13922         (TGWRITE): Likewise.
13923         (TGEXEC): Likewise.
13924         (TOREAD): Likewise.
13925         (TOWRITE): Likewise.
13926         (TOEXEC): Likewise.
13927         [POSIX] (TSVTX): Expect constant.
13928
13929 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
13930
13931         * Makefile (tests): Change dependencies to ....
13932         (tests-special): ... additions to this variable.
13933         (tests): Depend on $(tests-special).
13934         * Makerules (check-abi-list): New variable.
13935         (check-abi): Depend on $(check-abi-list).
13936         [$(subdir) = elf] (tests-special): Add
13937         $(objpfx)check-abi-libc.out.
13938         [$(build-shared) = yes && subdir] (tests-special): Add
13939         $(check-abi-list).
13940         [$(build-shared) = yes && subdir] (tests): Do not depend on
13941         check-abi.
13942         * Rules (tests): Depend on $(tests-special).
13943         (xtests): Depend on $(xtests-special).
13944         * catgets/Makefile (tests): Change dependencies to ....
13945         (tests-special): ... additions to this variable.
13946         * conform/Makefile (tests): Change dependencies to ....
13947         (tests-special): ... additions to this variable.
13948         * elf/Makefile (tests): Change dependencies to ....
13949         (tests-special): ... additions to this variable.
13950         * grp/Makefile (tests): Change dependencies to ....
13951         (tests-special): ... additions to this variable.
13952         * iconv/Makefile (xtests): Change dependencies to ....
13953         (xtests-special): ... additions to this variable.
13954         * iconvdata/Makefile (tests): Change dependencies to ....
13955         (tests-special): ... additions to this variable.
13956         * intl/Makefile (tests): Change dependencies to ....
13957         (tests-special): ... additions to this variable.  Also add
13958         $(objpfx)tst-gettext.out.
13959         * io/Makefile (tests): Change dependencies to ....
13960         (tests-special): ... additions to this variable.
13961         * libio/Makefile (tests): Change dependencies to ....
13962         (tests-special): ... additions to this variable.
13963         * malloc/Makefile (tests): Change dependencies to ....
13964         (tests-special): ... additions to this variable.
13965         * misc/Makefile (tests): Change dependencies to ....
13966         (tests-special): ... additions to this variable.
13967         * nptl/Makefile (tests): Change dependencies to ....
13968         (tests-special): ... additions to this variable.
13969         * nptl_db/Makefile (tests): Change dependencies to ....
13970         (tests-special): ... additions to this variable.
13971         * posix/Makefile (tests): Change dependencies to ....
13972         (tests-special): ... additions to this variable.
13973         (xtests): Change dependencies to ....
13974         (xtests-special): ... additions to this variable.
13975         * resolv/Makefile (tests): Change dependencies to ....
13976         (tests-special): ... additions to this variable.
13977         (xtests): Change dependencies to ....
13978         (xtests-special): ... additions to this variable.
13979         * stdio-common/Makefile (tests): Change dependencies to ....
13980         (tests-special): ... additions to this variable.
13981         (do-tst-unbputc): Remove target.
13982         (do-tst-printf): Likewise.
13983         * stdlib/Makefile (tests): Change dependencies to ....
13984         (tests-special): ... additions to this variable.
13985         * string/Makefile (tests): Change dependencies to ....
13986         (tests-special): ... additions to this variable.
13987         * sysdeps/x86/Makefile (tests): Change dependencies to ....
13988         (tests-special): ... additions to this variable.
13989
13990         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
13991         whole file.
13992         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
13993         whole file.
13994         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
13995         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
13996
13997         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
13998         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
13999         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
14000         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
14001         * conform/data/libgen.h-data [XPG3]: Likewise.
14002         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
14003         * conform/data/ndbm.h-data [XPG3]: Likewise.
14004         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14005         * conform/data/netdb.h-data [XPG3]: Likewise.
14006         * conform/data/netinet/in.h-data [XPG3]: Likewise.
14007         * conform/data/poll.h-data [XPG3]: Likewise.
14008         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
14009         * conform/data/strings.h-data [XPG3]: Likewise.
14010         * conform/data/stropts.h-data [XPG3]: Likewise.
14011         * conform/data/sys/mman.h-data [XPG3]: Likewise.
14012         * conform/data/sys/resource.h-data [XPG3]: Likewise.
14013         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
14014         Likewise.
14015         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
14016         * conform/data/sys/time.h-data [XPG3]: Likewise.
14017         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
14018         * conform/data/sys/uio.h-data [XPG3]: Likewise.
14019         * conform/data/sys/un.h-data [XPG3]: Likewise.
14020         * conform/data/syslog.h-data [XPG3]: Likewise.
14021         * conform/data/ucontext.h-data [XPG3]: Likewise.
14022         * conform/data/utmpx.h-data [XPG3]: Likewise.
14023         * conform/data/varargs.h-data [UNIX98]: Enable file.
14024
14025         * manual/Makefile (INSTALL_INFO): Remove variable setting.
14026
14027         * math/libm-test.inc (struct test_f_f_data): Move expected results
14028         into structure for each rounding mode.
14029         (struct test_ff_f_data): Likewise.
14030         (struct test_ff_f_data_nexttoward): Likewise.
14031         (struct test_fi_f_data): Likewise.
14032         (struct test_fl_f_data): Likewise.
14033         (struct test_if_f_data): Likewise.
14034         (struct test_fff_f_data): Likewise.
14035         (struct test_c_f_data): Likewise.
14036         (struct test_f_f1_data): Likewise.
14037         (struct test_fF_f1_data): Likewise.
14038         (struct test_ffI_f1_data): Likewise.
14039         (struct test_c_c_data): Likewise.
14040         (struct test_cc_c_data): Likewise.
14041         (struct test_f_i_data): Likewise.
14042         (struct test_ff_i_data): Likewise.
14043         (struct test_f_l_data): Likewise.
14044         (struct test_f_L_data): Likewise.
14045         (struct test_fFF_11_data): Likewise.
14046         (RM_): New macro.
14047         (RM_FE_DOWNWARD): Likewise.
14048         (RM_FE_TONEAREST): Likewise.
14049         (RM_FE_TOWARDZERO): Likewise.
14050         (RM_FE_UPWARD): Likewise.
14051         (RUN_TEST_LOOP_f_f): Update references to expected results.
14052         (RUN_TEST_LOOP_2_f): Likewise.
14053         (RUN_TEST_LOOP_fff_f): Likewise.
14054         (RUN_TEST_LOOP_c_f): Likewise.
14055         (RUN_TEST_LOOP_f_f1): Likewise.
14056         (RUN_TEST_LOOP_fF_f1): Likewise.
14057         (RUN_TEST_LOOP_fI_f1): Likewise.
14058         (RUN_TEST_LOOP_ffI_f1): Likewise.
14059         (RUN_TEST_LOOP_c_c): Likewise.
14060         (RUN_TEST_LOOP_cc_c): Likewise.
14061         (RUN_TEST_LOOP_f_i): Likewise.
14062         (RUN_TEST_LOOP_f_i_tg): Likewise.
14063         (RUN_TEST_LOOP_ff_i_tg): Likewise.
14064         (RUN_TEST_LOOP_f_b): Likewise.
14065         (RUN_TEST_LOOP_f_b_tg): Likewise.
14066         (RUN_TEST_LOOP_f_l): Likewise.
14067         (RUN_TEST_LOOP_f_L): Likewise.
14068         (RUN_TEST_LOOP_fFF_11): Likewise.
14069         * math/gen-libm-test.pl (parse_args): Output four copies of
14070         expected results for each test.
14071
14072         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14073         (__ASSUME_UTIMES): Remove.
14074         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14075         (__ASSUME_UTIMES): Likewise.
14076
14077         * math/gen-auto-libm-tests.c: Update comment on output format.
14078         (output_for_one_input_case): Generate before-rounding and
14079         after-rounding information as conditions on output flags not
14080         floating-point format.
14081         * math/auto-libm-test-out: Regenerated.
14082         * math/gen-libm-test.pl (cond_value): New function.
14083         (or_cond_value): Use cond_value.
14084         (generate_testfile): Handle conditional exceptions.
14085
14086 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
14087
14088         * math/libm-test.inc (max_valid_error): New variable.
14089         (init_max_error): Take new argument specifying whether function
14090         results are exactly determined.  Set max_valid_error and bound
14091         other variables for errors based on this argument.
14092         (set_max_error): Do not record results above max_valid_error.
14093         (check_float_internal): Only accept errors of up to 0.5ulps if
14094         also at most max_valid_error.
14095         (START): Take new argument EXACT and pass it to init_max_error.
14096         (acos_test): Update call to START.
14097         (acos_test_tonearest): Likewise.
14098         (acos_test_towardzero): Likewise.
14099         (acos_test_downward): Likewise.
14100         (acos_test_upward): Likewise.
14101         (acosh_test): Likewise.
14102         (asin_test): Likewise.
14103         (asin_test_tonearest): Likewise.
14104         (asin_test_towardzero): Likewise.
14105         (asin_test_downward): Likewise.
14106         (asin_test_upward): Likewise.
14107         (asinh_test): Likewise.
14108         (atan_test): Likewise.
14109         (atanh_test): Likewise.
14110         (atan2_test): Likewise.
14111         (cabs_test): Likewise.
14112         (cacos_test): Likewise.
14113         (cacosh_test): Likewise.
14114         (carg_test): Likewise.
14115         (casin_test): Likewise.
14116         (casinh_test): Likewise.
14117         (catan_test): Likewise.
14118         (catanh_test): Likewise.
14119         (cbrt_test): Likewise.
14120         (ccos_test): Likewise.
14121         (ccosh_test): Likewise.
14122         (ceil_test): Likewise.
14123         (cexp_test): Likewise.
14124         (cimag_test): Likewise.
14125         (clog_test): Likewise.
14126         (clog10_test): Likewise.
14127         (conj_test): Likewise.
14128         (copysign_test): Likewise.
14129         (cos_test): Likewise.
14130         (cos_test_tonearest): Likewise.
14131         (cos_test_towardzero): Likewise.
14132         (cos_test_downward): Likewise.
14133         (cos_test_upward): Likewise.
14134         (cosh_test): Likewise.
14135         (cosh_test_tonearest): Likewise.
14136         (cosh_test_towardzero): Likewise.
14137         (cosh_test_downward): Likewise.
14138         (cosh_test_upward): Likewise.
14139         (cpow_test): Likewise.
14140         (cproj_test): Likewise.
14141         (creal_test): Likewise.
14142         (csin_test): Likewise.
14143         (csinh_test): Likewise.
14144         (csqrt_test): Likewise.
14145         (ctan_test): Likewise.
14146         (ctan_test_tonearest): Likewise.
14147         (ctan_test_towardzero): Likewise.
14148         (ctan_test_downward): Likewise.
14149         (ctan_test_upward): Likewise.
14150         (ctanh_test): Likewise.
14151         (ctanh_test_tonearest): Likewise.
14152         (ctanh_test_towardzero): Likewise.
14153         (ctanh_test_downward): Likewise.
14154         (ctanh_test_upward): Likewise.
14155         (erf_test): Likewise.
14156         (erfc_test): Likewise.
14157         (exp_test): Likewise.
14158         (exp_test_tonearest): Likewise.
14159         (exp_test_towardzero): Likewise.
14160         (exp_test_downward): Likewise.
14161         (exp_test_upward): Likewise.
14162         (exp10_test): Likewise.
14163         (exp10_test_tonearest): Likewise.
14164         (exp10_test_towardzero): Likewise.
14165         (exp10_test_downward): Likewise.
14166         (exp10_test_upward): Likewise.
14167         (pow10_test): Likewise.
14168         (exp2_test): Likewise.
14169         (expm1_test): Likewise.
14170         (expm1_test_tonearest): Likewise.
14171         (expm1_test_towardzero): Likewise.
14172         (expm1_test_downward): Likewise.
14173         (expm1_test_upward): Likewise.
14174         (fabs_test): Likewise.
14175         (fdim_test): Likewise.
14176         (floor_test): Likewise.
14177         (fma_test): Likewise.
14178         (fma_test_towardzero): Likewise.
14179         (fma_test_downward): Likewise.
14180         (fma_test_upward): Likewise.
14181         (fmax_test): Likewise.
14182         (fmin_test): Likewise.
14183         (fmod_test): Likewise.
14184         (fpclassify_test): Likewise.
14185         (frexp_test): Likewise.
14186         (hypot_test): Likewise.
14187         (ilogb_test): Likewise.
14188         (isfinite_test): Likewise.
14189         (finite_test): Likewise.
14190         (isgreater_test): Likewise.
14191         (isgreaterequal_test): Likewise.
14192         (isinf_test): Likewise.
14193         (isless_test): Likewise.
14194         (islessequal_test): Likewise.
14195         (islessgreater_test): Likewise.
14196         (isnan_test): Likewise.
14197         (isnormal_test): Likewise.
14198         (issignaling_test): Likewise.
14199         (isunordered_test): Likewise.
14200         (j0_test): Likewise.
14201         (j1_test): Likewise.
14202         (jn_test): Likewise.
14203         (ldexp_test): Likewise.
14204         (lgamma_test): Likewise.
14205         (gamma_test): Likewise.
14206         (lrint_test): Likewise.
14207         (lrint_test_tonearest): Likewise.
14208         (lrint_test_towardzero): Likewise.
14209         (lrint_test_downward): Likewise.
14210         (lrint_test_upward): Likewise.
14211         (llrint_test): Likewise.
14212         (llrint_test_tonearest): Likewise.
14213         (llrint_test_towardzero): Likewise.
14214         (llrint_test_downward): Likewise.
14215         (llrint_test_upward): Likewise.
14216         (log_test): Likewise.
14217         (log10_test): Likewise.
14218         (log1p_test): Likewise.
14219         (log2_test): Likewise.
14220         (logb_test): Likewise.
14221         (logb_test_downward): Likewise.
14222         (lround_test): Likewise.
14223         (llround_test): Likewise.
14224         (modf_test): Likewise.
14225         (nearbyint_test): Likewise.
14226         (nextafter_test): Likewise.
14227         (nexttoward_test): Likewise.
14228         (pow_test): Likewise.
14229         (pow_test_tonearest): Likewise.
14230         (pow_test_towardzero): Likewise.
14231         (pow_test_downward): Likewise.
14232         (pow_test_upward): Likewise.
14233         (remainder_test): Likewise.
14234         (drem_test): Likewise.
14235         (remainder_test_tonearest): Likewise.
14236         (drem_test_tonearest): Likewise.
14237         (remainder_test_towardzero): Likewise.
14238         (drem_test_towardzero): Likewise.
14239         (remainder_test_downward): Likewise.
14240         (drem_test_downward): Likewise.
14241         (remainder_test_upward): Likewise.
14242         (drem_test_upward): Likewise.
14243         (remquo_test): Likewise.
14244         (rint_test): Likewise.
14245         (rint_test_tonearest): Likewise.
14246         (rint_test_towardzero): Likewise.
14247         (rint_test_downward): Likewise.
14248         (rint_test_upward): Likewise.
14249         (round_test): Likewise.
14250         (scalb_test): Likewise.
14251         (scalbn_test): Likewise.
14252         (scalbln_test): Likewise.
14253         (signbit_test): Likewise.
14254         (sin_test): Likewise.
14255         (sin_test_tonearest): Likewise.
14256         (sin_test_towardzero): Likewise.
14257         (sin_test_downward): Likewise.
14258         (sin_test_upward): Likewise.
14259         (sincos_test): Likewise.
14260         (sinh_test): Likewise.
14261         (sinh_test_tonearest): Likewise.
14262         (sinh_test_towardzero): Likewise.
14263         (sinh_test_downward): Likewise.
14264         (sinh_test_upward): Likewise.
14265         (sqrt_test): Likewise.
14266         (sqrt_test_tonearest): Likewise.
14267         (sqrt_test_towardzero): Likewise.
14268         (sqrt_test_downward): Likewise.
14269         (sqrt_test_upward): Likewise.
14270         (tan_test): Likewise.
14271         (tan_test_tonearest): Likewise.
14272         (tan_test_towardzero): Likewise.
14273         (tan_test_downward): Likewise.
14274         (tan_test_upward): Likewise.
14275         (tanh_test): Likewise.
14276         (tgamma_test): Likewise.
14277         (trunc_test): Likewise.
14278         (y0_test): Likewise.
14279         (y1_test): Likewise.
14280         (yn_test): Likewise.
14281         (significand_test): Likewise.
14282
14283         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
14284         individual tests in comment.
14285         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
14286         (prev_max_error): New variable.
14287         (prev_real_max_error): Likewise.
14288         (prev_imag_max_error): Likewise.
14289         (compare_ulp_data): Don't refer to test names in comment.
14290         (find_test_ulps): Remove function.
14291         (find_function_ulps): Likewise.
14292         (find_complex_function_ulps): Likewise.
14293         (init_max_error): Take function name as argument.  Look up ulps
14294         for that function.
14295         (print_ulps): Remove function.
14296         (print_max_error): Use prev_max_error instead of calling
14297         find_function_ulps.
14298         (print_complex_max_error): Use prev_real_max_error and
14299         prev_imag_max_error instead of calling find_complex_function_ulps.
14300         (check_float_internal): Take max_ulp parameter instead of calling
14301         find_test_ulps.  Don't call print_ulps.
14302         (check_float): Update call to check_float_internal.
14303         (check_complex): Update calls to check_float_internal.
14304         (START): Pass argument to init_max_error.
14305         * math/gen-libm-test.pl (%results): Don't include "kind"
14306         information.
14307         (parse_ulps): Don't handle ulps of individual tests.
14308         (print_ulps_file): Likewise.
14309         (output_ulps): Likewise.
14310         * math/README.libm-test: Update.
14311         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
14312         individual tests.
14313         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
14314         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
14315         * sysdeps/arm/libm-test-ulps: Likewise.
14316         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
14317         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
14318         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
14319         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
14320         * sysdeps/microblaze/libm-test-ulps: Likewise.
14321         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14322         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14323         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
14324         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14325         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
14326         * sysdeps/sh/libm-test-ulps: Likewise.
14327         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
14328         * sysdeps/tile/libm-test-ulps: Likewise.
14329         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14330
14331 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
14332
14333         * math/libm-test.inc (print_complex_max_error): Check separately
14334         whether real and imaginary errors are within allowed range and
14335         pass 0 to print_complex_function_ulps instead of value within
14336         allowed range.
14337
14338 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
14339
14340         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
14341         formatting.
14342         (get_handles_fopen): Likewise.
14343         (do_write_test): Likewise.
14344
14345         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
14346
14347         * libio/fileops.c (do_ftell): Use cached offset when
14348         available.
14349         * libio/iofwide.c (do_ftell_wide): Likewise.
14350         * libio/iofdopen.c (_IO_new_fdopen): Don't use
14351         _IO_file_attach.
14352         * libio/wfileops.c (_IO_fwide): Don't cache offset.
14353
14354         [BZ #16532]
14355         * libio/libioP.h (get_file_offset): New function.
14356         * libio/fileops.c (get_file_offset): Likewise.
14357         (do_ftell): Likewise.
14358         (_IO_new_file_seekoff): Split out ftell logic.
14359         * libio/wfileops.c (do_ftell_wide): Likewise.
14360         (_IO_wfile_seekoff): Split out ftell logic.
14361         * libio/tst-ftell-active-handler.c: New test case.
14362         * libio/Makefile (tests): Add it.
14363
14364 2014-03-03  Roland McGrath  <roland@hack.frob.com>
14365
14366         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
14367         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
14368
14369 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
14370
14371         [BZ #16639]
14372         * nscd/connections.c (nscd_init): Call do_exit.
14373         (start_threads): Call do_exit and notify_parent.
14374         (begin_drop_privileges): Call do_exit.
14375         (finish_drop_privileges): Likewise.
14376         * nscd/selinux.c (preserve_capabilities): Likewise.
14377         (install_real_capabilities): Likewise.
14378         (nscd_selinux_enabled): Likewise.
14379         (avc_create_thread): Likewise.
14380         (avc_alloc_lock): Likewise.
14381         (nscd_avc_init): Likewise.
14382         * nscd/nscd.c (parent_fd): New static variable.
14383         (main): Create a pipe between parent and child processes.
14384         Skip closing parent_fd.
14385         (monitor_child): New function.
14386         (do_exit): Likewise.
14387         (notify_parent): Likewise.
14388         * nscd/nscd.h (notify_parent): Likewise.
14389         (do_exit): Likewise.
14390
14391 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
14392
14393         * malloc/malloc.c (__libc_calloc): Revert last change.
14394
14395 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14396
14397         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14398
14399 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14400
14401         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
14402         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
14403         implementation.
14404         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
14405         (__libc_ifunc_impl_list): Likewise.
14406         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
14407         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
14408         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
14409         * string/strrchr.c: Define STRRCHR.
14410
14411 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
14412
14413         * benchtest/bench-strtok.c (simple_strtok): Delete.
14414         (strtok_string): Use as benchmark.
14415         * string/strtok (STRTOK): New macro.
14416
14417 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
14418
14419         * manual/threads.texi: Add header and standard comments to all
14420         functions.
14421
14422         * elf/dl-lookup.c (check_match): New function.
14423         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
14424         (do_lookup_x): Remove nested function check_match. Use non-nested
14425         function check_match.
14426
14427 2014-02-28  Roland McGrath  <roland@hack.frob.com>
14428
14429         * csu/Makefile (generated, before-compile): Use += rather than =.
14430         * catgets/Makefile (generated, generated-dirs): Likewise.
14431         * debug/Makefile (generated): Likewise.
14432         * dlfcn/Makefile (generated): Likewise.
14433         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
14434         * iconvdata/Makefile (before-compile, generated): Likewise.
14435         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
14436         * libio/Makefile (generated): Likewise.
14437         * malloc/Makefile (generated): Likewise.
14438         * manual/Makefile (generated, generated-dirs): Likewise.
14439         * misc/Makefile (generated): Likewise.
14440         * posix/Makefile (generated): Likewise.
14441         * resolv/Makefile (generated): Likewise.
14442         * sunrpc/Makefile (generated, generated-dirs): Likewise.
14443         * timezone/Makefile (generated, generated-dirs): Likewise.
14444
14445         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
14446
14447 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14448
14449         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
14450         power8 implementation.
14451         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
14452         file: POWER8 llround ifunc implementation.
14453         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
14454         (__lllround): Add POWER8 implementation.
14455         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
14456         POWER8 llround implementation.
14457
14458         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
14459         power8 implementation.
14460         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
14461         file: POWER8 llrint ifunc implementation.
14462         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
14463         Add POWER8 implementation.
14464         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
14465         POWER8 llrint implementation.
14466
14467         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
14468         power8 implementation.
14469         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
14470         file: POWER8 finite ifunc implementation.
14471         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
14472         Add POWER8 implementation.
14473         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
14474         Likewise.
14475         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
14476         POWER8 finite implementation.
14477         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
14478
14479         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
14480         power8 implementation.
14481         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
14482         file: POWER8 isinf ifunc implementation.
14483         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
14484         POWER8 implementation.
14485         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
14486         Likewise.
14487         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
14488         isinf implementation.
14489         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
14490
14491         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
14492         (INIT_ARCH): Add hwcap2 initialization.
14493         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
14494         power8 implementation.
14495         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
14496         file: POWER8 isnan ifunc implementation.
14497         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
14498         POWER8 implementation.
14499         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
14500         Likewise.
14501         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
14502         isnan implementation.
14503         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
14504
14505 2014-02-27  Joey Ye  <joey.ye@arm.com>
14506
14507         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
14508         (_FP_NANFRAC_Q): Set to zero.
14509
14510 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14511
14512         [BZ #16623]
14513         * math/auto-libm-test-in: New test inputs.
14514         * math/auto-libm-test-out: Regenerate.
14515         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
14516         and DA.
14517         (__cos): Likewise.
14518         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
14519
14520 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
14521
14522         * scripts/evaluate-test.sh: Take new argument indicating whether
14523         failure is expected.
14524         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
14525         indicating whether failure is expected.
14526         * conform/Makefile (test-xfail-run-conformtest): New variable.
14527         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
14528         level.
14529         * posix/Makefile (test-xfail-annexc): New variable.
14530         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
14531
14532 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
14533
14534         * argp/Makefile: Include Makeconfig immediately after defining
14535         subdir.
14536         * assert/Makefile: Likewise.
14537         * benchtests/Makefile: Likewise.
14538         * catgets/Makefile: Likewise.
14539         * conform/Makefile: Likewise.
14540         * crypt/Makefile: Likewise.
14541         * csu/Makefile: Likewise.
14542         (all): Remove target.
14543         * ctype/Makefile: Include Makeconfig immediately after defining
14544         subdir.
14545         * debug/Makefile: Likewise.
14546         * dirent/Makefile: Likewise.
14547         * dlfcn/Makefile: Likewise.
14548         * gmon/Makefile: Likewise.
14549         * gnulib/Makefile: Likewise.
14550         * grp/Makefile: Likewise.
14551         * gshadow/Makefile: Likewise.
14552         * hesiod/Makefile: Likewise.
14553         * hurd/Makefile: Likewise.
14554         (all): Remove target.
14555         * iconvdata/Makefile: Include Makeconfig immediately after
14556         defining subdir.
14557         * inet/Makefile: Likewise.
14558         * intl/Makefile: Likewise.
14559         * io/Makefile: Likewise.
14560         * libio/Makefile: Likewise.
14561         (all): Remove target.
14562         * locale/Makefile: Include Makeconfig immediately after defining
14563         subdir.
14564         * login/Makefile: Likewise.
14565         * mach/Makefile: Likewise.
14566         (all): Remove target.
14567         * malloc/Makefile: Include Makeconfig immediately after defining
14568         subdir.
14569         (all): Remove target.
14570         * manual/Makefile: Include Makeconfig immediately after defining
14571         subdir.
14572         * math/Makefile: Likewise.
14573         * misc/Makefile: Likewise.
14574         * nis/Makefile: Likewise.
14575         * nss/Makefile: Likewise.
14576         * po/Makefile: Likewise.
14577         (all): Remove target.
14578         * posix/Makefile: Include Makeconfig immediately after defining
14579         subdir.
14580         * pwd/Makefile: Likewise.
14581         * resolv/Makefile: Likewise.
14582         * resource/Makefile: Likewise.
14583         * rt/Makefile: Likewise.
14584         * setjmp/Makefile: Likewise.
14585         * shadow/Makefile: Likewise.
14586         * signal/Makefile: Likewise.
14587         * socket/Makefile: Likewise.
14588         * soft-fp/Makefile: Likewise.
14589         * stdio-common/Makefile: Likewise.
14590         * stdlib/Makefile: Likewise.
14591         * streams/Makefile: Likewise.
14592         * string/Makefile: Likewise.
14593         * sunrpc/Makefile: Likewise.
14594         (all): Remove target.
14595         * sysvipc/Makefile: Include Makeconfig immediately after defining
14596         subdir.
14597         * termios/Makefile: Likewise.
14598         * time/Makefile: Likewise.
14599         * timezone/Makefile: Likewise.
14600         (all): Remove target.
14601         * wcsmbs/Makefile: Include Makeconfig immediately after defining
14602         subdir.
14603         * wctype/Makefile: Likewise.
14604
14605 2014-02-26  Steve Ellcey  <sellcey@mips.com>
14606
14607         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
14608         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
14609         (libc_feholdexcept_setround_mips): Ditto.
14610         (libc_feholdsetround): New.
14611         (libc_feholdsetroundf): New.
14612         (libc_feholdsetroundl): New.
14613         (libc_feupdateenv_test_mips): New.
14614         (libc_feupdateenv_test): New.
14615         (libc_feupdateenv_testf): New.
14616         (libc_feupdateenv_testl): New.
14617         (libc_feresetround): New.
14618         (libc_feresetroundf): New.
14619         (libc_feresetroundl): New.
14620         (libc_fetestexcept_mips): New.
14621         (libc_fetestexcept): New.
14622         (libc_fetestexceptf): New.
14623         (libc_fetestexceptl): New.
14624         (HAVE_RM_CTX): New.
14625         (libc_feholdexcept_setround_mips_ctx): New.
14626         (libc_feholdexcept_setround_ctx): New.
14627         (libc_feholdexcept_setroundf_ctx): New.
14628         (libc_feholdexcept_setroundl_ctx): New.
14629         (libc_fesetenv_mips_ctx): New.
14630         (libc_fesetenv_ctx): New.
14631         (libc_fesetenv_ctxf): New.
14632         (libc_fesetenv_ctxl): New.
14633         (libc_feupdateenv_mips_ctx): New.
14634         (libc_feupdateenv_ctx): New.
14635         (libc_feupdateenvf_ctx): New.
14636         (libc_feupdateenvl_ctx): New.
14637         (libc_feholdsetround_mips_ctx): New.
14638         (libc_feholdsetround_ctx): New.
14639         (libc_feholdsetroundf_ctx): New.
14640         (libc_feholdsetroundl_ctx): New.
14641         (libc_feresetround_mips_ctx): New.
14642         (libc_feresetround_ctx): New.
14643         (libc_feresetroundf_ctx): New.
14644         (libc_feresetroundl_ctx): New.
14645
14646 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
14647
14648         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
14649
14650         * manual/ipc.texi: New file.
14651         * manual/Makefile (chapters): Add ipc.
14652         * manual/job.texi: Add "Inter-Process Communication" to next.
14653         * manual/process.texi: Add "Inter-Process Communication" to prev.
14654
14655 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
14656
14657         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14658
14659 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
14660
14661         * malloc/malloc.c (__libc_calloc): Simplify implementation.
14662
14663         * manual/arith.texi: Fix spaces after sentences.
14664         * manual/charset.texi: Likewise.
14665         * manual/errno.texi: Likewise.
14666         * manual/install.texi: Likewise.
14667         * manual/llio.texi: Likewise.
14668         * manual/locale.texi: Likewise.
14669         * manual/maint.texi: Likewise.
14670         * manual/math.texi: Likewise.
14671         * manual/memory.texi: Likewise.
14672         * manual/message.texi: Likewise.
14673         * manual/probes.texi: Likewise.
14674         * manual/resource.texi: Likewise.
14675         * manual/signal.texi: Likewise.
14676         * manual/socket.texi: Likewise.
14677         * manual/stdio.texi: Likewise.
14678         * manual/string.texi: Likewise.
14679         * manual/time.texi: Likewise.
14680         * manual/users.texi: Likewise.
14681
14682 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
14683
14684         [BZ #16632]
14685         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
14686         _DEFAULT_SOURCE is defined.
14687
14688 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
14689             Carlos O'Donell  <carlos@redhat.com>
14690
14691         [BZ #16613]
14692         * elf/dl-tls.c (_dl_count_modids): New function.
14693         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
14694         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
14695         audit library and increment generation counter.
14696         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
14697         * elf/tst-audit9.c: New file.
14698         * elf/tst-auditmod9a.c: New file.
14699         * elf/tst-auditmod9b.c: New file.
14700         * elf/Makefile: Add rules to build and run tst-audit9.
14701
14702 2014-02-25  Florian Weimer  <fweimer@redhat.com>
14703
14704         [BZ #15347]
14705         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
14706
14707 2014-02-25  Will Newton  <will.newton@linaro.org>
14708
14709         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
14710         (__longjmp): Restore sp and lr before restoring callee
14711         saved registers.  Add longjmp and longjmp_target
14712         SystemTap probe point.
14713         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
14714         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
14715         Define to zero to match jmpbuf layout.
14716         * sysdeps/arm/setjmp.S: Include stap-probe.h.
14717         (__sigsetjmp): Save sp and lr before saving callee
14718         saved registers.  Add setjmp SystemTap probe point.
14719
14720 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
14721
14722         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
14723
14724 2014-02-24  Andreas Schwab  <schwab@suse.de>
14725
14726         [BZ #15804]
14727         * elf/pldd.c (wait_for_ptrace_stop): New function.
14728         (main): Call it after attaching.
14729
14730 2014-02-22  Roland McGrath  <roland@hack.frob.com>
14731
14732         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
14733         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
14734         Versions files is now verboten.
14735         * hurd/Versions (libc: GLIBC_2.0):
14736         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
14737         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
14738         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
14739         * mach/Versions: Likewise.
14740
14741         * csu/Versions: Remove unused %include.
14742         * resolv/Versions: Likewise.
14743
14744 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
14745
14746         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
14747         ($(objpfx)check-local-headers.out): Likewise.
14748         ($(objpfx)begin-end-check.out): Likewise.
14749         * Makerules (check-abi-%.out): Likewise.
14750         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
14751         ($(objpfx)test2.cat): Likewise.
14752         ($(objpfx)de/libc.cat): Likewise.
14753         ($(objpfx)test-gencat.out): Likewise.
14754         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
14755         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
14756         ($(objpfx)noload-mem): Likewise.
14757         ($(objpfx)tst-pathopt.out): Likewise.
14758         ($(objpfx)tst-rtld-load-self.out): Likewise.
14759         ($(objpfx)tst-array1-cmp.out): Likewise.
14760         ($(objpfx)tst-array1-static-cmp.out): Likewise.
14761         ($(objpfx)tst-array2-cmp.out): Likewise.
14762         ($(objpfx)tst-array3-cmp.out): Likewise.
14763         ($(objpfx)tst-array4-cmp.out): Likewise.
14764         ($(objpfx)tst-array5-cmp.out): Likewise.
14765         ($(objpfx)tst-array5-static-cmp.out): Likewise.
14766         ($(objpfx)check-textrel.out): Likewise.
14767         ($(objpfx)check-execstack.out): Likewise.
14768         ($(objpfx)check-localplt.out): Likewise.
14769         ($(objpfx)order2-cmp.out): Likewise.
14770         ($(objpfx)tst-leaks1-mem): Likewise.
14771         ($(objpfx)tst-leaks1-static-mem): Likewise.
14772         ($(objpfx)tst-initorder-cmp.out): Likewise.
14773         ($(objpfx)tst-initorder2-cmp.out): Likewise.
14774         ($(objpfx)tst-unused-dep.out): Likewise.
14775         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
14776         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
14777         * iconv/Makefile (test-iconvconfig): Likewise.
14778         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
14779         ($(objpfx)iconv-test.out): Likewise.
14780         ($(objpfx)tst-tables.out): Likewise.
14781         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
14782         ($(objpfx)tst-gettext.out): Likewise.
14783         ($(objpfx)tst-translit.out): Likewise.
14784         ($(objpfx)tst-gettext2.out): Likewise.
14785         ($(objpfx)tst-gettext4.out): Likewise.
14786         ($(objpfx)tst-gettext6.out): Likewise.
14787         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
14788         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
14789         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
14790         ($(objpfx)tst-fopenloc-mem.out): Likewise.
14791         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
14792         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
14793         * posix/Makefile ($(objpfx)globtest.out): Likewise.
14794         ($(objpfx)wordexp-tst.out): Likewise.
14795         ($(objpfx)annexc.out): Likewise.
14796         ($(objpfx)tst-fnmatch-mem): Likewise.
14797         ($(objpfx)bug-regex2-mem): Likewise.
14798         ($(objpfx)bug-regex14-mem): Likewise.
14799         ($(objpfx)bug-regex21-mem): Likewise.
14800         ($(objpfx)bug-regex31-mem): Likewise.
14801         ($(objpfx)tst-vfork3-mem): Likewise.
14802         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
14803         ($(objpfx)tst-pcre-mem): Likewise.
14804         ($(objpfx)tst-boost-mem): Likewise.
14805         ($(objpfx)tst-getconf.out): Likewise.
14806         ($(objpfx)bug-ga2-mem): Likewise.
14807         ($(objpfx)bug-glob2-mem): Likewise.
14808         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
14809         ($(objpfx)mtrace-tst-leaks2): Likewise.
14810         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
14811         ($(objpfx)tst-printf.out): Likewise.
14812         ($(objpfx)tst-setvbuf1.out): Likewise.
14813         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
14814         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
14815         ($(objpfx)tst-fmtmsg.out): Likewise.
14816         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
14817         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
14818
14819         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
14820         * bits/sigaction.h [__USE_MISC]: Likewise.
14821         * bits/waitstatus.h: Update #endif comments.
14822         * ctype/ctype.h: Likewise.
14823         * dirent/dirent.h: Likewise.
14824         [__USE_MISC]: Remove redundant conditionals.
14825         * grp/grp.h: Update #endif comments.
14826         [__USE_GNU]: Remove redundant conditionals.
14827         [__USE_MISC]: Likewise.
14828         * inet/netinet/in.h [__USE_GNU]: Likewise.
14829         * io/sys/stat.h [__USE_MISC]: Likewise.
14830         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
14831         * libio/bits/stdio.h: Update #endif comments.
14832         [__USE_MISC]: Remove redundant conditionals.
14833         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
14834         * libio/stdio.h: Update #endif comments.
14835         [__USE_MISC]: Remove redundant conditionals.
14836         * math/bits/math-finite.h [__USE_MISC]: Likewise.
14837         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
14838         * math/math.h: Update #else and #endif comments.
14839         [__USE_MISC]: Remove redundant conditionals.
14840         * misc/sys/uio.h: Update #endif comments.
14841         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
14842         * posix/glob.h [__USE_MISC]: Likewise.
14843         * posix/sys/types.h: Update #endif comments.
14844         [__USE_MISC]: Remove redundant conditionals.
14845         * posix/sys/wait.h: Update #endif comments.
14846         [__USE_MISC]: Remove redundant conditionals.
14847         * posix/unistd.h: Update #endif comments.
14848         [__USE_MISC]: Remove redundant conditionals.
14849         * pwd/pwd.h [__USE_GNU]: Likewise.
14850         [__USE_MISC]: Likewise.
14851         * resolv/netdb.h [__USE_GNU]: Likewise.
14852         * signal/signal.h: Update #endif comments.
14853         [__USE_MISC]: Remove redundant conditionals.
14854         * stdlib/stdlib.h: Update #else and #endif comments.
14855         [__USE_MISC]: Remove redundant conditionals.
14856         [__USE_GNU]: Likewise.
14857         * string/bits/string2.h [__USE_MISC]: Likewise.
14858         * string/string.h: Update #endif comments.
14859         [__USE_MISC]: Remove redundant conditionals.
14860         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
14861         Likewise.
14862         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
14863         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
14864         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
14865         Likewise.
14866         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
14867         Likewise.
14868         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
14869         comments.
14870         [__USE_MISC]: Remove redundant conditionals.
14871         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
14872         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
14873         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
14874         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
14875         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
14876         Likewise.
14877         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
14878         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
14879         Likewise.
14880         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
14881         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
14882         Likewise.
14883         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
14884         Likewise.
14885         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
14886         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
14887         Likewise.
14888         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
14889         Likewise.
14890         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
14891         * sysdeps/x86/bits/string.h: Update #endif comments.
14892         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
14893         conditionals.
14894         * time/sys/time.h: Update #endif comments.
14895         * time/time.h: Likewise.
14896         [__USE_MISC]: Remove redundant conditionals.
14897
14898 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
14899
14900         [BZ #16600]
14901         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
14902
14903 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
14904
14905         * Versions.def (librt): Add GLIBC_2.17.
14906
14907 2014-02-21  Adam Conrad  <adconrad@0c3.net>
14908
14909         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
14910         synonym for _SYS_AUXV_H to allow direct inclusion.
14911         * sysdeps/sparc/bits/hwcap.h: Likewise.
14912         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
14913         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
14914         * sysdeps/sparc/sysdep.h: Likewise.
14915
14916 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
14917
14918         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
14919
14920 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
14921
14922         * benchtests/bench-strrchr.c: Print length instead of position.
14923
14924 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
14925
14926         [BZ #16611]
14927         * sysdeps/unix/sysv/linux/kernel-features.h
14928         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
14929         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
14930         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
14931         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
14932         Likewise.
14933         [__i386__ || __powerpc__ || __sh__ || __sparc__]
14934         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14935         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
14936         (__ASSUME_SENDMMSG): Define instead of using previous
14937         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
14938         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14939         (__ASSUME_SENDMMSG_SYSCALL): Define.
14940         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14941         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
14942         Likewise.
14943         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14944         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14945         Likewise.
14946         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14947         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14948         Likewise.
14949         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
14950         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14951         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14952         [__ASSUME_SENDMMSG]: Change conditionals to
14953         [__ASSUME_SENDMMSG_SOCKETCALL].
14954         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14955         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
14956         Define.
14957         * sysdeps/unix/sysv/linux/mips/kernel-features.h
14958         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
14959         Likewise.
14960         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
14961         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
14962         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
14963         [!__ASSUME_SENDMMSG]: Change conditional to
14964         [!__ASSUME_SENDMMSG_SOCKETCALL].
14965         * sysdeps/unix/sysv/linux/tile/kernel-features.h
14966         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
14967         Define.
14968
14969         [BZ #16610]
14970         * sysdeps/unix/sysv/linux/kernel-features.h
14971         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
14972         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
14973         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
14974         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
14975         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
14976         [__i386__ || __sparc__]
14977         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
14978         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
14979         (__ASSUME_RECVMMSG): Define instead of using previous
14980         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
14981         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
14982         (__ASSUME_RECVMMSG_SYSCALL): Define.
14983         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
14984         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14985         Likewise.
14986         * sysdeps/unix/sysv/linux/arm/kernel-features.h
14987         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14988         Likewise.
14989         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
14990         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14991         Likewise.
14992         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
14993         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
14994         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
14995         [__ASSUME_RECVMMSG]: Change condition to
14996         [__ASSUME_RECVMMSG_SOCKETCALL].
14997         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
14998         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
14999         Define.
15000         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
15001         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15002         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
15003         Likewise.
15004         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
15005         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
15006         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
15007         [!__ASSUME_RECVMMSG]: Change condition to
15008         [!__ASSUME_RECVMMSG_SOCKETCALL].
15009         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15010         (__ASSUME_RECVMMSG_SYSCALL): Define.
15011
15012         [BZ #16609]
15013         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
15014         __powerpc__ || __s390__ || __sh__ || __sparc__]
15015         (__ASSUME_SOCKETCALL): Define.
15016         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
15017         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
15018         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
15019         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
15020         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
15021         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
15022         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
15023         (__ASSUME_ACCEPT4): Define instead of using previous
15024         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
15025         __powerpc__ || __sparc__ || __s390__)] condition.
15026         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
15027         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15028         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
15029         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15030         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15031         [!__ASSUME_ACCEPT4]: Change condition to
15032         [!__ASSUME_ACCEPT4_SOCKETCALL].
15033         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
15034         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
15035         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
15036         * sysdeps/unix/sysv/linux/arm/kernel-features.h
15037         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
15038         __ASSUME_ACCEPT4_SYSCALL.
15039         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
15040         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
15041         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
15042         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
15043         __ASSUME_ACCEPT4_SYSCALL.
15044         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
15045         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
15046         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
15047         [__ASSUME_ACCEPT4]: Change condition to
15048         [__ASSUME_ACCEPT4_SOCKETCALL].
15049         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15050         (__ASSUME_SOCKETCALL): Define.
15051         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
15052         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15053         (__ASSUME_SOCKETCALL): Define.
15054         (__ASSUME_ACCEPT4): Remove.
15055         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
15056         Define.
15057         * sysdeps/unix/sysv/linux/mips/kernel-features.h
15058         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
15059         Likewise.
15060         * sysdeps/unix/sysv/linux/tile/kernel-features.h
15061         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
15062
15063         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
15064         macro.
15065         (HWCAP_ARM_LPAE): Likewise.
15066         (HWCAP_ARM_EVTSTRM): Likewise.
15067         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
15068         Add vpfd32, lpae and evtstrm.
15069         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
15070         Increase to 22.
15071
15072 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
15073
15074         * math/auto-libm-test-in: Add tests of clog10.
15075         * math/auto-libm-test-out: Regenerated.
15076         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
15077         * sysdeps/i386/fpu/libm-test-ulps: Update.
15078         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15079
15080 2014-02-18  Andreas Schwab  <schwab@suse.de>
15081
15082         [BZ #16574]
15083         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
15084         Store non-zero if the second buffer was newly allocated.
15085         (send_dg): Likewise.
15086         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
15087         to send_vc and send_dg.
15088         (res_nsend): Pass NULL for ansp2_malloced.
15089         * resolv/res_query.c (__libc_res_nquery): Add parameter
15090         answerp2_malloced and pass it down to __libc_res_nsend.
15091         (res_nquery): Pass additional NULL to __libc_res_nquery.
15092         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
15093         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
15094         second answer buffer if answerp2_malloced was set.
15095         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
15096         (__libc_res_nquerydomain): Add parameter
15097         answerp2_malloced and pass it down to __libc_res_nquery.
15098         (res_nquerydomain): Pass additional NULL to
15099         __libc_res_nquerydomain.
15100         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
15101         additional NULL to __libc_res_nsend and __libc_res_nquery.
15102         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
15103         additional NULL to __libc_res_nsearch.
15104         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
15105         parameter of __libc_res_nsearch to check for separately allocated
15106         second buffer.
15107         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
15108         __libc_res_nquery.
15109         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
15110         additional NULL to __libc_res_nquery.
15111         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
15112         __libc_res_nsearch.
15113         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
15114         * include/resolv.h: Update prototypes of __libc_res_nquery,
15115         __libc_res_nsearch, __libc_res_nsend.
15116
15117 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
15118
15119         * math/auto-libm-test-in: Add tests of fma.
15120         * math/auto-libm-test-out: Regenerated.
15121         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
15122         (fma_towardzero_test_data): Likewise.
15123         (fma_downward_test_data): Likewise.
15124         (fma_upward_test_data): Likewise.
15125         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
15126         mpc_mode.
15127         (rounding_modes): Add values for new field.
15128         (func_calc_method): Add value mpfr_fff_f.
15129         (func_calc_desc): Add mpfr_fff_f union field.
15130         (test_function): Add field exact_args.
15131         (FUNC): Add macro argument EXACT_ARGS.
15132         (FUNC_mpfr_f_f): Update call to FUNC.
15133         (FUNC_mpfr_f_f): Likewise.
15134         (FUNC_mpfr_ff_f): Likewise.
15135         (FUNC_mpfr_if_f): Likewise.
15136         (FUNC_mpc_c_f): Likewise.
15137         (FUNC_mpc_c_c): Likewise.
15138         (test_functions): Add fma.  Update calls to FUNC.
15139         (handle_input_arg): Add argument exact_args.
15140         (add_test): Update call to handle_input_arg.
15141         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
15142         (output_for_one_input_case): Update call to calc_generic_results.
15143         Recalculate exact zero results in each rounding mode.
15144
15145         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
15146         non-negative before setting low bit.
15147         * math/auto-libm-test-in: Mark one asin test possibly having
15148         spurious underflow.
15149         * math/auto-libm-test-out: Regenerated.
15150         * sysdeps/i386/fpu/libm-test-ulps: Update.
15151         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
15152
15153 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
15154
15155         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
15156         * sysdeps/unix/sysv/linux/microblaze: Move directory from
15157         ports/sysdeps/unix/sysv/linux/microblaze.
15158         * README: Add missing listing for microblaze*-*-linux-gnu.
15159
15160 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
15161
15162         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
15163         duplicate code
15164
15165 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
15166
15167         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
15168         * sysdeps/unix/sysv/linux/ia64: Move directory from
15169         ports/sysdeps/unix/sysv/linux/ia64.
15170         * README: Update listing for ia64-*-linux-gnu.
15171
15172 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
15173             Joseph Myers  <joseph@codesourcery.com>
15174
15175         * Makeconfig (test-name): New variable.
15176         (evaluate-test): Likewise.
15177         * Makerules (do-test-clean): Remove .test-result files.
15178         (common-mostlyclean): Likewise.
15179         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
15180         * scripts/evaluate-test.sh: New file.
15181
15182 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
15183
15184         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
15185         separate $(objpfx)tst-fopenloc-cmp.out and
15186         $(objpfx)tst-fopenloc-mem.out targets.
15187         (tests): Update dependencies.
15188         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
15189         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
15190         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
15191         (tst-rxspencer-no-utf8-ARGS): New variable.
15192         (tst-rxspencer-no-utf8-ENV): Likewise.
15193         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
15194         instead of $(objpfx)tst-rxspencer-mem.
15195         ($(objpfx)tst-rxspencer-mem): Change target to
15196         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
15197         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
15198         * posix/tst-rxspencer-no-utf8.c: New file.
15199
15200         * elf/Makefile ($(objpfx)order.out): Remove rule.
15201         [$(run-built-tests) = yes] (tests): Depend on
15202         $(objpfx)order-cmp.out.
15203         ($(objpfx)order-cmp.out): New rule.
15204         [$(run-built-tests) = yes] (tests): Depend on
15205         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
15206         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
15207         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
15208         $(objpfx)tst-array5-static-cmp.out.
15209         ($(objpfx)tst-array1.out): Remove rule.
15210         ($(objpfx)tst-array1-cmp.out): New rule.
15211         ($(objpfx)tst-array1-static.out): Remove rule.
15212         ($(objpfx)tst-array1-static-cmp.out): New rule.
15213         ($(objpfx)tst-array2.out): Remove rule.
15214         ($(objpfx)tst-array2-cmp.out): New rule.
15215         ($(objpfx)tst-array3.out): Remove rule.
15216         ($(objpfx)tst-array3-cmp.out): New rule.
15217         ($(objpfx)tst-array4.out): Remove rule.
15218         ($(objpfx)tst-array4-cmp.out): New rule.
15219         ($(objpfx)tst-array5.out): Remove rule.
15220         ($(objpfx)tst-array5-cmp.out): New rule.
15221         ($(objpfx)tst-array5-static.out): Remove rule.
15222         ($(objpfx)tst-array5-static-cmp.out): New rule.
15223         [$(run-built-tests) = yes] (tests): Depend on
15224         $(objpfx)order2-cmp.out.
15225         ($(objpfx)order2.out): Remove rule.
15226         ($(objpfx)order2-cmp.out): New rule.
15227         ($(objpfx)tst-initorder.out): Remove rule.
15228         [$(run-built-tests) = yes] (tests): Depend on
15229         $(objpfx)tst-initorder-cmp.out.
15230         ($(objpfx)tst-initorder-cmp.out): New rule.
15231         ($(objpfx)tst-initorder2.out): Remove rule.
15232         [$(run-built-tests) = yes] (tests): Depend on
15233         $(objpfx)tst-initorder2-cmp.out.
15234         ($(objpfx)tst-initorder2-cmp.out): New rule.
15235         [$(run-built-tests) = yes] (tests): Depend on
15236         $(objpfx)tst-unused-dep-cmp.out.
15237         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
15238         ($(objpfx)tst-unused-dep-cmp.out): New rule.
15239         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
15240         on $(objpfx)tst-setvbuf1-cmp.out.
15241         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
15242         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
15243         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
15244         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
15245         ($(objpfx)tst-svc.out): Remove rule.
15246         ($(objpfx)tst-svc-cmp.out): New rule.
15247
15248 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
15249
15250         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
15251         * ctype/ctype.h [__USE_MISC]: Likewise.
15252         * dirent/dirent.h [__USE_MISC]: Likewise.
15253         * grp/grp.h [__USE_MISC]: Likewise.
15254         * io/fcntl.h [__USE_MISC]: Likewise.
15255         * io/sys/stat.h [__USE_MISC]: Likewise.
15256         * libio/stdio.h [__USE_MISC]: Likewise.
15257         * posix/unistd.h [__USE_MISC]: Likewise.
15258         * pwd/pwd.h [__USE_MISC]: Likewise.
15259         * stdlib.h [__USE_MISC]: Likewise.
15260         * string/bits/string2.h [__USE_MISC]: Likewise.
15261         * string/string.h [__USE_MISC]: Likewise.
15262         * time/time.h [__USE_MISC]: Likewise.
15263
15264 2014-02-13  Andreas Schwab  <schwab@suse.de>
15265
15266         [BZ #16574]
15267         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
15268         second answer buffer if it was separately allocated.
15269
15270 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
15271
15272         * sysdeps/mips/math-tests.h: Include <features.h>.
15273         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15274         (ROUNDING_TESTS_long_double): Do not define.
15275         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
15276         (EXCEPTION_TESTS_long_double): Likewise.
15277         * sysdeps/mips/mips64/libm-test-ulps: Update.
15278
15279         * include/features.h (__USE_BSD): Remove macro definitions.
15280         (__USE_SVID): Likewise.
15281         (_BSD_SOURCE): Likewise.
15282         (_SVID_SOURCE): Likewise.
15283         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
15284         from definition of _DEFAULT_SOURCE.
15285         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
15286         [_DEFAULT_SOURCE].
15287         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
15288         * bits/mman.h [__USE_BSD]: Likewise.
15289         * bits/termios.h [__USE_BSD]: Likewise.
15290         * bits/waitstatus.h [__USE_BSD]: Likewise.
15291         * ctype/ctype.h [__USE_SVID]: Likewise.
15292         * dirent/dirent.h [__USE_BSD]: Likewise.
15293         * grp/grp.h [__USE_SVID]: Likewise.
15294         [__USE_BSD]: Likewise.
15295         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
15296         * io/fcntl.h [__USE_BSD]: Likewise.
15297         * io/ftw.h [__USE_BSD]: Likewise.
15298         * io/sys/stat.h [__USE_BSD]: Likewise.
15299         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
15300         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
15301         * libio/stdio.h [__USE_SVID]: Likewise.
15302         [__USE_BSD]: Likewise.
15303         * math/math.h [__USE_SVID]: Likewise.
15304         [__USE_BSD]: Likewise.
15305         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
15306         * misc/bits/syslog.h [__USE_BSD]: Likewise.
15307         * misc/search.h [__USE_SVID]: Likewise.
15308         * misc/sys/mman.h [__USE_BSD]: Likewise.
15309         * misc/sys/syslog.h [__USE_BSD]: Likewise.
15310         * misc/sys/uio.h [__USE_BSD]: Likewise.
15311         * posix/bits/unistd.h [__USE_BSD]: Likewise.
15312         * posix/glob.h [__USE_BSD]: Likewise.
15313         * posix/regex.h [__USE_BSD]: Likewise.
15314         * posix/sys/types.h [__USE_BSD]: Likewise.
15315         [__USE_SVID]: Likewise.
15316         * posix/sys/utsname.h [__USE_SVID]: Likewise.
15317         * posix/sys/wait.h [__USE_BSD]: Likewise.
15318         [__USE_SVID]: Likewise.
15319         * posix/unistd.h [__USE_BSD]: Likewise.
15320         [__USE_SVID]: Likewise.
15321         * pwd/pwd.h [__USE_SVID]: Likewise.
15322         * resolv/netdb.h [__USE_BSD]: Likewise.
15323         * setjmp/setjmp.h [__USE_BSD]: Likewise.
15324         * signal/signal.h [__USE_BSD]: Likewise.
15325         [__USE_SVID]: Likewise.
15326         * socket/sys/socket.h [__USE_BSD]: Likewise.
15327         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
15328         * stdlib/stdlib.h [__USE_BSD]: Likewise.
15329         [__USE_SVID]: Likewise.
15330         * string/bits/string2.h [__USE_BSD]: Likewise.
15331         [__USE_SVID]: Likewise.
15332         * string/bits/string3.h [__USE_BSD]: Likewise.
15333         * string/endian.h [__USE_BSD]: Likewise.
15334         * string/string.h [__USE_SVID]: Likewise.
15335         [__USE_BSD]: Likewise.
15336         * string/strings.h [__USE_BSD]: Likewise.
15337         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
15338         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
15339         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
15340         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
15341         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
15342         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
15343         Likewise.
15344         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
15345         Likewise.
15346         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
15347         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
15348         Likewise.
15349         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
15350         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
15351         Likewise.
15352         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
15353         Likewise.
15354         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
15355         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
15356         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
15357         Likewise.
15358         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
15359         Likewise.
15360         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
15361         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
15362         * termios/termios.h [__USE_BSD]: Likewise.
15363         * time/sys/time.h [__USE_BSD]: Likewise.
15364         * time/time.h [__USE_BSD]: Likewise.
15365         [__USE_SVID]: Likewise.
15366
15367         * Makefile (subdir_targets): Remove subdir_lint.out.
15368
15369         * stdio-common/Makefile (do-tst-unbputc): Remove target.
15370         (do-tst-printf): Likewise.
15371         (tests): Depend directly on $(objpfx)tst-unbputc.out and
15372         $(objpfx)tst-printf.out.
15373
15374         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
15375
15376         * Makerules (check-abi-%): Change target to
15377         $(objpfx)check-abi-%.out.
15378         (check-abi target): Update dependencies.
15379         (check-abi-pattern variable): Redirect output of diff to $@.
15380         (check-abi variable): Likewise.
15381         * elf/Makefile (check-abi): Update dependencies.
15382
15383         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
15384         unused.
15385         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
15386         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
15387         subnormal range.
15388         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
15389         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
15390         value has largest subnormal exponent.
15391         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
15392         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
15393         * sysdeps/aarch64/soft-fp/sfp-machine.h
15394         (_FP_TININESS_AFTER_ROUNDING): New macro.
15395         * sysdeps/alpha/soft-fp/sfp-machine.h
15396         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15397         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15398         Likewise.
15399         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
15400         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15401         * sysdeps/mips/soft-fp/sfp-machine.h
15402         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15403         * sysdeps/powerpc/soft-fp/sfp-machine.h
15404         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15405         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15406         Likewise.
15407         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
15408         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15409         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
15410         (_FP_TININESS_AFTER_ROUNDING): Likewise.
15411         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
15412         Likewise.
15413
15414 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
15415
15416         [BZ #16545]
15417         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
15418         model 1.
15419
15420 2014-02-12  Richard Henderson  <rth@redhat.com>
15421
15422         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
15423         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
15424         * sysdeps/unix/sysv/linux/alpha: Move directory from
15425         ports/sysdeps/unix/sysv/linux/alpha.
15426         * README: Update listing for alpha-*-linux-gnu.
15427
15428 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
15429
15430         * include/features.h: Update comment documenting feature test
15431         macros.
15432         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
15433         _DEFAULT_SOURCE.
15434         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
15435         (_SVID_SOURCE): Likewise.
15436         (_DEFAULT_SOURCE): Update description of default features.
15437         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
15438         with _GNU_SOURCE.
15439         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
15440         (S_ISVTX): Likewise.
15441         * manual/math.texi (Mathematical Constants): Likewise.
15442         * manual/signal.texi (Interrupted Primitives): Likewise.
15443         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
15444         * math/test-matherr.c (_SVID_SOURCE): Do not define.
15445         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
15446         Don't refer to _SVID_SOURCE in warning text.
15447
15448         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
15449
15450         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
15451         already defined.
15452         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
15453         * sysdeps/mips/dl-lookup.c: Remove.
15454         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
15455
15456 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
15457
15458         [BZ #16447]
15459         * math/auto-libm-test-in: Add testcase for expl.
15460         * math/auto-libm-test-out: Regenerate.
15461         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
15462         calculation of unsafe.
15463         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
15464
15465 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
15466
15467         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
15468         * sysdeps/unix/sysv/linux/aarch64: Move directory from
15469         ports/sysdeps/unix/sysv/linux/aarch64.
15470         * README: Update listing for aarch64*-*-linux-gnu.
15471
15472 2014-02-11  Will Newton  <will.newton@linaro.org>
15473
15474         * manual/probes.texi (Mathematical Function Probes): Use
15475         "triggered" instead of "hit".
15476
15477         * manual/probes.texi (Internal Probes): Add documentation
15478         of setjmp, longjmp and longjmp_target probes.
15479
15480         * include/stap-probe.h: Add comment about probe argument
15481         format.
15482
15483         * malloc/mtrace.c (attribute_hidden): Remove unused macro
15484         definition.  (tr_where, tr_freehook, tr_mallochook,
15485         tr_reallochook, tr_memalignhook): Use ANSI protoype.
15486
15487 2014-02-11  David S. Miller  <davem@davemloft.net>
15488
15489         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
15490         processing int_tests.
15491
15492 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
15493
15494         * sysdeps/mips: Move directory from ports/sysdeps/mips.
15495         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
15496         * sysdeps/unix/sysv/linux/mips: Move directory from
15497         ports/sysdeps/unix/sysv/linux/mips.
15498         * README: Update listing for mips-*-linux-gnu and
15499         mips64-*-linux-gnu.
15500
15501 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
15502
15503         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
15504         * sysdeps/unix/sysv/linux/m68k: Move directory from
15505         ports/sysdeps/unix/sysv/linux/m68k.
15506         * README: Update listing for m68k-*-linux-gnu.
15507
15508 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
15509
15510         * sysdeps/tile: Move directory from ports/sysdeps/tile.
15511         * sysdeps/unix/sysv/linux/generic: Move directory from
15512         ports/sysdeps/unix/sysv/linux/generic.
15513         * sysdeps/unix/sysv/linux/tile: Move directory from
15514         ports/sysdeps/unix/sysv/linux/tile.
15515         * README: Update listing for tile*-*-linux-gnu.
15516
15517 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
15518
15519         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
15520         __builtin_expect.
15521         * benchtests/bench-memmem.c (simple_memmem): Likewise.
15522         * catgets/open_catalog.c (__open_catalog): Likewise.
15523         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
15524         * debug/confstr_chk.c: Likewise.
15525         * debug/fread_chk.c (__fread_chk): Likewise.
15526         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
15527         * debug/getgroups_chk.c: Likewise.
15528         * debug/mbsnrtowcs_chk.c: Likewise.
15529         * debug/mbsrtowcs_chk.c: Likewise.
15530         * debug/mbstowcs_chk.c: Likewise.
15531         * debug/memcpy_chk.c: Likewise.
15532         * debug/memmove_chk.c: Likewise.
15533         * debug/mempcpy_chk.c: Likewise.
15534         * debug/memset_chk.c: Likewise.
15535         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
15536         * debug/strcat_chk.c (__strcat_chk): Likewise.
15537         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
15538         * debug/strncat_chk.c (__strncat_chk): Likewise.
15539         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
15540         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
15541         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
15542         * debug/wcpncpy_chk.c: Likewise.
15543         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
15544         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
15545         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
15546         * debug/wcsncpy_chk.c: Likewise.
15547         * debug/wcsnrtombs_chk.c: Likewise.
15548         * debug/wcsrtombs_chk.c: Likewise.
15549         * debug/wcstombs_chk.c: Likewise.
15550         * debug/wmemcpy_chk.c: Likewise.
15551         * debug/wmemmove_chk.c: Likewise.
15552         * debug/wmempcpy_chk.c: Likewise.
15553         * debug/wmemset_chk.c: Likewise.
15554         * dirent/scandirat.c (SCANDIRAT): Likewise.
15555         * dlfcn/dladdr1.c (dladdr1): Likewise.
15556         * dlfcn/dladdr.c (dladdr): Likewise.
15557         * dlfcn/dlclose.c (dlclose_doit): Likewise.
15558         * dlfcn/dlerror.c (__dlerror): Likewise.
15559         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
15560         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
15561         * dlfcn/dlopen.c (dlopen_doit): Likewise.
15562         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
15563         * dlfcn/dlsym.c (dlsym_doit): Likewise.
15564         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
15565         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
15566         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
15567         Likewise.
15568         * elf/dl-conflict.c: Likewise.
15569         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
15570         * elf/dl-dst.h: Likewise.
15571         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
15572         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
15573         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
15574         * elf/dl-init.c (call_init, _dl_init): Likewise.
15575         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
15576         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
15577         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
15578         Likewise.
15579         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
15580         Likewise.
15581         * elf/dl-minimal.c (__libc_memalign): Likewise.
15582         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
15583         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
15584         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
15585         * elf/dl-sym.c (do_sym): Likewise.
15586         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
15587         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
15588         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
15589         * elf/dl-writev.h (_dl_writev): Likewise.
15590         * elf/ldconfig.c (search_dir): Likewise.
15591         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
15592         (dl_main): Likewise.
15593         * elf/setup-vdso.h (setup_vdso): Likewise.
15594         * grp/compat-initgroups.c (compat_call): Likewise.
15595         * grp/fgetgrent.c (fgetgrent): Likewise.
15596         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
15597         * grp/putgrent.c (putgrent): Likewise.
15598         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
15599         Likewise.
15600         * hurd/hurdinit.c: Likewise.
15601         * iconvdata/8bit-gap.c (struct): Likewise.
15602         * iconvdata/ansi_x3.110.c : Likewise.
15603         * iconvdata/big5.c : Likewise.
15604         * iconvdata/big5hkscs.c : Likewise.
15605         * iconvdata/cp1255.c: Likewise.
15606         * iconvdata/cp1258.c : Likewise.
15607         * iconvdata/cp932.c : Likewise.
15608         * iconvdata/euc-cn.c: Likewise.
15609         * iconvdata/euc-jisx0213.c : Likewise.
15610         * iconvdata/euc-jp.c: Likewise.
15611         * iconvdata/euc-jp-ms.c : Likewise.
15612         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
15613         * iconvdata/gb18030.c : Likewise.
15614         * iconvdata/gbbig5.c (const): Likewise.
15615         * iconvdata/gbgbk.c: Likewise.
15616         * iconvdata/gbk.c : Likewise.
15617         * iconvdata/ibm1364.c : Likewise.
15618         * iconvdata/ibm930.c : Likewise.
15619         * iconvdata/ibm932.c: Likewise.
15620         * iconvdata/ibm933.c : Likewise.
15621         * iconvdata/ibm935.c : Likewise.
15622         * iconvdata/ibm937.c : Likewise.
15623         * iconvdata/ibm939.c : Likewise.
15624         * iconvdata/ibm943.c: Likewise.
15625         * iconvdata/iso_11548-1.c: Likewise.
15626         * iconvdata/iso-2022-cn.c : Likewise.
15627         * iconvdata/iso-2022-cn-ext.c : Likewise.
15628         * iconvdata/iso-2022-jp-3.c: Likewise.
15629         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
15630         * iconvdata/iso-2022-kr.c : Likewise.
15631         * iconvdata/iso646.c (gconv_end): Likewise.
15632         * iconvdata/iso_6937-2.c : Likewise.
15633         * iconvdata/iso_6937.c : Likewise.
15634         * iconvdata/iso8859-1.c: Likewise.
15635         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
15636         * iconvdata/shift_jisx0213.c : Likewise.
15637         * iconvdata/sjis.c : Likewise.
15638         * iconvdata/t.61.c : Likewise.
15639         * iconvdata/tcvn5712-1.c : Likewise.
15640         * iconvdata/tscii.c: Likewise.
15641         * iconvdata/uhc.c : Likewise.
15642         * iconvdata/unicode.c (gconv_end): Likewise.
15643         * iconvdata/utf-16.c (gconv_end): Likewise.
15644         * iconvdata/utf-32.c (gconv_end): Likewise.
15645         * iconvdata/utf-7.c (base64): Likewise.
15646         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
15647         * iconv/gconv_close.c (__gconv_close): Likewise.
15648         * iconv/gconv_open.c (__gconv_open): Likewise.
15649         * iconv/gconv_simple.c (internal_ucs4_loop_single)
15650         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
15651         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
15652         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
15653         (ucs4le_internal_loop_single): Likewise.
15654         * iconv/iconv.c (iconv): Likewise.
15655         * iconv/iconv_close.c: Likewise.
15656         * iconv/loop.c (SINGLE): Likewise.
15657         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
15658         * include/atomic.h: Likewise.
15659         * inet/inet6_option.c (option_alloc): Likewise.
15660         * intl/bindtextdom.c (set_binding_values): Likewise.
15661         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
15662         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
15663         * intl/localealias.c (read_alias_file): Likewise.
15664         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
15665         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
15666         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
15667         * libio/fmemopen.c (fmemopen): Likewise.
15668         * libio/iofgets.c (_IO_fgets): Likewise.
15669         * libio/iofgets_u.c (fgets_unlocked): Likewise.
15670         * libio/iofgetws.c (fgetws): Likewise.
15671         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
15672         * libio/iogetdelim.c (_IO_getdelim): Likewise.
15673         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
15674         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
15675         * locale/findlocale.c (_nl_find_locale): Likewise.
15676         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
15677         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
15678         Likewise.
15679         * locale/setlocale.c (setlocale): Likewise.
15680         * login/programs/pt_chown.c (main): Likewise.
15681         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
15682         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
15683         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
15684         (mmap, mmap64, mremap, munmap): Likewise.
15685         * math/e_exp2l.c: Likewise.
15686         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
15687         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
15688         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
15689         * math/s_catan.c (__catan): Likewise.
15690         * math/s_catanf.c (__catanf): Likewise.
15691         * math/s_catanh.c (__catanh): Likewise.
15692         * math/s_catanhf.c (__catanhf): Likewise.
15693         * math/s_catanhl.c (__catanhl): Likewise.
15694         * math/s_catanl.c (__catanl): Likewise.
15695         * math/s_ccosh.c (__ccosh): Likewise.
15696         * math/s_ccoshf.c (__ccoshf): Likewise.
15697         * math/s_ccoshl.c (__ccoshl): Likewise.
15698         * math/s_cexp.c (__cexp): Likewise.
15699         * math/s_cexpf.c (__cexpf): Likewise.
15700         * math/s_cexpl.c (__cexpl): Likewise.
15701         * math/s_clog10.c (__clog10): Likewise.
15702         * math/s_clog10f.c (__clog10f): Likewise.
15703         * math/s_clog10l.c (__clog10l): Likewise.
15704         * math/s_clog.c (__clog): Likewise.
15705         * math/s_clogf.c (__clogf): Likewise.
15706         * math/s_clogl.c (__clogl): Likewise.
15707         * math/s_csin.c (__csin): Likewise.
15708         * math/s_csinf.c (__csinf): Likewise.
15709         * math/s_csinh.c (__csinh): Likewise.
15710         * math/s_csinhf.c (__csinhf): Likewise.
15711         * math/s_csinhl.c (__csinhl): Likewise.
15712         * math/s_csinl.c (__csinl): Likewise.
15713         * math/s_csqrt.c (__csqrt): Likewise.
15714         * math/s_csqrtf.c (__csqrtf): Likewise.
15715         * math/s_csqrtl.c (__csqrtl): Likewise.
15716         * math/s_ctan.c (__ctan): Likewise.
15717         * math/s_ctanf.c (__ctanf): Likewise.
15718         * math/s_ctanh.c (__ctanh): Likewise.
15719         * math/s_ctanhf.c (__ctanhf): Likewise.
15720         * math/s_ctanhl.c (__ctanhl): Likewise.
15721         * math/s_ctanl.c (__ctanl): Likewise.
15722         * math/w_pow.c: Likewise.
15723         * math/w_powf.c: Likewise.
15724         * math/w_powl.c: Likewise.
15725         * math/w_scalb.c (sysv_scalb): Likewise.
15726         * math/w_scalbf.c (sysv_scalbf): Likewise.
15727         * math/w_scalbl.c (sysv_scalbl): Likewise.
15728         * misc/error.c (error_tail): Likewise.
15729         * misc/pselect.c (__pselect): Likewise.
15730         * nis/nis_callback.c (__nis_create_callback): Likewise.
15731         * nis/nis_call.c (__nisfind_server): Likewise.
15732         * nis/nis_creategroup.c (nis_creategroup): Likewise.
15733         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
15734         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
15735         * nis/nis_getservlist.c (nis_getservlist): Likewise.
15736         * nis/nis_lookup.c (nis_lookup): Likewise.
15737         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
15738         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
15739         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
15740         * nis/nis_xdr.c (xdr_endpoint): Likewise.
15741         * nis/nss_compat/compat-grp.c (getgrent_next_file)
15742         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
15743         * nis/nss_compat/compat-initgroups.c (add_group)
15744         (internal_getgrent_r): Likewise.
15745         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
15746         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
15747         * nis/nss_compat/compat-spwd.c (getspent_next_file)
15748         (internal_getspnam_r): Likewise.
15749         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
15750         (_nss_nis_getaliasbyname_r): Likewise.
15751         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
15752         (_nss_nis_getntohost_r): Likewise.
15753         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
15754         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
15755         (_nss_nis_getgrgid_r): Likewise.
15756         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
15757         (internal_nis_gethostent_r, internal_gethostbyname2_r)
15758         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
15759         (_nss_nis_gethostbyname4_r): Likewise.
15760         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
15761         (initgroups_netid): Likewise.
15762         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
15763         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
15764         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
15765         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
15766         (_nss_nis_getprotobynumber_r): Likewise.
15767         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
15768         (_nss_nis_getsecretkey): Likewise.
15769         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
15770         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
15771         (_nss_nis_getpwuid_r): Likewise.
15772         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
15773         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
15774         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
15775         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
15776         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
15777         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
15778         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
15779         Likewise.
15780         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
15781         (_nss_nisplus_getntohost_r): Likewise.
15782         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
15783         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
15784         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
15785         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
15786         Likewise.
15787         * nis/nss_nisplus/nisplus-initgroups.c
15788         (_nss_nisplus_initgroups_dyn): Likewise.
15789         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
15790         (_nss_nisplus_getnetbyaddr_r): Likewise.
15791         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
15792         (_nss_nisplus_getprotobynumber_r): Likewise.
15793         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
15794         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
15795         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
15796         Likewise.
15797         * nis/nss_nisplus/nisplus-service.c
15798         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
15799         (_nss_nisplus_getservbyport_r): Likewise.
15800         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
15801         (_nss_nisplus_getspnam_r): Likewise.
15802         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
15803         Likewise.
15804         * nscd/aicache.c (addhstaiX): Likewise.
15805         * nscd/cache.c (cache_search, prune_cache): Likewise.
15806         * nscd/connections.c (register_traced_file, send_ro_fd)
15807         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
15808         (main_loop_epoll): Likewise.
15809         * nscd/grpcache.c (addgrbyX): Likewise.
15810         * nscd/hstcache.c (addhstbyX): Likewise.
15811         * nscd/initgrcache.c (addinitgroupsX): Likewise.
15812         * nscd/mem.c (gc, mempool_alloc): Likewise.
15813         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
15814         (addinnetgrX): Likewise.
15815         * nscd/nscd-client.h (__nscd_acquire_maplock)
15816         (__nscd_drop_map_ref): Likewise.
15817         * nscd/nscd_getai.c (__nscd_getai): Likewise.
15818         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
15819         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
15820         Likewise.
15821         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
15822         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
15823         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
15824         (__nscd_get_map_ref): Likewise.
15825         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
15826         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
15827         Likewise.
15828         * nscd/pwdcache.c (addpwbyX): Likewise.
15829         * nscd/selinux.c (preserve_capabilities): Likewise.
15830         * nscd/servicescache.c (addservbyX): Likewise.
15831         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
15832         * posix/fnmatch.c (fnmatch): Likewise.
15833         * posix/getopt.c (_getopt_internal_r): Likewise.
15834         * posix/glob.c (glob, glob_in_dir): Likewise.
15835         * posix/wordexp.c (exec_comm_child): Likewise.
15836         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
15837         (getanswer_r, gaih_getanswer_slice): Likewise.
15838         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
15839         * resolv/res_init.c: Likewise.
15840         * resolv/res_mkquery.c (res_nmkquery): Likewise.
15841         * resolv/res_query.c (__libc_res_nquery): Likewise.
15842         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
15843         Likewise.
15844         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
15845         * stdio-common/perror.c (perror): Likewise.
15846         * stdio-common/printf_fp.c (___printf_fp): Likewise.
15847         * stdio-common/tmpnam.c (tmpnam): Likewise.
15848         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
15849         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
15850         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
15851         Likewise.
15852         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
15853         * stdlib/putenv.c (putenv): Likewise.
15854         * stdlib/setenv.c (__add_to_environ): Likewise.
15855         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
15856         * stdlib/strtol_l.c (INTERNAL): Likewise.
15857         * string/memmem.c (memmem): Likewise.
15858         * string/strerror.c (strerror): Likewise.
15859         * string/strnlen.c (__strnlen): Likewise.
15860         * string/test-memmem.c (simple_memmem): Likewise.
15861         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
15862         * sunrpc/pm_getport.c (__get_socket): Likewise.
15863         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
15864         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
15865         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
15866         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
15867         Likewise.
15868         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
15869         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
15870         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
15871         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
15872         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
15873         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
15874         Likewise.
15875         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
15876         Likewise.
15877         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
15878         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
15879         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
15880         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
15881         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
15882         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
15883         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
15884         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
15885         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
15886         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
15887         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
15888         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
15889         Likewise.
15890         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
15891         Likewise.
15892         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
15893         Likewise.
15894         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
15895         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
15896         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
15897         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
15898         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
15899         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
15900         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
15901         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
15902         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
15903         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
15904         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
15905         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
15906         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
15907         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
15908         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15909         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
15910         Likewise.
15911         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
15912         Likewise.
15913         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
15914         Likewise.
15915         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
15916         Likewise.
15917         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15918         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15919         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
15920         Likewise.
15921         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
15922         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
15923         * sysdeps/posix/opendir.c (__opendirat): Likewise.
15924         * sysdeps/posix/sleep.c: Likewise.
15925         * sysdeps/posix/tempname.c: Likewise.
15926         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
15927         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
15928         Likewise.
15929         * sysdeps/powerpc/powerpc32/dl-machine.h
15930         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
15931         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
15932         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
15933         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
15934         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
15935         Likewise.
15936         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
15937         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
15938         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15939         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
15940         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
15941         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
15942         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
15943         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
15944         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
15945         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
15946         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
15947         (elf_machine_lazy_rel): Likewise.
15948         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
15949         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
15950         (elf_machine_lazy_rel): Likewise.
15951         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
15952         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
15953         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
15954         * sysdeps/unix/grantpt.c (grantpt): Likewise.
15955         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
15956         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
15957         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
15958         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
15959         Likewise.
15960         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
15961         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
15962         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
15963         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
15964         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
15965         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
15966         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
15967         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
15968         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
15969         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
15970         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
15971         Likewise.
15972         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
15973         (__posix_fallocate64_l64): Likewise.
15974         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
15975         (posix_fallocate): Likewise.
15976         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
15977         Likewise.
15978         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
15979         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
15980         (getifaddrs_internal): Likewise.
15981         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
15982         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
15983         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
15984         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
15985         * sysdeps/unix/sysv/linux/posix_fallocate64.c
15986         (__posix_fallocate64_l64): Likewise.
15987         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
15988         Likewise.
15989         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
15990         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
15991         (__get_clockfreq): Likewise.
15992         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
15993         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
15994         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
15995         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
15996         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
15997         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
15998         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
15999         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
16000         Likewise.
16001         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
16002         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
16003         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
16004         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
16005         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
16006         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
16007         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
16008         Likewise.
16009         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
16010         (posix_fallocate): Likewise.
16011         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
16012         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
16013         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
16014         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
16015         (elf_machine_rela, elf_machine_rela_relative)
16016         (elf_machine_lazy_rel): Likewise.
16017         * time/asctime.c (asctime_internal): Likewise.
16018         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
16019         * time/tzset.c (__tzset_parse_tz): Likewise.
16020         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
16021         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
16022         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
16023         * wcsmbs/wcsmbsload.h: Likewise.
16024
16025         [BZ #15894]
16026         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
16027
16028         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
16029         (arena_get2): Remove THREAD_STATS conditionals.
16030         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
16031         (__malloc_stats, int): Likewise.
16032
16033 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
16034
16035         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
16036         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
16037
16038         * manual/setjmp.texi: Fix typos/grammar errors.
16039
16040         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
16041         Only return early when n is <= 0.  Delete unused return statement.
16042
16043         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
16044         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
16045         * debug/tst-longjmp_chk3.c: New file.
16046
16047         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
16048         (test_main): Replace code with set_fortify_handler call.
16049         * debug/test-strcpy_chk.c: Likewise.
16050         * debug/tst-chk1.c: Likewise.
16051         * debug/tst-longjmp_chk.c: Likewise.
16052         * test-skeleton.c: Include fcntl.h & paths.h
16053         (set_fortify_handler): Define.
16054
16055         * debug/tst-longjmp_chk.c: Add header comment and include
16056         ../test-skeleton.c.
16057         (do_test): Mark static.
16058         (TEST_FUNCTION): Define.
16059
16060         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
16061         (IP_PMTUDISC_INTERFACE): Likewise.
16062         (IP_MULTICAST_IF): Likewise.
16063         (IP_MULTICAST_TTL): Likewise.
16064         (IP_MULTICAST_LOOP): Likewise.
16065         (IP_ADD_MEMBERSHIP): Likewise.
16066         (IP_DROP_MEMBERSHIP): Likewise.
16067         (IP_UNBLOCK_SOURCE): Likewise.
16068         (IP_BLOCK_SOURCE): Likewise.
16069         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
16070         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
16071         (IP_MSFILTER): Likewise.
16072         (MCAST_JOIN_GROUP): Likewise.
16073         (MCAST_BLOCK_SOURCE): Likewise.
16074         (MCAST_UNBLOCK_SOURCE): Likewise.
16075         (MCAST_LEAVE_GROUP): Likewise.
16076         (MCAST_JOIN_SOURCE_GROUP): Likewise.
16077         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
16078         (MCAST_MSFILTER): Likewise.
16079         (IP_MULTICAST_ALL): Likewise.
16080         (IP_UNICAST_IF): Likewise.
16081
16082         * timezone/Makefile: Delete $(have-ksh) check.
16083         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
16084         * timezone/tzselect.ksh: Add +x mode bits.
16085
16086         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
16087         (ANON_INODE_FS_MAGIC): Likewise.
16088         (BDEVFS_MAGIC): Likewise.
16089         (BINFMTFS_MAGIC): Likewise.
16090         (BTRFS_TEST_MAGIC): Likewise.
16091         (CRAMFS_MAGIC_WEND): Likewise.
16092         (DEBUGFS_MAGIC): Likewise.
16093         (ECRYPTFS_SUPER_MAGIC): Likewise.
16094         (EXT3_SUPER_MAGIC): Likewise.
16095         (EXT4_SUPER_MAGIC): Likewise.
16096         (FUTEXFS_SUPER_MAGIC): Likewise.
16097         (HOSTFS_SUPER_MAGIC): Likewise.
16098         (HUGETLBFS_MAGIC): Likewise.
16099         (MINIX3_SUPER_MAGIC): Likewise.
16100         (MTD_INODE_FS_MAGIC): Likewise.
16101         (NILFS_SUPER_MAGIC): Likewise.
16102         (OPENPROM_SUPER_MAGIC): Likewise.
16103         (PIPEFS_MAGIC): Likewise.
16104         (PSTOREFS_MAGIC): Likewise.
16105         (QNX6_SUPER_MAGIC): Likewise.
16106         (RAMFS_MAGIC): Likewise.
16107         (REISERFS_SUPER_MAGIC_STRING): Likewise.
16108         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
16109         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
16110         (SECURITYFS_MAGIC): Likewise.
16111         (SELINUX_MAGIC): Likewise.
16112         (SMACK_MAGIC): Likewise.
16113         (SOCKFS_MAGIC): Likewise.
16114         (SQUASHFS_MAGIC): Likewise.
16115         (STACK_END_MAGIC): Likewise.
16116         (TMPFS_MAGIC): Likewise.
16117         (USBDEVICE_SUPER_MAGIC): Likewise.
16118         (V9FS_MAGIC): Likewise.
16119         (XENFS_SUPER_MAGIC): Likewise.
16120         (CRAMFS_MAGIC): Fix typo in comment.
16121         (EXT2_SUPER_MAGIC): Update comment.
16122         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
16123
16124 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
16125
16126         * sysdeps/arm: Move directory from ports/sysdeps/arm.
16127         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
16128         * sysdeps/unix/sysv/linux/arm: Move directory from
16129         ports/sysdeps/unix/sysv/linux/arm.
16130         * README: Update listing for arm-*-linux-gnueabi.
16131
16132         * README: Remove mention of am33.
16133
16134 2014-02-07  Roland McGrath  <roland@hack.frob.com>
16135
16136         * bits/sigset.h (__sigemptyset): Use a statement expression rather
16137         than the comma operator, to avoid "rhs of comma has no effect"
16138         compiler warnings.
16139         (__sigfillset, __sigandset, __sigorset): Likewise.
16140         * include/signal.h (__sigemptyset): Likewise.
16141         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
16142
16143 2014-02-07  Allan McRae  <allan@archlinux.org>
16144
16145         * version.h (RELEASE): Set to "development".
16146         (VERSION): Set to "2.19.90"
16147         * NEWS: Add 2.20 section.
16148
16149 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
16150
16151         [BZ #16529]
16152         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
16153
16154 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
16155
16156         * manual/contrib.texi: Update entry for Carlos O'Donell,
16157         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
16158
16159 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
16160
16161         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
16162
16163         * sysdeps/unix/sysv/linux/kernel-features.h
16164         [__LINUX_KERNEL_VERSION >= 0x020621]
16165         (__ASSUME_PROC_PID_TASK_COMM): Define.
16166
16167 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
16168
16169         [BZ #16398]
16170         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
16171         conversion when destination buffer does not have enough space.
16172         * libio/tst-ftell-partial-wide.c: New test case.
16173         * libio/Makefile (tests): Add tst-ftell-partial-wide.
16174
16175         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
16176         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
16177         Leonard and Allan McRae.
16178
16179 2014-02-04  David S. Miller  <davem@davemloft.net>
16180
16181         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
16182         32-bit.
16183
16184 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16185
16186         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
16187         New file
16188         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
16189         New file
16190         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
16191         New file.
16192         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
16193         New file.
16194         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
16195         New file.
16196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
16197         New file.
16198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
16199         New file.
16200         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
16201         New file.
16202         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
16203         New file.
16204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
16205         New file.
16206         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
16207         New file.
16208         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
16209         New file.
16210         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
16211         New file.
16212
16213 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16214
16215         * nptl/shlib-versions: Change powerpc*le start to 2.17.
16216         * shlib-versions: Likewise.
16217
16218 2014-02-04  Roland McGrath  <roland@hack.frob.com>
16219             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16220
16221         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
16222         (abilist-pattern): New variable, set to %-le.abilist.
16223
16224         * Makerules (abilist-pattern): New variable.
16225         (vpath): Use $(abilist-pattern) in place of %.abilist.
16226         (check-abi-% pattern rule): Likewise.
16227         (check-abi, update-abi): Likewise.
16228
16229 2014-02-04  Eric Wong  <normalperson@yhbt.net>
16230
16231         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
16232
16233 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
16234
16235         * manual/startup.texi: Add next, previous, and top entries for
16236         the `Program Arguments' and `Environment Variables' nodes.
16237
16238 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
16239
16240         * manual/macros.texi: Add comments before MTASC-safety macros.
16241
16242         * manual/users.texi: Document MTASC-safety properties.
16243
16244         * manual/threads.texi (pthread_key_create, pthread_key_delete)
16245         (pthread_getspecific, pthread_setspecific): Format with
16246         @deftypefun, and add @safety note.
16247         * manual/signal.texi: Move comments that analyze the above
16248         functions to their home place.
16249
16250 2014-02-03  Allan McRae  <allan@archlinux.org>
16251
16252         * po/sl.po: Update Slovenian translation from translation project.
16253
16254 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
16255
16256         * manual/time.texi (timegm): Add missing blank after @c.
16257         Reported by Joseph Myers <joseph@codesourcery.com>.
16258
16259 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
16260
16261         * manual/check-safety.sh: New.
16262         * manual/Makefile ($(objpfx)stamp-summary): Run it.
16263
16264         * manual/terminal.texi: Document MTASC-safety properties.
16265
16266         * manual/filesys.texi: Document MTASC-safety properties.
16267
16268         * manual/errno.texi: Document MTASC-safety properties.
16269
16270         * manual/intro.texi: Document safety identifiers and
16271         conditionals.
16272
16273         * manual/string.texi (wcstok): Fix prototype.
16274         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
16275
16276         * manual/time.texi: Document MTASC-safety properties.
16277
16278         * manual/string.texi: Document MTASC-safety properties.
16279
16280         * manual/threads.texi: Document MTASC-safety properties.
16281
16282         * manual/stdio.texi: Document MTASC-safety properties.
16283
16284         * manual/syslog.texi: Document MTASC-safety properties.
16285
16286         * manual/sysinfo.texi: Document MTASC-safety properties.
16287
16288         * manual/startup.texi: Document MTASC-safety properties.
16289
16290         * manual/socket.texi: Document MTASC-safety properties.
16291
16292         * manual/signal.texi: Document MTASC-safety properties.
16293
16294 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
16295
16296         * manual/setjmp.texi: Document MTASC-safety properties.
16297
16298         * manual/search.texi: Document MTASC-safety properties.
16299
16300         * manual/resource.texi: Document MTASC-safety properties.
16301
16302         * manual/process.texi: Document MTASC-safety properties.
16303
16304         * manual/platform.texi: Document MTASC-safety properties.
16305
16306         * manual/pipe.texi: Document MTASC-safety properties.
16307
16308         * manual/pattern.texi: Document MTASC-safety properties.
16309
16310         * manual/message.texi: Document MTASC-safety properties.
16311
16312         [BZ #12751]
16313         * manual/memory.texi: Document MTASC-safety properties.
16314
16315         * manual/math.texi: Document MTASC-safety properties.
16316
16317         * manual/locale.texi: Document MTASC-safety properties.
16318
16319         * manual/llio.texi: Document MTASC-safety properties.
16320
16321         * manual/libdl.texi: New.
16322
16323         * manual/lang.texi: Document MTASC-safety properties.
16324
16325         * manual/job.texi: Document MTASC-safety properties.
16326
16327         * manual/getopt.texi: Document MTASC-safety properties.
16328
16329         * manual/ctype.texi: Document MTASC-safety properties.
16330
16331 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
16332
16333         [BZ #16046]
16334         * csu/libc-tls.c (static_map): Remove variable.
16335         (__libc_setup_tls): Use main executable's link map for TLS data.
16336         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
16337         casing for LM_ID_BASE and GL(dl_nns).
16338         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
16339         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
16340         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
16341         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
16342         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
16343         member.
16344         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
16345         l_phnum members.
16346
16347 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
16348
16349         * manual/debug.texi: Document MTASC-safety properties.
16350
16351 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
16352
16353         [BZ #16510]
16354         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
16355         of __x86_64__ when disabling x87 inline functions.
16356
16357 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
16358
16359         * manual/charset.texi: Document MTASC-safety properties.
16360
16361         * manual/crypt.texi: Document MTASC-safety properties.
16362
16363         * manual/conf.texi: Document MTASC-safety properties.
16364
16365         * manual/arith.texi: Document MTASC-safety properties.
16366
16367         * manual/argp.texi: Document MTASC-safety properties.
16368
16369         * manual/macros.texi: Introduce macros to document multi
16370         thread, asynchronous signal and asynchronous cancellation
16371         safety properties.
16372         * manual/intro.texi: Introduce the properties themselves.
16373
16374 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16375
16376         * sysdeps/sh/sh4/Makefile: New file.
16377
16378 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
16379
16380         * math/gen-libm-test.pl ($srcdir): New variable.
16381         ($auto_input): Use it.
16382
16383 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
16384
16385         [BZ #16506]
16386         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
16387         access beyond array bounds when parsing netgroups file.
16388
16389         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
16390         the old buffer before realloc.
16391
16392 2014-01-27  Allan McRae  <allan@archlinux.org>
16393
16394         * po/fr.po: Update French translation from translation project.
16395
16396 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16397
16398         * sysdeps/sh/libm-test-ulps: Regenerate.
16399
16400 2014-01-24  David S. Miller  <davem@davemloft.net>
16401
16402         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
16403
16404 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16405
16406         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
16407         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
16408
16409 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
16410
16411         [BZ #16474]
16412         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
16413         string pointers after reallocation.
16414
16415 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16416
16417         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
16418         __SH4A__ instead of __SH_FPU_ANY__.
16419
16420 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
16421
16422         * sysdeps/sh/fpu_control.h: New file.
16423         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
16424         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
16425         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
16426         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
16427         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
16428         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
16429         * sysdeps/sh/sys/ucontext.h: Remove.
16430         * sysdeps/sh/sys: Remove directory.
16431
16432 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16433
16434         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
16435         s390/sys/ucontext.h.
16436         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
16437         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
16438
16439 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
16440
16441         [BZ #15605]
16442         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
16443
16444 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16445
16446         [BZ#16431]
16447         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
16448         Adjust the vDSO correctly for internal calls.
16449         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
16450
16451 2014-01-20  Allan McRae  <allan@archlinux.org>
16452
16453         * po/ca.po: Update Catalan translation from translation project.
16454
16455 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
16456
16457         * sysdeps/s390/sotruss-lib.c: New file.
16458
16459 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16460
16461         [BZ#16430]
16462         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
16463         (__GI___gettimeofday): Alias for a different internal symbol to avoid
16464         local calls issues by not having a PLT stub required for IFUNC calls.
16465         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
16466
16467 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
16468
16469         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
16470         * math/test-fpucw-static.c: Likewise.
16471
16472 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
16473
16474         [BZ #16453]
16475         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
16476
16477 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16478
16479         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
16480         implementation for powerpc.
16481
16482 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
16483
16484         [BZ #14782]
16485         * sysdeps/posix/system.c (__libc_system): Do not enable
16486         asynchronous cancellation.
16487
16488 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16489
16490         [BZ #16427]
16491         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
16492         handling only for numbers special also in the IEEE case.
16493
16494 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16495
16496         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
16497
16498 2014-01-11  Allan McRae  <allan@archlinux.org>
16499
16500         * po/bg.po: Update Bulgarian translation from translation project.
16501
16502         * po/de.po: Update German translation from translation project.
16503
16504 2014-01-10  Roland McGrath  <roland@hack.frob.com>
16505
16506         * sysdeps/generic/gcc-compat.h: New file.
16507
16508 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
16509
16510         * benchtests/asin-inputs: Correct slow inputs.
16511         * benchtests/acos-inputs: Likewise.
16512
16513 2014-01-10  Allan McRae  <allan@archlinux.org>
16514
16515         * po:sv.po: Update Swedish translation from translation project.
16516
16517         * po/vi.po: Update Vietnamese translation from translation project.
16518
16519         * po/eo.po: Update Esperanto translation from translation project.
16520
16521         * po/cs.po: Update Czech translation from translation project.
16522
16523         * po/nl.po: Update Dutch translation from translation project.
16524
16525         * po/pl.po: Update Polish translation from translation project.
16526
16527         * po/ru.po: Update Russian translation from translation project.
16528
16529         * po/uk.po: Update Ukrainian translation from translation project.
16530
16531 2014-01-08  Brooks Moses  <bmoses@google.com>
16532
16533         * elf/dl-load.c: Fix comment typo.
16534
16535 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
16536
16537         * po/header.pot: Rename to...
16538         * po/pot.header: ... this.
16539         * po/Makefile: Use pot.header.
16540
16541 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
16542             Maxim Kuvyrkov  <maxim@kugelworks.com>
16543
16544         [BZ #16394]
16545         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
16546         SRC and DEST against LEN.
16547
16548 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16549
16550         [BZ #16414]
16551         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
16552         implementation.
16553         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
16554
16555 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16556
16557         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16558
16559 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
16560
16561         [BZ #16408]
16562         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
16563         for large positive arguments.
16564
16565 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
16566
16567         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16568
16569         * math/auto-libm-test-in: Mark various tests with
16570         xfail-rounding:ldbl-128ibm.
16571         * math/auto-libm-test-out: Regenerated.
16572
16573         [BZ #16407]
16574         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
16575         Increase overflow threshold.
16576
16577 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
16578
16579         [BZ #14286]
16580         * stdio-common/vfprintf.c: Check for integer overflow.
16581
16582 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16583
16584         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
16585         the first argument and return value of __tls_get_addr_internal.
16586
16587 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16588
16589         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
16590         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
16591
16592 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
16593
16594         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
16595         * sysdeps/s390/rtld-global-offsets.sym: New file.
16596         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
16597         GLIBC_2.19 symbol.
16598         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
16599         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
16600         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
16601         ... this.
16602         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
16603         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
16604         ... this.
16605         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16606         Regenerate.
16607         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16608         Regenerate.
16609         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
16610         halfs of GPRs for high_gprs contexts.
16611         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
16612         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
16613         field.
16614         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
16615         uc_flags field.
16616         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
16617         64 bit versions:
16618         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
16619         for high GPRs (uc_high_gprs) and for future extensions
16620         (__reserved).
16621         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
16622         for future extensions (__reserved).
16623         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
16624         64 bit versions:
16625         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
16626         SC_HIGHGPRS offset definition.
16627         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
16628         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
16629
16630         * Versions.def: Add GLIBC_2.19 for libpthread.
16631         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
16632         siglongjmp for libpthread with GLIBC_2.19 symver.
16633         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
16634         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
16635         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
16636         * sysdeps/s390/__longjmp.c: New file.
16637         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
16638         * sysdeps/s390/longjmp.c: New file.
16639         * sysdeps/s390/setjmp.S: New file.
16640         * sysdeps/s390/sigjmp.S: New file.
16641         * sysdeps/s390/v1-longjmp.c: New file.
16642         * sysdeps/s390/v1-setjmp.h: New file.
16643         * sysdeps/s390/v1-sigjmp.c: New file.
16644         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
16645         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
16646         GLIBC_2.19 version.
16647         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
16648         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
16649         versioned symbols for ____longjmp_chk.
16650         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
16651         Likewise.
16652         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
16653         Regenerate.
16654         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
16655         Regenerate.
16656         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
16657         Regenerate.
16658         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
16659         Regenerate.
16660         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
16661         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
16662         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
16663         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
16664         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
16665         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
16666         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
16667         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
16668         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
16669         * sysdeps/s390/rtld-__longjmp.c: New file.
16670         * sysdeps/s390/rtld-setjmp.S: New file.
16671
16672 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
16673
16674         [BZ #16400]
16675         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16676         Return -__logl (x) for small positive arguments without evaluating
16677         a polynomial.
16678
16679 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
16680
16681         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
16682         Rename to ...
16683         (__ptrace_peeksiginfo_args): ... this.
16684         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
16685         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
16686         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
16687
16688 2014-01-06  Allan McRae  <allan@archlinux.org>
16689
16690         * inet/netinet/in.h: Fix typo in comment.
16691
16692 2014-01-05  Andreas Jaeger  <aj@suse.de>
16693
16694         * sysdeps/i386/fpu/libm-test-ulps: Update.
16695
16696 2014-01-05  Allan McRae  <allan@archlinux.org>
16697
16698         * po/libc.pot: Regenerated.
16699
16700         * malloc/memusagestat.c: Fix gettext call formatting.
16701
16702 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
16703
16704         * nscd/nscd.c: Improve usage() output.
16705
16706 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
16707
16708         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
16709         * sysdeps/unix/sysv/linux/configure: Regenerated.
16710         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
16711         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
16712
16713 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
16714
16715         [BZ #16390]
16716         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
16717         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
16718
16719 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16720
16721         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
16722         extra tokens at end of #undef directive.
16723         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
16724         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
16725         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
16726
16727 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
16728
16729         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
16730
16731         * math/auto-libm-test-in: Mark various tests with
16732         xfail-rounding:ldbl-128ibm.
16733         * math/auto-libm-test-out: Regenerated.
16734
16735 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
16736
16737         [BZ #16386]
16738         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
16739         numbers with subnormal high part when calculating exponent.
16740
16741         [BZ #16385]
16742         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
16743         fabs.
16744
16745         [BZ #16384]
16746         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
16747         M_LN2l.
16748         (__ieee754_acoshl): Use __log1pl not __log1p.
16749
16750 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
16751
16752         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
16753         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
16754         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
16755         (grow_heap, heap_trim, _int_new_arena, get_free_list)
16756         (reused_arena, arena_get2): Convert to GNU style.
16757         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
16758         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
16759         (memalign_check, __malloc_set_state): Likewise.
16760         * malloc/mallocbug.c (main): Likewise.
16761         * malloc/malloc.c (__malloc_assert, malloc_init_state)
16762         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
16763         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
16764         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
16765         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
16766         (__posix_memalign, malloc_info): Likewise.
16767         * malloc/malloc.h: Likewise.
16768         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
16769         (mallochook, memalignhook, reallochook, mabort): Likewise.
16770         * malloc/mcheck.h: Likewise.
16771         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
16772         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
16773         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
16774         * malloc/morecore.c (__default_morecore): Likewise.
16775         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
16776         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
16777         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
16778         (print_and_abort): Likewise.
16779         * malloc/obstack.h: Likewise.
16780         * malloc/set-freeres.c (__libc_freeres): Likewise.
16781         * malloc/tst-mallocstate.c (main): Likewise.
16782         * malloc/tst-mtrace.c (main): Likewise.
16783         * malloc/tst-realloc.c (do_test): Likewise.
16784
16785 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
16786
16787         [BZ #16366]
16788         * nscd/netgroupcache.c (do_notfound): New function.
16789         (addgetnetgrentX): Use it.
16790
16791         [BZ # 16365]
16792         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
16793         NSS_STATUS_NOTFOUND.
16794
16795 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
16796
16797         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
16798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16799
16800 2014-01-01  Allan McRae  <allan@archlinux.org>
16801
16802         * scripts/update-copyrights: Update configure input file suffix.
16803
16804         * NEWS: Update copyright year.
16805         * catgets/gencat.c: Likewise.
16806         * csu/version.c: Likewise.
16807         * debug/catchsegv.sh: Likewise.
16808         * debug/pcprofiledump.c: Likewise.
16809         * debug/xtrace.sh: Likewise.
16810         * elf/ldconfig.c: Likewise.
16811         * elf/ldd.bash.in: Likewise.
16812         * elf/pldd.c: Likewise.
16813         * elf/sotruss.ksh: Likewise.
16814         * elf/sprof.c: Likewise.
16815         * iconv/iconv_prog.c: Likewise.
16816         * iconv/iconvconfig.c: Likewise.
16817         * locale/programs/locale.c: Likewise.
16818         * locale/programs/localedef.c: Likewise.
16819         * login/programs/pt_chown.c: Likewise.
16820         * malloc/memusage.sh: Likewise.
16821         * malloc/memusagestat.c: Likewise.
16822         * malloc/mtrace.pl: Likewise.
16823         * manual/libc.texinfo: Likewise.
16824         * nscd/nscd.c: Likewise.
16825         * nss/getent.c: Likewise.
16826         * nss/makedb.c: Likewise.
16827         * posix/getconf.c: Likewise.
16828         * scripts/test-installation.pl: Likewise.
16829
16830         * All files with FSF copyright notices: Update copyright dates
16831         using scripts/update-copyrights.
16832         * intl/plural.c: Regenerated.
16833         * locale/programs/charmap-kw.h: Likewise.
16834         * locale/programs/locfile-kw.h: Likewise.
16835
16836 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
16837
16838         * sysdeps/unix/sysv/linux/configure: Regenerated.
16839         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
16840         the linux/fanotify.h header.
16841         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
16842         HAVE_LINUX_FANOTIFY_H is defined.
16843
16844 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
16845
16846         * benchtests/cos-inputs: New inputs.
16847         * benchtests/sin-inputs: Likewise.
16848
16849         * benchtests/atan-inputs: New inputs. Fix name of multiple
16850         precision fallback inputs.
16851
16852         * benchtests/atanh-inputs: New inputs.
16853         * benchtests/tanh-inputs: Likewise.
16854
16855         * benchtests/acosh-inputs: New inputs.
16856         * benchtests/asinh-inputs: Likewise.
16857
16858         * benchtests/cosh-inputs: New inputs.
16859         * benchtests/sinh-inputs: Likewise.
16860
16861         * benchtests/acos-inputs: Add more inputs.
16862         * benchtests/asin-inputs: Likewise.
16863
16864 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
16865
16866         [BZ #16375]
16867         * manual/arith.texi: Fix spelling.
16868         * manual/charset.texi: Likewise.
16869         * manual/errno.texi: Likewise.
16870         * manual/filesys.texi: Likewise.
16871         * manual/lang.texi: Likewise.
16872         * manual/llio.texi: Likewise.
16873         * manual/locale.texi: Likewise.
16874         * manual/message.texi: Likewise.
16875         * manual/resource.texi: Likewise.
16876         * manual/search.texi: Likewise.
16877         * manual/setjmp.texi: Likewise.
16878         * manual/stdio.texi: Likewise.
16879         * manual/string.texi: Likewise.
16880         * manual/sysinfo.texi: Likewise.
16881         * manual/time.texi: Likewise.
16882
16883 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
16884
16885         * po/sl.po: New file.
16886
16887 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
16888
16889         * .gitignore: Add core/.gdbinit/.gdb_history.
16890
16891 2013-12-27  Allan McRae  <allan@archlinux.org>
16892
16893         [BZ #16369]
16894         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
16895         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
16896
16897 2013-12-24  Brooks Moses  <bmoses@google.com>
16898
16899         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
16900         all compilers that claim C++98 compliance, not just GCC.
16901         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
16902         Likewise.
16903
16904 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
16905
16906         * NEWS: Restore accidentally deleted bug-fix entries.
16907
16908 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
16909             Ondřej Bílka  <neleai@seznam.cz>
16910
16911         [BZ #15073]
16912         * malloc/malloc.c (_int_free): Perform sanity check only if we
16913         have_lock.
16914
16915 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
16916
16917         [BZ #12986]
16918         * manual/stdio.texi (String Input Conversions): Clarify that character
16919         classes are not supported.
16920
16921 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
16922
16923         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16924
16925 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
16926
16927         [BZ #16337]
16928         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
16929         Calculate results for small negative arguments directly rather
16930         than using reflection formula with special underflow handling.
16931
16932         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
16933         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
16934         sysdeps/unix/bsd/bsd4.4/syscalls.list.
16935         (fchflags): Likewise.
16936         (revoke): Likewise.
16937         (setlogin): Likewise.
16938         (sigaltstack): Likewise.
16939         (wait4): Likewise.
16940         (sigblock): Remove.
16941         (sigsetmask): Likewise.
16942         (wait3): Likewise.
16943         (waitpid): Likewise.
16944         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
16945         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
16946         file.
16947         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
16948         * sysdeps/unix/bsd/Makefile: ... here.
16949         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
16950         * sysdeps/unix/bsd/Versions: ... here.
16951         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
16952         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
16953         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
16954         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
16955         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
16956         * sysdeps/unix/bsd/sigblock.c: ... here.
16957         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
16958         * sysdeps/unix/bsd/sigsetmask.c: ... here.
16959         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
16960         * sysdeps/unix/bsd/sigvec.c: ... here.
16961         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
16962         * sysdeps/unix/bsd/tcdrain.c: ... here.
16963         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
16964         * sysdeps/unix/bsd/tcgetattr.c: ... here.
16965         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
16966         * sysdeps/unix/bsd/tcsetattr.c: ... here.
16967         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
16968         * sysdeps/unix/bsd/wait.c: ... here.
16969         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
16970         * sysdeps/unix/bsd/wait3.c: ... here.
16971         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
16972         * sysdeps/unix/bsd/waitpid.c: ... here.
16973
16974 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
16975
16976         [BZ #16356]
16977         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
16978         round-to-nearest for [!USE_AS_EXPM1L].
16979         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
16980         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
16981         more tests of exp and exp10.  Expect some exp10 tests to miss
16982         exceptions or fail in directed rounding modes.
16983         * math/auto-libm-test-out: Regenerated.
16984         * math/libm-test.inc (exp10_tonearest_test_data): New array.
16985         (exp10_test_tonearest): New function.
16986         (exp10_towardzero_test_data): New array.
16987         (exp10_test_towardzero): New function.
16988         (exp10_downward_test_data): New array.
16989         (exp10_test_downward): New function.
16990         (exp10_upward_test_data): New array.
16991         (exp10_test_upward): New function.
16992         (main): Call the new functions.
16993         * sysdeps/i386/fpu/libm-test-ulps: Update.
16994         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
16995
16996 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
16997
16998         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
16999         asinh, atan, atan2, atanh, cbrt, cos and cosh.
17000         * math/auto-libm-test-out: Regenerated.
17001         * math/libm-test.inc (acosh_test_data): Add more tests.
17002         (atanh_test_data): Likewise.
17003         (ceil_test_data): Likewise.
17004         (copysign_test_data): Likewise.
17005         * sysdeps/i386/fpu/libm-test-ulps: Update.
17006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17007
17008         * timezone/checktab.awk: Update from tzcode 2013i.
17009         * timezone/private.h: Likewise.
17010         * timezone/scheck.c: Likewise.
17011         * timezone/tzfile.h: Likewise.
17012         * timezone/tzselect.ksh: Likewise.
17013         * timezone/zdump.c: Likewise.
17014         * timezone/zic.c: Likewise.
17015
17016         * math/auto-libm-test-in: Add tests of cpow.
17017         * math/auto-libm-test-out: Regenerated.
17018         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
17019         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17020         mpc_cc_c.
17021         (func_calc_desc): Add mpc_cc_c union field.
17022         (test_functions): Add cpow.
17023         (special_fill_2pi): New function.
17024         (special_real_inputs): Add 2pi.
17025         (calc_generic_results): Handle mpc_cc_c.
17026         * sysdeps/i386/fpu/libm-test-ulps: Update.
17027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17028
17029         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
17030         csqrt, ctan and ctanh.
17031         * math/auto-libm-test-out: Regenerated.
17032         * math/libm-test.inc (TEST_COND_x86_64): New macro.
17033         (TEST_COND_x86): Likewise.
17034         (ccos_test_data): Use AUTO_TESTS_c_c.
17035         (ccosh_test_data): Likewise.
17036         (cexp_test_data): Likewise.
17037         (clog_test_data): Likewise.
17038         (csqrt_test_data): Likewise.
17039         (ctan_test_data): Likewise.
17040         (ctan_tonearest_test_data): Likewise.
17041         (ctan_towardzero_test_data): Likewise.
17042         (ctan_downward_test_data): Likewise.
17043         (ctan_upward_test_data): Likewise.
17044         (ctanh_test_data): Likewise.
17045         (ctanh_tonearest_test_data): Likewise.
17046         (ctanh_towardzero_test_data): Likewise.
17047         (ctanh_downward_test_data): Likewise.
17048         (ctanh_upward_test_data): Likewise.
17049         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17050         mpc_c_c.
17051         (func_calc_desc): Add mpc_c_c union field.
17052         (FUNC_mpc_c_c): New macro.
17053         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
17054         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
17055         ctanh.
17056         (special_fill_min_subnorm_p120): New function.
17057         (special_real_inputs): Add min_subnorm_p120.
17058         (calc_generic_results): Handle mpc_c_c.
17059         * sysdeps/i386/fpu/libm-test-ulps: Update.
17060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17061
17062 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
17063
17064         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
17065         (do_sin_slow): New functions.
17066         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
17067         (cslow2, csloww1, csloww2): Use the new functions.
17068
17069         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
17070         Use M to change sign of result instead of X.  Assume X is
17071         positive.
17072         (csloww1): Likewise.
17073         (__sin): Adjust.
17074         (__cos): Adjust.
17075
17076         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
17077         arguments A and DA.
17078         (__sin): Adjust.
17079         (__cos): Likewise.
17080
17081         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
17082         (__cos): Likewise.
17083         (sloww1): Don't adjust sign of DX.
17084         (csloww1): Likewise.
17085         (sloww2): Use X directly and don't adjust sign of DX.
17086         (csloww2): Likewise.
17087
17088 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
17089
17090         * math/auto-libm-test-in: Add tests of cabs and carg.
17091         * math/auto-libm-test-out: Regenerated.
17092         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
17093         (carg_test_data): Likewise.
17094         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17095         mpc_c_f.
17096         (func_calc_desc): Add mpc_c_f union field.
17097         (test_functions): Add cabs and carg.
17098         (calc_generic_results): Handle mpc_c_f.
17099
17100         * sysdeps/powerpc/powerpc32/libgcc-compat.S
17101         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
17102         as a macro and a compat symbol.
17103         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
17104         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
17105         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
17106         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
17107         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
17108         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
17109         not use .hidden.
17110         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
17111         Likewise.
17112         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
17113         Likewise.
17114         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
17115         Likewise.
17116         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
17117         Likewise.
17118         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
17119         Likewise.
17120         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
17121         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
17122         from GLIBC_2.3.2.
17123
17124 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17125
17126         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17127
17128 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
17129
17130         * manual/texinfo.tex: Update to version 2013-11-26.10 with
17131         trailing whitespace removed.
17132         * scripts/config.guess: Update to version 2013-11-29.
17133         * scripts/config.sub: Update to version 2013-10-01.
17134
17135         * math/auto-libm-test-in: Add tests of sincos.
17136         * math/auto-libm-test-out: Regenerated.
17137         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
17138         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17139         mpfr_f_11.
17140         (func_calc_desc): Add mpfr_f_11 union field.
17141         (test_functions): Add sincos.
17142         (calc_generic_results): Handle mpfr_f_11.
17143         * sysdeps/i386/fpu/libm-test-ulps: Update.
17144         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17145
17146 2013-12-19  Andreas Schwab  <schwab@suse.de>
17147
17148         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
17149         CALL_MCOUNT.
17150         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
17151         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
17152         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
17153
17154 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
17155
17156         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
17157         * sysdeps/i386/fpu/libm-test-ulps: Update.
17158         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17159
17160         [BZ #16293]
17161         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
17162         round-to-nearest mode when using frndint.
17163         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
17164         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
17165         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
17166         Likewise.
17167         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
17168         sinh test to fail.
17169         * math/auto-libm-test-out: Regenerated.
17170         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
17171         (TEST_COND_x86): Likewise.
17172         (expm1_tonearest_test_data): New array.
17173         (expm1_test_tonearest): New function.
17174         (expm1_towardzero_test_data): New array.
17175         (expm1_test_towardzero): New function.
17176         (expm1_downward_test_data): New array.
17177         (expm1_test_downward): New function.
17178         (expm1_upward_test_data): New array.
17179         (expm1_test_upward): New function.
17180         (main): Run the new test functions.
17181         * sysdeps/i386/fpu/libm-test-ulps: Update.
17182         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17183
17184         * include/features.h: Update comment documenting feature test
17185         macros.  Mention _DEFAULT_SOURCE in comment.
17186         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
17187         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
17188         _BSD_SOURCE and _SVID_SOURCE.
17189         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
17190         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
17191         !_SVID_SOURCE]: Likewise.
17192         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17193         (__USE_POSIX_IMPLICITLY): Define.
17194         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17195         (_POSIX_SOURCE): Undefine and redefine.
17196         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
17197         (_POSIX_C_SOURCE): Likewise.
17198         * manual/creature.texi (_DEFAULT_SOURCE): Document.
17199         (Feature Test Macros): Update documentation of default features.
17200
17201 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
17202
17203         * benchtests/Makefile: Add bench-strtok.
17204         * benchtests/bench-strtok.c: New file: strtok benchtest.
17205
17206 2013-12-19  Allan McRae  <allan@archlinux.org>
17207
17208         * manual/install.texi: Suppress menu for plain text output.
17209         * INSTALL: Regenerated.
17210
17211 2013-12-18  Brooks Moses  <bmoses@google.com>
17212
17213         [BZ #15846]
17214         * misc/getauxval.c: Include errno.h.
17215         (__getauxval): Set errno to ENOENT if the requested type is not
17216         found.
17217         * misc/sys/auxv.h (getauxval): Document that it may set errno;
17218         don't declare with __attribute_const__.
17219         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
17220         * manual/startup.texi: Document that getauxval sets errno.
17221
17222 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
17223
17224         * math/auto-libm-test-in: Add tests of jn and yn.
17225         * math/auto-libm-test-out: Regenerated.
17226         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
17227         (yn_test_data): Likewise.
17228         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17229         mpfr_if_f.
17230         (func_calc_desc): Add mpfr_if_f union field.
17231         (FUNC_mpfr_if_f): New macro.
17232         (test_functions): Add jn and yn.
17233         (calc_generic_results): Assert type of second input for
17234         mpfr_ff_f.  Handle mpfr_if_f.
17235         (output_for_one_input_case): Disable all checking for arguments
17236         fitting floating-point types in case of an integer argument.
17237         * sysdeps/i386/fpu/libm-test-ulps: Update.
17238         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17239
17240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
17241         Don't expect fegetround reference in libm.so.
17242
17243 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
17244
17245         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
17246         $(config-cflags-nofma).
17247
17248 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
17249
17250         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
17251         * math/auto-libm-test-out: Regenerated.
17252
17253         [BZ #16338]
17254         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
17255         to determine exponent and adjust argument to have exponent of -1.
17256         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
17257         log2.
17258         * math/auto-libm-test-out: Regenerated.
17259         * sysdeps/i386/fpu/libm-test-ulps: Update.
17260         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17261
17262 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
17263
17264         * manual/probes.texi: Remove cases when per-thread arenas are
17265         disabled.
17266
17267 2013-12-18  Andreas Schwab  <schwab@suse.de>
17268
17269         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
17270         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
17271         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
17272         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
17273         * sysdeps/i386/i686/multiarch/Makefile: Update.
17274         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
17275
17276 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17277
17278         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
17279         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
17280
17281 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
17282
17283         [BZ #15968]
17284         Support TZ transition times < 00:00:00.
17285         This is needed for version-3 tz-format files; it supports time
17286         stamps past 2037 for America/Godthab (the only entry in the tz
17287         database for which this change is relevant).
17288         * manual/time.texi (TZ Variable): Document transition times
17289         from -167:59:59 through -00:00:01.
17290         * time/tzset.c (tz_rule): Time of day is now signed.
17291         (__tzset_parse_tz): Parse negative time of day.
17292
17293         Document TZ transition times >= 25:00:00.
17294         * manual/time.texi (TZ Variable): Document transition times from
17295         25:00:00 through 167:59:59.  These are already supported, and this
17296         support will help with version-3 tz-format files.
17297
17298         * manual/time.texi (TZ Variable): Modernize North America example
17299         to reflect current (i.e., 2007-and-later) daylight saving rules.
17300
17301         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
17302
17303 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17304
17305         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
17306         * sysdeps/unix/bsd/bits/stat.h: Likewise.
17307         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
17308         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
17309         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
17310         * sysdeps/unix/bsd/bsdstat.h: Likewise.
17311         * sysdeps/unix/bsd/clock.c: Likewise.
17312         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
17313         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
17314         * sysdeps/unix/bsd/init-posix.c: Likewise.
17315         * sysdeps/unix/bsd/poll.c: Likewise.
17316         * sysdeps/unix/bsd/ptsname.c: Likewise.
17317         * sysdeps/unix/bsd/seekdir.c: Likewise.
17318         * sysdeps/unix/bsd/setegid.c: Likewise.
17319         * sysdeps/unix/bsd/seteuid.c: Likewise.
17320         * sysdeps/unix/bsd/setgid.c: Likewise.
17321         * sysdeps/unix/bsd/setrgid.c: Likewise.
17322         * sysdeps/unix/bsd/setruid.c: Likewise.
17323         * sysdeps/unix/bsd/setsid.c: Likewise.
17324         * sysdeps/unix/bsd/setuid.c: Likewise.
17325         * sysdeps/unix/bsd/sigaction.c: Likewise.
17326         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
17327         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
17328         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
17329         * sysdeps/unix/bsd/telldir.c: Likewise.
17330         * sysdeps/unix/bsd/times.c: Likewise.
17331         * sysdeps/unix/bsd/usleep.c: Likewise.
17332
17333         * misc/Makefile (install-lib): Remove libbsd-compat.a.
17334         ($(objpfx)libbsd-compat.a): Remove rule.
17335
17336         * include/features.h (__FAVOR_BSD): Do not define.
17337         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
17338         features conflicting with POSIX.
17339         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
17340         (_BSD_SOURCE): Remove description of not being a subset of other
17341         feature test macros.
17342         * manual/job.texi (getpgrp): Do not document BSD version.
17343         (getpgid): Do not document by reference to BSD getpgrp.
17344         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
17345         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
17346         * signal/signal.h [__FAVOR_BSD]: Likewise.
17347         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
17348         instead of making contents conditional on [__FAVOR_BSD].
17349         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
17350
17351 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17352
17353         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
17354
17355 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
17356
17357         [BZ #16314]
17358         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
17359         values below 2**-450, not 2**-500.
17360         * math/auto-libm-test-in: Don't allow spurious underflow from
17361         hypot.
17362         * math/auto-libm-test-out: Regenerated.
17363
17364         [BZ #16316]
17365         [BZ #16330]
17366         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
17367         values of ha and hb and sort them after adjusting subnormal
17368         arguments.
17369         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
17370         Likewise.
17371         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
17372         values of ea and eb and sort them after adjusting subnormal
17373         arguments.
17374         * math/auto-libm-test-in: Do not expect some hypot tests of
17375         subnormals to fail.  Add more hypot tests.
17376         * math/auto-libm-test-out: Regenerated.
17377
17378 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17379
17380         [BZ #13304]
17381         * sysdeps/sh/s_fma.c: New file.
17382         * sysdeps/sh/s_fmaf.c: New file.
17383         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
17384         version.
17385         * sysdeps/sh/Implies: Add sh/soft-fp.
17386
17387 2013-12-16  Roland McGrath  <roland@hack.frob.com>
17388
17389         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
17390         level of indirection to members `objname', `errstring', `malloced'.
17391         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
17392         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
17393         it as the __longjmp argument (just pass 1 instead).
17394         (_dl_catch_error): Initialize C with argument pointers and address of
17395         volatile local ERRCODE rather than copying values out of C at return.
17396
17397 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
17398
17399         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
17400         * math/auto-libm-test-out: Regenerated.
17401         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
17402         (hypot_test_data): Likewise.
17403         (pow_test_data): Likewise.
17404         (pow_tonearest_test_data): Likewise.
17405         * math/gen-auto-libm-tests.c (func_calc_method): Add value
17406         mpfr_ff_f.
17407         (func_calc_desc): Add mpfr_ff_f union field.
17408         (FUNC_mpfr_ff_f): New macro.
17409         (test_functions): Add atan2, hypot and pow.
17410         (special_fill_min): New function.
17411         (special_fill_minus_min): Likewise.
17412         (special_fill_min_subnorm): Likewise.
17413         (special_fill_minus_min_subnorm): Likewise.
17414         (special_real_inputs): Add min, -min, min_subnorm and
17415         -min_subnorm.
17416         (calc_generic_results): Handle mpfr_ff_f.
17417         * sysdeps/i386/fpu/libm-test-ulps: Update.
17418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17419
17420 2013-12-16  Will Newton  <will.newton@linaro.org>
17421
17422         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
17423         (Aligned Memory Blocks): Add documentation for aligned_alloc
17424         and suggest it as an alternative to posix_memalign.
17425         (Hooks for Malloc): Document __memalign_hook is also called
17426         for aligned_alloc.  (Summary of Malloc): Add summary for
17427         aligned alloc.  Document __memalign_hook is also called
17428         for aligned_alloc.
17429
17430 2013-12-16  Will Newton  <will.newton@linaro.org>
17431
17432         * manual/memory.texi (Malloc Examples): Clarify default
17433         alignment documentation.  Suggest posix_memalign rather
17434         than memalign or valloc.
17435         (Aligned Memory Blocks): Remove suggestion to use memalign
17436         or valloc.  Remove obsolete comment about BSD.
17437         Document memalign errno values and mark the function obsolete.
17438         Document posix_memalign returned error codes.  Mark valloc
17439         as obsolete.  (Hooks for Malloc): __memalign_hook is also
17440         called for posix_memalign and valloc.
17441         (Summary of Malloc): Add posix_memalign to function summary.
17442         __memalign_hook is also called for posix_memalign and valloc.
17443
17444 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
17445
17446         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
17447         TAYLOR_SIN.
17448         (__sin): Adjust.
17449         (__cos): Likewise.
17450         (sloww): Use mynumber union.  Expand ternary operator into
17451         if-else statements.
17452         (cslow): use mynumber union.
17453
17454 2013-12-16  Allan McRae  <allan@archlinux.org>
17455
17456         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
17457         * configure: Regenerated.
17458
17459         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
17460
17461         [BZ #14120]
17462         * configure.ac: Added --enable-maintainer-mode. Check for
17463         autoconf when enabled.
17464         * configure: Regenerated.
17465
17466         * nscd/nscd.service: New file.
17467         * nscd/nscd.tmpfiles: New file.
17468
17469 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
17470
17471         [BZ #12100]
17472         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
17473         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
17474         * sysdeps/x86_64/multiarch/strstr.c: ... here.
17475         (strstr): Add __strstr_sse2_unaligned ifunc.
17476         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
17477         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
17478         (strcasestr): Remove __strcasestr_sse42 ifunc.
17479         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
17480         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
17481         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
17482
17483 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17484
17485         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
17486         * sysdeps/sh/bits/fenv.h: ... here.
17487         * sysdeps/sh/sh4/fpu/bits: Remove directory.
17488
17489 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17490
17491         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
17492
17493         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
17494         hypotf multiarch implementations.
17495         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
17496         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
17497         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
17498         multiarch hypot for PPC64.
17499         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
17500         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
17501         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
17502         multiarch hypotf for PPC64.
17503
17504         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
17505         modff multiarch implementations.
17506         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
17507         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
17508         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
17509         multiarch modf for PPC64.
17510         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
17511         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
17512         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
17513         multiarch modff for PPC64.
17514
17515         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
17516         and logl multiarch implementations.
17517         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
17518         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
17519         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
17520         multiarch logb for PPC64.
17521         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
17522         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
17523         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
17524         multiarch logb for PPC64.
17525         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
17526         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
17527         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
17528         multiarch logb for PPC64.
17529
17530         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
17531         isinff multiarch implementation.
17532         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
17533         file.
17534         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
17535         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
17536         multiarch isinf for PPC64.
17537         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
17538         file.
17539         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
17540         multiarch isinff for PPC64.
17541
17542         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
17543         finitef multiarch implementation.
17544         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
17545         file.
17546         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
17547         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
17548         multiarch finite for PPC64.
17549         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
17550         file.
17551         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
17552         multiarch finitef for PPC64.
17553
17554         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
17555         lrint multiarch implementation.
17556         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
17557         file.
17558         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
17559         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
17560         multiarch llrint for PPC64.
17561         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
17562         multiarch lrint for PPC64.
17563
17564         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
17565         copysignf multiarch implementation.
17566         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
17567         file.
17568         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
17569         file.
17570         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
17571         multiarch copysign for PPC64.
17572         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
17573         multiarch copysignf for PPC64.
17574
17575         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
17576         multiarch implementation.
17577         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
17578         file.
17579         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
17580         file.
17581         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
17582         file.
17583         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
17584         file.
17585         multiarch llround for PPC64.
17586         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
17587         multiarch trunc for PPC64.
17588         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
17589         multiarch truncf for PPC64.
17590
17591         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
17592         multiarch implementation.
17593         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
17594         file.
17595         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
17596         file.
17597         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
17598         file.
17599         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
17600         file.
17601         multiarch llround for PPC64.
17602         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
17603         multiarch round for PPC64.
17604         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
17605         multiarch roundf for PPC64.
17606
17607         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
17608         multiarch implementation.
17609         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
17610         file.
17611         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
17612         file.
17613         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
17614         file.
17615         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
17616         file.
17617         multiarch llround for PPC64.
17618         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
17619         multiarch floor for PPC64.
17620         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
17621         multiarch floorf for PPC64.
17622
17623         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
17624         multiarch implementation.
17625         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
17626         file.
17627         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
17628         file.
17629         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
17630         file.
17631         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
17632         file.
17633         multiarch llround for PPC64.
17634         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
17635         multiarch ceil for PPC64.
17636         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
17637         multiarch ceilf for PPC64.
17638
17639         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
17640         multiarch implementation.
17641         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
17642         file.
17643         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
17644         file.
17645         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
17646         file.
17647         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
17648         multiarch llround for PPC64.
17649         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
17650         multiarch lround for PPC64.
17651
17652         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
17653         multiarch implementation.
17654         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
17655         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
17656         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
17657         file.
17658         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
17659         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
17660         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
17661         multiarch isnan for PPC64.
17662         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
17663         multiarch isnanf for PPC64.
17664
17665         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
17666         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
17667         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
17668         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
17669         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
17670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
17671
17672         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
17673         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
17674         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
17675         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
17676
17677         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
17678         multiarch implementations.
17679         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17680         (__libc_ifunc_impl_list): Likewise.
17681         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
17682         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
17683         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
17684         multiarch stpcpy for PPC64.
17685
17686         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
17687         multiarch implementations.
17688         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17689         (__libc_ifunc_impl_list): Likewise.
17690         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
17691         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
17692         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
17693         multiarch strcpy for PPC64.
17694
17695         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
17696         redefine function name.
17697         (_wordcopy_fwd_dest_aligned): Likewise.
17698         (_wordcopy_bwd_aligned): Likewise.
17699         (_wordcopy_bwd_dest_aligned): Likewise.
17700         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
17701         multiarch implementations.
17702         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17703         (__libc_ifunc_impl_list): Likewise.
17704         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
17705         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
17706         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
17707         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
17708         multiarch wcscpy for PPC64.
17709
17710         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
17711         multiarch implementations.
17712         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17713         (__libc_ifunc_impl_list): Likewise.
17714         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
17715         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
17716         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
17717         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
17718         multiarch wcscpy for PPC64.
17719
17720         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
17721         multiarch implementations.
17722         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17723         (__libc_ifunc_impl_list): Likewise.
17724         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
17725         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
17726         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
17727         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
17728         multiarch wcsrchr for PPC64.
17729
17730         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
17731         multiarch implementations.
17732         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17733         (__libc_ifunc_impl_list): Likewise.
17734         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
17735         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
17736         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
17737         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
17738         multiarch wcschr for PPC64.
17739
17740         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
17741         multiarch implementations.
17742         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17743         (__libc_ifunc_impl_list): Likewise.
17744         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
17745         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
17746         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
17747         multiarch strchrnul for PPC64.
17748
17749         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
17750         implementations.
17751         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17752         (__libc_ifunc_impl_list): Likewise.
17753         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
17754         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
17755         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
17756         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
17757         strchr for PPC64.
17758
17759         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
17760         implementations.
17761         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17762         (__libc_ifunc_impl_list): Likewise.
17763         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
17764         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
17765         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
17766         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
17767         strncmp for PPC64.
17768
17769         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
17770         multiarch implementations.
17771         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17772         (__libc_ifunc_impl_list): Likewise.
17773         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
17774         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
17775         strncasecmp for PPC64.
17776         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
17777         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
17778         multiarch strncasecmp_l for PPC64.
17779
17780         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
17781         multiarch implementations.
17782         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
17783         (__libc_ifunc_impl_list): Likewise.
17784         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
17785         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
17786         multiarch strcasecmp for PPC64.
17787         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
17788         file.
17789         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
17790         multiarch strcasecmp_l for PPC64.
17791
17792         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
17793         implementations.
17794         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17795         (__libc_ifunc_impl_list): Likewise.
17796         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
17797         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
17798         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
17799         strnlen for PPC64.
17800
17801         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
17802         implementations.
17803         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17804         (__libc_ifunc_impl_list): Likewise.
17805         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
17806         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
17807         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
17808         strlen for PPC64.
17809
17810         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
17811         implementations.
17812         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17813         (__libc_ifunc_impl_list): Likewise.
17814         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
17815         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
17816         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
17817         rawmemrchr for PPC64.
17818
17819         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
17820         implementation.
17821         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17822         (__libc_ifunc_impl_list): Likewise.
17823         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
17824         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
17825         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
17826         memrchr for PPC64.
17827
17828         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
17829         implementation.
17830         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17831         (__libc_ifunc_impl_list): Likewise.
17832         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
17833         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
17834         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
17835         memchr for PPC64.
17836
17837         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
17838         implementation.
17839         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17840         (__libc_ifunc_impl_list): Likewise.
17841         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
17842         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
17843         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
17844         mempcpy for PPC64.
17845
17846         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
17847         avoid cretion of __bzero symbol.
17848         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
17849         Likewise.
17850         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
17851         Likewise.
17852         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
17853         Likewise.
17854         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
17855         multiarch implementations.
17856         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17857         (__libc_ifunc_impl_list): Likewise.
17858         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
17859         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
17860         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
17861         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
17862         bzero for PPC32.
17863         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
17864         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
17865         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
17866         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
17867         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
17868         memset for PPC64.
17869         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
17870
17871         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
17872         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
17873         implementations.
17874         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
17875         (__libc_ifunc_impl_list): Likewise.
17876         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
17877         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
17878         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
17879         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
17880         memcmp for PPC64.
17881
17882         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
17883         multiarch for POWER/PPC64.
17884         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
17885         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
17886         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
17887         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
17888         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
17889         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
17890         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
17891         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
17892         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
17893         memcpy for PPC64.
17894
17895         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
17896         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
17897         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
17898         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
17899         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
17900         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
17901         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
17902         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
17903         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
17904         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
17905         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
17906         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
17907         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
17908         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
17909         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
17910         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
17911         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
17912         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
17913         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
17914         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
17915         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
17916         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
17917
17918 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
17919
17920         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
17921
17922 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
17923
17924         * benchtests/Makefile (bench): Add exp2 and log2.
17925         (LDLIBS-bench-exp2): Add -lm.
17926         (LDLIBS-bench-log2): Likewise.
17927         * benchtests/exp2-inputs: New inputs file.
17928         * benchtests/log2-inputs: New inputs file.
17929         * benchtests/log-inputs: Add new inputs.
17930         * benchtests/tan-inputs: Likewise.
17931
17932 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
17933
17934         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
17935         definition...
17936         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
17937         (csloww2): ... from here.
17938
17939         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
17940         instead of structures.
17941         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
17942         (POLYNOMIAL): Likewise.
17943         (TAYLOR_SLOW): Likewise.
17944         (__sin): Likewise.
17945         (__cos): Likewise.
17946         (slow1): Likewise.
17947         (slow2): Likewise.
17948         (sloww): Likewise.
17949         (sloww1); Likewise.
17950         (sloww2): Likewise.
17951         (bsloww1): Likewise.
17952         (bsloww2): Likewise.
17953         (cslow2): Likewise.
17954         (csloww): Likewise.
17955         (csloww1): Likewise.
17956         (csloww2): Likewise.
17957
17958 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
17959
17960         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
17961         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
17962         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
17963         * malloc/hooks.c (realloc_check): Likewise.
17964
17965         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
17966         * malloc/arena.c: Remove PER_THREAD conditional.
17967         [!PER_THREAD]: Remove code.
17968         (ptmalloc_unlock_all2): Likewise.
17969         (ptmalloc_init): Likewise.
17970         (_int_new_arena): Likewise.
17971         (arena_get2): Likewise.
17972         * malloc/hooks.c (__malloc_get_state): Likewise.
17973         (__malloc_set_state): Likewise.
17974         * malloc/malloc.c: Likewise.
17975         (struct malloc_state): Likewise.
17976         (struct malloc_par): Likewise.
17977         (__libc_realloc): Likewise.
17978         (__libc_mallopt): Likewise.
17979
17980 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17981
17982         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
17983
17984 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
17985
17986         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
17987         macro to a function.  Check for zero perturb_byte.
17988         (_int_malloc, _int_free): Remove zero perturb_byte checks.
17989
17990         * malloc/malloc.c: (force_reg): Remove.
17991         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
17992         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
17993         force_reg by atomic_forced_read.
17994         * malloc/arena.c (ptmalloc_init): Likewise.
17995         * malloc/hooks.c (top_check): Likewise.
17996
17997 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
17998
17999         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18000
18001 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
18002
18003         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18004
18005 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
18006
18007         * math/auto-libm-test-in: Add tests of lgamma.
18008         * math/auto-libm-test-out: Regenerated.
18009         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
18010         (M_LOG_2_SQRT_PIl): Likewise.
18011         (lgamma_test_data): Use AUTO_TESTS_f_f1.
18012         * math/gen-auto-libm-tests.c (func_calc_method): Add value
18013         mpfr_f_f1.
18014         (func_calc_desc): Add mpfr_f_f1 union field.
18015         (ARGS1): New macro.
18016         (ARGS2): Likewise.
18017         (ARGS3): Likewise.
18018         (ARGS4): Likewise.
18019         (RET1): Likewise.
18020         (RET2): Likewise.
18021         (CALC): Likewise.
18022         (FUNC): Likewise.
18023         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
18024         (test_functions): Add lgamma.
18025         (calc_generic_results): Handle mpfr_f_f1.
18026         * sysdeps/i386/fpu/libm-test-ulps: Update.
18027         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18028
18029 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18030
18031         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
18032         __mpn_add_n for PowerPC64/POWER7.
18033         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
18034         __mpn_sub_n for PowerPC64/POWER7.
18035
18036         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
18037         __mpn_addmul_1 for PowerPC64.
18038         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
18039         __mpn_submul_1 for PowerPC64.
18040         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
18041         for PowerPC64.
18042         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
18043         for PowerPC64.
18044
18045 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
18046
18047         [BZ #15089]
18048         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
18049
18050 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18051
18052         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
18053
18054         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
18055         add multiarch folders.
18056         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
18057         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
18058         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
18059         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
18060         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
18061         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
18062         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
18063         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
18064         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
18065         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
18066         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
18067         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
18068         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
18069         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
18070         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
18071         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
18072         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
18073
18074         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18075         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
18076         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
18077         New file.
18078         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
18079         New file.
18080         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
18081         multiarch __ieee754_hypot for PowerPC32.
18082         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
18083         New file.
18084         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
18085         New file.
18086         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
18087         multiarch __ieee754_hypotf for PowerPC32.
18088
18089         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
18090         long_double_symbol only if __logbl is defined.
18091         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
18092         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
18093         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
18094         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
18095         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
18096         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
18097         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
18098         path for implementation.
18099         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
18100         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
18101         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
18102         logb, and logbl multiarch implementations for PowerPC32.
18103         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
18104         file.
18105         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
18106         file.
18107         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
18108         multiarch logb for PowerPC32.
18109         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
18110         file.
18111         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
18112         file.
18113         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
18114         multiarch logbf for PowerPC32.
18115         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
18116         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
18117         file.
18118         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
18119         multiarch logbl implementation for PowerPC32.
18120
18121         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
18122         and modff multiarch implementations.
18123         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
18124         New file.
18125         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
18126         New file.
18127         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
18128         multiarch modf for PowerPC32.
18129         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
18130         New file.
18131         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
18132         New file.
18133         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
18134         multiarch modff for PowerPC32.
18135
18136         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
18137         and lrintf multiarch implementations.
18138         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
18139         New file.
18140         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
18141         New file.
18142         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
18143         multiarch lrint for PowerPC32.
18144         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
18145         file: multiarch lrintf for PowerPC32.
18146
18147         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
18148         and lroundf multiarch implementations.
18149         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
18150         New file.
18151         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
18152         New file.
18153         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
18154         New file.
18155         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
18156         multiarch lround for PowerPC32.
18157         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
18158         file: multiarch lroundf for PowerPC32.
18159
18160         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
18161         copysign and copysignf multiarch implementations.
18162         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
18163         New file.
18164         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
18165         New file.
18166         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
18167         file: multiarch copysign for PowerPC32.
18168         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
18169         file: multiarch copysignf for PowerPC32.
18170
18171         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
18172         and truncf multiarch implementations.
18173         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
18174         New file.
18175         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
18176         file.
18177         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
18178         multiarch trunc for PowerPC32.
18179         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
18180         New file.
18181         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
18182         New file.
18183         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
18184         multiarch truncf for PowerPC32.
18185
18186         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
18187         and roundf multiarch implementations.
18188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
18189         New file.
18190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
18191         file.
18192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
18193         multiarch round for PowerPC32.
18194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
18195         New file.
18196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
18197         New file.
18198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
18199         multiarch roundf for PowerPC32.
18200
18201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
18202         and floorf multiarch implementations.
18203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
18204         New file.
18205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
18206         file.
18207         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
18208         multiarch floor for PowerPC32.
18209         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
18210         New file.
18211         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
18212         New file.
18213         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
18214         multiarch floorf for PowerPC32.
18215
18216         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
18217         and ceilf multiarch implementations.
18218         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
18219         New file.
18220         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
18221         file.
18222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
18223         multiarch ceil for PowerPC32.
18224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
18225         New file.
18226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
18227         file.
18228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
18229         multiarch ceilf for PowerPC32.
18230
18231         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
18232         is defined.
18233         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
18234         FINITEF is defined.
18235         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
18236         and finitef multiarch implementations.
18237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
18238         New file.
18239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
18240         file.
18241         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
18242         multiarch finite for PowerPC32.
18243         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
18244         New file.
18245         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
18246         file: multiarch finitef for PowerPC32.
18247
18248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
18249         and isinff multiarch implementations.
18250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
18251         file.
18252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
18253         file.
18254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
18255         multiarch isinf for PowerPC32.
18256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
18257         New file.
18258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
18259         multiarch isinff for PowerPC32.
18260
18261         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
18262         alias when __isnan is defined.
18263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
18264         and isnanf multiarch implementations.
18265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
18266         file.
18267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
18268         file.
18269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
18270         file.
18271         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
18272         file.
18273         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
18274         multiarch isnan for PowerPC32.
18275         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
18276         New file.
18277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
18278         New file.
18279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
18280         multiarch isnanf for PowerPC32.
18281
18282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
18283         and sqrtf multiarch implementations.
18284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
18285         file.
18286         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
18287         file.
18288         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
18289         multiarch sqrt for PowerPC32.
18290         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
18291         file.
18292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
18293         file.
18294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
18295         multiarch sqrtf for PowerPC32.
18296
18297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
18298         and llroundf multiarch implementations.
18299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
18300         New file.
18301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
18302         New file.
18303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
18304         New file.
18305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
18306         file: multiarch llround for PowerPC32.
18307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
18308         file: multiarch llroundf for PowerPC32.
18309
18310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
18311         multiarch PowerPC32 fpu implementations.
18312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
18313         New file.
18314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
18315         New file.
18316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
18317         multiarch llrint for PowerPC32.
18318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
18319         New file.
18320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
18321         New file.
18322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
18323         file.
18324
18325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
18326
18327         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
18328         file.
18329         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
18330         file.
18331         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
18332         file.
18333         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
18334         multiarch wordcopy for PPC32.
18335         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18336         wordcopy objects.
18337         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18338         (__libc_ifunc_impl_list): Likewise.
18339         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
18340         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
18341         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
18342         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
18343         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
18344         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
18345
18346         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
18347         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
18348         file.
18349         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
18350         file.
18351         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
18352         file.
18353         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
18354         multiarch wcscpy for PPC32.
18355         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
18356         multiarch objects.
18357         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18358         (__libc_ifunc_impl_list): Likewise.
18359         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18360         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18361         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
18362         sysdeps/powerpc/power6/wcscpy.c.
18363
18364         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
18365         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
18366         file.
18367         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
18368         file.
18369         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
18370         file.
18371         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
18372         multiarch wcsrchr for PPC32.
18373         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18374         multiarch objects.
18375         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18376         (__libc_ifunc_impl_list): Likewise.
18377         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
18378         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
18379         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
18380         sysdeps/powerpc/power6/wcsrchr.c.
18381
18382         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
18383         file.
18384         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
18385         file.
18386         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
18387         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
18388         multiarch wcschr for PPc32.
18389         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
18390         multiarch objects.
18391         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18392         (__libc_ifunc_impl_list): Likewise.
18393         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
18394         * sysdeps/powerpc/power6/wcschr.c: ... to here.
18395         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
18396         sysdeps/powerpc/power6/wcschr.c.
18397
18398         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
18399         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
18400         file.
18401         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
18402         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
18403         file: multiarch strchr for PPC32.
18404         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
18405         multiarch objects.
18406         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18407         (__libc_ifunc_impl_list): Likewise.
18408
18409         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
18410         name.
18411         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
18412         file.
18413         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
18414         file.
18415         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
18416         multiarch strchrnul for PPC32.
18417         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
18418         multiarch objects.
18419         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18420         (__libc_ifunc_impl_list): Likewise.
18421
18422         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
18423         file.
18424         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
18425         multiarch strncasecmp for PPC32.
18426         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
18427         file.
18428         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
18429         multiarch strncasecmp_l for PPC32.
18430         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
18431         strncasecmp multiarch objects.
18432         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18433         (__libc_ifunc_impl_list): Likewise.
18434
18435         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
18436         file.
18437         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
18438         multiarch strncasecmp for PPC32.
18439         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
18440         New file.
18441         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
18442         multiarch strcasecmp_l for PPC32.
18443         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
18444         multiarch objects.
18445         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18446         (__libc_ifunc_impl_list): Likewise.
18447
18448         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
18449         file.
18450         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
18451         file.
18452         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
18453         multiarch strncmp for PPC32.
18454         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
18455         multiarch objects.
18456         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18457         (__libc_ifunc_impl_list): Likewise.
18458
18459         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
18460         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
18461         file.
18462         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
18463         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
18464         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
18465         multiarch objects.
18466         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18467         (__libc_ifunc_impl_list): Likewise.
18468
18469         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
18470         file.
18471         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
18472         file.
18473         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
18474         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
18475         multiarch objects.
18476         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18477         (__libc_ifunc_impl_list): Likewise.
18478
18479         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
18480         file.
18481         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
18482         file.
18483         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
18484         multiarch rawmemchr for PPC32.
18485         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
18486         multiarch objects.
18487         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18488         (__libc_ifunc_impl_list): Likewise.
18489
18490         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
18491         file.
18492         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
18493         file.
18494         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
18495         file: memrchr multiarch for PPC32.
18496         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
18497         multiarch objects.
18498         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
18499         (__libc_ifunc_impl_list): Likewise.
18500
18501         * string/memchr.c (__memchr): Using macro to redefine symbol name.
18502         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
18503         file.
18504         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
18505         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
18506         multiarch memchr for PPC32.
18507         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
18508         multiarch objects.
18509         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18510         (__libc_ifunc_impl_list): Likewise.
18511
18512         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
18513         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
18514         file.
18515         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
18516         file.
18517         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
18518         file: multiarch mempcpy for PPC32.
18519         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
18520         multiarch objects.
18521         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18522         (__libc_ifunc_impl_list): Likewise.
18523
18524         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
18525         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
18526         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
18527         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
18528         multiarch bzero for PPC32.
18529         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
18530         file.
18531         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
18532         file.
18533         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
18534         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
18535         file: multiarch memset for PPC32.
18536         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
18537         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
18538         memset multiarch objects.
18539         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18540         (__libc_ifunc_impl_list): Likewise.
18541
18542         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
18543         file.
18544         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
18545         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
18546         memcmp for PPC32.
18547         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
18548         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
18549         multiarch objects.
18550         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18551         (__libc_ifunc_impl_list): Likewise.
18552
18553         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
18554         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
18555         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
18556         file.
18557         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
18558         file.
18559         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
18560         file.
18561         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
18562         multiarch memcpy for PPC32.
18563         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
18564         multiarch objects.
18565         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
18566         (__libc_ifunc_impl_list): Likewise.
18567
18568         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
18569         support multiarch for POWER/PPC32.
18570         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
18571         Likewise.
18572         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
18573         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
18574         Implies file to make multiarch folder appers before the fpu and
18575         default folder for power4 configuration.
18576
18577 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
18578
18579         * scripts/bench.pl: Append volatile keyword to type.
18580
18581 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
18582
18583         * sysdeps/sh/sotruss-lib.c: New file.
18584         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
18585
18586 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18587
18588         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18589
18590 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
18591
18592         [BZ #6810]
18593         * math/w_tgamma.c: Include <errno.h>.
18594         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
18595         * math/w_tgammaf.c: Include <errno.h>.
18596         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
18597         * math/w_tgammal.c: Include <errno.h>.
18598         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
18599         * math/auto-libm-test-in: Do not allow missing errno on tgamma
18600         underflow.  Add more tgamma tests.
18601         * math/auto-libm-test-out: Regenerated.
18602         * sysdeps/i386/fpu/libm-test-ulps: Update.
18603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18604
18605         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
18606         sin, sinh, tan, tanh, tgamma, y0 and y1.
18607         * math/auto-libm-test-out: Regenerated.
18608         * math/libm-test.inc (TEST_COND_x86_64): New macro.
18609         (TEST_COND_x86): Likewise.
18610         (M_E2l): Remove macro.
18611         (M_E3l): Likewise.
18612         (M_2_SQRT_PIl): Likewise.
18613         (M_SQRT_PIl): Likewise.
18614         (M_1_DIV_El): Likewise.
18615         (log_test_data): Use AUTO_TESTS_f_f.
18616         (log10_test_data): Likewise.
18617         (log1p_test_data): Likewise.
18618         (log2_test_data): Likewise.
18619         (sin_test_data): Likewise.
18620         (sin_tonearest_test_data): Likewise.
18621         (sin_towardzero_test_data): Likewise.
18622         (sin_downward_test_data): Likewise.
18623         (sin_upward_test_data): Likewise.
18624         (sinh_test_data): Likewise.
18625         (sinh_tonearest_test_data): Likewise.
18626         (sinh_towardzero_test_data): Likewise.
18627         (sinh_downward_test_data): Likewise.
18628         (sinh_upward_test_data): Likewise.
18629         (tan_test_data): Likewise.
18630         (tan_tonearest_test_data): Likewise.
18631         (tan_towardzero_test_data): Likewise.
18632         (tan_downward_test_data): Likewise.
18633         (tan_upward_test_data): Likewise.
18634         (tanh_test_data): Likewise.
18635         (tgamma_test_data): Likewise.
18636         (y0_test_data): Likewise.
18637         (y1_test_data): Likewise.
18638         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
18639         (special_real_inputs): Add pi/4.
18640         * sysdeps/i386/fpu/libm-test-ulps: Update.
18641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18642
18643 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18644
18645         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
18646         "longjmp_target" static probes.
18647         (__longjmp): Rename to __longjmp_symbol.
18648         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
18649         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
18650         on which longjmp to generate.
18651         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
18652         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
18653         probe.
18654         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18655         (__sigjmp_save): Rename to __sigjmp_save_symbol.
18656         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
18657         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
18658         and __sigjmp_save_symbol based on which sigsetjmp to generated.
18659         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
18660         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
18661         __longjmp_symbol based on which __longjmp to generate.
18662         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
18663         probe.
18664         (setjmp): Rename to setjmp_symbol.
18665         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18666         (_setjmp): Rename to _setjmp_symbol.
18667         (__sigsetjmp): Rename to __sigsetjmp_symbol.
18668         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
18669         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
18670         which setjmp to generate.
18671         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
18672         "longjmp_target" static probes.
18673
18674 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
18675
18676         * benchtests/README: Add note about output arguments.
18677         * benchtests/bench-sincos.c: Remove file.
18678         * benchtests/sincos-inputs: New file.
18679         * scripts/bench.pl: Identify output arguments and define
18680         static variables for them.
18681
18682         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
18683
18684         [BZ #15941]
18685         * Makefile (INSTALL): Add install-plain.texi as the primary
18686         dependency.
18687         * manual/install-plain.texi: New file.
18688         * manual/install.texi: Include node directive only for
18689         non-plaintext output.
18690
18691 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
18692
18693         * stdlib/longlong.h: Update from GCC.
18694
18695         [BZ #6807]
18696         [BZ #15901]
18697         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
18698         * math/w_j0f.c (y0f): Likewise.
18699         * math/w_j0l.c (__y0l): Likewise.
18700         * math/w_j1.c (y1): Likewise.
18701         * math/w_j1f.c (y1f): Likewise.
18702         * math/w_j1l.c (__y1l): Likewise
18703         * math/w_jn.c (yn): Likewise.
18704         * math/w_jnf.c (ynf): Likewise.
18705         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
18706         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
18707         value for Bessel function domain errors outside _SVID_ mode.
18708         Adjust sign of return value for yn (negative integer, 0).
18709         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
18710         by zero in return for negative x and set sign appropriately for
18711         negative n.
18712         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
18713         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
18714         * math/libm-test.inc (y0_test_data): Add more tests and adjust
18715         expectations in error cases.
18716         (y1_test_data): Likewise.
18717         (yn_test_data): Likewise.
18718         * sysdeps/i386/fpu/libm-test-ulps: Update.
18719         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18720
18721 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18722
18723         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
18724         "64" to "64-v1".  Add "64-v2".
18725         (abi-64-options): Rename to ...
18726         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
18727         (abi-64-condition): Rename to ...
18728         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
18729         (abi-64-ld-soname): Rename to ...
18730         (abi-64-v1-ld-soname): ... this.
18731         (abi-64-v2-options): Define.
18732         (abi-64-v2-condition): Likewise.
18733         (abi-64-v2-ld-soname): Likewise.
18734         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
18735         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
18736         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
18737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
18738         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
18739
18740 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18741             Alan Modra  <amodra@gmail.com>
18742
18743         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
18744         New versions for use with the ELFv2 ABI.
18745         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
18746         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
18747         declaration.
18748         (struct La_ppc64v2_retval): Likewise.
18749         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
18750         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
18751         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
18752         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
18753         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
18754         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
18755         Do not save or restore CR.
18756         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
18757         (_dl_profile_resolve): Do no save or restore CR.  Support extended
18758         return values for ELFv2 ABI.  Fix location of FPR return registers.
18759         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
18760         updated values for _CALL_ELF == 2.
18761         (La_regs, La_retval, int_retval): Likewise.
18762
18763 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18764
18765         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
18766         (FRAME_MIN_SIZE_PARM): Likewise.
18767         (FRAME_BACKCHAIN): Likewise.
18768         (FRAME_CR_SAVE): Likewise.
18769         (FRAME_LR_SAVE): Likewise.
18770         (FRAME_TOC_SAVE): Likewise.
18771         (FRAME_PARM_SAVE): Likewise.
18772         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
18773         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
18774         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18775         (call_mcount_parm_offset): New macro.
18776         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
18777         (PROF): Use symbolic stack frame offsets.
18778         (TAIL_CALL_SYSCALL_ERROR): Likewise.
18779         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
18780         Redefine in terms of FRAME_MIN_SIZE.
18781         (_dl_runtime_resolve): Use symbolic stack frame offsets.
18782         (_dl_profile_resolve): Likewise.  Update comment.
18783         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
18784         symbols stack frame offsets.
18785         (__sigsetjmp): Likewise.
18786         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
18787         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
18788         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
18789         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
18790
18791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
18792         (FRAME_BACKCHAIN): Remove.
18793         (FRAME_CR_SAVE): Likewise.
18794         (FRAME_LR_SAVE): Likewise.
18795         (FRAME_COMPILER_DW): Likewise.
18796         (FRAME_LINKER_DW): Likewise.
18797         (FRAME_TOC_SAVE): Likewise.
18798         (FRAME_PARM_SAVE): Likewise.
18799         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
18800         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
18801         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
18802         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
18803         (CHECK_SP): Use symbolic stack frame offsets.
18804         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
18805         zone" instead of caller's parameter save area for temp storage.
18806         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
18807         Likewise.  Also, use symbolic stack frame offsets.
18808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
18809         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
18810         our own stack frame instead of the caller's.
18811         (__socket): Use symbolic stack frame offsets.
18812
18813 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18814             Alan Modra  <amodra@gmail.com>
18815
18816         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
18817         Define.
18818         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
18819         (PPC64_LOCAL_ENTRY_OFFSET): Define.
18820         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
18821         New function.
18822         (elf_machine_fixup_plt): Call it.
18823         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
18824         reloc arguments.
18825         (elf_machine_rela): Update call to elf_machine_plt_conflict.
18826         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18827         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
18828         r2 before calling target.
18829
18830 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18831             Alan Modra  <amodra@gmail.com>
18832
18833         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
18834         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
18835         versions of macros to support ELFv2 ABI.
18836         (LOCALENTRY): New macro.
18837         (ENTRY, EALIGN): Use it.
18838         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
18839         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
18840         fall through into ENTRY entry point.
18841         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
18842         Only define if _CALL_ELF != 2.
18843
18844         (elf_machine_matches_host): Verify ABI version matches.
18845         (RTLD_START): Use LOCALENTRY.
18846         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
18847         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
18848         (PLT_ENTRY_WORDS): New macro.
18849         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
18850         (elf_machine_runtime_setup): Support ELFv2 ABI.
18851         (elf_machine_fixup_plt): Likewise.
18852         (elf_machine_plt_conflict): Likewise.
18853         (resolve_ifunc): Likewise.
18854         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
18855         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
18856         Likewise.
18857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
18858         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
18859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18860         (makecontext): Support ELFv2 ABI.
18861         * elf/elf.h (EF_PPC64_ABI): Define.
18862
18863 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18864
18865         * sysdeps/powerpc/powerpc64/sysdep.h
18866         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
18867         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
18868         (ENTRY) [ASSEMBLER]: ... but instead here ...
18869         (EALIGN) [ASSEMBLER]: ... and here.
18870         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
18871         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
18872         (ENTRY_2) [!ASSEMBLER]: Use it.
18873         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
18874         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
18875         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
18876         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
18877         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
18878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
18879         Use PPC64_LOAD_FUNCPTR.
18880
18881         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
18882
18883 2013-12-04  Alan Modra  <amodra@gmail.com>
18884
18885         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
18886         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
18887         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
18888         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
18889
18890         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
18891         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
18892         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
18893         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
18894         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
18895         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
18896
18897 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
18898
18899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
18900         (__makecontext): Fix incorrect CFI when backtracing out of
18901         context created via makecontext.
18902         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
18903         (__setcontext): Fix incorrect CFI during switch to new context.
18904         (__novec_setcontext): Likewise.
18905
18906 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
18907
18908         [BZ #4772]
18909         * time/strptime_l.c (__strptime_internal): Allow modifiers
18910         in strptime.
18911         * time/tst-strptime.c (day_tests): Add testcase.
18912
18913 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
18914
18915         * scripts/bench.pl: Skip over blank lines.
18916
18917 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
18918
18919         [BZ #926]
18920         * manual/time.texi (Calendar Time): Clarify what timezone functions
18921         use.
18922
18923 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
18924
18925         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
18926
18927 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
18928
18929         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
18930         implementation.
18931         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
18932         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
18933         * debug/memset_chk.c (__memset_chk): Likewise.
18934         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
18935         * debug/strncpy_chk.c: Likewise.
18936
18937 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
18938
18939         [BZ #15268]
18940         [BZ #15425]
18941         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
18942         (__ieee754_exp): For possibly underflowing results, check size of
18943         result and force underflow exception if required.
18944         * math/auto-libm-test-in: Add more tests of exp.
18945         * math/auto-libm-test-out: Regenerated.
18946         * sysdeps/i386/fpu/libm-test-ulps: Update.
18947         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18948
18949         [BZ #16283]
18950         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
18951         * math/w_exp2f.c (__exp2f): Likewise.
18952         * math/w_exp2l.c (__exp2l): Likewise.
18953         * math/auto-libm-test-in: Do not allow missing errno on exp2
18954         underflow.
18955         * math/auto-libm-test-out: Regenerated.
18956
18957 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
18958
18959         [BZ #16274]
18960         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
18961         handle filename validation.
18962         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
18963         (do_open): Delete.
18964
18965 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
18966
18967         [BZ #6786]
18968         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
18969         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
18970         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
18971         <float.h>.
18972         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
18973         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
18974         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18975         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
18976         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18977         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
18978         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
18979         * math/auto-libm-test-in: Don't allow missing errno from erfc.
18980         Add more erfc tests.
18981         * math/auto-libm-test-out: Regenerated.
18982         * sysdeps/i386/fpu/libm-test-ulps: Update.
18983         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
18984
18985         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
18986         exp2, expm1, j0 and j1.
18987         * math/auto-libm-test-out: Regenerated.
18988         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
18989         (erfc_test_data): Likewise.
18990         (exp_test_data): Likewise.
18991         (exp_tonearest_test_data): Likewise.
18992         (exp_towardzero_test_data): Likewise.
18993         (exp_downward_test_data): Likewise.
18994         (exp_upward_test_data): Likewise.
18995         (exp10_test_data): Likewise.
18996         (exp2_test_data): Likewise.
18997         (expm1_test_data): Likewise.
18998         (j0_test_data): Likewise.
18999         (j1_test_data): Likewise.
19000         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
19001         (input_flag_type): Add flag_xfail_rounding.
19002         (input_flags): Add xfail-rounding.
19003         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
19004         (output_for_one_input_case): Handle flag_xfail_rounding.
19005         * sysdeps/i386/fpu/libm-test-ulps: Update.
19006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19007
19008 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
19009
19010         [BZ #16289]
19011         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
19012         division by 0.
19013
19014 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
19015
19016         [BZ #16195]
19017         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
19018         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
19019         (STAP_PROBE0): New macro.
19020         (STAP_PROBE1): Likewise.
19021         (STAP_PROBE2): Likewise.
19022         (STAP_PROBE3): Likewise.
19023         (STAP_PROBE4): Likewise.
19024
19025 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
19026
19027         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
19028
19029 2013-12-02  Steve Ellcey  <sellcey@mips.com>
19030
19031         * benchtests/Makefile (bench): Add sqrt.
19032         (LDLIBS-bench-sqrt): New.
19033         * benchtests/sqrt-input: New.
19034
19035 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
19036
19037         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
19038         (GAIH_EAI): Likewise.
19039         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
19040         (gaih_inet): Likewise.
19041         (getaddrinfo): Don't use GAIH_EAI.
19042
19043         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
19044         (struct gaih): Remove definition.
19045
19046 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
19047
19048         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
19049         Use HERRNOP directly.
19050
19051 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19052
19053         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
19054
19055 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
19056
19057         * math/gen-auto-libm-tests.c (test_functions): Add more
19058         single-argument functions.
19059         (special_fill_pi_2): New function.
19060         (special_fill_minus_pi_2): Likewise.
19061         (special_fill_pi_6): Likewise.
19062         (special_fill_minus_pi_6): Likewise.
19063         (special_fill_pi_3): Likewise.
19064         (special_fill_2pi_3): Likewise.
19065         (special_fill_e): Likewise.
19066         (special_fill_1_e): Likewise.
19067         (special_fill_e_minus_1): Likewise.
19068         (special_real_inputs): Add more special inputs.
19069         (output_for_one_input_case): Do not require ERANGE on underflow to
19070         zero if round-to-nearest result does not underflow to zero, unless
19071         exact results required.
19072         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
19073         atan, atanh, cbrt, cos and cosh.
19074         * math/auto-libm-test-out: Regenerated.
19075         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
19076         (acos_tonearest_test_data): Likewise.
19077         (acos_towardzero_test_data): Likewise.
19078         (acos_downward_test_data): Likewise.
19079         (acos_upward_test_data): Likewise.
19080         (acosh_test_data): Likewise.
19081         (asin_test_data): Likewise.
19082         (asin_tonearest_test_data): Likewise.
19083         (asin_towardzero_test_data): Likewise.
19084         (asin_upward_test_data): Likewise.
19085         (asinh_test_data): Likewise.
19086         (atan_test_data): Likewise.
19087         (atanh_test_data): Likewise.
19088         (cbrt_test_data): Likewise.
19089         (cos_test_data): Likewise.
19090         (cos_tonearest_test_data): Likewise.
19091         (cos_towardzero_test_data): Likewise.
19092         (cos_downward_test_data): Likewise.
19093         (cos_upward_test_data): Likewise.
19094         (cosh_test_data): Likewise.
19095         (cosh_tonearest_test_data): Likewise.
19096         (cosh_towardzero_test_data): Likewise.
19097         (cosh_downward_test_data): Likewise.
19098         (cosh_upward_test_data): Likewise.
19099         * sysdeps/i386/fpu/libm-test-ulps: Update.
19100         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19101
19102 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
19103
19104         [BZ #6787]
19105         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
19106         * math/w_exp10f.c (__exp10f): Likewise.
19107         * math/w_exp10l.c (__exp10l): Likewise.
19108         * math/libm-test.inc (exp10_test_data): Add more tests and expect
19109         errno settings in existing tests.
19110
19111         [BZ #14032]
19112         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
19113         precision control set to double precision.
19114         * sysdeps/i386/fpu/w_sqrt.c: New file.
19115         * math/auto-libm-test-in: Add more tests.
19116         * math/auto-libm-test-out: Update.
19117
19118         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
19119         (sqrt_test_tonearest): New function.
19120         (sqrt_towardzero_test_data): New variable.
19121         (sqrt_test_towardzero): New function.
19122         (sqrt_downward_test_data): New variable.
19123         (sqrt_test_downward): New function.
19124         (sqrt_upward_test_data): New variable.
19125         (sqrt_test_upward): New function.
19126         (main): Call the new functions.
19127
19128         * math/gen-auto-libm-tests.c: New file.
19129         * math/auto-libm-test-in: Likewise.
19130         * math/auto-libm-test-out: New generated file.
19131         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
19132         variables.
19133         (%beautify): Add generated representations of zero.
19134         (top level): Set $auto_input and call parse_auto_input.
19135         (beautify): Remove trailing "f" from hex float constants.
19136         (parse_args): Handle XFAIL_TEST.
19137         (convert_condition): New function.
19138         (or_value): Likewise.
19139         (or_cond_value): Likewise.
19140         (generate_testfile): Handle AUTO_TESTS_* lines.
19141         (parse_auto_input): New function.
19142         * math/libm-test.inc (XFAIL_TEST): New macro.
19143         (ERRNO_UNCHANGED): Update value.
19144         (ERRNO_EDOM): Likewise.
19145         (ERRNO_ERANGE): Likewise.
19146         (IGNORE_RESULT): Likewise.
19147         (TEST_COND_flt_32): New macro.
19148         (TEST_COND_dbl_64): Likewise.
19149         (TEST_COND_ldbl_96_intel): Likewise.
19150         (TEST_COND_ldbl_96_m68k): Likewise.
19151         (TEST_COND_ldbl_128): Likewise.
19152         (TEST_COND_ldbl_128ibm): Likewise.
19153         (TEST_COND_long32): Likewise.
19154         (TEST_COND_long64): Likewise.
19155         (TEST_COND_before_rounding): Likewise.
19156         (TEST_COND_after_rounding): Likewise.
19157         (enable_test): Handle XFAIL_TEST flag.
19158         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
19159         with finite results.
19160         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
19161         auto-libm-test-out.
19162
19163 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
19164             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19165
19166         [BZ #16214]
19167         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
19168         __tls_get_addr_internal instead of __tls_get_offset in order to
19169         avoid GOT pointer dependency.  Make rtld export
19170         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
19171         __tls_get_addr since we are a __tls_get_offset platform.
19172         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
19173         GOT pointer being set up before.
19174         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
19175
19176 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
19177
19178         * manual/math.texi (Errors in Math Functions): Document accuracy
19179         goals.
19180
19181         [BZ #15004]
19182         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
19183         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
19184         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
19185         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
19186         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
19187         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
19188         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
19189         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
19190         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
19191         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
19192         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
19193         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
19194         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
19195         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
19196         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
19197         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
19198
19199         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
19200         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
19201         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
19202         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
19203         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
19204         Likewise.
19205         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
19206         Likewise.
19207         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
19208         Likewise.
19209         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
19210         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
19211         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
19212         atomic-feupdateenv and flt-rounds.
19213         * sysdeps/powerpc/nofpu/Versions (libc): Add
19214         __atomic_feholdexcept, __atomic_feclearexcept,
19215         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
19216         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
19217         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
19218         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
19219         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
19220         here.
19221         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
19222         Update.
19223
19224         * manual/arith.texi (FP Exceptions): Document that exceptions may
19225         not be raised when matherr is used.
19226         (Math Error Reporting): Document overflow in directed rounding
19227         modes.  Document that errno may not be set when finite values are
19228         returned on overflow.  Document intent to set errno on underflow
19229         only for underflow to zero.
19230
19231         [BZ #16271]
19232         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
19233         round-to-nearest then adjust result for other rounding modes.
19234         * include/fenv.h (fegetround): Use libm_hidden_proto.
19235         * math/fegetround.c (fegetround): Use libm_hidden_def.
19236         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
19237         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
19238         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19239         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
19240         Likewise.
19241         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
19242         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
19243         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
19244         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
19245
19246 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
19247
19248         [BZ #16077]
19249         * nss/Versions (libnss_files): Add
19250         _nss_files_gethostbyname3_r.
19251         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
19252         New function.
19253         (HOST_DB_LOOKUP): Remove macro.
19254         (_nss_files_gethostbyname_r): Implement function without the
19255         HOST_DB_LOOKUP macro.
19256         (_nss_files_gethostbyname2_r): Likewise.
19257
19258 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
19259
19260         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
19261
19262 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
19263
19264         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
19265         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
19266         warning.
19267
19268 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19269
19270         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
19271         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
19272         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
19273         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
19274         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
19275         __fe_nomask_env_priv and attribute_hidden.
19276         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
19277         (libc_feupdateenv_test_ppc): Likewise.
19278         (libc_feresetround_ppc): Likewise.
19279         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19280         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
19281         compat_symbol macro.
19282         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19283         (__fe_nomask_env): Likewise.
19284         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
19285
19286 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19287
19288         * string/Makefile: Remove ifunc tests.
19289         * string/test-string.h: Define TEST_IFUNC.
19290         * string/test-bcopy-ifunc.c: Remove.
19291         * string/test-bzero-ifunc.c: Likewise.
19292         * string/test-memccpy-ifunc.c: Likewise.
19293         * string/test-memchr-ifunc.c: Likewise.
19294         * string/test-memcmp-ifunc.c: Likewise.
19295         * string/test-memcpy-ifunc.c: Likewise.
19296         * string/test-memmem-ifunc.c: Likewise.
19297         * string/test-memmove-ifunc.c: Likewise.
19298         * string/test-mempcpy-ifunc.c: Likewise.
19299         * string/test-memrchr-ifunc.c: Likewise.
19300         * string/test-memset-ifunc.c: Likewise.
19301         * string/test-rawmemchr-ifunc.c: Likewise.
19302         * string/test-stpcpy-ifunc.c: Likewise.
19303         * string/test-stpncpy-ifunc.c: Likewise.
19304         * string/test-strcasecmp-ifunc.c: Likewise.
19305         * string/test-strcasestr-ifunc.c: Likewise.
19306         * string/test-strcat-ifunc.c: Likewise.
19307         * string/test-strchr-ifunc.c: Likewise.
19308         * string/test-strchrnul-ifunc.c: Likewise.
19309         * string/test-strcmp-ifunc.c: Likewise.
19310         * string/test-strcpy-ifunc.c: Likewise.
19311         * string/test-strcspn-ifunc.c: Likewise.
19312         * string/test-strlen-ifunc.c: Likewise.
19313         * string/test-strncasecmp-ifunc.c: Likewise.
19314         * string/test-strncat-ifunc.c: Likewise.
19315         * string/test-strncmp-ifunc.c: Likewise.
19316         * string/test-strncpy-ifunc.c: Likewise.
19317         * string/test-strnlen-ifunc.c: Likewise.
19318         * string/test-strpbrk-ifunc.c: Likewise.
19319         * string/test-strrchr-ifunc.c: Likewise.
19320         * string/test-strspn-ifunc.c: Likewise.
19321         * string/test-strstr-ifunc.c: Likewise.
19322
19323 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19324
19325         * benchtests/Makefile: Remove ifunc tests.
19326         * benchtests/bench-string.h: Define TEST_IFUNC.
19327         * benchtests/bench-bcopy-ifunc.c: Remove.
19328         * benchtests/bench-bzero-ifunc.c: Likewise.
19329         * benchtests/bench-memccpy-ifunc.c: Likewise.
19330         * benchtests/bench-memchr-ifunc.c: Likewise.
19331         * benchtests/bench-memcmp-ifunc.c: Likewise.
19332         * benchtests/bench-memcpy-ifunc.c: Likewise.
19333         * benchtests/bench-memmem-ifunc.c: Likewise.
19334         * benchtests/bench-memmove-ifunc.c: Likewise.
19335         * benchtests/bench-mempcpy-ifunc.c: Likewise.
19336         * benchtests/bench-memrchr-ifunc.c: Likewise.
19337         * benchtests/bench-memset-ifunc.c: Likewise.
19338         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
19339         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
19340         * benchtests/bench-stpcpy-ifunc.c: Likewise.
19341         * benchtests/bench-stpncpy-ifunc.c: Likewise.
19342         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
19343         * benchtests/bench-strcasestr-ifunc.c: Likewise.
19344         * benchtests/bench-strcat-ifunc.c: Likewise.
19345         * benchtests/bench-strchr-ifunc.c: Likewise.
19346         * benchtests/bench-strchrnul-ifunc.c: Likewise.
19347         * benchtests/bench-strcmp-ifunc.c: Likewise.
19348         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
19349         * benchtests/bench-strcpy-ifunc.c: Likewise.
19350         * benchtests/bench-strcspn-ifunc.c: Likewise.
19351         * benchtests/bench-strlen-ifunc.c: Likewise.
19352         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
19353         * benchtests/bench-strncat-ifunc.c: Likewise.
19354         * benchtests/bench-strncmp-ifunc.c: Likewise.
19355         * benchtests/bench-strncpy-ifunc.c: Likewise.
19356         * benchtests/bench-strnlen-ifunc.c: Likewise.
19357         * benchtests/bench-strpbrk-ifunc.c: Likewise.
19358         * benchtests/bench-strrchr-ifunc.c: Likewise.
19359         * benchtests/bench-strsep-ifunc.c: Likewise.
19360         * benchtests/bench-strspn-ifunc.c: Likewise.
19361         * benchtests/bench-strstr-ifunc.c: Likewise.
19362
19363 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19364
19365         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
19366
19367 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
19368
19369         * resolv/netdb.h: Use __glibc_reserved instead __unused.
19370         * rt/aio.h: Likewise.
19371         * sysdeps/gnu/bits/utmp.h: Likewise.
19372         * sysdeps/gnu/bits/utmpx.h: Likewise.
19373         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
19374         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
19375         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
19376         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
19377         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
19378         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
19379         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
19380         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
19381         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
19382         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
19383         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
19384         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
19385         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
19386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
19387         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
19388         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
19389         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
19390         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
19391         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
19392         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
19393         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
19394         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
19395         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
19396         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
19397         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
19398         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
19399         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
19400         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
19401         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
19402         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
19403         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
19404         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
19405         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
19406         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
19407         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
19408         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
19409         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
19410         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
19411         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
19412         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
19413         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
19414         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
19415
19416 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
19417
19418         [BZ #16245]
19419         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
19420         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
19421
19422 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
19423
19424         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
19425         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
19426         Likewise.
19427
19428 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19429
19430         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
19431         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
19432         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
19433         (__fesetround): Remove define.
19434         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
19435         rounding and exceptions handling.
19436         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
19437         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
19438         (__fe_nomask_env): Likewise.
19439         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
19440         __fegetround instead of fegetround.
19441         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
19442         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
19443
19444 2013-11-21  Roland McGrath  <roland@hack.frob.com>
19445
19446         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
19447         it's there.
19448
19449         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
19450
19451 2013-11-21  Meador Inge  <meadori@codesourcery.com>
19452
19453         [BZ #11157]
19454         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
19455         (encrypt_r): Likewise.
19456         * malloc/obstack.h (obstack_free): Likewise.
19457         * posix/unistd.h (encrypt): Likewise.
19458
19459 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
19460
19461         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
19462         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
19463         DL_CALL_DT_FINI() that call the functions directly.
19464         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
19465         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
19466         * elf/dl-fini.c: Likewise.
19467
19468 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
19469
19470         * malloc/hooks.c (memalign_check): Add alignment rounding.
19471         * malloc/malloc.c (_mid_memalign): New function.
19472         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
19473         Implement by calling _mid_memalign.
19474         * manual/probes.texi (Memory Allocation Probes): Remove
19475         memory_valloc_retry and memory_pvalloc_retry.
19476
19477 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
19478
19479         * locale/programs/locarchive.c (open_archive): Add const
19480         qualifier to ARCHIVEFNAME and copy default fname to
19481         DEFAULT_FNAME.
19482
19483         [BZ #15601]
19484         * libio/tst-widetext.input: Rename Oriya to Odia.
19485         * locale/iso-639.def: Likewise.
19486
19487         * manual/probes.texi (Mathematical Function Probes): Add
19488         documentation for sin, cos, asin and acos probes.
19489         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
19490         (__sin32): Add slowasin probe.
19491         (__cos32): Add slowacos probe.
19492         (__mpsin): Add slowsin probe.
19493         (__mpcos): Add slowcos probe.
19494
19495 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
19496
19497         [BZ #15483]
19498         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
19499         thread-local __sim_exceptions_thread and global
19500         __sim_exceptions_global.
19501         (__sim_disabled_exceptions): Change to thread-local
19502         __sim_disabled_exceptions_thread and global
19503         __sim_disabled_exceptions_global.
19504         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19505         and global __sim_round_mode_global.
19506         (__simulate_exceptions): Use thread-local floating-point state and
19507         set global state from it as needed.
19508         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
19509         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
19510         __sim_round_mode_thread.
19511         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
19512         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
19513         and global __sim_exceptions_global.
19514         (__sim_disabled_exceptions): Change to thread-local
19515         __sim_disabled_exceptions_thread and global
19516         __sim_disabled_exceptions_global.
19517         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
19518         and global __sim_round_mode_global.
19519         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
19520         (SIM_SET_GLOBAL): Likewise.
19521         * sysdeps/powerpc/soft-fp/sfp-machine.h
19522         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
19523         __sim_round_mode_thread.
19524         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
19525         __sim_disabled_exceptions_thread.
19526         (__sim_exceptions): Change to __sim_exceptions_thread.
19527         (__sim_disabled_exceptions): Change to
19528         __sim_disabled_exceptions_thread.
19529         (__sim_round_mode): Change to __sim_round_mode_thread.
19530         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
19531         thread-local floating-point state and set global state from it as
19532         needed.
19533         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
19534         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
19535         (__sim_disabled_exceptions): Remove extern declaration.
19536         (feenableexcept): Use thread-local floating-point state and set
19537         global state from it as needed.
19538         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
19539         extern declaration.
19540         (__sim_disabled_exceptions): Likewise.
19541         (__sim_round_mode): Likewise.
19542         (__fegetenv): Use thread-local floating-point state.
19543         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
19544         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
19545         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
19546         floating-point state and set global state from it as needed.
19547         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
19548         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
19549         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
19550         Likewise.
19551         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
19552         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
19553         Likewise.
19554         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
19555         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
19556         Use __sim_round_mode_thread.
19557         * math/test-fenv-tls.c: New file.
19558         * math/Makefile (tests): Add test-fenv-tls.
19559         ($(objpfx)test-fenv-tls): Depend on
19560         $(common-objpfx)nptl/libpthread.so.
19561
19562 2013-11-19  Andreas Schwab  <schwab@suse.de>
19563
19564         * locale/programs/locale.c (show_info): Decode wordarray elements.
19565         * locale/categories.def (LC_MONETARY): Add element for
19566         _NL_MONETARY_CRNCYSTR.
19567         * locale/C-monetary.c (conversion_rate): New variable.
19568         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
19569         element.
19570
19571 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
19572
19573         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
19574         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
19575
19576 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
19577
19578         * elf/Makefile (tst-auxv): New test.
19579         * elf/tst-auxv.c: New
19580         * elf/rtld.c (dl_main): Adjust AT_EXECFN
19581
19582 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
19583
19584         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
19585         (hidden_proto): Caller changed.
19586         (hidden_tls_proto): New macro.
19587         (libc_hidden_tls_proto): Likewise.
19588         (rtld_hidden_tls_proto): Likewise.
19589         (libm_hidden_tls_proto): Likewise.
19590         (libresolv_hidden_tls_proto): Likewise.
19591         (librt_hidden_tls_proto): Likewise.
19592         (libdl_hidden_tls_proto): Likewise.
19593         (libnss_files_hidden_tls_proto): Likewise.
19594         (libnsl_hidden_tls_proto): Likewise.
19595         (libnss_nisplus_hidden_tls_proto): Likewise.
19596         (libutil_hidden_tls_proto): Likewise.
19597
19598 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
19599
19600         [BZ #10253]
19601         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
19602         (decompose_rpath): Defer expansion to fillin_rpath.
19603         (_dl_init_paths): Pass linkmap to fillin_rpath.
19604
19605 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19606
19607         * benchtests/Makefile: Add strsep.
19608         * benchtests/bench-strsep.c: New file: strsep benchtest.
19609         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
19610
19611 2013-11-18  Andreas Schwab  <schwab@suse.de>
19612
19613         * locale/programs/locale.c (show_info) [case byte]: Check for
19614         '\377' instead of '\177'.
19615         * locale/C-monetary.c (not_available): Always use "\377".
19616         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
19617         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
19618         detect unavailable sign_posn locale elements.
19619         * locale/localeconv.c (__localeconv): For grouping and
19620         mon_grouping handle "\177" and "\377" like no grouping.
19621         (INT_ELEM): New macro.  Use it to set all numeric members.
19622         * locale/programs/ld-monetary.c (monetary_read)
19623         <tok_mon_grouping>: Normalize single -1 to the empty string.
19624         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
19625         Likewise.
19626
19627 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
19628
19629         [BZ #16055]
19630         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
19631         when we match (nil).
19632         * stdio-common/tst-sscanf.c (struct test): Add testcase.
19633
19634 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
19635
19636         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
19637         (NO_TEST_INLINE): Update value.
19638         (ERRNO_UNCHANGED): Likewise.
19639         (ERRNO_EDOM): Likewise.
19640         (ERRNO_ERANGE): Likewise.
19641         (IGNORE_RESULT): Likewise.
19642         (check_float_internal): Check signs of NaN results if
19643         TEST_NAN_SIGN used.
19644         (check_complex): Pass TEST_NAN_SIGN flag through to second
19645         check_float_internal call.
19646         (copysign_test_data): Add tests with quiet NaNs as second
19647         argument.  Use TEST_NAN_SIGN.
19648         (fabs_test_data): Add test of negative quiet NaN argument.  Use
19649         TEST_NAN_SIGN.
19650         (signbit_test_data): Add tests of quiet NaN argument.
19651         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
19652
19653         * math/gen-libm-test.pl (show_exceptions): Take extra argument
19654         $ignore_result.
19655         (parse_args): Handle function results specified as IGNORE.
19656         * math/libm-test.inc (IGNORE_RESULT): New macro.
19657         (check_float_internal): Do not check numerical result if flag
19658         IGNORE_RESULT set.
19659         (check_complex): Pass through IGNORE_RESULT to second
19660         check_float_internal call.
19661         (check_int): Do not check numerical result if flag IGNORE_RESULT
19662         set.
19663         (check_long): Likewise.
19664         (check_bool): Likewise.
19665         (check_longlong): Likewise.
19666         (lrint_test_data): Add tests of infinite and NaN arguments.
19667         (lrint_tonearest_test_data): Likewise.
19668         (lrint_towardzero_test_data): Likewise.
19669         (lrint_downward_test_data): Likewise.
19670         (lrint_upward_test_data): Likewise.
19671         (llrint_test_data): Likewise.
19672         (llrint_tonearest_test_data): Likewise.
19673         (llrint_towardzero_test_data): Likewise.
19674         (llrint_downward_test_data): Likewise.
19675         (llrint_upward_test_data): Likewise.
19676         (lround_test_data): Likewise.
19677         (llround_test_data): Likewise.
19678
19679         * math/libm-test.inc (NO_TEST_INLINE): New macro.
19680         (ERRNO_UNCHANGED): Update value.
19681         (ERRNO_EDOM): Likewise.
19682         (ERRNO_ERANGE): Likewise.
19683         (NO_TEST_INLINE_FLOAT): New macro.
19684         (NO_TEST_INLINE_DOUBLE): Likewise.
19685         (enable_test): New function.
19686         (RUN_TEST_f_f): Check enable_test before running test.
19687         (RUN_TEST_2_f): Likewise.
19688         (RUN_TEST_fff_f): Likewise.
19689         (RUN_TEST_c_f): Likewise.
19690         (RUN_TEST_f_f1): Likewise.
19691         (RUN_TEST_fF_f1): Likewise.
19692         (RUN_TEST_fI_f1): Likewise.
19693         (RUN_TEST_ffI_f1): Likewise.
19694         (RUN_TEST_c_c): Likewise.
19695         (RUN_TEST_cc_c): Likewise.
19696         (RUN_TEST_f_i): Likewise.
19697         (RUN_TEST_f_i_tg): Likewise.
19698         (RUN_TEST_ff_i_tg): Likewise.
19699         (RUN_TEST_f_b): Likewise.
19700         (RUN_TEST_f_b_tg): Likewise.
19701         (RUN_TEST_f_l): Likewise.
19702         (RUN_TEST_f_L): Likewise.
19703         (RUN_TEST_fFF_11): Likewise.
19704         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
19705         conditionals.
19706         (cosh_test_data): Likewise.
19707         (exp_test_data): Likewise.
19708         (expm1_test_data): Likewise.
19709         (hypot_test_data): Likewise.
19710         (pow_test_data): Likewise.
19711         (sinh_test_data): Likewise.
19712         (tanh_test_data): Likewise.
19713         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
19714         flags argument.
19715
19716         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
19717         tests with quiet NaN input and output.
19718         (acosh_test_data): Likewise.
19719         (asin_test_data): Likewise.
19720         (asinh_test_data): Likewise.
19721         (atan_test_data): Likewise.
19722         (atanh_test_data): Likewise.
19723         (atan2_test_data): Likewise.
19724         (cbrt_test_data): Likewise.
19725         (cos_test_data): Likewise.
19726         (cosh_test_data): Likewise.
19727         (erf_test_data): Likewise.
19728         (erfc_test_data): Likewise.
19729         (exp_test_data): Likewise.
19730         (exp10_test_data): Likewise.
19731         (exp2_test_data): Likewise.
19732         (expm1_test_data): Likewise.
19733         (hypot_test_data): Likewise.
19734         (j0_test_data): Likewise.
19735         (j1_test_data): Likewise.
19736         (jn_test_data): Likewise.
19737         (lgamma_test_data): Likewise.
19738         (log_test_data): Likewise.
19739         (log10_test_data): Likewise.
19740         (log1p_test_data): Likewise.
19741         (log2_test_data): Likewise.
19742         (pow_test_data): Likewise.
19743         (scalb_test_data): Likewise.
19744         (sin_test_data): Likewise.
19745         (sincos_test_data): Likewise.
19746         (sinh_test_data): Likewise.
19747         (tan_test_data): Likewise.
19748         (tanh_test_data): Likewise.
19749         (tgamma_test_data): Likewise.
19750         (y0_test_data): Likewise.
19751         (y1_test_data): Likewise.
19752         (yn_test_data): Likewise.
19753
19754         [BZ #16167]
19755         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
19756         argument being NaN and avoid computations with second argument in
19757         that case.
19758         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
19759         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
19760         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
19761
19762 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
19763
19764         * locale/iso-639.def: Add Chitwani Tharu (the).
19765
19766 2013-11-14  Andreas Schwab  <schwab@suse.de>
19767
19768         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
19769         word instead of empty string.
19770
19771 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19772
19773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19774         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
19775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19776         (__fe_nomask_env): Likewise.
19777
19778 2013-11-13  Steve Ellcey  <sellcey@mips.com>
19779
19780         * benchtests/bench-timing.h: Include time.h.
19781
19782 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
19783
19784         [BZ #15997]
19785         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
19786         to 3.4.0 for x32.
19787         * sysdeps/unix/sysv/linux/configure: Regenerated.
19788
19789 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
19790
19791         [BZ #16151]
19792         * stdlib/strtod_l.c (round_and_return): Do not consider
19793         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
19794         exponent one less than half the least subnormal exponent.
19795         * stdlib/test-strtod-round-data: Add more tests.
19796         * stdlib/tst-strtod-round.c (tests): Regenerated.
19797
19798 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19799
19800         [BZ #14143]
19801         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
19802         (__fe_mask_env): Likewise.
19803         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
19804         libm_hidden_proto and add function prototype.
19805         (__fe_mask_env): Add function prototype.
19806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19807         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
19808         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19809         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
19810         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19811         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
19812
19813 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19814
19815         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
19816         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
19817
19818 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
19819
19820         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
19821         of htab_find_slot().
19822
19823 2013-11-11  David S. Miller  <davem@davemloft.net>
19824
19825         [BZ #16150]
19826         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
19827         symbol in the non-vis3 case in static builds.
19828         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
19829         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
19830         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
19831         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
19832
19833 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
19834
19835         [BZ #387]
19836         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
19837         it is empty.
19838
19839 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19840
19841         * benchtests/Makefile: Add bench-strtod.
19842         * benchtests/bench-strtod.c: New file: strtod benchtest
19843
19844 2013-11-11  Andreas Schwab  <schwab@suse.de>
19845
19846         [BZ #16153]
19847         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
19848         terminating NUL in key length.
19849
19850 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19851
19852         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
19853         Add artificial ODP entry for vDSO symbol for PPC64.
19854         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
19855         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
19856
19857 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
19858
19859         [BZ #15374]
19860         * nss/getent.c (services_keys): Recognize services starting with digit.
19861
19862 2013-11-06  David S. Miller  <davem@davemloft.net>
19863
19864         [BZ #15985]
19865         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
19866         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
19867
19868 2013-11-06  Will Newton  <will.newton@linaro.org>
19869
19870         * manual/memory.texi (Malloc Examples): Remove register
19871         keyword from examples.
19872
19873 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
19874
19875         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
19876
19877 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
19878
19879         [BZ #6981]
19880         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
19881         depending on [__GCC_IEC_559 > 0].
19882         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
19883         depending on [__GCC_IEC_559_COMPLEX > 0].
19884
19885 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
19886
19887         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
19888         to iso-639.def.
19889
19890 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
19891
19892         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
19893
19894 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
19895
19896         [BZ #16112]
19897         * malloc/malloc (malloc_info): Do not handle first bin as
19898         special case.
19899
19900 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
19901
19902         * locale/iso-639.def: Add Central Nahuatl (nhn).
19903
19904 2013-11-01  Bruno Haible  <bruno@clisp.org>
19905
19906         [BZ #7003]
19907         * manual/math.texi (BSD Random): Specify range upper bound as
19908         in POSIX.
19909
19910 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
19911
19912         * locale/iso-639.def: Add Meadow Mari (mhr).
19913
19914 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
19915
19916         [BZ #14752], [BZ #15763]
19917         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
19918         Validate name.
19919         * rt/tst_shm.c: Add test for escaping directory.
19920
19921 2013-10-31  Andreas Schwab  <schwab@suse.de>
19922
19923         [BZ #15917]
19924         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
19925         followed by 'x' as part of digit sequence.
19926         * stdio-common/tst-sscanf.c (double_tests2): New tests.
19927
19928 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
19929
19930         [BZ #16037]
19931         * configure.ac: allow GNU Make 4.0 and greater.
19932         * configure: Regenerated.
19933
19934 2013-10-30  Will Newton  <will.newton@linaro.org>
19935
19936         [BZ #16038]
19937         * malloc/hooks.c (memalign_check): Limit alignment to the
19938         maximum representable power of two.
19939         * malloc/malloc.c (__libc_memalign): Likewise.
19940         * malloc/tst-memalign.c (do_test): Add test for very
19941         large alignment values.
19942         * malloc/tst-posix_memalign.c (do_test): Likewise.
19943
19944 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
19945
19946         [BZ #11087]
19947         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
19948         (munmap_chunk): Likewise.
19949         (mremap_chunk): Likewise.
19950
19951 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
19952
19953         [BZ #15799]
19954         * stdlib/div.c (div): Remove obsolete code.
19955         * stdlib/ldiv.c (ldiv): Likewise.
19956         * stdlib/lldiv.c (lldiv): Likewise.
19957
19958 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
19959
19960         [BZ #16071]
19961         * nss/nss_files/files-XXX.c (get_contents_ret): New
19962         enumerator.
19963         (get_contents): New function.
19964         (internal_getent): Use it.  Expand size of LINEBUFLEN.
19965
19966 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
19967
19968         * configure.in: Moved to ...
19969         * configure.ac: ... here. Change reference to configure.in
19970         to configure.ac.
19971         * sysdeps/arm/preconfigure.ac: ... here.
19972         configure.in to configure.ac.
19973         * sysdeps/gnu/configure.in: Moved to ...
19974         * sysdeps/gnu/configure.ac: ... here.
19975         * sysdeps/i386/configure.in: Moved to ...
19976         * sysdeps/i386/configure.ac: ... here.
19977         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
19978         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
19979         * sysdeps/mach/configure.in: Moved to ...
19980         * sysdeps/mach/configure.ac: ... here.
19981         * sysdeps/mach/hurd/configure.in: Moved to ...
19982         * sysdeps/mach/hurd/configure.ac: ... here.
19983         * sysdeps/powerpc/configure.in: Moved to ...
19984         * sysdeps/powerpc/configure.ac: ... here.
19985         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
19986         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
19987         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
19988         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
19989         * sysdeps/s390/s390-32/configure.in: Moved to ...
19990         * sysdeps/s390/s390-32/configure.ac: ... here.
19991         * sysdeps/s390/s390-64/configure.in: Moved to ...
19992         * sysdeps/s390/s390-64/configure.ac: ... here.
19993         * sysdeps/sh/configure.in: Moved to ...
19994         * sysdeps/sh/configure.ac: ... here.
19995         * sysdeps/sparc/configure.in: Moved to ...
19996         * sysdeps/sparc/configure.ac: ... here.
19997         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
19998         * sysdeps/unix/sysv/linux/configure.ac: ... here.
19999         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
20000         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
20001         * sysdeps/x86_64/configure.in: Moved to ...
20002         * sysdeps/x86_64/configure.ac: ... here.
20003         * sysdeps/x86_64/preconfigure.in: Moved to ...
20004         * sysdeps/x86_64/preconfigure.ac: ... here.
20005         * aclocal.m4: Change reference to configure.in to configure.ac.
20006         * config.h.in: Likewise.
20007         * manual/install.texi: Likewise.
20008         * manual/maint.texi: Likewise.
20009         * Makefile: Likewise.
20010         * malloc/Makefile: Likewise.
20011         * nscd/Makefile: Likewise.
20012         * Makeconfig: Change reference to configure.in and
20013         preconfigure.in to configure.ac and preconfigure.ac
20014         respectively.
20015         * INSTALL: Regenerated.
20016         * configure: Likewise.
20017         * sysdeps/gnu/configure: Likewise.
20018         * sysdeps/i386/configure: Likewise.
20019         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
20020         * sysdeps/mach/configure: Likewise.
20021         * sysdeps/mach/hurd/configure: Likewise.
20022         * sysdeps/powerpc/configure: Likewise.
20023         * sysdeps/powerpc/powerpc32/configure: Likewise.
20024         * sysdeps/powerpc/powerpc64/configure: Likewise.
20025         * sysdeps/s390/s390-32/configure: Likewise.
20026         * sysdeps/s390/s390-64/configure: Likewise.
20027         * sysdeps/sh/configure: Likewise.
20028         * sysdeps/sparc/configure: Likewise.
20029         * sysdeps/unix/sysv/linux/configure: Likewise.
20030         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
20031         * sysdeps/x86_64/configure: Likewise.
20032         * sysdeps/x86_64/preconfigure: Likewise.
20033
20034 2013-10-29  Andreas Schwab  <schwab@suse.de>
20035
20036         * stdio-common/Makefile (tst-swscanf-ENV): Define.
20037
20038 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
20039
20040         * benchtests/pow-inputs: Add new inputs.
20041
20042         * benchtests/exp-inputs: Add new inputs.
20043
20044         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
20045         conditional check for return value.
20046         (__cos32): Likewise.
20047
20048 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20049
20050         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
20051         to provide a boost for large inputs with word alignment.
20052         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
20053         implementation based on optimized PPC64 strcpy.
20054         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
20055         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
20056         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
20057         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
20058
20059 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
20060
20061         [BZ #2801]
20062         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
20063
20064 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
20065
20066         [BZ #14876]
20067         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
20068         * time/tst-strptime.c (day_tests): Add testcase.
20069
20070 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
20071
20072         [BZ #14029]
20073         * manual/pattern.texi: Acknowledge that fnmatch can fail.
20074
20075 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
20076
20077         [BZ #16074]
20078         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
20079         MAP_FAILED on error.
20080
20081 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
20082
20083         [BZ #16072]
20084         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
20085         heap for large requests.
20086
20087 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
20088
20089         [BZ #9954]
20090         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
20091         result if the result has no associated interface.
20092         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
20093         interface for all 127.X.Y.Z addresses.
20094
20095 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
20096
20097         * locale/iso-639.def: Add Ligurian (lij)
20098
20099 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
20100
20101         [BZ #15825]
20102         * sunrpc/rpc_main.c: Document rpcgen -5.
20103
20104 2013-10-19  Michael Stahl  <mstahl@redhat.com>
20105
20106         * elf/rtld.c (do_preload): Print the reason why preloading failed.
20107
20108 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
20109
20110         [BZ #10278]
20111         * posix/glob.c: Match only directories when trailing slash is present.
20112         * posix/tst-gnuglob.c (my_opendir): Do not open files.
20113         (main): Add testcase.
20114
20115 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
20116
20117         [BZ #15670]
20118         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
20119
20120 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
20121
20122         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
20123         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
20124         AUTH_DES and cindex for FIPS 140-2.
20125         (DES Encryption): Add cindex FIPS 46-3.
20126
20127         * locale/locarchive.h (struct locarhandle): Add fname.
20128         * locale/programs/localedef.c (main): Pass ARGV[remaining]
20129         if an optional argument was specified to --list-archive,
20130         otherwise NULL.
20131         * locale/programs/locarchive.c (show_archive_content): Take new
20132         argument fname and pass it via ah.fname to open_archive.
20133         * locale/programs/localedef.h: Update decl.
20134         (open_archive): If AH->fname is non-null, open that file
20135         rather than the default file name, and don't ignore ENOENT.
20136         (create_archive): Set AH.fname to NULL.
20137         (delete_locales_from_archive): Likewise.
20138         (add_locales_to_archive): Likewise.
20139         * locale/programs/locfile.c (write_all_categories): Likewise.
20140
20141 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
20142             Aldy Hernandez  <aldyh@redhat.com>
20143
20144         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
20145         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
20146         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
20147         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
20148         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
20149         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
20150         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
20151         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
20152         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
20153         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
20154         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
20155         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
20156         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
20157         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
20158         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
20159         Likewise.
20160         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
20161         Likewise.
20162         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
20163         Likewise.
20164         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
20165         Likewise.
20166         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
20167         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
20168         Likewise.
20169         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
20170         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
20171         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
20172         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
20173         Likewise.
20174         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
20175         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
20176         * sysdeps/powerpc/preconfigure: Likewise.
20177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
20178         Likewise.
20179         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
20180         Replace contents of file by #include of <fenv_libc.h>.
20181         * sysdeps/powerpc/soft-fp/sfp-machine.h
20182         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
20183         and <sys/prctl.h>.
20184         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
20185         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
20186         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
20187         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
20188         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
20189         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
20190         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
20191         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
20192         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
20193         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
20194         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
20195         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
20196         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
20197         Allow copysignl PLT reference to be missing.
20198
20199 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
20200             Joseph Myers  <joseph@codesourcery.com
20201
20202         [BZ #15948]
20203         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
20204         single character.
20205         (add_to_tablewc): Assert sequence of wide characters is nonempty.
20206
20207 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
20208
20209         * elf/tst-tls-dlinfo.c: Don't include tls.h.
20210         * elf/tst-tls1.c: Likewise.
20211         * elf/tst-tls10.h: Likewise.
20212         * elf/tst-tls14.c: Likewise.
20213         * elf/tst-tls2.c: Likewise.
20214         * elf/tst-tls3.c: Likewise.
20215         * elf/tst-tls4.c: Likewise.
20216         * elf/tst-tls5.c: Likewise.
20217         * elf/tst-tls6.c: Likewise.
20218         * elf/tst-tls7.c: Likewise.
20219         * elf/tst-tls8.c: Likewise.
20220         * elf/tst-tls9.c: Likewise.
20221         * elf/tst-tlsmod1.c: Likewise.
20222         * elf/tst-tlsmod13.c: Likewise.
20223         * elf/tst-tlsmod13a.c: Likewise.
20224         * elf/tst-tlsmod14a.c: Likewise.
20225         * elf/tst-tlsmod16a.c: Likewise.
20226         * elf/tst-tlsmod16b.c: Likewise.
20227         * elf/tst-tlsmod2.c: Likewise.
20228         * elf/tst-tlsmod3.c: Likewise.
20229         * elf/tst-tlsmod4.c: Likewise.
20230         * elf/tst-tlsmod5.c: Likewise.
20231         * elf/tst-tlsmod6.c: Likewise.
20232
20233 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
20234
20235         [BZ #12486]
20236         * malloc/malloc.c: remove checks for statistics.
20237
20238 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
20239
20240         [BZ #15277]
20241         * inet/inet_net.c (inet_network): Detect additional invalid strings.
20242         * inet/tst-network.c: Add testcase.
20243
20244 2013-10-17  Andreas Schwab  <schwab@suse.de>
20245
20246         [BZ #15218]
20247         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
20248         to determine canonical name.
20249
20250 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
20251
20252         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
20253         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
20254         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
20255         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
20256         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
20257         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
20258         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
20259         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
20260         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
20261         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
20262         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
20263         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
20264         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
20265         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
20266         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
20267         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
20268         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
20269         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
20270         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
20271         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
20272         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
20273         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
20274         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
20275         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
20276         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
20277         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
20278         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
20279         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
20280         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
20281         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
20282         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
20283         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
20284         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
20285         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
20286         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
20287         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
20288         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
20289         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
20290         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
20291         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
20292         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
20293         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
20294         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
20295         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
20296         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
20297         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
20298         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
20299         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
20300         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
20301         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
20302         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
20303         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
20304         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
20305         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
20306         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20307         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
20308         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
20309         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
20310
20311 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
20312
20313         [BZ #16041]
20314         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
20315         make result into a quiet NaN.
20316
20317 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
20318
20319         * soft-fp/adddf3.c: Fix horizontal whitespace.
20320         * soft-fp/addsf3.c: Likewise.
20321         * soft-fp/addtf3.c: Likewise.
20322         * soft-fp/divdf3.c: Likewise.
20323         * soft-fp/divsf3.c: Likewise.
20324         * soft-fp/divtf3.c: Likewise.
20325         * soft-fp/double.h: Likewise.
20326         * soft-fp/eqdf2.c: Likewise.
20327         * soft-fp/eqsf2.c: Likewise.
20328         * soft-fp/eqtf2.c: Likewise.
20329         * soft-fp/extenddftf2.c: Likewise.
20330         * soft-fp/extended.h: Likewise.
20331         * soft-fp/extendsfdf2.c: Likewise.
20332         * soft-fp/extendsftf2.c: Likewise.
20333         * soft-fp/extendxftf2.c: Likewise.
20334         * soft-fp/fixdfdi.c: Likewise.
20335         * soft-fp/fixdfsi.c: Likewise.
20336         * soft-fp/fixdfti.c: Likewise.
20337         * soft-fp/fixsfdi.c: Likewise.
20338         * soft-fp/fixsfsi.c: Likewise.
20339         * soft-fp/fixsfti.c: Likewise.
20340         * soft-fp/fixtfdi.c: Likewise.
20341         * soft-fp/fixtfsi.c: Likewise.
20342         * soft-fp/fixtfti.c: Likewise.
20343         * soft-fp/fixunsdfdi.c: Likewise.
20344         * soft-fp/fixunsdfsi.c: Likewise.
20345         * soft-fp/fixunsdfti.c: Likewise.
20346         * soft-fp/fixunssfdi.c: Likewise.
20347         * soft-fp/fixunssfsi.c: Likewise.
20348         * soft-fp/fixunssfti.c: Likewise.
20349         * soft-fp/fixunstfdi.c: Likewise.
20350         * soft-fp/fixunstfsi.c: Likewise.
20351         * soft-fp/fixunstfti.c: Likewise.
20352         * soft-fp/floatdidf.c: Likewise.
20353         * soft-fp/floatdisf.c: Likewise.
20354         * soft-fp/floatditf.c: Likewise.
20355         * soft-fp/floatsidf.c: Likewise.
20356         * soft-fp/floatsisf.c: Likewise.
20357         * soft-fp/floatsitf.c: Likewise.
20358         * soft-fp/floattidf.c: Likewise.
20359         * soft-fp/floattisf.c: Likewise.
20360         * soft-fp/floattitf.c: Likewise.
20361         * soft-fp/floatundidf.c: Likewise.
20362         * soft-fp/floatundisf.c: Likewise.
20363         * soft-fp/floatunditf.c: Likewise.
20364         * soft-fp/floatunsidf.c: Likewise.
20365         * soft-fp/floatunsisf.c: Likewise.
20366         * soft-fp/floatunsitf.c: Likewise.
20367         * soft-fp/floatuntidf.c: Likewise.
20368         * soft-fp/floatuntisf.c: Likewise.
20369         * soft-fp/floatuntitf.c: Likewise.
20370         * soft-fp/fmadf4.c: Likewise.
20371         * soft-fp/fmasf4.c: Likewise.
20372         * soft-fp/fmatf4.c: Likewise.
20373         * soft-fp/gedf2.c: Likewise.
20374         * soft-fp/gesf2.c: Likewise.
20375         * soft-fp/getf2.c: Likewise.
20376         * soft-fp/ledf2.c: Likewise.
20377         * soft-fp/lesf2.c: Likewise.
20378         * soft-fp/letf2.c: Likewise.
20379         * soft-fp/muldf3.c: Likewise.
20380         * soft-fp/mulsf3.c: Likewise.
20381         * soft-fp/multf3.c: Likewise.
20382         * soft-fp/negdf2.c: Likewise.
20383         * soft-fp/negsf2.c: Likewise.
20384         * soft-fp/negtf2.c: Likewise.
20385         * soft-fp/op-1.h: Likewise.
20386         * soft-fp/op-2.h: Likewise.
20387         * soft-fp/op-4.h: Likewise.
20388         * soft-fp/op-8.h: Likewise.
20389         * soft-fp/op-common.h: Likewise.
20390         * soft-fp/quad.h: Likewise.
20391         * soft-fp/single.h: Likewise.
20392         * soft-fp/soft-fp.h: Likewise.
20393         * soft-fp/sqrtdf2.c: Likewise.
20394         * soft-fp/sqrtsf2.c: Likewise.
20395         * soft-fp/sqrttf2.c: Likewise.
20396         * soft-fp/subdf3.c: Likewise.
20397         * soft-fp/subsf3.c: Likewise.
20398         * soft-fp/subtf3.c: Likewise.
20399         * soft-fp/truncdfsf2.c: Likewise.
20400         * soft-fp/trunctfdf2.c: Likewise.
20401         * soft-fp/trunctfsf2.c: Likewise.
20402         * soft-fp/trunctfxf2.c: Likewise.
20403         * soft-fp/unorddf2.c: Likewise.
20404         * soft-fp/unordsf2.c: Likewise.
20405         * soft-fp/unordtf2.c: Likewise.
20406
20407 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
20408
20409         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
20410         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
20411
20412 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
20413
20414         * elf/dl-libc.c: Clear initfini list after freeing.
20415
20416 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
20417
20418         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
20419         * soft-fp/addsf3.c: Likewise.
20420         * soft-fp/addtf3.c: Likewise.
20421         * soft-fp/divdf3.c: Likewise.
20422         * soft-fp/divsf3.c: Likewise.
20423         * soft-fp/divtf3.c: Likewise.
20424         * soft-fp/double.h: Likewise.
20425         * soft-fp/eqdf2.c: Likewise.
20426         * soft-fp/eqsf2.c: Likewise.
20427         * soft-fp/eqtf2.c: Likewise.
20428         * soft-fp/extenddftf2.c: Likewise.
20429         * soft-fp/extended.h: Likewise.
20430         * soft-fp/extendsfdf2.c: Likewise.
20431         * soft-fp/extendsftf2.c: Likewise.
20432         * soft-fp/extendxftf2.c: Likewise.
20433         * soft-fp/fixdfdi.c: Likewise.
20434         * soft-fp/fixdfsi.c: Likewise.
20435         * soft-fp/fixdfti.c: Likewise.
20436         * soft-fp/fixsfdi.c: Likewise.
20437         * soft-fp/fixsfsi.c: Likewise.
20438         * soft-fp/fixsfti.c: Likewise.
20439         * soft-fp/fixtfdi.c: Likewise.
20440         * soft-fp/fixtfsi.c: Likewise.
20441         * soft-fp/fixtfti.c: Likewise.
20442         * soft-fp/fixunsdfdi.c: Likewise.
20443         * soft-fp/fixunsdfsi.c: Likewise.
20444         * soft-fp/fixunsdfti.c: Likewise.
20445         * soft-fp/fixunssfdi.c: Likewise.
20446         * soft-fp/fixunssfsi.c: Likewise.
20447         * soft-fp/fixunssfti.c: Likewise.
20448         * soft-fp/fixunstfdi.c: Likewise.
20449         * soft-fp/fixunstfsi.c: Likewise.
20450         * soft-fp/fixunstfti.c: Likewise.
20451         * soft-fp/floatdidf.c: Likewise.
20452         * soft-fp/floatdisf.c: Likewise.
20453         * soft-fp/floatditf.c: Likewise.
20454         * soft-fp/floatsidf.c: Likewise.
20455         * soft-fp/floatsisf.c: Likewise.
20456         * soft-fp/floatsitf.c: Likewise.
20457         * soft-fp/floattidf.c: Likewise.
20458         * soft-fp/floattisf.c: Likewise.
20459         * soft-fp/floattitf.c: Likewise.
20460         * soft-fp/floatundidf.c: Likewise.
20461         * soft-fp/floatundisf.c: Likewise.
20462         * soft-fp/floatunsidf.c: Likewise.
20463         * soft-fp/floatunsisf.c: Likewise.
20464         * soft-fp/floatuntidf.c: Likewise.
20465         * soft-fp/floatuntisf.c: Likewise.
20466         * soft-fp/floatuntitf.c: Likewise.
20467         * soft-fp/fmadf4.c: Likewise.
20468         * soft-fp/fmasf4.c: Likewise.
20469         * soft-fp/fmatf4.c: Likewise.
20470         * soft-fp/gedf2.c: Likewise.
20471         * soft-fp/gesf2.c: Likewise.
20472         * soft-fp/getf2.c: Likewise.
20473         * soft-fp/ledf2.c: Likewise.
20474         * soft-fp/lesf2.c: Likewise.
20475         * soft-fp/letf2.c: Likewise.
20476         * soft-fp/muldf3.c: Likewise.
20477         * soft-fp/mulsf3.c: Likewise.
20478         * soft-fp/multf3.c: Likewise.
20479         * soft-fp/negdf2.c: Likewise.
20480         * soft-fp/negsf2.c: Likewise.
20481         * soft-fp/negtf2.c: Likewise.
20482         * soft-fp/op-1.h: Likewise.
20483         * soft-fp/op-2.h: Likewise.
20484         * soft-fp/op-4.h: Likewise.
20485         * soft-fp/op-8.h: Likewise.
20486         * soft-fp/op-common.h: Likewise.
20487         * soft-fp/quad.h: Likewise.
20488         * soft-fp/single.h: Likewise.
20489         * soft-fp/soft-fp.h: Likewise.
20490         * soft-fp/sqrtdf2.c: Likewise.
20491         * soft-fp/sqrtsf2.c: Likewise.
20492         * soft-fp/sqrttf2.c: Likewise.
20493         * soft-fp/subdf3.c: Likewise.
20494         * soft-fp/subsf3.c: Likewise.
20495         * soft-fp/subtf3.c: Likewise.
20496         * soft-fp/truncdfsf2.c: Likewise.
20497         * soft-fp/trunctfdf2.c: Likewise.
20498         * soft-fp/trunctfsf2.c: Likewise.
20499         * soft-fp/trunctfxf2.c: Likewise.
20500         * soft-fp/unorddf2.c: Likewise.
20501         * soft-fp/unordsf2.c: Likewise.
20502         * soft-fp/unordtf2.c: Likewise.
20503
20504 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
20505
20506         [BZ #15672]
20507         * misc/error.c (error_tail): Fix possible buffer overflow.
20508
20509 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
20510
20511         [BZ #13028]
20512         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
20513         address.
20514
20515 2013-10-14  P. J. McDermott  <pj@pehjota.net>
20516
20517         [BZ #832]
20518         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
20519         testing pipefail option.
20520
20521 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
20522
20523         * soft-fp/double.h: Indent preprocessor directives inside #if.
20524         * soft-fp/extended.h: Likewise.
20525         * soft-fp/op-2.h: Likewise.
20526         * soft-fp/op-4.h: Likewise.
20527         * soft-fp/op-common.h: Likewise.
20528         * soft-fp/quad.h: Likewise.
20529         * soft-fp/single.h: Likewise.
20530         * soft-fp/soft-fp.h: Likewise.
20531
20532 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
20533
20534         * iconv/iconv_prog.c: Fix typos.
20535         * stdio-common/psiginfo-data.h: Likewise.
20536
20537 2013-10-12   Reuben Thomas <rrt@sc3d.org>
20538
20539         [BZ #15764]
20540         * locale/setlocale.c: Fix typo.
20541
20542 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
20543
20544         [BZ #16036]
20545         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
20546         signaling NaN arguments.
20547         * soft-fp/unordsf2.c (__unordsf2): Likewise.
20548         * soft-fp/unordtf2.c (__unordtf2): Likewise.
20549
20550         [BZ #14910]
20551         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
20552         unordered operands.
20553         * soft-fp/gesf2.c (__gesf2): Likewise.
20554         * soft-fp/getf2.c (__getf2): Likewise.
20555         * soft-fp/ledf2.c (__ledf2): Likewise.
20556         * soft-fp/lesf2.c (__lesf2): Likewise.
20557         * soft-fp/letf2.c (__letf2): Likewise.
20558
20559         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
20560         * soft-fp/eqsf2.c (__eqsf2): Likewise.
20561         * soft-fp/eqtf2.c (__eqtf2): Likewise.
20562         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
20563         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
20564         * soft-fp/fixdfti.c (__fixdfti): Likewise.
20565         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
20566         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
20567         * soft-fp/fixsfti.c (__fixsfti): Likewise.
20568         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
20569         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
20570         * soft-fp/fixtfti.c (__fixtfti): Likewise.
20571         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
20572         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
20573         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
20574         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
20575         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
20576         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
20577         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
20578         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
20579         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
20580         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
20581         * soft-fp/floatdisf.c (__floatdisf): Likewise.
20582         * soft-fp/floatsisf.c (__floatsisf): Likewise.
20583         * soft-fp/floattidf.c (__floattidf): Likewise.
20584         * soft-fp/floattisf.c (__floattisf): Likewise.
20585         * soft-fp/floattitf.c (__floattitf): Likewise.
20586         * soft-fp/floatundidf.c (__floatundidf): Likewise.
20587         * soft-fp/floatundisf.c (__floatundisf): Likewise.
20588         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
20589         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
20590         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
20591         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
20592         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
20593         * soft-fp/gesf2.c (__gesf2): Likewise.
20594         * soft-fp/getf2.c (__getf2): Likewise.
20595         * soft-fp/ledf2.c (__ledf2): Likewise.
20596         * soft-fp/lesf2.c (__lesf2): Likewise.
20597         * soft-fp/letf2.c (__letf2): Likewise.
20598
20599         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
20600         Undefine and redefine.
20601         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
20602         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
20603         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
20604         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
20605         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20606         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
20607         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20608         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
20609         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20610         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
20611         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20612         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
20613         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20614         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
20615         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
20616
20617         [BZ #16032]
20618         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
20619         without decrementing exponent if mantissa >= that for the
20620         denominator, not >.
20621         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
20622         denominator, not >.  Decrement exponent in < case instead of
20623         incrementing in >= case.
20624         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
20625         without decrementing exponent if mantissa >= that for the
20626         denominator, not >.
20627
20628         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
20629         computing saturated result for unsigned overflow.
20630
20631 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
20632             Jeff Law  <law@redhat.com>
20633
20634         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
20635         (atan2Mp): Add systemtap probe marker.
20636         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
20637         (__ieee754_log): Add systemtap probe marker.
20638         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
20639         (atanMp): Add systemtap probe marker.
20640         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
20641         (tanMp): Add systemtap probe marker.
20642         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
20643         (__slowexp): Add systemtap probe marker.
20644         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
20645         (__slowpow): Add systemtap probe marker.
20646         * manual/probes.texi: Document probes.
20647
20648 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
20649
20650         [BZ #15362]
20651         * libio/fileops.c (_IO_new_file_write): Return count of bytes
20652         written.
20653         (_IO_new_file_xsputn): Don't return EOF if nothing has been
20654         written.
20655         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
20656         written to buffer but not flushed.
20657         * libio/iofwrite_u.c:  Likewise.
20658         * libio/iopadn.c:  Return bytes returned even if EOF was
20659         encountered.
20660         * libio/iowpadn.c:  Likewise.
20661         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
20662         if _IO_padn does not write the whole buffer.
20663         [!COMPILE_WPRINTF] (PAD): Likewise.
20664
20665 2013-10-10  David S. Miller  <davem@davemloft.net>
20666
20667         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
20668         directory block.
20669
20670 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
20671
20672         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
20673         instead of FSF address.
20674         * soft-fp/fixdfti.c: Likewise.
20675         * soft-fp/fixsfti.c: Likewise.
20676         * soft-fp/fixtfti.c: Likewise.
20677         * soft-fp/fixunsdfti.c: Likewise.
20678         * soft-fp/fixunssfti.c: Likewise.
20679         * soft-fp/fixunstfti.c: Likewise.
20680         * soft-fp/floattidf.c: Likewise.
20681         * soft-fp/floattisf.c: Likewise.
20682         * soft-fp/floattitf.c: Likewise.
20683         * soft-fp/floatuntidf.c: Likewise.
20684         * soft-fp/floatuntisf.c: Likewise.
20685         * soft-fp/floatuntitf.c: Likewise.
20686         * soft-fp/trunctfxf2.c: Likewise.
20687
20688         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
20689         * soft-fp/fixdfti.c: Likewise.
20690         * soft-fp/fixsfti.c: Likewise.
20691         * soft-fp/fixtfti.c: Likewise.
20692         * soft-fp/fixunsdfti.c: Likewise.
20693         * soft-fp/fixunssfti.c: Likewise.
20694         * soft-fp/fixunstfti.c: Likewise.
20695         * soft-fp/floattidf.c: Likewise.
20696         * soft-fp/floattisf.c: Likewise.
20697         * soft-fp/floattitf.c: Likewise.
20698         * soft-fp/floatuntidf.c: Likewise.
20699         * soft-fp/floatuntisf.c: Likewise.
20700         * soft-fp/floatuntitf.c: Likewise.
20701         * soft-fp/trunctfxf2.c: Likewise.
20702
20703 2013-10-10  David S. Miller  <davem@davemloft.net>
20704
20705         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20706
20707 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
20708
20709         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
20710         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
20711         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
20712         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
20713         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
20714         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
20715         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
20716
20717         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
20718         for NaNs before doing comparisons on argument.
20719         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
20720         Likewise.
20721
20722 2013-10-10  Will Newton  <will.newton@linaro.org>
20723
20724         * malloc/hooks.c (memalign_check): Ensure the value of bytes
20725         passed to _int_memalign does not overflow.
20726
20727 2013-10-10  Torvald Riegel  <triegel@redhat.com>
20728
20729         * scripts/bench.pl: Add include-sources directive.
20730         * benchtests/README: Update documentation.
20731
20732 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
20733
20734         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
20735         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
20736         instead of FP_INIT_ROUNDMODE.
20737         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
20738         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
20739
20740         [BZ #16034]
20741         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
20742         copy class of input value.
20743         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
20744         not handle exceptions.
20745         * soft-fp/negsf2.c (__negsf2): Likewise.
20746         * soft-fp/negtf2.c (__negtf2): Likewise.
20747         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
20748
20749 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
20750
20751         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
20752         semicolon.  From Linux kernel.
20753
20754 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
20755
20756         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
20757
20758 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
20759
20760         [BZ #156]
20761         * manual/socket.texi: Added statement about buffer
20762         for gethostbyname2_r.
20763
20764 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
20765
20766         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
20767         Use .p2align directive instead, throughout.
20768         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
20769         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
20770         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
20771         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
20772         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
20773         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
20774         * sysdeps/x86_64/strchr.S: Likewise.
20775         * sysdeps/x86_64/strrchr.S: Likewise.
20776
20777 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
20778
20779         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
20780
20781         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
20782
20783         * sysdeps/generic/math_private.h (__mpsin1): Remove
20784         declaration.
20785         (__mpcos1): Likewise.
20786         (__mpsin): New argument __range_reduce.
20787         (__mpcos): Likewise.
20788         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
20789         (slow): Use __mpsin and __mpcos.
20790         (slow1): Likewise.
20791         (slow2): Likewise.
20792         (sloww): Likewise.
20793         (sloww1): Likewise.
20794         (sloww2): Likewise.
20795         (bsloww): Likewise.
20796         (bsloww1): Likewise.
20797         (bsloww2): Likewise.
20798         (cslow2): Likewise.
20799         (csloww): Likewise.
20800         (csloww1): Likewise.
20801         (csloww2): Likewise.
20802         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
20803         range_reduce.  Merge in __mpsin1.
20804         (__mpcos): Likewise.
20805         (__mpsin1): Remove.
20806         (__mpcos1): Likewise.
20807
20808 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
20809
20810         * locale/loadlocale.c (_nl_intern_locale_data): Use
20811         LOCFILE_ALIGNED_P.
20812         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
20813         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
20814         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
20815         obstack data is appropriately aligned.
20816         (obstack_int32_grow_fast): Likewise.
20817         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
20818         * locale/programs/locfile.c (add_locale_uint32): Likewise.
20819         (add_locale_uint32_array): Likewise.
20820
20821 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
20822
20823         * benchtests/Makefile: Remove ARGLIST and RET variables.
20824         ($(objpfx)bench-%.c): Pass only function name to the script.
20825         * benchtests/README: Update documentation.
20826         * benchtests/acos-inputs: Add new directives.
20827         * benchtests/acosh-inputs: Likewise.
20828         * benchtests/asin-inputs: Likewise.
20829         * benchtests/asinh-inputs: Likewise.
20830         * benchtests/atan-inputs: Likewise.
20831         * benchtests/atanh-inputs: Likewise.
20832         * benchtests/cos-inputs: Likewise.
20833         * benchtests/cosh-inputs: Likewise.
20834         * benchtests/exp-inputs: Likewise.
20835         * benchtests/log-inputs: Likewise.
20836         * benchtests/pow-inputs: Likewise.
20837         * benchtests/rint-inputs: Likewise.
20838         * benchtests/sin-inputs: Likewise.
20839         * benchtests/sinh-inputs: Likewise.
20840         * benchtests/tan-inputs: Likewise.
20841         * benchtests/tanh-inputs: Likewise.
20842         * scripts/bench.pl: Add support for new directives.
20843
20844 2013-10-07  Alan Modra  <amodra@gmail.com>
20845
20846         * README: Fix careless merge.
20847
20848 2013-10-05  Alan Modra  <amodra@gmail.com>
20849
20850         * NEWS: Mention powerpc64le support and bugs fixed.
20851         * README: Both big-endian and little-endian powerpc64 supported.
20852
20853 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20854
20855         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
20856         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
20857         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
20858         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
20859
20860 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
20861
20862         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
20863         match prototype.
20864
20865 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
20866
20867         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
20868         Move -mhard-float appending from
20869         ports/sysdeps/powerpc/powerpc32/Makefile.
20870         [$(with-fp) = yes] (ASFLAGS): Likewise.
20871         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
20872         * sysdeps/powerpc/nofpu: Move directory from
20873         ports/sysdeps/powerpc/nofpu.
20874         * sysdeps/powerpc/soft-fp: Move directory from
20875         ports/sysdeps/powerpc/soft-fp.
20876         * sysdeps/powerpc/powerpc32/405: Move directory from
20877         ports/sysdeps/powerpc/powerpc32/405.
20878         * sysdeps/powerpc/powerpc32/440: Move directory from
20879         ports/sysdeps/powerpc/powerpc32/440.
20880         * sysdeps/powerpc/powerpc32/464: Move directory from
20881         ports/sysdeps/powerpc/powerpc32/464.
20882         * sysdeps/powerpc/powerpc32/476: Move directory from
20883         ports/sysdeps/powerpc/powerpc32/476.
20884         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
20885         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
20886         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
20887         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
20888         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
20889         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
20890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
20891         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
20892         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
20893         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
20894         * README: Update for powerpc-*-linux-gnu software floating point
20895         support in libc.
20896
20897         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
20898         case to powerpc/powerpc32*.
20899         * sysdeps/unix/sysv/linux/configure: Regenerated.
20900
20901         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
20902         (_FPU_MASK_OM): Define as 0x04.
20903         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
20904         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
20905         0x00c10080.
20906         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
20907         0x0000003c.
20908         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
20909
20910         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
20911         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20912         getcontext_e500.
20913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
20914         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
20915         setcontext_e500.
20916         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
20917         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
20918         and setcontext_e500.
20919
20920 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
20921
20922         * locale/iso-3166.def: Update iso-1366.def and related occurrences
20923
20924 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20925
20926         * manual/threads.texi (Default Thread Attributes): Fix typo.
20927
20928 2013-10-04  Will Newton  <will.newton@linaro.org>
20929
20930         * malloc/Makefile: Add tst-memalign.
20931         * malloc/tst-memalign.c: New file.
20932
20933         * malloc/tst-posix_memalign.c: Add comments.
20934         (do_test): Add comments and call free on all potentially
20935         allocated pointers. Add space after cast.
20936
20937         * malloc/tst-pvalloc.c: Add comments.
20938         (do_test): Add comments and call free on all potentially
20939         allocated pointers. Remove duplicate check for NULL pointer.
20940         Add space after cast.
20941
20942         * malloc/tst-valloc.c: Add comments.
20943         (do_test): Add comments and call free on all potentially
20944         allocated pointers. Remove duplicate check for NULL pointer.
20945         Add space after cast.
20946
20947 2013-10-04  Alan Modra  <amodra@gmail.com>
20948
20949         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20950         Use stdint types in rather than __attribute__((mode())).
20951         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20952
20953 2013-10-04  Alan Modra  <amodra@gmail.com>
20954
20955         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
20956         Correct handling of unaligned relocs for little-endian.
20957         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
20958
20959 2013-10-04  Alan Modra  <amodra@gmail.com>
20960
20961         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
20962         * configure: Regenerate.
20963         * nptl/shlib-versions: Powerpc*le starts at 2.18.
20964         * shlib-versions: Likewise.
20965
20966 2013-10-04  Alan Modra  <amodra@gmail.com>
20967
20968         * string/tester.c (test_memrchr): Increment reported test cycle.
20969
20970 2013-10-04  Alan Modra  <amodra@gmail.com>
20971
20972         * string/test-memcpy.c (do_one_test): When reporting errors, print
20973         string address and don't overrun end of string.
20974
20975 2013-10-04  Alan Modra  <amodra@gmail.com>
20976
20977         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
20978         insrdi.  Make better use of reg selection to speed exit slightly.
20979         Schedule entry path a little better.  Remove useless "are we done"
20980         checks on entry to main loop.  Handle wrapping around zero address.
20981         Correct main loop count.  Handle single left-over word from main
20982         loop inline rather than by using loop_small.  Remove extra word
20983         case in loop_small caused by wrong loop count.  Add little-endian
20984         support.
20985         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
20986         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
20987         cache hint.
20988         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
20989         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
20990         support.  Avoid rlwimi.
20991         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
20992
20993 2013-10-04  Alan Modra  <amodra@gmail.com>
20994
20995         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
20996         insrdi.  Formatting.
20997         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
20998         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
20999         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
21000         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
21001         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
21002         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
21003
21004 2013-10-04  Alan Modra  <amodra@gmail.com>
21005
21006         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
21007         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
21008         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
21009         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
21010         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
21011         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
21012         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
21013         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
21014         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
21015         use of regs.  Use power7 mtocrf.  Tidy function tails.
21016
21017 2013-10-04  Alan Modra  <amodra@gmail.com>
21018
21019         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
21020         Formatting.  Consistently use rXXX register defines or rN defines.
21021         Use early exit labels that avoid restoring unused non-volatile regs.
21022         Make cr field use more consistent with rWORDn compares.  Rename
21023         regs used as shift registers for unaligned loop, using rN defines
21024         for short lifetime/multiple use regs.
21025         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
21026         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
21027         addi 1,1,64 to pop stack frame.  Simplify return value code.
21028         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
21029
21030 2013-10-04  Alan Modra  <amodra@gmail.com>
21031
21032         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
21033         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
21034         rather than rlwimi.
21035         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
21036         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
21037         little-endian support.  Correct typos.
21038         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
21039         rather than rlwimi.
21040         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
21041         in loop and entry code to keep "and." results.
21042         (strchr): Add little-endian support.  Comment.  Move cntlzd
21043         earlier in tail.
21044         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
21045
21046 2013-10-04  Alan Modra  <amodra@gmail.com>
21047
21048         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
21049         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
21050         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
21051         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
21052
21053 2013-10-04  Alan Modra  <amodra@gmail.com>
21054
21055         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
21056         (rTMP): Define as r11.
21057         (strcmp): Add little-endian support.  Optimise tail.
21058         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
21059         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
21060         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
21061         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
21062         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
21063         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
21064         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
21065
21066 2013-10-04  Alan Modra  <amodra@gmail.com>
21067
21068         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
21069         little-endian support.  Remove unnecessary "are we done" tests.
21070         Handle "s" wrapping around zero and extremely large "size".
21071         Correct main loop count.  Handle single left-over word from main
21072         loop inline rather than by using small_loop.  Correct comments.
21073         Delete "zero" tail, use "end_max" instead.
21074         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
21075
21076 2013-10-04  Alan Modra  <amodra@gmail.com>
21077
21078         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
21079         support.  Don't branch over align.
21080         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
21081         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
21082         support.  Rearrange tmp reg use to suit.  Comment.
21083         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
21084
21085 2013-10-04  Alan Modra  <amodra@gmail.com>
21086
21087         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
21088
21089 2013-10-04  Alan Modra  <amodra@gmail.com>
21090
21091         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
21092         conditional form of branch and link when obtaining pc.
21093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
21094
21095 2013-10-04  Alan Modra  <amodra@gmail.com>
21096
21097         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
21098         HIWORD/LOWORD.
21099         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
21100         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
21101
21102 2013-10-04  Alan Modra  <amodra@gmail.com>
21103
21104         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
21105         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
21106         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
21107         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
21108         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
21109         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
21110         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
21111         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
21112         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
21113         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
21114
21115 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21116             Alistair Popple <alistair@ozlabs.au.ibm.com>
21117             Alan Modra <amodra@gmail.com>
21118
21119         [BZ #15723]
21120         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
21121         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
21122         _dl_hwcap access for little-endian.
21123         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
21124         destroy vmx regs when saving unaligned.
21125         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
21126         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
21127         destroy vmx regs when saving unaligned.
21128
21129 2013-10-04  Alan Modra  <amodra@gmail.com>
21130
21131         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
21132         Don't use a union to pack hi/low value.
21133
21134 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21135
21136         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
21137         for little-endian.
21138         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
21139         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
21140         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
21141         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
21142         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
21143
21144 2013-10-04  Alan Modra  <amodra@gmail.com>
21145
21146         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
21147         constants to usual value for .cst8 section, and remove redundant
21148         high address load.
21149         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
21150         constant for 0x1p52.  Load little-endian words of double from
21151         correct stack offsets.
21152
21153 2013-10-04  Alan Modra  <amodra@gmail.com>
21154
21155         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
21156         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
21157         words of double from correct stack offsets.
21158         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
21159         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
21160         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
21161         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
21162         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
21163         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
21164         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
21165         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
21166         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
21167         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
21168         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
21169         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
21170         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
21171         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
21172         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
21173         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
21174         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
21175
21176 2013-10-04  Alan Modra  <amodra@gmail.com>
21177
21178         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
21179         64-bit int/double union.
21180         (_FPU_SETCW): Likewise.
21181         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
21182         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
21183
21184 2013-10-04  Alan Modra  <amodra@gmail.com>
21185
21186         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
21187         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
21188
21189 2013-10-04  Alan Modra  <amodra@gmail.com>
21190
21191         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
21192         use vector int constants.
21193         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
21194
21195 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21196
21197         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
21198         array with long long.
21199         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
21200         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
21201         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
21202         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
21203         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
21204         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
21205         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
21206         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
21207         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
21208         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
21209         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
21210         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
21211         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
21212
21213 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
21214
21215         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
21216         (__signbit): Likewise.  Correct for little-endian.
21217         (__signbitl): Call __signbit.
21218         (lrint): Correct for little-endian.
21219         (lrintf): Call lrint.
21220
21221 2013-10-04  Alan Modra  <amodra@gmail.com>
21222
21223         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
21224         union 32-bit int array member with 64-bit int array.
21225         (t515, tm256): Double rather than long double.
21226         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
21227
21228 2013-10-04  Alan Modra  <amodra@gmail.com>
21229
21230         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
21231         Delete.
21232         (IEEE854_LONG_DOUBLE_BIAS): Delete.
21233         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
21234         version of math_ldbl.h.
21235
21236 2013-10-04  Alan Modra  <amodra@gmail.com>
21237
21238         [BZ #15734], [BZ #15735]
21239         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
21240         all uses of ieee875 long double macros and unions.  Simplify test
21241         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
21242         ldbl_extract_mantissa value for ix,iy exponents.  Properly
21243         normalize after ldbl_extract_mantissa, and don't add hidden bit
21244         already handled.  Don't treat low word of ieee854 mantissa like
21245         low word of IBM long double and mask off bit when testing for
21246         zero.
21247         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
21248         all uses of ieee875 long double macros and unions.  Simplify tests
21249         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
21250         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
21251         two1022, instead use their values.  Recognise that tests for large
21252         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
21253         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
21254         Rewrite all uses of ieee875 long double macros and unions.  Simplify
21255         test for 0.0L and nan.  Correct negation.
21256         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
21257         ieee875 long double macros and unions.  Correct output for large
21258         magnitude x.  Correct absolute value calculation.
21259         (__erfcl): Likewise.
21260         * math/libm-test.inc: Add tests for errors discovered in IBM long
21261         double versions of fmodl, remainderl, erfl and erfcl.
21262
21263 2013-10-04  Alan Modra  <amodra@gmail.com>
21264
21265         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
21266         all uses of ieee854 long double macros and unions.  Simplify tests
21267         for long doubles that are fully specified by the high double.
21268         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
21269         Likewise.
21270         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
21271         Remove dead code too.
21272         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
21273         (__ieee754_ynl): Likewise.
21274         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
21275         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
21276         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
21277         Remove dead code too.
21278         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
21279         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
21280         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
21281         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
21282         Simplify.
21283         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
21284         Simplify.
21285         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
21286         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
21287         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
21288         Comment on variable precision.
21289         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
21290         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
21291         Likewise.
21292         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21293         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
21294         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
21295         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
21296         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
21297
21298 2013-10-04  Alan Modra  <amodra@gmail.com>
21299
21300         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
21301         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
21302         all uses of ieee854 long double macros and unions.
21303         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
21304         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
21305         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
21306         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
21307         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
21308         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
21309         Likewise.
21310         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
21311         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
21312         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
21313         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
21314         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
21315         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
21316         Simplify sign and nan test too.
21317         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
21318         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
21319         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
21320         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
21321         Likewise.
21322         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
21323         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
21324         Likewise.
21325         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21326         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
21327         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
21328         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
21329         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
21330         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
21331
21332 2013-10-04  Alan Modra  <amodra@gmail.com>
21333
21334         * stdio-common/printf_size.c (__printf_size): Don't use
21335         union ieee854_long_double in fpnum union.
21336         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
21337         signbit macro to retrieve sign from long double.
21338         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
21339         retrieve sign from long double.
21340         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
21341         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
21342         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
21343         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
21344         * math/test-misc.c (main): Don't use union ieee854_long_double.
21345
21346 2013-10-04  Alan Modra  <amodra@gmail.com>
21347
21348         [BZ #15680]
21349         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
21350         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
21351         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
21352         calculation.  Remove unnecessary test for denormal exponent.
21353         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
21354         Correct handling of denormals.  Avoid undefined shift behaviour.
21355         Correct normalisation of low mantissa when low double is denormal.
21356         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
21357         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
21358         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
21359         Correct normalisation of low mantissa.  Test for overflow of high
21360         mantissa and normalise.
21361         (ldbl_nearbyint): Use more readable constant for two52.
21362         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
21363         (__mpn_construct_long_double): Fix test for overflow of high
21364         mantissa and correct normalisation.  Avoid undefined shift.
21365
21366 2013-10-04  Alan Modra  <amodra@gmail.com>
21367
21368         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
21369         (union ibm_extended_long_double): Define as an array of ieee754_double.
21370         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
21371         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
21372         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
21373         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
21374         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
21375         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
21376         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
21377         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
21378         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
21379         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
21380         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
21381
21382 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
21383
21384         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
21385         page size instead of calling getpagesize.
21386
21387         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
21388         (LOCFILE_ALIGN_MASK): Likewise.
21389         (LOCFILE_ALIGN_UP): Likewise.
21390         (LOCFILE_ALIGNED_P): Likewise.
21391         * locale/programs/ld-collate.c (collate_output): Use the new
21392         macros instead of __alignof__ (int32_t).
21393         * locale/weight.h (findidx): Likewise.
21394
21395 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
21396
21397         [BZ #431]
21398         * manual/string.texi: Fix strncat and wcsncat.
21399
21400 2013-10-03  Brooks Moses  <bmoses@google.com>
21401
21402         [BZ #15915]
21403         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
21404         * Makerules: ...here, and adjust associated comments.
21405
21406 2013-10-02  Will Newton  <will.newton@linaro.org>
21407
21408         * malloc/Makefile: Add tst-pvalloc.
21409         * malloc/tst-pvalloc.c: New file.
21410
21411 2013-10-02  Will Newton  <will.newton@linaro.org>
21412
21413         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
21414         improve test coverage.
21415
21416 2013-10-02  Will Newton  <will.newton@linaro.org>
21417
21418         * malloc/Makefile: Add tst-posix_memalign.
21419         * malloc/tst-posix_memalign.c: New file.
21420
21421 2013-10-01  Eric Blake  <eblake@redhat.com>
21422
21423         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
21424         Use __THROWNL rather than __THROW on static functions.
21425
21426 2013-09-30  Petr Machata  <pmachata@redhat.com>
21427
21428         * elf/elf.h (R_AARCH64_ABS16): New macro.
21429         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
21430         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
21431         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
21432         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
21433         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
21434         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
21435         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
21436         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
21437         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
21438         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
21439         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
21440         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
21441         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
21442         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
21443         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
21444         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
21445         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
21446         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
21447         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
21448         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
21449         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
21450         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
21451         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
21452         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
21453         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
21454         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
21455         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
21456         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
21457         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
21458         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
21459         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
21460         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
21461         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
21462         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
21463         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
21464         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
21465         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
21466         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
21467         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
21468         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
21469         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
21470         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
21471         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
21472         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
21473         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
21474         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
21475         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
21476         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
21477         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
21478         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
21479         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
21480         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
21481         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
21482         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
21483         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
21484         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
21485         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
21486         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
21487         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
21488         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
21489         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
21490         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
21491         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
21492         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
21493         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
21494         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
21495         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
21496         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
21497         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
21498         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
21499         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
21500         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
21501         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
21502         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
21503         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
21504         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
21505         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
21506         (R_AARCH64_TLSDESC_LDR): Likewise.
21507         (R_AARCH64_TLSDESC_ADD): Likewise.
21508         (R_AARCH64_TLSDESC_CALL): Likewise.
21509
21510 2013-09-30  Andreas Schwab  <schwab@suse.de>
21511
21512         [BZ #15048]
21513         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
21514         the nss database lookup.
21515         * nscd/initgrcache.c (addinitgroupsX): Likewise.
21516         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
21517
21518 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
21519
21520         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
21521
21522 2013-09-28  P. J. McDermott  <pj@pehjota.net>
21523
21524         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
21525         ${Bash-specific parameter/pattern/string} parameter expansion.
21526         * sysdeps/unix/make-syscalls.sh: Likewise.
21527
21528 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21529
21530         * sysdeps/sh/stackguard-macros.h: New file.
21531
21532 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
21533
21534         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
21535         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
21536         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
21537         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
21538         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
21539         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
21540
21541 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21542
21543         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
21544         Fix thread ID register.
21545
21546 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
21547
21548         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
21549         [POSIX || UNIX98]: Require rather than permitting all symbols from
21550         <time.h>.
21551         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
21552         element of struct sched_param.
21553         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
21554         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
21555         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
21556         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
21557         constant.
21558
21559 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
21560
21561         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
21562         argument calculation.
21563
21564 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
21565
21566         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
21567         Expect macro.
21568         [POSIX] (pthread_attr_t): Do not require type.
21569         [POSIX] (pthread_cond_t): Likewise.
21570         [POSIX] (pthread_condattr_t): Likewise.
21571         [POSIX] (pthread_key_t): Likewise.
21572         [POSIX] (pthread_mutex_t): Likewise.
21573         [POSIX] (pthread_mutexattr_t): Likewise.
21574         [POSIX] (pthread_once_t): Likewise.
21575         [POSIX] (pthread_t): Likewise.
21576         [POSIX-based standards] (pthread_atfork): Expect function.
21577
21578 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
21579             Richard Sandiford  <richard@codesourcery.com>
21580
21581         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
21582         (swap_endianness_p): New extern variable.
21583         (set_big_endian): New inline function.
21584         (maybe_swap_uint32): Likewise.
21585         (maybe_swap_uint32_array): Likewise.
21586         (maybe_swap_uint32_obstack): Likewise.
21587         * locale/programs/locfile.c: Include <stdbool.h>.
21588         (swap_endianness_p): New variable.
21589         (add_locale_uint32): Call maybe_swap_uint32.
21590         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
21591         (write_locale_data): Call maybe_swap_uint32_array.
21592         * locale/programs/ld-collate.c (obstack_int32_grow): Call
21593         maybe_swap_uint32.
21594         (obstack_int32_grow_fast): Likewise.
21595         (output_weightwc): Call maybe_swap_uint32_obstack.
21596         (collate_output): Likewise.
21597         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
21598         (OPT_LITTLE_ENDIAN): Likewise.
21599         (options): Add --little-endian and --big-endian options.
21600         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
21601         * locale/programs/locarchive.c: Include "locfile.h".
21602         (GET): New macro.
21603         (SET): Likewise.
21604         (INC): Likewise.
21605         (create_archive): Use the new macros to access fields of
21606         structures directly mapped from or written to locale archives.
21607         (oldlocrecentcmp): Likewise.
21608         (enlarge_archive): Likewise.
21609         (insert_name): Likewise.
21610         (add_alias): Likewise.
21611         (add_locale): Likewise.
21612         (delete_locales_from_archive): Likewise.
21613         (show_archive_content): Likewise.
21614         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
21615         locale data.
21616
21617 2013-09-24  Roland McGrath  <roland@hack.frob.com>
21618
21619         * manual/freemanuals.texi: Updated from (newly) canonical copy at
21620         http://www.gnu.org/doc/freemanuals.texi.
21621         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
21622
21623 2013-09-24  Will Newton  <will.newton@linaro.org>
21624
21625         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
21626         macro.
21627
21628 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
21629
21630         * locale/hashval.h (compute_hashval): Interpret bytes of key as
21631         unsigned char.
21632
21633 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
21634
21635         * manual/threads.texi (POSIX Threads): Fix a typo.
21636
21637 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
21638
21639         [BZ #14547]
21640         * string/tst-strcoll-overflow.c: New test case.
21641         * string/Makefile (xtests): Add tst-strcoll-overflow.
21642         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
21643         cache if string sizes may cause integer overflow.
21644
21645         [BZ #14547]
21646         * string/strcoll_l.c (coll_seq): New members rule, idx,
21647         save_idx and back_us.
21648         (get_next_seq_nocache): New function.
21649         (do_compare_nocache): New function.
21650         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
21651         when malloc fails.
21652
21653 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
21654
21655         [BZ #15754]
21656         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
21657         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
21658         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
21659
21660         [BZ #15754]
21661         * elf/Makefile (tests): Add tst-ptrguard1.
21662         (tests-static): Add tst-ptrguard1-static.
21663         (tst-ptrguard1-ARGS): Define.
21664         (tst-ptrguard1-static-ARGS): Define.
21665         * elf/tst-ptrguard1.c: New file.
21666         * elf/tst-ptrguard1-static.c: New file.
21667         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
21668         * sysdeps/i386/stackguard-macros.h: Likewise.
21669         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
21670         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
21671         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
21672         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
21673         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
21674         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
21675
21676 2013-09-23  Hector Marco  <hecmargi@upv.es>
21677             Ismael Ripoll  <iripoll@disca.upv.es>
21678             Carlos O'Donell  <carlos@redhat.com>
21679
21680         [BZ #15754]
21681         * sysdeps/generic/stackguard-macros.h: Define
21682         __pointer_chk_guard_local and POINTER_CHK_GUARD.
21683         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
21684         Define __pointer_chk_guard_local.
21685         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
21686         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
21687
21688 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
21689
21690         [BZ #15859]
21691         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
21692
21693 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
21694
21695         * include/string.h (__ffs): Declare as hidden.
21696         * string/ffs.c (__ffs): Define as hidden.
21697         * sysdeps/i386/ffs.c (__ffs): Likewise.
21698         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
21699         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
21700         * sysdeps/s390/ffs.c (__ffs): Likewise.
21701         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
21702
21703 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
21704
21705         * NEWS: Mention malloc probes.
21706
21707         * malloc/arena.c (new_heap): New memory_heap_new probe.
21708         (grow_heap): New memory_heap_more probe.
21709         (shrink_heap): New memory_heap_less probe.
21710         (heap_trim): New memory_heap_free probe.
21711         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
21712         (systrim): New memory_sbrk_less probe.
21713         * manual/probes.texi: Document them.
21714
21715         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
21716         * manual/probes.texi: Document it.
21717
21718         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
21719         (__libc_realloc): Add memory_realloc_retry probe.
21720         (__libc_memalign): Add memory_memalign_retry probe.
21721         (__libc_valloc): Add memory_valloc_retry probe.
21722         (__libc_pvalloc): Add memory_pvalloc_retry probe.
21723         (__libc_calloc): Add memory_calloc_retry probe.
21724         * manual/probes.texi: Document them.
21725
21726         * malloc/arena.c (get_free_list): Add probe
21727         memory_arena_reuse_free_list.
21728         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
21729         and memory_arena_reuse.
21730         (arena_get2) [!PER_THREAD]: Likewise.
21731         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
21732         memory_arena_reuse_realloc.
21733         * manual/probes.texi: Document them.
21734
21735         * malloc/malloc.c (__libc_free): Add
21736         memory_mallopt_free_dyn_thresholds probe.
21737         (__libc_mallopt): Add multiple memory_mallopt probes.
21738         * manual/probes.texi: Document them.
21739
21740         * malloc/malloc.c: Include stap-probe.h.
21741         (__libc_mallopt): Add memory_mallopt probe.
21742         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
21743         * manual/probes.texi: New.
21744         * manual/Makefile (chapters): Add probes.
21745         * manual/threads.texi: Set next node.
21746
21747 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
21748
21749         [BZ #15963, #13985]
21750         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
21751         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
21752         Add `Chinese' to `nan' entry name.
21753
21754 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21755
21756         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
21757         (POLYNOMIAL): Likewise.
21758         (TAYLOR_SINCOS): Likewise.
21759         (TAYLOR_SLOW): Likewise.
21760         (__sin): Use TAYLOR_SINCOS.
21761         (__cos): Likewise.
21762         (slow): Use TAYLOR_SLOW.
21763         (sloww): Likewise.
21764         (bsloww): Likewise.
21765         (csloww): Likewise.
21766
21767 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
21768
21769         * stdlib/strtod_l.c: Fix buffer overrun.
21770
21771 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
21772
21773         * benchtests/Makefile (bench): Add sincos.
21774         * benchtests/bench-sincos.c: New file.
21775
21776         * math/libm-test.inc (cos_test_data): New test inputs.
21777         (sin_test_data): Likewise.
21778
21779         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
21780         macro.
21781         (__sin): Use it.
21782         (__cos): Likewise.
21783         (slow1): Likewise.
21784         (slow2): Likewise.
21785         (sloww1): Likewise.
21786         (sloww2): Likewise.
21787         (bsloww1): Likewise.
21788         (bsloww2): Likewise.
21789         (cslow2): Likewise.
21790         (csloww1): Likewise.
21791         (csloww2): Likewise.
21792
21793         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
21794         function.
21795         (__sin): Use it.
21796         (__cos): Likewise.
21797
21798         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
21799         gotos.
21800         (__cos): Likewise.
21801
21802 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
21803
21804         * config.h.in (HAVE_MIPS_NAN2008): New macro.
21805         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
21806         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
21807         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
21808         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
21809         * elf/cache.c (print_entry): Handle the new cache flags.
21810
21811 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
21812             Aldy Hernandez  <aldyh@redhat.com>
21813
21814         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
21815         Change condition to [_SOFT_FLOAT].
21816         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
21817         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
21818         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
21819         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
21820         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
21821         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
21822         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
21823         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
21824         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
21825         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
21826         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
21827         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
21828         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
21829         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
21830         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
21831         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
21832         declaration.
21833
21834 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
21835
21836         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
21837         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21838         (__longjmp): Use LOAD_GP to load saved GPRs.
21839         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
21840         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
21841         (__sigsetjmp): Use SAVE_GP to save GPRs.
21842
21843         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
21844         Do not append -msoft-float.
21845         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
21846
21847 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
21848
21849         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
21850
21851 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
21852
21853         [BZ #15966]
21854         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
21855         (_FPU_GETCW): Use initial "__" on variable and field names but not
21856         on macro parameter name.
21857         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
21858         parentheses around reference to macro parameter.
21859
21860 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
21861
21862         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
21863         prototype.
21864         (ctype_startup): Use uint32_t in cast and sizeof for
21865         ctype->charnames.
21866
21867 2013-09-11  Jia Liu  <proljc@gmail.com>
21868
21869         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
21870         __daddr_t_defined.
21871         [__FreeBSD__]: Likewise.
21872
21873 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
21874
21875         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
21876         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
21877         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
21878         (strchr): Remove __strchr_sse42 ifunc selection.
21879         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
21880         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
21881
21882 2013-09-11  Will Newton  <will.newton@linaro.org>
21883
21884         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
21885         parameter to RES. Remove hardcoded 1000 value.
21886         * benchtests/bench-skeleton.c (main): Pass RES parameter
21887         to TIMING_INIT and multiply result by 1000.
21888
21889 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21890
21891         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
21892
21893 2013-09-11  Andreas Schwab  <schwab@suse.de>
21894
21895         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
21896         if not defined.
21897         (O_TMPFILE) [__USE_GNU]: Define.
21898         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
21899         Define.
21900
21901 2013-09-11  Will Newton  <will.newton@linaro.org>
21902
21903         [BZ #15857]
21904         * malloc/malloc.c (__libc_memalign): Check the value of bytes
21905         does not overflow.
21906
21907 2013-09-11  Will Newton  <will.newton@linaro.org>
21908
21909         [BZ #15856]
21910         * malloc/malloc.c (__libc_valloc): Check the value of bytes
21911         does not overflow.
21912
21913 2013-09-11  Will Newton  <will.newton@linaro.org>
21914
21915         [BZ #15855]
21916         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
21917         does not overflow.
21918
21919 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
21920
21921         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
21922         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
21923         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
21924         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
21925         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
21926
21927 2013-09-10  Allan McRae  <allan@archlinux.org>
21928
21929         [BZ #15748]
21930         * manual/arith.texi (Parsing of Floats): Clarify
21931         cross-reference.
21932
21933         [BZ #15849]
21934         * manual/install.texi (Running make install): Mention
21935         --enable-pt-chown.
21936         * INSTALL: Regenerated.
21937
21938 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
21939
21940         * csu/init-first.c (_init): Remove the !SHARED condition around
21941         FPU control word initialization.
21942         * elf/dl-support.c (_dl_fpu_control): New variable.
21943         (_dl_aux_init) <AT_FPUCW>: Initialize it.
21944         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
21945         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
21946         * math/test-fpucw-static.c: New file.
21947         * math/test-fpucw-ieee.c: New file.
21948         * math/test-fpucw-ieee-static.c: New file.
21949         * math/Makefile (tests): Add `test-fpucw-ieee' and
21950         `$(tests-static)'.
21951         (tests-static): New variable.
21952         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
21953         dependency to...
21954         [($(build-shared),yes)]
21955         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
21956         ... this.
21957         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
21958         New dependency.
21959
21960 2013-09-09  Allan McRae  <allan@archlinux.org>
21961
21962         [BZ #15939]
21963         * manual/string.texi (Collation Functions): Fix typo in
21964         strcoll example.
21965         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
21966
21967         [BZ #15893]
21968         * stdlib/isomac.c (get_null_defines): Fix memory leak.
21969
21970         [BZ #15892]
21971         * libio/memstream.c (open_memstream): Fix memory leak.
21972         * libio/wmemstream.c (open_wmemstream): Likewise.
21973
21974         [BZ #15895]
21975         * nscd/netgroupcache.c: Fix nesting of ifdefs.
21976
21977 2013-09-09  Will Newton  <will.newton@linaro.org>
21978
21979         * malloc/Makefile: Add tst-realloc to tests.
21980         * malloc/tst-realloc.c: New file.
21981
21982 2013-09-09  Allan McRae  <allan@archlinux.org>
21983
21984         [BZ #15844]
21985         * COPYING: Update from GNU website to fix FSF address.
21986         * COPYING.LIB: Likewise.
21987
21988 2013-09-06  David S. Miller  <davem@davemloft.net>
21989
21990         * po/zh_TW.po: Update Chinese (traditional) translation from
21991         translation project.
21992
21993 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
21994             Joseph Myers  <joseph@codesourcery.com>
21995
21996         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
21997         "localeinfo.h".
21998         (obstack_chunk_alloc): New macro.
21999         (obstack_chunk_free): Likewise.
22000         (record_offset): New function.
22001         (init_locale_data): Likewise.
22002         (align_locale_data): Likewise.
22003         (add_locale_empty): Likewise.
22004         (add_locale_raw_data): Likewise.
22005         (add_locale_raw_obstack): Likewise.
22006         (add_locale_string): Likewise.
22007         (add_locale_wstring): Likewise.
22008         (add_locale_uint32): Likewise.
22009         (add_locale_uint32_array): Likewise.
22010         (add_locale_char): Likewise.
22011         (start_locale_structure): Likewise.
22012         (end_locale_structure): Likewise.
22013         (start_locale_prelude): Likewise.
22014         (end_locale_prelude): Likewise.
22015         (write_locale_data): Take locale_file structure rather than an
22016         iovec.
22017         * locale/programs/locfile.h: Include "obstack.h".
22018         (struct locale_file): Change to store locale file contents instead
22019         of header.
22020         (init_locale_data): New prototype.
22021         (align_locale_data): Likewise.
22022         (add_locale_empty): Likewise.
22023         (add_locale_raw_data): Likewise.
22024         (add_locale_raw_obstack): Likewise.
22025         (add_locale_string): Likewise.
22026         (add_locale_wstring): Likewise.
22027         (add_locale_uint32): Likewise.
22028         (add_locale_uint32_array): Likewise.
22029         (add_locale_char): Likewise.
22030         (start_locale_structure): Likewise.
22031         (end_locale_structure): Likewise.
22032         (start_locale_prelude): Likewise.
22033         (end_locale_prelude): Likewise.
22034         (write_locale_data): Update prototype.
22035         * locale/programs/3level.h (struct TABLE): Remove result field.
22036         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
22037         Use new locale_file interface.
22038         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
22039         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
22040         * locale/programs/ld-address.c (address_output): Use new
22041         locale_file interface.
22042         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
22043         NO_ADD_LOCALE.
22044         (collate_finish): Don't call collseq_table_finalize.
22045         (collate_output): Use new locale_file interface.
22046         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
22047         in file.
22048         (NO_FINALIZE): Change to NO_ADD_LOCALE.
22049         (TABLE): Move defines earlier in file.
22050         (ELEMENT): Likewise.
22051         (DEFAULT): Likewise.
22052         (wctrans_table_add): Move macro and inline function earlier in
22053         file.
22054         (struct wctype_table): Move type earlier in file.
22055         (add_locale_wctype_table): New static prototype.
22056         (struct locale_ctype_t): Use logical types instead of struct iovec
22057         pointers for members.
22058         (ctype_output): Use new locale_file interface.
22059         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
22060         new locale_file interface.
22061         (allocate_arrays): Update for use of new locale_file interface.
22062         * locale/programs/ld-identification.c (identification_output): Use
22063         new locale_file interface.
22064         * locale/programs/ld-measurement.c (measurement_output): Likewise.
22065         * locale/programs/ld-messages.c (messages_output): Likewise.
22066         * locale/programs/ld-monetary.c (monetary_output): Likewise.
22067         * locale/programs/ld-name.c (name_output): Likewise.
22068         * locale/programs/ld-numeric.c (numeric_output): Likewise.
22069         * locale/programs/ld-paper.c (paper_output): Likewise.
22070         * locale/programs/ld-telephone.c (telephone_output): Likewise.
22071         * locale/programs/ld-time.c (time_output): Likewise.
22072
22073 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22074
22075         * benchtests/Makefile: Add memrchr benchmark.
22076         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
22077         benchmark as memrchr.
22078         * benchtests/bench-memrchr-ifunc.c: New file.
22079         * benchtests/bench-memrchr.c: New file.
22080
22081 2013-09-06   Will Newton  <will.newton@linaro.org>
22082
22083         * benchtests/Makefile (string-bench): Add memcpy.
22084
22085 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
22086             Cong Wang  <amwang@redhat.com>
22087
22088         [BZ #15850]
22089         * sysdeps/unix/sysv/linux/bits/in.h
22090         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
22091         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
22092         before __USE_KERNEL_IPV6_DEFS uses.
22093         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
22094         IPPROTO_BEETPH.
22095         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
22096         sockaddr_in6, or ipv6_mreq.
22097
22098 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22099
22100         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
22101         memory access for final bytes in some large inputs.
22102         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
22103
22104 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22105
22106         * string/test-memrchr.c: New file.
22107         * string/test-memrchr-ifunc.c: New file.
22108         * string/Makefile: Add new memrchr testcase.
22109
22110 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
22111
22112         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
22113         fanotify_init returns EPERM.
22114
22115 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
22116
22117         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
22118         errors.
22119         (top level): Treat second token from macro or constant entries for
22120         allowed headers as allowed.
22121         * include/complex.h: Condition internal declarations on
22122         [!_ISOMAC].
22123         * include/fenv.h: Condition include of <stdbool.h> and internal
22124         declarations on [!_ISOMAC].
22125
22126 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
22127
22128         [BZ #15923]
22129         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
22130
22131 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
22132
22133         * configure.in (--enable-versioning): Remove configure option.
22134         (libc_cv_asm_symver_directive): Remove configure test.
22135         (libc_cv_ld_version_script_option): Likewise.
22136         (VERSIONING): Remove variable and AC_SUBST.
22137         (DO_VERSIONING): Remove AC_DEFINE.
22138         * configure: Regenerated.
22139         * config.h.in (DO_VERSIONING): Remove macro.
22140         * Makerules [$(versioning) = yes]: Change conditionals to
22141         [$(build-shared) = yes].
22142         * config.make.in (versioning): Remove variable.
22143         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
22144         [$(build-shared) = yes].
22145         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
22146         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
22147         * elf/Makefile [$(versioning) = yes]: Change conditionals to
22148         [$(build-shared) = yes].
22149         * extra-lib.mk [$(versioning) = yes]: Likewise.
22150         * hurd/Makefile [$(versioning) = yes]: Likewise.
22151         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
22152         [SHARED].
22153         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
22154         [SHARED].
22155         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22156         [SHARED && !NO_HIDDEN].
22157         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
22158         [SHARED].
22159         [SHARED && DO_VERSIONING]: Likewise..
22160         * libio/Makefile [$(versioning) = yes]: Change conditionals to
22161         [$(build-shared) = yes].
22162         * manual/install.texi (--disable-versioning): Remove
22163         documentation.
22164         * INSTALL: Regenerated.
22165         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
22166         to [SHARED].
22167         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
22168         [$(build-shared) = yes].
22169         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
22170         * sysdeps/i386/i686/multiarch/strstr-c.c
22171         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
22172         [SHARED && !NO_HIDDEN].
22173         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
22174         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
22175         * sysdeps/powerpc/powerpc32/dl-machine.c
22176         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
22177         * sysdeps/powerpc/powerpc32/sysdep.h
22178         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
22179         to [SHARED && PIC && !NO_HIDDEN].
22180         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
22181         conditional to [SHARED].
22182
22183 2013-09-04   Will Newton  <will.newton@linaro.org>
22184
22185         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
22186         * benchtests/bench-string.h: Include bench-timing.h instead
22187         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
22188         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
22189         call to HP_TIMING_DIFF_INIT.
22190         * benchtests/bench-memccpy.c: Use bench-timing.h macros
22191         instead of hp-timing.h macros.
22192         * benchtests/bench-memchr.c: Likewise.
22193         * benchtests/bench-memcmp.c: Likewise.
22194         * benchtests/bench-memcpy.c: Likewise.
22195         * benchtests/bench-memmem.c: Likewise.
22196         * benchtests/bench-memmove.c: Likewise.
22197         * benchtests/bench-memset.c: Likewise.
22198         * benchtests/bench-rawmemchr.c: Likewise.
22199         * benchtests/bench-strcasecmp.c: Likewise.
22200         * benchtests/bench-strcasestr.c: Likewise.
22201         * benchtests/bench-strcat.c: Likewise.
22202         * benchtests/bench-strchr.c: Likewise.
22203         * benchtests/bench-strcmp.c: Likewise.
22204         * benchtests/bench-strcpy.c: Likewise.
22205         * benchtests/bench-strcpy_chk.c: Likewise.
22206         * benchtests/bench-strlen.c: Likewise.
22207         * benchtests/bench-strncasecmp.c: Likewise.
22208         * benchtests/bench-strncat.c: Likewise.
22209         * benchtests/bench-strncmp.c: Likewise.
22210         * benchtests/bench-strncpy.c: Likewise.
22211         * benchtests/bench-strnlen.c: Likewise.
22212         * benchtests/bench-strpbrk.c: Likewise.
22213         * benchtests/bench-strrchr.c: Likewise.
22214         * benchtests/bench-strspn.c: Likewise.
22215         * benchtests/bench-strstr.c: Likewise.
22216
22217 2013-09-04  Will Newton  <will.newton@linaro.org>
22218
22219         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
22220
22221 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
22222
22223         [BZ #15427]
22224         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
22225         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
22226         * math/libm-test.inc (lgamma_test_data): Add more tests.
22227         * sysdeps/i386/fpu/libm-test-ulps: Update.
22228         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22229
22230 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
22231
22232         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
22233         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22234         Add ifunc.
22235         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
22236         Add strcmp-sse2-unaligned
22237         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
22238
22239 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
22240
22241         * Versions.def (libc): Add GLIBC_2.19.
22242
22243 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
22244
22245         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
22246         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
22247
22248 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
22249
22250         [BZ #14155]
22251         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
22252         intermediate calculations in recurrence.
22253         (__ieee754_ynf): Likewise.
22254         * math/libm-test.inc (jn_test_data): Do not allow spurious
22255         underflow exception.  Add more tests.
22256         (yn_test_data): Add more tests.
22257         * sysdeps/i386/fpu/libm-test-ulps: Update.
22258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22259
22260 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
22261
22262         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
22263
22264 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
22265
22266         * csu/init-first.c: Fix then/than typos.
22267         * locale/programs/ld-collate.c: Likewise.
22268         * locale/programs/linereader.h: Likewise.
22269         * manual/charset.texi: Likewise.
22270         * manual/filesys.texi: Likewise.
22271         * manual/stdio.texi: Likewise.
22272         * manual/string.texi: Likewise.
22273         * stdlib/fmtmsg.c: Likewise.
22274         * sysdeps/i386/stpncpy.S: Likewise.
22275         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
22276         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
22277         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
22278         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
22279
22280 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
22281
22282         * elf/dl-open.c: Fix typos.
22283         * iconvdata/gbbig5.c: Likewise.
22284         * iconvdata/iso-2022-jp.c: Likewise.
22285         * iconv/gconv_int.h: Likewise.
22286         * iconv/loop.c: Likewise.
22287         * nis/rpcsvc/nis.h: Likewise.
22288         * resolv/ns_name.c: Likewise.
22289         * stdio-common/vfscanf.c: Likewise.
22290         * streams/stropts.h: Likewise.
22291         * sunrpc/rpc_thread.c: Likewise.
22292         * sysdeps/i386/strpbrk.S: Likewise.
22293         * sysdeps/ieee754/k_standard.c: Likewise.
22294         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
22295         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
22296         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
22297         * sysdeps/mach/hurd/profil.c: Likewise.
22298         * sysdeps/s390/dl-procinfo.h: Likewise.
22299         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
22300         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
22301         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
22302         * sysdeps/x86_64/dl-trampoline.S: Likewise.
22303         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
22304
22305 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
22306
22307         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
22308         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
22309
22310 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
22311
22312         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
22313         aix specific files.
22314         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
22315         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
22316         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
22317         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
22318         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
22319         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
22320         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
22321         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
22322
22323 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
22324             Roland McGrath  <roland@hack.frob.com>
22325
22326         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
22327         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
22328
22329 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22330
22331         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
22332         __executable_start symbol instead of _start.
22333
22334 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
22335
22336         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
22337         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
22338         Move macros to...
22339         * sysdeps/gnu/ldsodefs.h: ... this new file.
22340
22341         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
22342         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
22343         instead of ELFOSABI_LINUX.
22344
22345         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
22346         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
22347         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
22348         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
22349         Likewise.
22350         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
22351         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
22352         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
22353         Likewise.
22354         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
22355         (ibm_extended_long_double): Add ieee_nan member.
22356         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
22357         (do_test): New function.
22358
22359         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
22360         TEST_TRUNC.
22361         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
22362         functions, renamed from truncdfsf_test, trunctfsf_test,
22363         trunctfdf_test.
22364         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
22365         functions.
22366         (do_test): Run all these.
22367
22368 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
22369
22370         * argp/argp-help.c: Fix typos.
22371         * argp/argp-parse.c: Likewise.
22372         * debug/backtracesyms.c: Likewise.
22373         * elf/elf.h: Likewise.
22374         * malloc/malloc.c: Likewise.
22375         * nis/nis_print.c: Likewise.
22376         * resolv/res_comp.c: Likewise.
22377         * stdlib/stdlib.h: Likewise.
22378         * sunrpc/clnt_tcp.c: Likewise.
22379         * sunrpc/clnt_udp.c: Likewise.
22380         * sunrpc/clnt_unix.c: Likewise.
22381         * sysdeps/unix/bsd/ptsname.c: Likewise.
22382         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
22383         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
22384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
22385         Likewise.
22386         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
22387         Likewise.
22388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
22389         Likewise.
22390         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
22391
22392 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
22393
22394         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
22395         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
22396
22397 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
22398
22399         [BZ #15897]
22400         * dlfcn/Makefile (tests): Add bug-dl-leaf.
22401         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
22402         ($(objpfx)bug-dl-leaf): New rule.
22403         ($(objpfx)bug-dl-leaf.so): Likewise.
22404         ($(objpfx)bug-dl-leaf.out): Likewise.
22405         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
22406         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
22407         * dlfcn/bug-dl-leaf.c: New test.
22408         * dlfcn/bug-dl-leaf-lib.c: Likewise.
22409         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
22410         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
22411         (dlclose): Likewise.
22412         (dlmopen): Likewise.
22413
22414 2013-08-27  Roland McGrath  <roland@hack.frob.com>
22415
22416         * include/netdb.h [!_ISOMAC]:
22417         Don't include <tls.h>.
22418         (h_errno, __libc_h_errno): Move declaration and macros out of
22419         [_LIBC_REENTRANT].
22420
22421         * include/resolv.h [_RESOLV_H_]:
22422         Don't include <tls.h>.
22423         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
22424         * resolv/res_libc.c: Don't include <tls.h>.
22425         (_res): Use __attribute__ ((nocommon)) in place of
22426         __attribute__ ((section (".bss"))).
22427
22428         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
22429         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
22430
22431         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
22432
22433         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
22434         only under [SIOCGIFCONF && SIOCGIFNETMASK].
22435
22436         * resolv/res_mkquery.c: Include <sys/time.h>.
22437
22438         * inet/ifreq.c: Moved to ...
22439         * sysdeps/unix/ifreq.c: ... here.
22440         * inet/ifreq.c: New file, true stub version.
22441
22442         * socket/sa_len.c: New file.
22443         * socket/Makefile (aux): Add it.
22444         * sysdeps/unix/sysv/linux/Makefile
22445         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
22446         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
22447         and #include <socket/sa_len.c>.
22448         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
22449         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
22450
22451         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
22452         * bits/socket.h: ... here.
22453
22454         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
22455         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
22456         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
22457
22458 2013-08-27  Andreas Schwab  <schwab@suse.de>
22459
22460         [BZ #15736]
22461         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
22462         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
22463         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
22464         * string/test-strcasecmp.c (test_main): Run tests in several
22465         locales.
22466         * string/test-strncasecmp.c (test_main): Likewise.
22467
22468         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
22469         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
22470         to __strcasecmp_nonascii and __strncasecmp_nonascii.
22471         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
22472         (__strncasecmp_ssse3) [PIC]: Likewise.
22473
22474 2013-08-26  Roland McGrath  <roland@hack.frob.com>
22475
22476         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
22477
22478         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
22479         instead of explicitly declaring xdecrypt.
22480         * nis/nss_nis/nis-publickey.c: Likewise.
22481
22482 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22483
22484         [BZ #15890]
22485         * nscd/aicache.c: Include res_hconf.h.
22486         (addhstaiX): Initialize res_hconf.
22487
22488 2013-08-26  Andreas Schwab  <schwab@suse.de>
22489
22490         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
22491         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
22492
22493 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
22494
22495         * nscd/aicache.c (addhstaiX): Fix indentation.
22496
22497 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
22498
22499         * configure.ac: Quote $build_pt_chown test.
22500         * configure: Regenerated.
22501
22502 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
22503
22504         [BZ #15532]
22505         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
22506         * math/s_cexpf.c (__cexpf): Likewise.
22507         * math/s_cexpl.c (__cexpl): Likewise.
22508         * math/libm-test.inc (cexp_test_data): Correct expected return
22509         value for NaN + i0.  Add another test.
22510
22511 2013-08-22  David S. Miller  <davem@davemloft.net>
22512
22513         * po/ca.po: Update Catalan translation from translation project.
22514         * po/uk.po: Add Ukrainian translations from translation project.
22515
22516 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
22517
22518         [BZ #15797]
22519         * math/s_fdim.c (__fdim): Check for infinite arguments if result
22520         is infinite, not alongside NaN test.
22521         * math/s_fdimf.c (__fdimf): Likewise.
22522         * math/s_fdiml.c (__fdiml): Likewise.
22523         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
22524         errno is unchanged.
22525
22526 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
22527
22528         * argp/argp-help.c: Fix typos.
22529         * crypt/speeds.c: Likewise.
22530         * csu/check_fds.c: Likewise.
22531         * elf/dl-load.c: Likewise.
22532         * elf/dl-open.c: Likewise.
22533         * elf/reldep3.c: Likewise.
22534         * elf/reldep.c: Likewise.
22535         * elf/sprof.c: Likewise.
22536         * iconv/iconv_charmap.c: Likewise.
22537         * iconv/skeleton.c: Likewise.
22538         * iconv/strtab.c: Likewise.
22539         * io/lockf64.c: Likewise.
22540         * libio/libioP.h: Likewise.
22541         * resolv/gai_notify.c: Likewise.
22542         * resolv/ns_name.c: Likewise.
22543         * resolv/ns_samedomain.c: Likewise.
22544         * resolv/res_send.c: Likewise.
22545         * stdlib/random.c: Likewise.
22546         * sunrpc/rpc/xdr.h: Likewise.
22547         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
22548         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
22549         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
22550         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
22551         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
22552         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
22553         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
22554         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
22555         * sysdeps/mach/hurd/check_fds.c: Likewise.
22556         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
22557         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
22558         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
22559         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
22560         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
22561         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
22562         * sysdeps/pthread/aio_notify.c: Likewise.
22563         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
22564         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
22565         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
22566         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
22567         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
22568
22569 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22570
22571         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
22572         version if bit_Slow_SSE4_2 is set.
22573         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22574         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22575
22576 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22577
22578         [BZ #15867]
22579         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
22580         trampoline stack frame information.
22581         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
22582         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
22583         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
22584         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
22585         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
22586         * sysdeps/unix/sysv/linux/powerpc/init-first.c
22587         (_libc_vdso_platform_setup): Initialize the signal trampolines.
22588         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
22589         sa_flags value.
22590         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
22591         interrupting a syscall and set with option SA_SIGINFO.
22592
22593 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
22594
22595         [BZ #15531]
22596         * math/s_cproj.c (__cproj): Only return an infinity if one part of
22597         argument is infinite.
22598         * math/s_cprojf.c (__cprojf): Likewise.
22599         * math/s_cprojl.c (__cprojl): Likewise.
22600         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
22601         * math/libm-test.inc (cproj_test_data): Add more tests.
22602
22603         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
22604
22605         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
22606         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
22607         size.  Use __ffs to determine corresponding shift.
22608
22609 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
22610             Roland McGrath  <roland@hack.frob.com>
22611
22612         * Makefile (INSTALL): Remove trailing blank lines from output of
22613         makeinfo.
22614
22615 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22616
22617         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
22618         Align 32 bit compat elf_greg to 8 bytes.
22619
22620 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
22621
22622         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
22623
22624 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
22625
22626         * string/strcoll_l.c (coll_seq): New structure.
22627         (get_next_seq_cached): New function.
22628         (get_next_seq): New function.
22629         (do_compare): New function.
22630         (STRCOLL): Use GNU style definition.  Simplify implementation
22631         by using get_next_seq, get_next_seq_cached and do_compare.
22632
22633 2013-08-16  Florian Weimer  <fweimer@redhat.com>
22634
22635         [BZ #14699]
22636         CVE-2013-4237
22637         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
22638         member.
22639         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
22640         member.
22641         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
22642         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
22643         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
22644         conditional.
22645         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
22646         GETDENTS_64BIT_ALIGNED.
22647         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
22648         * manual/filesys.texi (Reading/Closing Directory): Document
22649         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
22650         strongly.
22651         * manual/conf.texi (Limits for Files): Add portability note to
22652         NAME_MAX, PATH_MAX.
22653         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
22654
22655 2013-08-13  Andreas Schwab  <schwab@suse.de>
22656
22657         [BZ #15749]
22658         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
22659         of fabs.
22660         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
22661         LDBL_MAX_EXP >= 16384]: Add tests for it.
22662
22663 2013-08-12  David S. Miller  <davem@davemloft.net>
22664
22665         * version.h (RELEASE): Set to "development".
22666         (VERSION): Set to "2.18.90".
22667         * NEWS: Add 2.19 section.
22668
22669 2013-08-03  David S. Miller  <davem@davemloft.net>
22670
22671         * po/ko.po: Update Korean translation from translation project.
22672
22673 2013-08-01  David S. Miller  <davem@davemloft.net>
22674
22675         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
22676         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
22677         Bilka.
22678
22679 2013-07-30  David S. Miller  <davem@davemloft.net>
22680
22681         * po/fr.po: Update French translation from translation project.
22682
22683 2013-07-28  David S. Miller  <davem@davemloft.net>
22684
22685         * po/cs.po: Update Czech translation from translation project.
22686
22687         * po/sv.po: Update Swedish translation from translation project.
22688
22689 2013-07-27  David S. Miller  <davem@davemloft.net>
22690
22691         * po/eo.po: Update Esperanto translation from translation project.
22692
22693         * po/vi.po: Update Vietnamese translation from translation project.
22694
22695         * po/de.po: Update German translation from translation project.
22696
22697 2013-07-26  David S. Miller  <davem@davemloft.net>
22698
22699         * po/bg.po: Update Bulgarian translation from translation project.
22700
22701         * po/nl.po: Update Dutch translation from translation project.
22702         * po/pl.po: Update Polish translation from translation project.
22703         * po/ru.po: Update Russian translation from translation project.
22704
22705 2013-07-24  David S. Miller  <davem@davemloft.net>
22706
22707         * po/libc.pot: Update.
22708
22709 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22710
22711         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
22712         variable page size.
22713         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
22714         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
22715         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
22716
22717 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
22718
22719         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
22720
22721 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
22722             Andreas Schwab  <schwab@suse.de>
22723             Roland McGrath  <roland@hack.frob.com>
22724             Joseph Myers  <joseph@codesourcery.com>
22725             Carlos O'Donell  <carlos@redhat.com>
22726
22727         [BZ #15755]
22728         * config.h.in: Define HAVE_PT_CHOWN.
22729         * config.make.in (build-pt-chown): New variable.
22730         * configure.in (--enable-pt_chown): New configure option.
22731         * configure: Regenerate.
22732         * login/Makefile: Include Makeconfig.  Build pt_chown only if
22733         build-pt-chown is enabled.
22734         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
22735         pt_chown to fix pty ownership.
22736         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
22737         CLOSE_ALL_FDS.
22738         * manual/install.texi (Configuring and compiling): Mention
22739         --enable-pt_chown. Add @findex for grantpt.
22740         * INSTALL: Regenerate.
22741
22742 2013-07-20  David S. Miller  <davem@davemloft.net>
22743
22744         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
22745         difference between 32-bit and 64-bit.
22746
22747 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
22748
22749         [BZ #15711]
22750         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
22751         Avoid system header dependency with -ffreestanding.
22752         ($(objpfx)bits/syscall%d): Likewise.
22753
22754 2013-07-13  David S. Miller  <davem@davemloft.net>
22755
22756         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
22757         underflows from atanl/atan2l due to bug 15319.
22758         (casinh_test_data): Likewise.
22759
22760 2013-07-07  David S. Miller  <davem@davemloft.net>
22761
22762         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
22763
22764 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
22765
22766         * sysdeps/i386/fpu/libm-test-ulps: Update.
22767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22768
22769 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
22770
22771         * configure.in (--enable-lock-elision): Fix message text.
22772         * INSTALL: Regenerate.
22773         * configure: Regenerate.
22774
22775 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22776
22777         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22778
22779 2013-07-03  Andreas Jaeger  <aj@suse.de>
22780
22781         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
22782         define.
22783         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
22784         (ptrace_peeksiginfo_args): Add.
22785         (__ptrace_peeksiginfo_flags): Add.
22786         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
22787         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
22788         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
22789
22790 2013-07-03  Allan McRae  <allan@archlinux.org>
22791
22792         * sysdeps/i386/fpu/libm-test-ulps: Update.
22793
22794 2013-07-02  David S. Miller  <davem@davemloft.net>
22795
22796         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22797
22798 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
22799
22800         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
22801
22802 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
22803
22804         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
22805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22806
22807 2013-07-02  Andi Kleen <ak@linux.intel.com>
22808
22809         * config.h.in (ENABLE_LOCK_ELISION): Add.
22810         * configure.in (--enable-lock-elision): Add option.
22811         * manual/install.texi: Document --enable lock elision.
22812         * configure: Regenerate
22813         * INSTALL: Regenerate.
22814
22815 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
22816
22817         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
22818         SSE4.2 strcasecmp for libc.a.
22819         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
22820
22821 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
22822
22823         [BZ #13304]
22824         * soft-fp/op-common.h (_FP_FMA): New macro.
22825         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
22826         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
22827         (_FP_MUL_MEAT_1_imm): ... here.
22828         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
22829         (_FP_MUL_MEAT_1_wide): ... here.
22830         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
22831         (_FP_MUL_MEAT_1_hard): ... here.
22832         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
22833         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
22834         (_FP_MUL_MEAT_2_wide): ... here.
22835         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
22836         (_FP_MUL_MEAT_2_wide_3mul): ... here.
22837         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
22838         (_FP_MUL_MEAT_2_gmp): ... here.
22839         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
22840         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
22841         (_FP_MUL_MEAT_4_wide): ... here.
22842         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
22843         (_FP_MUL_MEAT_4_gmp): ... here.
22844         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
22845         (_FP_WFRACBITS_DW_S): Likewise.
22846         (_FP_WFRACXBITS_DW_S): Likewise.
22847         (_FP_HIGHBIT_DW_S): Likewise.
22848         (FP_FMA_S): Likewise.
22849         (_FP_FRAC_HIGH_DW_S): Likewise.
22850         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
22851         (_FP_WFRACBITS_DW_D): Likewise.
22852         (_FP_WFRACXBITS_DW_D): Likewise.
22853         (_FP_HIGHBIT_DW_D): Likewise.
22854         (FP_FMA_D): Likewise.
22855         (_FP_FRAC_HIGH_DW_D): Likewise.
22856         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
22857         (_FP_WFRACBITS_DW_E): Likewise.
22858         (_FP_WFRACXBITS_DW_E): Likewise.
22859         (_FP_HIGHBIT_DW_E): Likewise.
22860         (FP_FMA_E): Likewise.
22861         (_FP_FRAC_HIGH_DW_E): Likewise.
22862         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
22863         (_FP_WFRACBITS_DW_Q): Likewise.
22864         (_FP_WFRACXBITS_DW_Q): Likewise.
22865         (_FP_HIGHBIT_DW_Q): Likewise.
22866         (FP_FMA_Q): Likewise.
22867         (_FP_FRAC_HIGH_DW_Q): Likewise.
22868         * soft-fp/fmasf4.c: New file.
22869         * soft-fp/fmadf4.c: Likewise.
22870         * soft-fp/fmatf4.c: Likewise.
22871
22872 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22873
22874         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
22875         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
22876         Silvermont.
22877         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
22878         macro.
22879         (index_Slow_SSE4_2): Likewise.
22880         (index_Prefer_PMINUB_for_stringop): Likewise.
22881         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
22882         bit_Slow_SSE4_2 is set.
22883         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
22884         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
22885
22886 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22887
22888         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
22889         rtld_global._dl_hwcap2.
22890         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
22891         POWER8.
22892         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
22893         POWER8 feature descriptions defined in _dl_hwcap2.
22894         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
22895         string handling for POWER8 feature bits.
22896         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
22897         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
22898         _dl_powerpc_cap_flags.
22899         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
22900         * sysdeps/powerpc/rtld-global-offsets.sym
22901         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
22902         _dl_hwcap2 in the rtld_global_ro structure.
22903
22904 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
22905
22906         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
22907         hardware capabilities in support of AT_HWCAP2.
22908         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
22909         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
22910         GLRO(dl_hwcap2).
22911         (_dl_show_auxv): Add support for calling _dl_procinfo to display
22912         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
22913         explicitly the unknown a_type display mechanism is used.
22914         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
22915         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
22916         struct member.
22917         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
22918         to macro prototype for AT_HWCAP2 support.
22919         * sysdeps/i386/dl-procinfo.h: Likewise.
22920         * sysdeps/s390/dl-procinfo.h: Likewise.
22921         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
22922         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
22923         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
22924         return -1 for unknown a_type display fallback.
22925         * sysdeps/sparc/dl-procinfo.h: Likewise.
22926         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
22927         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
22928
22929 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
22930
22931         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
22932         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
22933
22934 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
22935
22936         [BZ #12492]
22937         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
22938         mprotect making __stack_prot writable.
22939
22940 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
22941             Joseph Myers  <joseph@codesourcery.com>
22942
22943         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
22944         as being properly aligned.
22945
22946 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
22947
22948         * dlfcn/modstatic5.c: New file.
22949         * dlfcn/tststatic5.c: New file.
22950         * dlfcn/Makefile (tests): Add tststatic5.
22951         (tests-static): Likewise.
22952         (modules-names): Add modstatic5.
22953         (tststatic5-ENV): New variable.
22954         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
22955
22956         [BZ #15022]
22957         * elf/dl-support.c (_dl_main_map): New variable.
22958         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
22959         (_dl_nns, _dl_load_adds): Set to 1.
22960         (_dl_initial_searchlist): Refer to _dl_main_map.
22961         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
22962         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
22963         call to _dl_get_origin.
22964         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
22965         around call_map.
22966         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
22967         * dlfcn/modstatic3.c: New file.
22968         * dlfcn/tststatic3.c: New file.
22969         * dlfcn/tststatic4.c: New file.
22970         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
22971         (tests-static): Likewise.
22972         (modules-names): Add modstatic3.
22973         (tststatic3-ENV, tststatic4-ENV): New variables.
22974         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
22975         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
22976
22977 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
22978
22979         * configure.in (CC): Require GCC version 4.4 or later.
22980         * configure: Regenerated.
22981         * manual/install.texi (Tools for Compilation): Update GCC version
22982         requirement.
22983         * INSTALL: Regenerated.
22984
22985 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
22986
22987         [BZ #15674]
22988         * string/test-memcmp.c (check2): New.
22989         (main): Call check2.
22990
22991         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
22992
22993 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
22994
22995         [BZ #15022]
22996         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
22997         over to...
22998         (dl_open_worker) [!SHARED]: ... here.
22999
23000 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23001
23002         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
23003
23004 2013-06-25  Richard Henderson  <rth@redhat.com>
23005
23006         * locale/programs/locarchive.c: Include <libc-internal.h>
23007
23008 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
23009
23010         * manual/texinfo.tex: Update to version 2013-06-21.17, with
23011         trailing whitespace removed.
23012
23013 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
23014
23015         [BZ #10283]
23016         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
23017         * locale/programs/locarchive.c: Include libc-mmap.h.
23018         (prepare_address_space): Take two new outputs (the mmap base and len).
23019         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
23020         values.
23021         (create_archive): Declare new mmap base and len values for
23022         prepare_address_space, and store the result in ah.
23023         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
23024         (enlarge_archive): If ah->mmap_base is not NULL, use that and
23025         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23026         Declare new mmap base and len values for
23027         prepare_address_space, and store the result in new_ah.
23028         (open_archive): Declare new mmap base and len values for
23029         prepare_address_space, and store the result in ah.
23030         (close_archive): If ah->mmap_base is not NULL, use that and
23031         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
23032         * sysdeps/generic/libc-mmap.h: New file.
23033
23034 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
23035
23036         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
23037         (ALIGN_UP): Likewise.
23038         (PTR_ALIGN_DOWN): Likewise.
23039         (PTR_ALIGN_UP): Likewise.
23040
23041 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23042
23043         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
23044         entry mapped to PPC_PLATFORM_POWER8.
23045         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
23046         POWER8.
23047         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
23048         (_dl_string_platform): Add case for exporting platform position for
23049         POWER8.
23050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
23051         search path to sysdeps/powerpc/powerpc32/power8 directory.
23052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
23053         search path to sysdeps/powerpc/powerpc64/power8 directory.
23054         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
23055         power7 directories.
23056         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
23057         power7 directories.
23058
23059 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
23060
23061         * INSTALL: Regenerate.
23062
23063         * nscd/connections.c (nscd_init): Fix comment.
23064
23065 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
23066
23067         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
23068
23069         [BZ #15667]
23070         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
23071         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
23072
23073 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
23074
23075         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
23076         DL_DST_REQ_STATIC.
23077         (DL_DST_REQ_STATIC): Remove macro.
23078
23079 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
23080
23081         [BZ #7006]
23082         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
23083         with a shift of 0 bits.
23084
23085 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
23086
23087         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
23088         $(tststatic-ENV).
23089
23090 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
23091
23092         [BZ #15655]
23093         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
23094
23095 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23096
23097         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
23098         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
23099         accepts -fno-tree-loop-distribute-patterns.
23100         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
23101         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
23102         recursive call.
23103         * string/memset.c (memset): Likewise.
23104         * string/test-memmove.c (simple_memmove): Disable loop transformation
23105         to library calls.
23106         * string/test-memset.c (simple_memset): Likewise.
23107         * benchtests/bench-memmove.c (simple_memmove): Likewise.
23108         * benchtests/bench-memset.c (simple_memset): Likewise.
23109         * configure: Regenerated.
23110
23111 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
23112
23113         * math/test-misc.c (main): Ignore fesetround failure when failures
23114         of subsequent rounding tests would be ignored.
23115
23116         [BZ #15654]
23117         * math/fedisblxcpt.c (fedisableexcept): Return 0.
23118         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
23119         * math/fegetenv.c (__fegetenv): Return 0.
23120         * math/fegetexcept.c (fegetexcept): Return 0.
23121         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
23122         FE_TONEAREST.
23123         * math/feholdexcpt.c (feholdexcept): Return 0.
23124         * math/fesetenv.c (__fesetenv): Return 0.
23125         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
23126         argument FE_TONEAREST.
23127         * math/feupdateenv.c (__feupdateenv): Return 0.
23128         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
23129
23130 2013-06-18  Roland McGrath  <roland@hack.frob.com>
23131
23132         * elf/rtld-Rules (rtld-compile-command.S): New variable.
23133         (rtld-compile-command.s, rtld-compile-command.c): New variables.
23134         ($(objpfx)rtld-%.os rules): Use them.
23135
23136 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23137
23138         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
23139         fields.
23140
23141 2013-06-17  Roland McGrath  <roland@hack.frob.com>
23142
23143         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
23144         length of target pattern, then descending length of dependency pattern.
23145         * configure.in (AWK): Require gawk 3.1.2 or newer.
23146         * manual/install.texi (Tools for Compilation): Say that we do.
23147         * configure: Regenerated.
23148
23149         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
23150         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
23151         * scripts/sysd-rules.awk: ... this new script.
23152         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
23153         than a glob-style pattern.
23154
23155 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
23156
23157         * math/test-misc.c (main): Do not treat incorrectly rounded
23158         conversions as failure unless ROUNDING_TESTS passes.
23159
23160 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
23161
23162         [BZ #15631]
23163         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
23164         restore exception state around main square root computation, then
23165         check for inexactness explicitly.
23166
23167         * math/libm-test.inc (fma_test_data): Add another test.
23168
23169 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
23170
23171         * manual/threads.texi (Non-POSIX Extensions): New document
23172         node.  Document pthread_getattr_default_np and
23173         pthread_setattr_default_np.
23174
23175         * Versions.def (libpthread): Add GLIBC_2.18.
23176         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
23177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
23178         Likewise.
23179         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
23180         Likewise.
23181         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
23182         Likewise.
23183         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
23184         Likewise.
23185         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
23186         Likewise.
23187         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
23188         Likewise.
23189         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
23190         Likewise.
23191         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23192         Likewise.
23193         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
23194         Likewise.
23195
23196 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
23197
23198         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
23199         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
23200
23201 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
23202             H.J. Lu  <hjl.tools@gmail.com>
23203
23204         [BZ #15627]
23205         * sysdeps/x86_64/rtld-memset.c: Remove file.
23206         * sysdeps/x86_64/rtld-memset.S: New file.
23207
23208 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
23209
23210         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
23211         (test_in_one_mode): Take arguments for whether the rounding mode
23212         is supported for each floating-point type.
23213         (do_test): Pass new arguments to test_in_one_mode using
23214         ROUNDING_TESTS.
23215
23216 2013-06-13  Roland McGrath  <roland@hack.frob.com>
23217
23218         * posix/tst-waitid.c (do_test): Distinguish different instances of
23219         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
23220         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
23221         before entering the kernel for waitpid.
23222
23223 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23224
23225         * NEWS: Fix note on clock function precision.  Text by Roland
23226         McGrath.
23227
23228 2013-06-13  Roland McGrath  <roland@hack.frob.com>
23229
23230         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
23231         it into place only when and if the sanity check passes.
23232
23233 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
23234
23235         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
23236         output for whether conversion result is exact.  Take argument
23237         indicating whether type is IBM long double.
23238         (round_for_all): Change need_exact field to ibm_ld.
23239         * stdlib/tst-strtod-round.c (struct exactness): New type.
23240         (struct test): Change bool ld_ok field to struct exactness exact.
23241         (TEST): Update all definitions for change to field.
23242         (tests): Regenerate array contents.
23243         (test_in_one_mode): Take pointer to new field instead of old ld_ok
23244         field value.  Check for IBM long double here.
23245         (do_test): Update calls to test_in_one_mode.
23246
23247 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
23248
23249         [BZ #12515]
23250         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
23251         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
23252
23253 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23254
23255         [BZ #15605]
23256         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
23257         generated by the compiler on loop optimizations.
23258         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
23259         general definitions.
23260
23261 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
23262
23263         * math/bug-nextafter.c: Include <math-tests.h>.
23264         (main): Only test for exceptions if EXCEPTION_TESTS is true for
23265         the relevant type.
23266         * math/bug-nexttoward.c: Include <math-tests.h>.
23267         (main): Only test for exceptions if EXCEPTION_TESTS is true for
23268         the relevant type.
23269         * math/test-misc.c: Include <math-tests.h>.
23270         (main): Only test for exceptions if EXCEPTION_TESTS is true for
23271         the relevant type.
23272
23273 2013-06-12  Andreas Jaeger  <aj@suse.de>
23274
23275         * po/ia.po: Update Interlingua translation from translation
23276         project.
23277
23278 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
23279
23280         * include/fenv.h: Include stdbool.h.
23281         (struct rm_ctx): New structure.
23282         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
23283         Define macro.
23284         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
23285         (SET_RESTORE_ROUNDF): Likewise.
23286         (SET_RESTORE_ROUNDL): Likewise.
23287         (SET_RESTORE_ROUND_NOEX): Likewise.
23288         (SET_RESTORE_ROUND_NOEXF): Likewise.
23289         (SET_RESTORE_ROUND_NOEXL): Likewise.
23290         (SET_RESTORE_ROUND_53BIT): Likewise.
23291         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
23292         (libc_feresetround_noexf_ctx): Likewise.
23293         (libc_feresetround_noexl_ctx): Likewise.
23294         (libc_feholdsetround_53bit_ctx): Likewise.
23295         (libc_feresetround_53bit_ctx): Likewise.
23296         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
23297         (libc_feholdexcept_setround_sse_ctx): New function.
23298         (libc_fesetenv_sse_ctx): Likewise.
23299         (libc_feupdateenv_sse_ctx): Likewise.
23300         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
23301         (libc_feholdexcept_setround_387_ctx): Likewise.
23302         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
23303         (libc_feholdsetround_387_prec_ctx): Likewise.
23304         (libc_feholdsetround_387_ctx): Likewise.
23305         (libc_feholdsetround_387_53bit_ctx): Likewise.
23306         (libc_feholdsetround_sse_ctx): Likewise.
23307         (libc_feresetround_sse_ctx): Likewise.
23308         (libc_feresetround_387_ctx): Likewise.
23309         (libc_feupdateenv_387_ctx): Likewise.
23310         (libc_feholdexcept_setroundf_ctx): Define macro.
23311         (libc_fesetenvf_ctx): Likewise.
23312         (libc_feupdateenvf_ctx): Likewise.
23313         (libc_feholdsetroundf_ctx): Likewise.
23314         (libc_feresetroundf_ctx): Likewise.
23315         (libc_feholdexcept_setround_ctx): Likewise.
23316         (libc_fesetenv_ctx): Likewise.
23317         (libc_feupdateenv_ctx): Likewise.
23318         (libc_feholdsetround_ctx): Likewise.
23319         (libc_feresetround_ctx): Likewise.
23320         (libc_feholdexcept_setroundl_ctx): Likewise.
23321         (libc_feupdateenvl_ctx): Likewise.
23322         (libc_feholdsetroundl_ctx): Likewise.
23323         (libc_feresetroundl_ctx): Likewise.
23324         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
23325         (libc_feresetround_53bit_ctx): Likewise.
23326
23327 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23328
23329         * locale/iso-639.def: Convert to UTF-8.
23330
23331 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
23332
23333         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
23334         (EXCEPTION_TESTS_double): Likewise.
23335         (EXCEPTION_TESTS_long_double): Likewise.
23336         (EXCEPTION_TESTS): Likewise.
23337         * math/libm-test.inc (test_exceptions): Only test exceptions if
23338         EXCEPTION_TESTS (FLOAT).
23339
23340 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23341
23342         * benchtests/Makefile (string-bench): Add strcpy_chk and
23343         stpcpy_chk.
23344         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
23345         * benchtests/bench-stpcpy_chk.c: New file.
23346         * benchtests/bench-strcpy_chk-ifunc.c: New file.
23347         * benchtests/bench-strcpy_chk.c: New file.
23348         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
23349         code.
23350         (do_test): Likewise.
23351
23352 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
23353
23354         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
23355         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
23356         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
23357         with tabs where appropriate.
23358         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
23359         dl-procinfo.h.
23360         [PPC_PLATFORM_PPC440]: Likewise.
23361         [PPC_PLATFORM_PPC464]: Likewise.
23362         [PPC_PLATFORM_PPC476]: Likewise.
23363         (_dl_string_platform): Add support for detecting ppc405, ppc440,
23364         ppc464, and ppc476 platform strings merging from ports/
23365         dl-procinfo.h.
23366
23367 2013-06-11  Andreas Schwab  <schwab@suse.de>
23368
23369         [BZ #14991]
23370         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
23371         (from_ucs4_idx): Regenerate.
23372         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
23373         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
23374         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
23375         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
23376         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
23377         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
23378         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
23379         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
23380         from FROM_LOOP and TO_LOOP specific macros.
23381         (BODY): Handle combining characters.
23382         * iconvdata/BIG5HKSCS.irreversible: Update.
23383         * iconvdata/BIG5HKSCS.precomposed: New file.
23384         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
23385         characters.
23386         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
23387
23388 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23389
23390         * include/sys/time.h: Fix indentation and add copyright header.
23391
23392         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
23393         (do_test): Likewise.
23394         * string/test-memchr.c (do_one_test): Likewise.
23395         (do_test): Likewise.
23396         * string/test-memcmp.c (do_one_test): Likewise.
23397         (do_test): Likewise.
23398         * string/test-memcpy.c (do_one_test): Likewise.
23399         (do_test): Likewise.
23400         * string/test-memmem.c (do_one_test): Likewise.
23401         (do_test): Likewise.
23402         (do_random_tests): Likewise.
23403         * string/test-memmove.c (do_one_test): Likewise.
23404         (do_test): Likewise.
23405         * string/test-memset.c (do_one_test): Likewise.
23406         (do_test): Likewise.
23407         * string/test-rawmemchr.c (do_one_test): Likewise.
23408         (do_test): Likewise.
23409         * string/test-strcasecmp.c (do_one_test): Likewise.
23410         (do_test): Likewise.
23411         * string/test-strcasestr.c (do_one_test): Likewise.
23412         (do_test): Likewise.
23413         * string/test-strcat.c (do_one_test): Likewise.
23414         (do_test): Likewise.
23415         * string/test-strchr.c (do_one_test): Likewise.
23416         (do_test): Likewise.
23417         * string/test-strcmp.c (do_one_test): Likewise.
23418         (do_test): Likewise.
23419         * string/test-strcpy.c (do_one_test): Likewise.
23420         (do_test): Likewise.
23421         * string/test-string.h: Likewise.
23422         (test_init): Likewise.
23423         * string/test-strlen.c (do_one_test): Likewise.
23424         (do_test): Likewise.
23425         * string/test-strncasecmp.c (do_one_test): Likewise.
23426         (do_test): Likewise.
23427         * string/test-strncat.c (do_one_test): Likewise.
23428         (do_test): Likewise.
23429         * string/test-strncmp.c (do_one_test): Likewise.
23430         (do_test_limit): Likewise.
23431         (do_test): Likewise.
23432         * string/test-strncpy.c (do_one_test): Likewise.
23433         (do_test): Likewise.
23434         * string/test-strnlen.c (do_one_test): Likewise.
23435         (do_test): Likewise.
23436         * string/test-strpbrk.c (do_one_test): Likewise.
23437         (do_test): Likewise.
23438         * string/test-strrchr.c (do_one_test): Likewise.
23439         (do_test): Likewise.
23440         * string/test-strspn.c (do_one_test): Likewise.
23441         (do_test): Likewise.
23442         * string/test-strstr.c (do_one_test): Likewise.
23443         (do_test): Likewise.
23444
23445         * benchtests/Makefile (string-bench): Add string benchmarks.
23446         * benchtests/bench-bcopy-ifunc.c: New file.
23447         * benchtests/bench-bcopy.c: New file.
23448         * benchtests/bench-bzero-ifunc.c: New file.
23449         * benchtests/bench-bzero.c: New file.
23450         * benchtests/bench-memccpy-ifunc.c: New file.
23451         * benchtests/bench-memccpy.c: New file.
23452         * benchtests/bench-memchr-ifunc.c: New file.
23453         * benchtests/bench-memchr.c: New file.
23454         * benchtests/bench-memcmp-ifunc.c: New file.
23455         * benchtests/bench-memcmp.c: New file.
23456         * benchtests/bench-memmem-ifunc.c: New file.
23457         * benchtests/bench-memmem.c: New file.
23458         * benchtests/bench-memmove-ifunc.c: New file.
23459         * benchtests/bench-memmove.c: New file.
23460         * benchtests/bench-mempcpy-ifunc.c: New file.
23461         * benchtests/bench-mempcpy.c: New file.
23462         * benchtests/bench-memset-ifunc.c: New file.
23463         * benchtests/bench-memset.c: New file.
23464         * benchtests/bench-rawmemchr-ifunc.c: New file.
23465         * benchtests/bench-rawmemchr.c: New file.
23466         * benchtests/bench-stpcpy-ifunc.c: New file.
23467         * benchtests/bench-stpcpy.c: New file.
23468         * benchtests/bench-stpncpy-ifunc.c: New file.
23469         * benchtests/bench-stpncpy.c: New file.
23470         * benchtests/bench-strcasecmp-ifunc.c: New file.
23471         * benchtests/bench-strcasecmp.c: New file.
23472         * benchtests/bench-strcasestr-ifunc.c: New file.
23473         * benchtests/bench-strcasestr.c: New file.
23474         * benchtests/bench-strcat-ifunc.c: New file.
23475         * benchtests/bench-strcat.c: New file.
23476         * benchtests/bench-strchr-ifunc.c: New file.
23477         * benchtests/bench-strchr.c: New file.
23478         * benchtests/bench-strchrnul-ifunc.c: New file.
23479         * benchtests/bench-strchrnul.c: New file.
23480         * benchtests/bench-strcmp-ifunc.c: New file.
23481         * benchtests/bench-strcmp.c: New file.
23482         * benchtests/bench-strcpy-ifunc.c: New file.
23483         * benchtests/bench-strcpy.c: New file.
23484         * benchtests/bench-strcspn-ifunc.c: New file.
23485         * benchtests/bench-strcspn.c: New file.
23486         * benchtests/bench-strlen-ifunc.c: New file.
23487         * benchtests/bench-strlen.c: New file.
23488         * benchtests/bench-strncasecmp-ifunc.c: New file.
23489         * benchtests/bench-strncasecmp.c: New file.
23490         * benchtests/bench-strncat-ifunc.c: New file.
23491         * benchtests/bench-strncat.c: New file.
23492         * benchtests/bench-strncmp-ifunc.c: New file.
23493         * benchtests/bench-strncmp.c: New file.
23494         * benchtests/bench-strncpy-ifunc.c: New file.
23495         * benchtests/bench-strncpy.c: New file.
23496         * benchtests/bench-strnlen-ifunc.c: New file.
23497         * benchtests/bench-strnlen.c: New file.
23498         * benchtests/bench-strpbrk-ifunc.c: New file.
23499         * benchtests/bench-strpbrk.c: New file.
23500         * benchtests/bench-strrchr-ifunc.c: New file.
23501         * benchtests/bench-strrchr.c: New file.
23502         * benchtests/bench-strspn-ifunc.c: New file.
23503         * benchtests/bench-strspn.c: New file.
23504         * benchtests/bench-strstr-ifunc.c: New file.
23505         * benchtests/bench-strstr.c: New file.
23506
23507         * benchtests/Makefile: Disable parallel execution of targets.
23508         (string-bench): Add memcpy.
23509         (benchset): New variable to store a list of benchmark sets.
23510         (bench-func): Renamed from bench.
23511         (bench-set): New target.
23512         (bench): Depend on bench-func and bench-set.
23513         * benchtests/README: Add section on benchmark sets.
23514         * benchtests/bench-memcpy-ifunc.c: New file.
23515         * benchtests/bench-memcpy.c: New file.
23516         * benchtests/bench-string.h: New file.
23517
23518 2013-06-11  Andreas Schwab  <schwab@suse.de>
23519
23520         [BZ #15577]
23521         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
23522         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
23523         values in the triple.
23524         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
23525         terminator in the group key.
23526
23527 2013-06-11  Andreas Jaeger  <aj@suse.de>
23528
23529         * po/zh_TW.po: Update Chinese (traditional) translation from
23530         translation project.
23531
23532 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
23533
23534         * include/time.h (__clock_gettime): Add libc_hidden_proto.
23535         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
23536         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
23537         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
23538         (clock_getcpuclockid): Likewise.
23539         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
23540         Add weak_alias and libc_hidden_def.
23541         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
23542         * rt/clock_gettime.c (clock_gettime): Rename to
23543         __clock_gettime.  Add weak_alias and libc_hidden_def.
23544         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
23545         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
23546         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
23547         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
23548         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
23549         Likewise.
23550         * rt/clock_settime.c (clock_settime): Rename to
23551         __clock_settime.  Add weak_alias and libc_hidden_def.
23552         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
23553
23554 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
23555
23556         * mach/err_boot.sub: Remove trailing whitespace.
23557         * mach/err_ipc.sub: Likewise.
23558         * mach/err_mach.sub: Likewise.
23559
23560         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
23561         (ROUNDING_TESTS_double): Likewise.
23562         (ROUNDING_TESTS_long_double): Likewise.
23563         (ROUNDING_TESTS): Likewise.
23564         * math/libm-test.inc: Include <math-tests.h>.
23565         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
23566         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
23567         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
23568         (IF_ROUND_INIT_FE_UPWARD): Likewise.
23569
23570 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
23571
23572         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
23573         of assigning.
23574
23575 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
23576
23577         * sysdeps/gnu/errlist.awk: Do not generate space at end of
23578         otherwise empty TRANS lines.
23579         * sysdeps/gnu/errlist.c: Regenerated.
23580
23581         * catgets/gencat.c (error_print): Use (void) in function
23582         definition.
23583         * crypt/crypt_util.c (__init_des): Likewise.
23584         * crypt/speeds.c (Stop): Likewise.
23585         (main): Likewise.
23586         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
23587         * inet/ruserpass.c (token): Likewise.
23588         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
23589         * intl/localealias.c (extend_alias_table): Likewise.
23590         * intl/plural-exp.c (init_germanic_plural): Likewise.
23591         * libio/fcloseall.c (__fcloseall): Likewise.
23592         * libio/genops.c (_IO_flush_all): Likewise.
23593         (_IO_flush_all_linebuffered): Likewise.
23594         (_IO_cleanup): Likewise.
23595         (_IO_iter_begin): Likewise.
23596         (_IO_iter_end): Likewise.
23597         (_IO_list_lock): Likewise.
23598         (_IO_list_unlock): Likewise.
23599         (_IO_list_resetlock): Likewise.
23600         * libio/getchar.c (getchar): Likewise.
23601         * libio/getchar_u.c (getchar_unlocked): Likewise.
23602         * libio/getwchar.c (getwchar): Likewise.
23603         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
23604         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
23605         * login/getpt.c (__getpt): Likewise.
23606         * login/tst-utmp.c (main): Likewise.
23607         * malloc/hooks.c (__malloc_check_init): Likewise.
23608         * malloc/malloc.c (__malloc_stats): Likewise.
23609         * malloc/mtrace.c (tr_break): Likewise.
23610         (mtrace): Likewise.
23611         (muntrace): Likewise.
23612         * misc/fstab.c (endfsent): Likewise.
23613         * misc/getclktck.c (__getclktck): Likewise.
23614         * misc/getdtsz.c (__getdtablesize): Likewise.
23615         * misc/gethostid.c (gethostid): Likewise.
23616         * misc/getpagesize.c (__getpagesize): Likewise.
23617         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
23618         (__get_nprocs): Likewise.
23619         (__get_phys_pages): Likewise.
23620         (__get_avphys_pages): Likewise.
23621         * misc/getttyent.c (getttyent): Likewise.
23622         (setttyent): Likewise.
23623         (endttyent): Likewise.
23624         * misc/getusershell.c (getusershell): Likewise.
23625         (endusershell): Likewise.
23626         (setusershell): Likewise.
23627         (initshells): Likewise.
23628         * misc/hsearch.c (__hdestroy): Likewise.
23629         * misc/sync.c (sync): Likewise.
23630         * misc/syslog.c (closelog_internal): Likewise.
23631         (closelog): Likewise.
23632         * misc/ttyslot.c (ttyslot): Likewise.
23633         * misc/vhangup.c (vhangup): Likewise.
23634         * posix/fork.c (__fork): Likewise.
23635         * posix/getegid.c (__getegid): Likewise.
23636         * posix/geteuid.c (__geteuid): Likewise.
23637         * posix/getgid.c (__getgid): Likewise.
23638         * posix/getpid.c (__getpid): Likewise.
23639         * posix/getppid.c (__getppid): Likewise.
23640         * posix/getuid.c (__getuid): Likewise.
23641         * posix/pause.c (pause): Likewise.
23642         * posix/setpgrp.c (setpgrp): Likewise.
23643         * posix/setsid.c (__setsid): Likewise.
23644         * posix/test-vfork.c (noop): Likewise.
23645         * resolv/gethnamaddr.c (_endhtent): Likewise.
23646         (_gethtent): Likewise.
23647         (ht_endhostent): Likewise.
23648         (gethostent): Likewise.
23649         (dns_service): Likewise.
23650         * stdlib/drand48.c (drand48): Likewise.
23651         * stdlib/lrand48.c (lrand48): Likewise.
23652         * stdlib/mrand48.c (mrand48): Likewise.
23653         * stdlib/rand.c (rand): Likewise.
23654         * stdlib/random.c (__random): Likewise.
23655         * stdlib/setenv.c (clearenv): Likewise.
23656         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
23657         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
23658         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
23659         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
23660         (__get_nprocs): Likewise.
23661         (__get_phys_pages): Likewise.
23662         (__get_avphys_pages): Likewise.
23663         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
23664         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
23665         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
23666         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
23667         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
23668         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
23669         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
23670         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
23671         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
23672         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
23673         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
23674         * sysdeps/mach/hurd/sync.c (sync): Likewise.
23675         * sysdeps/posix/clock.c (clock): Likewise.
23676         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
23677         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
23678         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
23679         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
23680         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
23681         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
23682         (__get_nprocs_conf): Likewise.
23683         (__get_phys_pages): Likewise.
23684         (__get_avphys_pages): Likewise.
23685         * time/clock.c (clock): Likewise.
23686         * time/tzset.c (__tzname_max): Likewise.
23687
23688 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
23689
23690         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
23691         (__bswap_32): Do not use "register".
23692         * crypt/crypt.c (_ufc_doit_r): Likewise.
23693         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
23694         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
23695         * gmon/gmon.c (__monstartup): Likewise.
23696         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
23697         * hurd/hurdmalloc.c (more_memory): Likewise.
23698         (malloc): Likewise.
23699         (free): Likewise.
23700         (realloc): Likewise.
23701         (malloc_fork_prepare): Likewise.
23702         (malloc_fork_parent): Likewise.
23703         (malloc_fork_child): Likewise.
23704         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
23705         (_svcauth_des): Likewise.
23706         * inet/inet_lnaof.c (inet_lnaof): Likewise.
23707         * inet/inet_net.c (inet_network): Likewise.
23708         * inet/inet_netof.c (inet_netof): Likewise.
23709         * inet/rcmd.c (__validuser2_sa): Likewise.
23710         * io/fts.c (fts_open): Likewise.
23711         (fts_load): Likewise.
23712         (fts_close): Likewise.
23713         (fts_read): Likewise.
23714         (fts_children): Likewise.
23715         (fts_build): Likewise.
23716         (fts_stat): Likewise.
23717         (fts_sort): Likewise.
23718         (fts_alloc): Likewise.
23719         (fts_lfree): Likewise.
23720         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
23721         (_IO_file_xsgetn): Likewise.
23722         (_IO_file_xsgetn_mmap): Likewise.
23723         * libio/iofopncook.c (_IO_cookie_read): Likewise.
23724         (_IO_cookie_write): Likewise.
23725         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
23726         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
23727         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
23728         * malloc/obstack.c (_obstack_begin): Likewise.
23729         (_obstack_begin_1): Likewise.
23730         (_obstack_newchunk): Likewise.
23731         (_obstack_allocated_p): Likewise.
23732         (obstack_free): Likewise.
23733         (_obstack_memory_used): Likewise.
23734         * misc/getttyent.c (getttynam): Likewise.
23735         (getttyent): Likewise.
23736         (skip): Likewise.
23737         (value): Likewise.
23738         * misc/getusershell.c (initshells): Likewise.
23739         * misc/syslog.c (__vsyslog_chk): Likewise.
23740         * misc/ttyslot.c (ttyslot): Likewise.
23741         * nis/nis_hash.c (__nis_hash): Likewise.
23742         * posix/fnmatch_loop.c (FCT): Likewise.
23743         * posix/getconf.c (print_all): Likewise.
23744         (main): Likewise.
23745         * posix/getopt.c (exchange): Likewise.
23746         * posix/glob.c (globfree): Likewise.
23747         (prefix_array): Likewise.
23748         (__glob_pattern_type): Likewise.
23749         * resolv/arpa/nameser.h (NS_GET16): Likewise.
23750         (NS_GET32): Likewise.
23751         (NS_PUT16): Likewise.
23752         (NS_PUT32): Likewise.
23753         * resolv/gethnamaddr.c (getanswer): Likewise.
23754         (gethostbyname2): Likewise.
23755         (gethostbyaddr): Likewise.
23756         (_gethtent): Likewise.
23757         (_gethtbyname2): Likewise.
23758         (_gethtbyaddr): Likewise.
23759         * resolv/ns_print.c (dst_s_get_int16): Likewise.
23760         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
23761         * resolv/res_init.c (__res_vinit): Likewise.
23762         (net_mask): Likewise.
23763         * resolv/res_mkquery.c (outchar): Likewise.
23764         (PRINT): Likewise.
23765         * stdio-common/printf_fp.c (outchar): Likewise.
23766         (PRINT): Likewise.
23767         * stdio-common/printf_fphex.c (outchar): Likewise.
23768         (PRINT): Likewise.
23769         * stdio-common/printf_size.c (outchar): Likewise.
23770         (PRINT): Likewise.
23771         * stdio-common/test_rdwr.c (main): Likewise.
23772         * stdio-common/tfformat.c (matches): Likewise.
23773         * stdio-common/vfprintf.c (outchar): Likewise.
23774         (printf_unknown): Likewise.
23775         (buffered_vfprintf): Likewise.
23776         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
23777         * stdio-common/xbug.c (AppendToBuffer): Likewise.
23778         (ReadFile): Likewise.
23779         * stdlib/qsort.c (SWAP): Likewise.
23780         (_quicksort): Likewise.
23781         * stdlib/setenv.c (__add_to_environ): Likewise.
23782         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
23783         * stdlib/strtol_l.c (__strtol_l): Likewise.
23784         * stdlib/tst-strtod.c (main): Likewise.
23785         * stdlib/tst-strtol.c (main): Likewise.
23786         * stdlib/tst-strtoll.c (main): Likewise.
23787         * string/bits/string2.h (__strcmp_cc): Likewise.
23788         (__strcmp_cg): Likewise.
23789         (__strcspn_c1): Likewise.
23790         (__strcspn_c2): Likewise.
23791         (__strcspn_c3): Likewise.
23792         (__strspn_c1): Likewise.
23793         (__strspn_c2): Likewise.
23794         (__strspn_c3): Likewise.
23795         (__strsep_1c): Likewise.
23796         (__strsep_2c): Likewise.
23797         (__strsep_3c): Likewise.
23798         * string/memccpy.c (__memccpy): Likewise.
23799         * string/stpcpy.c (__stpcpy): Likewise.
23800         * string/strcmp.c (strcmp): Likewise.
23801         * string/strrchr.c (strrchr): Likewise.
23802         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
23803         Likewise.
23804         * sysdeps/mach/hurd/getcwd.c
23805         (_hurd_canonicalize_directory_name_internal): Likewise.
23806         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
23807         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
23808         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
23809         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
23810         Likewise, in both definitions.
23811         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
23812         definitions.
23813         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
23814         64] (__bswap_64): Likewise.
23815         * time/test_time.c (main): Likewise.
23816         * time/tzfile.c (__tzfile_read): Likewise.
23817         (__tzfile_compute): Likewise.
23818         * time/tzset.c (__tzset_parse_tz): Likewise.
23819         (tzset_internal): Likewise.
23820         (compute_change): Likewise.
23821         * wcsmbs/wcscat.c (__wcscat): Likewise.
23822         * wcsmbs/wcschr.c (wcschr): Likewise.
23823         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
23824         * wcsmbs/wcscspn.c (wcscspn): Likewise.
23825         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
23826         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
23827         * wcsmbs/wcsspn.c (wcsspn): Likewise.
23828         * wcsmbs/wcsstr.c (wcsstr): Likewise.
23829         * wcsmbs/wmemchr.c (wmemchr): Likewise.
23830         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
23831         * wcsmbs/wmemset.c (wmemset): Likewise.
23832
23833 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
23834
23835         * scripts/config.guess: Update to version 2013-05-16.
23836         * scripts/config.sub: Update to version 2013-04-24.
23837         * scripts/install-sh: Update to version 2011-11-20.07.
23838         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
23839         * scripts/move-if-change: Update to version 2012-01-06 07:23.
23840
23841 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
23842
23843         * debug/fgetws_u_chk.c: Fix leading whitespaces.
23844         * elf/sln.c: Likewise.
23845         * hurd/hurd/ioctl.h: Likewise.
23846         * hurd/hurdmalloc.c: Likewise.
23847         * hurd/xattr.c: Likewise.
23848         * include/shlib-compat.h: Likewise.
23849         * inet/ruserpass.c: Likewise.
23850         * libio/iofgets_u.c: Likewise.
23851         * libio/iofgetws_u.c: Likewise.
23852         * locale/programs/ld-identification.c: Likewise.
23853         * locale/programs/ld-time.c: Likewise.
23854         * mach/msg-destroy.c: Likewise.
23855         * nss/nss_files/files-netgrp.c: Likewise.
23856         * resolv/res_data.c: Likewise.
23857         * soft-fp/op-1.h: Likewise.
23858         * soft-fp/op-2.h: Likewise.
23859         * soft-fp/op-4.h: Likewise.
23860         * soft-fp/op-common.h: Likewise.
23861         * stdio-common/printf_fphex.c: Likewise.
23862         * stdlib/strtod_l.c: Likewise.
23863         * sunrpc/rpc/clnt.h: Likewise.
23864         * sysdeps/generic/framestate.c: Likewise.
23865         * sysdeps/i386/bsd-_setjmp.S: Likewise.
23866         * sysdeps/i386/bsd-setjmp.S: Likewise.
23867         * sysdeps/i386/__longjmp.S: Likewise.
23868         * sysdeps/i386/setjmp.S: Likewise.
23869         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
23870         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
23871         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23872         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
23873         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
23874         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
23875         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
23876         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
23877         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
23878         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
23879         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
23880         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
23881         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
23882         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
23883         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
23884         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
23885         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
23886         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
23887         * sysdeps/ieee754/support.c: Likewise.
23888         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
23889         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
23890         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
23891         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
23892         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
23893         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
23894         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
23895         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
23896         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
23897         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
23898         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
23899         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
23900         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
23901         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
23902         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
23903         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
23904         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
23905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
23906
23907 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
23908
23909         * posix/transbug.c: Remove executable mode.
23910
23911 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
23912
23913         * crypt/speeds.c: Remove trailing whitespace.
23914         * dlfcn/default.c: Likewise.
23915         * elf/ifuncdep2.c: Likewise.
23916         * elf/ifuncmain1.c: Likewise.
23917         * elf/ifuncmain1vis.c: Likewise.
23918         * elf/testobj.h: Likewise.
23919         * elf/tst-stackguard1.c: Likewise.
23920         * gmon/sys/gmon.h: Likewise.
23921         * hurd/hurdmsg.c: Likewise.
23922         * hurd/new-fd.c: Likewise.
23923         * hurd/ports-get.c: Likewise.
23924         * iconvdata/ibm1008_420.c: Likewise.
23925         * inet/tst-getni1.c: Likewise.
23926         * inet/tst-getni2.c: Likewise.
23927         * libio/ioungetc.c: Likewise.
23928         * libio/wfiledoalloc.c: Likewise.
23929         * manual/libm-err-tab.pl: Likewise.
23930         * math/w_dremf.c: Likewise.
23931         * misc/ftruncate.c: Likewise.
23932         * posix/bug-glob2.c: Likewise.
23933         * posix/tst-pcre.c: Likewise.
23934         * posix/wait4.c: Likewise.
23935         * resolv/README: Likewise.
23936         * resolv/res_debug.h: Likewise.
23937         * resolv/tst-inet_ntop.c: Likewise.
23938         * setjmp/bug269-setjmp.c: Likewise.
23939         * soft-fp/extended.h: Likewise.
23940         * soft-fp/op-1.h: Likewise.
23941         * soft-fp/op-2.h: Likewise.
23942         * soft-fp/op-4.h: Likewise.
23943         * soft-fp/op-8.h: Likewise.
23944         * soft-fp/testit.c: Likewise.
23945         * stdio-common/bug16.c: Likewise.
23946         * stdlib/random.c: Likewise.
23947         * sunrpc/rpcsvc/rquota.x: Likewise.
23948         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
23949         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
23950         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
23951         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
23952         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
23953         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
23954         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
23955         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
23956         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
23957         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
23958         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
23959         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
23960         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
23961         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
23962         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
23963         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
23964         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
23965         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
23966         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
23967         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
23968         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
23969         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
23970         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
23971         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
23972         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
23973         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
23974         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
23975         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
23976         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
23977         * sysdeps/ieee754/s_lib_version.c: Likewise.
23978         * sysdeps/mach/hurd/check_fds.c: Likewise.
23979         * sysdeps/mach/hurd/getsockname.c: Likewise.
23980         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
23981         * sysdeps/mach/hurd/recvfrom.c: Likewise.
23982         * sysdeps/powerpc/bits/link.h: Likewise.
23983         * sysdeps/powerpc/dl-procinfo.c: Likewise.
23984         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
23985         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
23986         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
23987         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
23988         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
23989         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
23990         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
23991         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
23992         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
23993         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
23994         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
23995         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
23996         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
23997         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
23998         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
23999         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
24000         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
24001         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
24002         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
24003         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
24004         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
24005         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
24006         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
24007         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
24008         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
24009         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
24010         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
24011         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
24012         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
24013         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
24014         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
24015         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
24016         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
24017         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
24018         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
24019         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
24020         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
24021         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
24022         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
24023         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
24024         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
24025         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
24026         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
24027         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
24028         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
24029         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
24030         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
24031         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
24032         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
24033         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
24034         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
24035         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
24036         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
24037         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
24038         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
24039         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
24040         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
24041         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
24042         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
24043         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
24044         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
24045         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
24046         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
24047         * sysdeps/powerpc/sysdep.h: Likewise.
24048         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
24049         * sysdeps/s390/s390-64/sub_n.S: Likewise.
24050         * sysdeps/sh/dl-trampoline.S: Likewise.
24051         * sysdeps/sh/memset.S: Likewise.
24052         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
24053         * sysdeps/sh/strlen.S: Likewise.
24054         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
24055         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
24056         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
24057         * sysdeps/sparc/sparc32/rem.S: Likewise.
24058         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
24059         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
24060         * sysdeps/sparc/sparc32/strchr.S: Likewise.
24061         * sysdeps/sparc/sparc32/udiv.S: Likewise.
24062         * sysdeps/sparc/sparc32/urem.S: Likewise.
24063         * sysdeps/sparc/sparc64/add_n.S: Likewise.
24064         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
24065         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
24066         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
24067         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
24068         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
24069         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
24070         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
24071         * sysdeps/unix/bsd/times.c: Likewise.
24072         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
24073         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
24074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
24075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
24076         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
24077         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
24078         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
24079         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
24080         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
24081         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
24082         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
24083         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
24084         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
24085         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
24086         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
24087         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
24088         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
24089         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
24090         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
24091         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
24092         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
24093         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
24094         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
24095         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
24096         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
24097         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
24098         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
24099         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
24100         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
24101         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
24102         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
24103         * sysdeps/x86_64/strcspn.S: Likewise.
24104
24105 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24106
24107         * locale/C-translit.h: Revert #include <stdint.h> because this is a
24108         generated file.  Regenerate properly from gen-translit.pl.
24109         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
24110         locale/C-translit.h.
24111
24112 2013-06-05  Andreas Schwab  <schwab@suse.de>
24113
24114         [BZ #15100]
24115         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
24116         week as 6 instead of -1.
24117         * time/tst-strptime.c (day_tests): Add test case.
24118
24119 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
24120
24121         * sysdeps/generic/math_private.h
24122         (libc_feholdexcept_setround_53bit): Replace with
24123         libc_feholdsetround_53bit.
24124         (libc_feupdateenv_53bit): Replace with
24125         libc_feresetround_53bit.
24126         (SET_RESTORE_ROUND_53BIT): Adjust.
24127
24128 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
24129
24130         * string/test-strchrnul.c: Add copyright header.
24131
24132         * posix/tst-getaddrinfo4.c: Increase test timeout.
24133
24134 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
24135
24136         [BZ #15536]
24137         * math/libm-test.inc (MAX_EXP): Remove
24138         (MIN_EXP): Define.
24139         (ulp): Use MIN_EXP - MANT_DIG.
24140         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
24141
24142 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
24143
24144         * po/be.po: Revert last change.
24145         * po/zh_CN.po: Likewise.
24146         * po/header.pot: Likewise.
24147
24148 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
24149
24150         * Makefile ($(common-objpfx)linkobj/libc.so): Define
24151         link-libc-deps to empty as target-specific variable.
24152         * Makerules (link-libc-args): New variable.
24153         (libc-for-link): Likewise.
24154         (link-libc-deps): Likewise.
24155         (lib%.so): Depend on $(link-libc-deps).  Link with
24156         $(link-libc-args).
24157         (build-module): Link with $(link-libc-args).
24158         (build-module-asneeded): Likewise.
24159         (build-module-helper-objlist): Filter out $(link-libc-deps) from
24160         list of objects.
24161         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
24162         target-specific variable.
24163         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
24164         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
24165         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
24166         libc.
24167         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
24168         libc and ld.so.
24169         ($(objpfx)libpcprofile.so): Likewise.
24170         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
24171         libc_nonshared.a.
24172         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
24173         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
24174         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
24175         $(link-libc-deps).
24176         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
24177         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
24178         * login/Makefile ($(objpfx)libutil.so): Likewise.
24179         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
24180         * math/Makefile ($(objpfx)libm.so): Likewise.
24181         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
24182         $(objpfx)libnsl.so): Define libc-for-link as target-specific
24183         variable instead of depending directly on libc.
24184         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
24185         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
24186         $(link-libc-deps).
24187         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
24188         libc.
24189         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
24190         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
24191         ($(objpfx)libanl.so): Likewise.
24192         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
24193         ld.so.
24194         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
24195         $(link-libc-deps).
24196         * sysdeps/i386/fpu/Makefile: Remove file.
24197         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
24198         ($(objpfx)libm.so): Remove dependency on ld.so.
24199
24200 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
24201
24202         [BZ # 15553]
24203         * nis/yp_xdr.c (XDRMAXNAME): Define.
24204         (XDRMAXRECORD): Define.
24205         (xdr_domainname): Use XDRMAXNAME.
24206         (xdr_mapname): Likewise.
24207         (xdr_peername): Likewise.
24208         (xdr_keydat): Use XDRMAXRECORD.
24209         (xdr_valdat): Likewise.
24210
24211 2013-05-30  Jeff Law  <law@redhat.com>
24212
24213         [BZ #14256]
24214         * manual/errno.texi (ESTALE): Update to account for more than
24215         just NFS file systems.
24216         * sysdeps/gnu/errlist.c: Regenerated.
24217
24218 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
24219
24220         [BZ #15465]
24221         * elf/Makefile (tests): Add tst-null-argv.
24222         (modules-names):  Add tst-null-argv-lib.
24223         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
24224         (tst-null-argv-ENV): Set environment for tst-null-argv.
24225         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
24226         (RTLD_PROGNAME): New macro.
24227         * elf/tst-null-argv.c: New test case.
24228         * elf/tst-null-argv-lib.c: Library for test case.
24229         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
24230         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
24231         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
24232         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
24233         * elf/dl-init.c (call_init): Likewise.
24234         (_dl_init): Likewise.
24235         * elf/dl-load.c (print_search_path): Likewise.
24236         (_dl_map_object): Likewise.
24237         * elf/dl-lookup.c (do_lookup_x): Likewise.
24238         (add_dependency): Likewise.
24239         (_dl_lookup_symbol_x): Likewise.
24240         (_dl_debug_bindings): Likewise.
24241         * elf/dl-open.c (_dl_show_scope): Likewise.
24242         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
24243         * elf/dl-version.c (match_symbol): Likewise.
24244         (_dl_check_map_versions): Likewise.
24245         * elf/rtld.c (dl_main): Likewise.
24246         (print_unresolved): Use RTLD_PROGNAME.
24247         (print_missing_version): Likewise.
24248         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
24249         (elf_machine_rela): Likewise.
24250         * sysdeps/powerpc/powerpc32/dl-machine.c
24251         (__process_machine_rela): Likewise.
24252         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
24253         Likewise.
24254         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
24255         Likewise.
24256         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
24257         Likewise.
24258         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
24259         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
24260         Likewise.
24261         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
24262         Likewise.
24263         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
24264
24265 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
24266
24267         * po/be.po: Add descriptive title.
24268         * po/zh_CN.po: Likewise.
24269         * po/header.pot: Likewise.
24270
24271 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
24272
24273         * locale/programs/locarchive.c (create_archive): Inlucde fname in
24274         error message.
24275         (enlarge_archive): Likewise.
24276
24277 2013-05-28  Ben North  <ben@redfrontdoor.org>
24278
24279         * manual/arith.texi (frexp): It is the magnitude of the return
24280         value which lies in [0.5, 1), not the return value itself.
24281
24282 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24283
24284         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24285
24286 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
24287
24288         * stdio-common/bug26.c (main): Correct fscanf template.
24289
24290         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
24291         declare _dl_skip_args.
24292
24293         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
24294         Don't declare.
24295
24296         * manual/platform.texi: Add missing @end deftypefun.
24297
24298 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
24299
24300         [BZ #15529]
24301         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
24302         bit of mantissa of 2^16382.
24303         * math/libm-test.inc (hypot_test_data): Add more tests.
24304
24305         * math/libm-test.inc: Add drem and pow10 to list of tested
24306         functions.
24307         (pow10_test): New function.
24308         (drem_test): Likewise.
24309         (drem_test_tonearest): Likewise.
24310         (drem_test_towardzero): Likewise.
24311         (drem_test_downward): Likewise.
24312         (drem_test_upward): Likewise.
24313         (main): Call the new functions.
24314
24315         * math/libm-test.inc (finite_test_data): Remove.
24316         (finite_test): Run tests from isfinite_test_data.
24317         (gamma_test_data): Remove.
24318         (gamma_test): Run tests from lgamma_test_data.
24319         * sysdeps/i386/fpu/libm-test-ulps: Update.
24320         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24321
24322 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24323
24324         * manual/platform.texi: Add PowerPC PPR function set documentation.
24325         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
24326         implementation.
24327
24328 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
24329
24330         * math/libm-test.inc (MAX_EXP): Define.
24331         (ULPDIFF): Define.
24332         (ulp): New function.
24333         (check_float_internal): Use ULPDIFF.
24334         (cpow_test): Disable failing test.
24335         (check_ulp): Test ulp() implemetnation.
24336         (main): Call check_ulp before starting tests.
24337
24338 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
24339
24340         * math/gen-libm-test.pl (generate_testfile): Do not handle
24341         START_DATA and END_DATA.
24342         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
24343         END_DATA.
24344         (acos_tonearest_test_data): Likewise.
24345         (acos_towardzero_test_data): Likewise.
24346         (acos_downward_test_data): Likewise.
24347         (acos_upward_test_data): Likewise.
24348         (acosh_test_data): Likewise.
24349         (asin_test_data): Likewise.
24350         (asin_tonearest_test_data): Likewise.
24351         (asin_towardzero_test_data): Likewise.
24352         (asin_downward_test_data): Likewise.
24353         (asin_upward_test_data): Likewise.
24354         (asinh_test_data): Likewise.
24355         (atan_test_data): Likewise.
24356         (atanh_test_data): Likewise.
24357         (atan2_test_data): Likewise.
24358         (cabs_test_data): Likewise.
24359         (cacos_test_data): Likewise.
24360         (cacosh_test_data): Likewise.
24361         (carg_test_data): Likewise.
24362         (casin_test_data): Likewise.
24363         (casinh_test_data): Likewise.
24364         (catan_test_data): Likewise.
24365         (catanh_test_data): Likewise.
24366         (cbrt_test_data): Likewise.
24367         (ccos_test_data): Likewise.
24368         (ccosh_test_data): Likewise.
24369         (ceil_test_data): Likewise.
24370         (cexp_test_data): Likewise.
24371         (cimag_test_data): Likewise.
24372         (clog_test_data): Likewise.
24373         (clog10_test_data): Likewise.
24374         (conj_test_data): Likewise.
24375         (copysign_test_data): Likewise.
24376         (cos_test_data): Likewise.
24377         (cos_tonearest_test_data): Likewise.
24378         (cos_towardzero_test_data): Likewise.
24379         (cos_downward_test_data): Likewise.
24380         (cos_upward_test_data): Likewise.
24381         (cosh_test_data): Likewise.
24382         (cosh_tonearest_test_data): Likewise.
24383         (cosh_towardzero_test_data): Likewise.
24384         (cosh_downward_test_data): Likewise.
24385         (cosh_upward_test_data): Likewise.
24386         (cpow_test_data): Likewise.
24387         (cproj_test_data): Likewise.
24388         (creal_test_data): Likewise.
24389         (csin_test_data): Likewise.
24390         (csinh_test_data): Likewise.
24391         (csqrt_test_data): Likewise.
24392         (ctan_test_data): Likewise.
24393         (ctan_tonearest_test_data): Likewise.
24394         (ctan_towardzero_test_data): Likewise.
24395         (ctan_downward_test_data): Likewise.
24396         (ctan_upward_test_data): Likewise.
24397         (ctanh_test_data): Likewise.
24398         (ctanh_tonearest_test_data): Likewise.
24399         (ctanh_towardzero_test_data): Likewise.
24400         (ctanh_downward_test_data): Likewise.
24401         (ctanh_upward_test_data): Likewise.
24402         (erf_test_data): Likewise.
24403         (erfc_test_data): Likewise.
24404         (exp_test_data): Likewise.
24405         (exp_tonearest_test_data): Likewise.
24406         (exp_towardzero_test_data): Likewise.
24407         (exp_downward_test_data): Likewise.
24408         (exp_upward_test_data): Likewise.
24409         (exp10_test_data): Likewise.
24410         (exp2_test_data): Likewise.
24411         (expm1_test_data): Likewise.
24412         (fabs_test_data): Likewise.
24413         (fdim_test_data): Likewise.
24414         (finite_test_data): Likewise.
24415         (floor_test_data): Likewise.
24416         (fma_test_data): Likewise.
24417         (fma_towardzero_test_data): Likewise.
24418         (fma_downward_test_data): Likewise.
24419         (fma_upward_test_data): Likewise.
24420         (fmax_test_data): Likewise.
24421         (fmin_test_data): Likewise.
24422         (fmod_test_data): Likewise.
24423         (fpclassify_test_data): Likewise.
24424         (frexp_test_data): Likewise.
24425         (gamma_test_data): Likewise.
24426         (hypot_test_data): Likewise.
24427         (ilogb_test_data): Likewise.
24428         (isfinite_test_data): Likewise.
24429         (isgreater_test_data): Likewise.
24430         (isgreaterequal_test_data): Likewise.
24431         (isinf_test_data): Likewise.
24432         (isless_test_data): Likewise.
24433         (islessequal_test_data): Likewise.
24434         (islessgreater_test_data): Likewise.
24435         (isnan_test_data): Likewise.
24436         (isnormal_test_data): Likewise.
24437         (issignaling_test_data): Likewise.
24438         (isunordered_test_data): Likewise.
24439         (j0_test_data): Likewise.
24440         (j1_test_data): Likewise.
24441         (jn_test_data): Likewise.
24442         (ldexp_test_data): Likewise.
24443         (lgamma_test_data): Likewise.
24444         (lrint_test_data): Likewise.
24445         (lrint_tonearest_test_data): Likewise.
24446         (lrint_towardzero_test_data): Likewise.
24447         (lrint_downward_test_data): Likewise.
24448         (lrint_upward_test_data): Likewise.
24449         (llrint_test_data): Likewise.
24450         (llrint_tonearest_test_data): Likewise.
24451         (llrint_towardzero_test_data): Likewise.
24452         (llrint_downward_test_data): Likewise.
24453         (llrint_upward_test_data): Likewise.
24454         (log_test_data): Likewise.
24455         (log10_test_data): Likewise.
24456         (log1p_test_data): Likewise.
24457         (log2_test_data): Likewise.
24458         (logb_test_data): Likewise.
24459         (logb_downward_test_data): Likewise.
24460         (lround_test_data): Likewise.
24461         (llround_test_data): Likewise.
24462         (modf_test_data): Likewise.
24463         (nearbyint_test_data): Likewise.
24464         (nextafter_test_data): Likewise.
24465         (nexttoward_test_data): Likewise.
24466         (pow_test_data): Likewise.
24467         (pow_tonearest_test_data): Likewise.
24468         (pow_towardzero_test_data): Likewise.
24469         (pow_downward_test_data): Likewise.
24470         (pow_upward_test_data): Likewise.
24471         (remainder_test_data): Likewise.
24472         (remainder_tonearest_test_data): Likewise.
24473         (remainder_towardzero_test_data): Likewise.
24474         (remainder_downward_test_data): Likewise.
24475         (remainder_upward_test_data): Likewise.
24476         (remquo_test_data): Likewise.
24477         (rint_test_data): Likewise.
24478         (rint_tonearest_test_data): Likewise.
24479         (rint_towardzero_test_data): Likewise.
24480         (rint_downward_test_data): Likewise.
24481         (rint_upward_test_data): Likewise.
24482         (round_test_data): Likewise.
24483         (scalb_test_data): Likewise.
24484         (scalbn_test_data): Likewise.
24485         (scalbln_test_data): Likewise.
24486         (signbit_test_data): Likewise.
24487         (sin_test_data): Likewise.
24488         (sin_tonearest_test_data): Likewise.
24489         (sin_towardzero_test_data): Likewise.
24490         (sin_downward_test_data): Likewise.
24491         (sin_upward_test_data): Likewise.
24492         (sincos_test_data): Likewise.
24493         (sinh_test_data): Likewise.
24494         (sinh_tonearest_test_data): Likewise.
24495         (sinh_towardzero_test_data): Likewise.
24496         (sinh_downward_test_data): Likewise.
24497         (sinh_upward_test_data): Likewise.
24498         (sqrt_test_data): Likewise.
24499         (tan_test_data): Likewise.
24500         (tan_tonearest_test_data): Likewise.
24501         (tan_towardzero_test_data): Likewise.
24502         (tan_downward_test_data): Likewise.
24503         (tan_upward_test_data): Likewise.
24504         (tanh_test_data): Likewise.
24505         (tgamma_test_data): Likewise.
24506         (trunc_test_data): Likewise.
24507         (y0_test_data): Likewise.
24508         (y1_test_data): Likewise.
24509         (yn_test_data): Likewise.
24510         (significand_test_data): Likewise.
24511
24512         * math/gen-libm-test.pl (@functions): Remove variable.
24513         (generate_testfile): Don't handle START and END lines.
24514         * math/libm-test.inc (START): New macro.
24515         (END): Likewise.
24516         (END_COMPLEX): Likewise.
24517         (acos_test): Use END macro without arguments.
24518         (acos_test_tonearest): Likewise.
24519         (acos_test_towardzero): Likewise.
24520         (acos_test_downward): Likewise.
24521         (acos_test_upward): Likewise.
24522         (acosh_test): Likewise.
24523         (asin_test): Likewise.
24524         (asin_test_tonearest): Likewise.
24525         (asin_test_towardzero): Likewise.
24526         (asin_test_downward): Likewise.
24527         (asin_test_upward): Likewise.
24528         (asinh_test): Likewise.
24529         (atan_test): Likewise.
24530         (atanh_test): Likewise.
24531         (atan2_test): Likewise.
24532         (cabs_test): Likewise.
24533         (cacos_test): Use END_COMPLEX macro without arguments.
24534         (cacosh_test): Likewise.
24535         (carg_test): Use END macro without arguments.
24536         (casin_test): Use END_COMPLEX macro without arguments.
24537         (casinh_test): Likewise.
24538         (catan_test): Likewise.
24539         (catanh_test): Likewise.
24540         (cbrt_test): Use END macro without arguments.
24541         (ccos_test): Use END_COMPLEX macro without arguments.
24542         (ccosh_test): Likewise.
24543         (ceil_test): Use END macro without arguments.
24544         (cexp_test): Use END_COMPLEX macro without arguments.
24545         (cimag_test): Use END macro without arguments.
24546         (clog_test): Use END_COMPLEX macro without arguments.
24547         (clog10_test): Likewise.
24548         (conj_test): Likewise.
24549         (copysign_test): Use END macro without arguments.
24550         (cos_test): Likewise.
24551         (cos_test_tonearest): Likewise.
24552         (cos_test_towardzero): Likewise.
24553         (cos_test_downward): Likewise.
24554         (cos_test_upward): Likewise.
24555         (cosh_test): Likewise.
24556         (cosh_test_tonearest): Likewise.
24557         (cosh_test_towardzero): Likewise.
24558         (cosh_test_downward): Likewise.
24559         (cosh_test_upward): Likewise.
24560         (cpow_test): Use END_COMPLEX macro without arguments.
24561         (cproj_test): Likewise.
24562         (creal_test): Use END macro without arguments.
24563         (csin_test): Use END_COMPLEX macro without arguments.
24564         (csinh_test): Likewise.
24565         (csqrt_test): Likewise.
24566         (ctan_test): Likewise.
24567         (ctan_test_tonearest): Likewise.
24568         (ctan_test_towardzero): Likewise.
24569         (ctan_test_downward): Likewise.
24570         (ctan_test_upward): Likewise.
24571         (ctanh_test): Likewise.
24572         (ctanh_test_tonearest): Likewise.
24573         (ctanh_test_towardzero): Likewise.
24574         (ctanh_test_downward): Likewise.
24575         (ctanh_test_upward): Likewise.
24576         (erf_test): Use END macro without arguments.
24577         (erfc_test): Likewise.
24578         (exp_test): Likewise.
24579         (exp_test_tonearest): Likewise.
24580         (exp_test_towardzero): Likewise.
24581         (exp_test_downward): Likewise.
24582         (exp_test_upward): Likewise.
24583         (exp10_test): Likewise.
24584         (exp2_test): Likewise.
24585         (expm1_test): Likewise.
24586         (fabs_test): Likewise.
24587         (fdim_test): Likewise.
24588         (finite_test): Likewise.
24589         (floor_test): Likewise.
24590         (fma_test): Likewise.
24591         (fma_test_towardzero): Likewise.
24592         (fma_test_downward): Likewise.
24593         (fma_test_upward): Likewise.
24594         (fmax_test): Likewise.
24595         (fmin_test): Likewise.
24596         (fmod_test): Likewise.
24597         (fpclassify_test): Likewise.
24598         (frexp_test): Likewise.
24599         (gamma_test): Likewise.
24600         (hypot_test): Likewise.
24601         (ilogb_test): Likewise.
24602         (isfinite_test): Likewise.
24603         (isgreater_test): Likewise.
24604         (isgreaterequal_test): Likewise.
24605         (isinf_test): Likewise.
24606         (isless_test): Likewise.
24607         (islessequal_test): Likewise.
24608         (islessgreater_test): Likewise.
24609         (isnan_test): Likewise.
24610         (isnormal_test): Likewise.
24611         (issignaling_test): Likewise.
24612         (isunordered_test): Likewise.
24613         (j0_test): Likewise.
24614         (j1_test): Likewise.
24615         (jn_test): Likewise.
24616         (ldexp_test): Likewise.
24617         (lgamma_test): Likewise.
24618         (lrint_test): Likewise.
24619         (lrint_test_tonearest): Likewise.
24620         (lrint_test_towardzero): Likewise.
24621         (lrint_test_downward): Likewise.
24622         (lrint_test_upward): Likewise.
24623         (llrint_test): Likewise.
24624         (llrint_test_tonearest): Likewise.
24625         (llrint_test_towardzero): Likewise.
24626         (llrint_test_downward): Likewise.
24627         (llrint_test_upward): Likewise.
24628         (log_test): Likewise.
24629         (log10_test): Likewise.
24630         (log1p_test): Likewise.
24631         (log2_test): Likewise.
24632         (logb_test): Likewise.
24633         (logb_test_downward): Likewise.
24634         (lround_test): Likewise.
24635         (llround_test): Likewise.
24636         (modf_test): Likewise.
24637         (nearbyint_test): Likewise.
24638         (nextafter_test): Likewise.
24639         (nexttoward_test): Likewise.
24640         (pow_test): Likewise.
24641         (pow_test_tonearest): Likewise.
24642         (pow_test_towardzero): Likewise.
24643         (pow_test_downward): Likewise.
24644         (pow_test_upward): Likewise.
24645         (remainder_test): Likewise.
24646         (remainder_test_tonearest): Likewise.
24647         (remainder_test_towardzero): Likewise.
24648         (remainder_test_downward): Likewise.
24649         (remainder_test_upward): Likewise.
24650         (remquo_test): Likewise.
24651         (rint_test): Likewise.
24652         (rint_test_tonearest): Likewise.
24653         (rint_test_towardzero): Likewise.
24654         (rint_test_downward): Likewise.
24655         (rint_test_upward): Likewise.
24656         (round_test): Likewise.
24657         (scalb_test): Likewise.
24658         (scalbn_test): Likewise.
24659         (scalbln_test): Likewise.
24660         (signbit_test): Likewise.
24661         (sin_test): Likewise.
24662         (sin_test_tonearest): Likewise.
24663         (sin_test_towardzero): Likewise.
24664         (sin_test_downward): Likewise.
24665         (sin_test_upward): Likewise.
24666         (sincos_test): Likewise.
24667         (sinh_test): Likewise.
24668         (sinh_test_tonearest): Likewise.
24669         (sinh_test_towardzero): Likewise.
24670         (sinh_test_downward): Likewise.
24671         (sinh_test_upward): Likewise.
24672         (sqrt_test): Likewise.
24673         (tan_test): Likewise.
24674         (tan_test_tonearest): Likewise.
24675         (tan_test_towardzero): Likewise.
24676         (tan_test_downward): Likewise.
24677         (tan_test_upward): Likewise.
24678         (tanh_test): Likewise.
24679         (tgamma_test): Likewise.
24680         (trunc_test): Likewise.
24681         (y0_test): Likewise.
24682         (y1_test): Likewise.
24683         (yn_test): Likewise.
24684         (significand_test): Likewise.
24685
24686 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
24687
24688         [BZ #15381]
24689         * libio/genops.c (_IO_no_init): Initialize wide struct info.
24690
24691 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
24692
24693         [BZ #14894]
24694         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
24695         __ppc_mdoio and __ppc_mdoom.
24696         * manual/platform.texi: Document new functions __ppc_yield,
24697         __ppc_mdoio and __ppc_mdoom.
24698
24699 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
24700
24701         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
24702         (main): Mention "tls" pseudo-hwcap is legacy.
24703         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
24704
24705 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
24706
24707         * math/gen-libm-test.pl (parse_args): Output only string of
24708         arguments as text for test name, not full call or descriptions of
24709         tests for extra outputs.
24710         (generate_testfile): Do not pass function name to parse_args.
24711         Generate this_func variable from START.
24712         * math/libm-test.inc (struct test_f_f_data): Rename test_name
24713         field to arg_str.
24714         (struct test_ff_f_data): Likewise.
24715         (test_ff_f_data_nexttoward): Likewise.
24716         (struct test_fi_f_data): Likewise.
24717         (struct test_fl_f_data): Likewise.
24718         (struct test_if_f_data): Likewise.
24719         (struct test_fff_f_data): Likewise.
24720         (struct test_c_f_data): Likewise.
24721         (struct test_f_f1_data): Likewise.  Remove field extra_name.
24722         (struct test_fF_f1_data): Likewise.
24723         (struct test_ffI_f1_data): Likewise.
24724         (struct test_c_c_data): Rename test_name field to arg_str.
24725         (struct test_cc_c_data): Likewise.
24726         (struct test_f_i_data): Likewise.
24727         (struct test_ff_i_data): Likewise.
24728         (struct test_f_l_data): Likewise.
24729         (struct test_f_L_data): Likewise.
24730         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
24731         and extra2_name.
24732         (COMMON_TEST_SETUP): New macro.
24733         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
24734         (COMMON_TEST_CLEANUP): Likewise.
24735         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
24736         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
24737         macros.
24738         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
24739         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
24740         macros.
24741         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
24742         (RUN_TEST_fff_f): Take argument string.  Call new setup and
24743         cleanup macros.
24744         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
24745         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
24746         macros.
24747         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
24748         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
24749         macros.
24750         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
24751         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
24752         cleanup macros.
24753         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
24754         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
24755         cleanup macros.
24756         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
24757         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
24758         cleanup macros.
24759         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
24760         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
24761         macros.
24762         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
24763         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
24764         macros.
24765         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
24766         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
24767         macros.
24768         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
24769         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
24770         cleanup macros.
24771         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
24772         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
24773         cleanup macros.
24774         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
24775         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
24776         macros.
24777         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
24778         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
24779         cleanup macros.
24780         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
24781         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
24782         macros.
24783         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
24784         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
24785         macros.
24786         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
24787         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
24788         cleanup macros.
24789         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
24790
24791 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
24792
24793         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
24794         to _sifields.sigfault.
24795         (si_addr_lsb): Define new macro.
24796         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
24797         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
24798         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
24799
24800 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
24801
24802         [BZ #15441]
24803         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
24804         returns -1.
24805         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
24806         null return -1.
24807         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
24808         loading the domain.
24809
24810 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
24811
24812         * math/gen-libm-test.pl (parse_args): Do not include expected
24813         result in test name.
24814         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
24815         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24816         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24817         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24818         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24819         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24820
24821 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
24822
24823         * benchtests/Makefile: Sort function entries.
24824
24825         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
24826         tanh, asinh, acosh, atanh.
24827         * benchtests/acos-inputs: New file.
24828         * benchtests/acosh-inputs: New file.
24829         * benchtests/asin-inputs: New file.
24830         * benchtests/asinh-inputs: New file.
24831         * benchtests/atanh-inputs: New file.
24832         * benchtests/cosh-inputs: New file.
24833         * benchtests/log-inputs: New file.
24834         * benchtests/sinh-inputs: New file.
24835         * benchtests/tanh-inputs: New file.
24836
24837 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
24838
24839         [BZ #15339]
24840         * posix/tst-getaddrinfo4.c: New test.
24841         * posix/Makefile (tests): Add it.
24842
24843 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24844
24845         [BZ #15339]
24846         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
24847         when no services were used.
24848         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
24849         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
24850
24851 2013-05-21  Andreas Schwab  <schwab@suse.de>
24852
24853         [BZ #15014]
24854         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
24855         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
24856         successful.
24857         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
24858         redundant variable declarations and reallocation of buffer when
24859         parsing as IPv6 address.  Always set NSS status when called from
24860         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
24861         buffer too small.  Correct computation of needed size.
24862         * nss/Makefile (tests): Add test-digits-dots.
24863         * nss/test-digits-dots.c: New test.
24864
24865 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
24866
24867         * benchtests/Makefile: Remove instructions for adding
24868         benchmark tests.
24869         * benchtests/README: New file to explain how to execute and
24870         enhance the benchmark tests.
24871
24872 2013-05-21  Andreas Schwab  <schwab@suse.de>
24873
24874         [BZ #15493]
24875         * setjmp/Makefile (tests): Add tst-sigsetjmp.
24876         * setjmp/tst-sigsetjmp.c: New test.
24877
24878 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
24879
24880         * sysdeps/x86_64/memset.S (memset): New implementation.
24881         (__bzero): Likewise.
24882         (__memset_tail): New function.
24883
24884 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
24885
24886         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
24887         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
24888         __memcpy_sse2_unaligned ifunc selection.
24889         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
24890         Add memcpy-sse2-unaligned.S.
24891         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
24892         Add: __memcpy_sse2_unaligned.
24893
24894 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
24895
24896         [BZ #15490]
24897         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
24898         math_force_eval before restoring floating-point envrionment.
24899         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
24900         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
24901         Likewise.
24902         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
24903         <math_private.h>.
24904         (__nearbyintl): Use math_force_eval before restoring
24905         floating-point environment.
24906         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
24907
24908         * math/gen-libm-test.pl (special_functions): Remove.
24909         (parse_args): Don't handle TEST_extra.  Handle functions with no
24910         return value.
24911         * math/libm-test.inc (struct test_sincos_data): Replace with
24912         struct test_fFF_11_data.
24913         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
24914         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
24915         (sincos_test_data): Change element type to struct
24916         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
24917         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
24918         RUN_TEST_LOOP_sincos.
24919         * math/README.libm-test: Don't mention special handling of
24920         individual functions.
24921         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
24922         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
24923         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
24924         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
24925         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
24926         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24927
24928         * math/gen-libm-test.pl (get_variable): Remove function.
24929         (parse_args): Don't show pointer parameters to call in test
24930         names.  Use "extra output N" in test names for extra outputs
24931         rather than naming variables.
24932
24933 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
24934
24935         [BZ #15488]
24936         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
24937         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
24938         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
24939         double tests.
24940         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
24941         disable.
24942         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
24943         check_long_double.
24944
24945         * math/gen-libm-test.pl (@tests): Remove variable.
24946         ($count): Likewise.
24947         (new_test): Remove function.
24948         (show_exceptions): New function.
24949         (special_functions): Use show_exceptions instead of new_test.
24950         (parse_args): Likewise.
24951         (generate_testfile): Pass only function name in generated call to
24952         print_max_error or print_complex_max_error.
24953         (get_ulps): Do not handle complex tests specially.
24954         (output_test): Rename to ...
24955         (get_all_ulps_for_test): ... this.  Return a string rather than
24956         printing to a file.  Require ulps to be present.
24957         (output_ulps): Generate arrays rather than #defines.
24958         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
24959         (struct ulp_data): New type.
24960         (BUILD_COMPLEX_ULP): Remove macro.
24961         (compare_ulp_data): New function.
24962         (find_ulps): Likewise.
24963         (find_test_ulps): Likewise.
24964         (find_function_ulps): Likewise.
24965         (find_complex_function_ulps): Likewise.
24966         (print_max_error): Determine allowed ulps using
24967         find_function_ulps.
24968         (print_complex_max_error): Determine allowed ulps using
24969         find_complex_function_ulps.
24970         (check_float_internal): Determine max ulps using find_test_ulps.
24971         (check_float): Do not take max_ulp parameter.  Update call to
24972         check_float_internal.
24973         (check_complex): Likewise.
24974         (check_int): Do not take max_ulp parameter.
24975         (check_long): Likewise.
24976         (check_bool): Likewise.
24977         (check_longlong): Likewise.
24978         (struct test_f_f_data): Remove max_ulp field.
24979         (struct test_ff_f_data): Likewise.
24980         (struct test_ff_f_data_nexttoward): Likewise.
24981         (struct test_fi_f_data): Likewise.
24982         (struct test_fl_f_data): Likewise.
24983         (struct test_if_f_data): Likewise.
24984         (struct test_fff_f_data): Likewise.
24985         (struct test_c_f_data): Likewise.
24986         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
24987         (struct test_fF_f1_data): Likewise.
24988         (struct test_ffI_f1_data): Likewise.
24989         (struct test_c_c_data): Remove max_ulp field.
24990         (struct test_cc_c_data): Likewise.
24991         (struct test_f_i_data): Likewise.
24992         (struct test_ff_i_data): Likewise.
24993         (struct test_f_l_data): Likewise.
24994         (struct test_f_L_data): Likewise.
24995         (struct test_sincos_data): Likewise.
24996         (RUN_TEST_f_f): Do not handle ulps.
24997         (RUN_TEST_LOOP_f_f): Likewise.
24998         (RUN_TEST_2_f): Likewise.
24999         (RUN_TEST_LOOP_2_f): Likewise.
25000         (RUN_TEST_fff_f): Likewise.
25001         (RUN_TEST_LOOP_fff_f): Likewise.
25002         (RUN_TEST_c_f): Likewise.
25003         (RUN_TEST_LOOP_c_f): Likewise.
25004         (RUN_TEST_f_f1): Likewise.
25005         (RUN_TEST_LOOP_f_f1): Likewise.
25006         (RUN_TEST_fF_f1): Likewise.
25007         (RUN_TEST_LOOP_fF_f1): Likewise.
25008         (RUN_TEST_fI_f1): Likewise.
25009         (RUN_TEST_LOOP_fI_f1): Likewise.
25010         (RUN_TEST_ffI_f1): Likewise.
25011         (RUN_TEST_LOOP_ffI_f1): Likewise.
25012         (RUN_TEST_c_c): Likewise.
25013         (RUN_TEST_LOOP_c_c): Likewise.
25014         (RUN_TEST_cc_c): Likewise.
25015         (RUN_TEST_LOOP_cc_c): Likewise.
25016         (RUN_TEST_f_i): Likewise.
25017         (RUN_TEST_LOOP_f_i): Likewise.
25018         (RUN_TEST_f_i_tg): Likewise.
25019         (RUN_TEST_LOOP_f_i_tg): Likewise.
25020         (RUN_TEST_ff_i_tg): Likewise.
25021         (RUN_TEST_LOOP_ff_i_tg): Likewise.
25022         (RUN_TEST_f_b): Likewise.
25023         (RUN_TEST_LOOP_f_b): Likewise.
25024         (RUN_TEST_f_b_tg): Likewise.
25025         (RUN_TEST_LOOP_f_b_tg): Likewise.
25026         (RUN_TEST_f_l): Likewise.
25027         (RUN_TEST_LOOP_f_l): Likewise.
25028         (RUN_TEST_f_L): Likewise.
25029         (RUN_TEST_LOOP_f_L): Likewise.
25030         (RUN_TEST_sincos): Likewise.
25031         (RUN_TEST_LOOP_sincos): Likewise.
25032
25033 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
25034
25035         [BZ #15480]
25036         [BZ #15485]
25037         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
25038         main case of finite arguments, set rounding mode to FE_TONEAREST
25039         and discard exceptions.
25040         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
25041         exceptions.
25042         (remainder_tonearest_test_data): New variable.
25043         (remainder_test_tonearest): New function.
25044         (remainder_towardzero_test_data): New variable.
25045         (remainder_test_towardzero): New function.
25046         (remainder_downward_test_data): New variable.
25047         (remainder_test_downward): New function.
25048         (remainder_upward_test_data): New variable.
25049         (remainder_test_upward): New function.
25050         (main): Call the new test functions.
25051
25052         * math/libm-test.inc (struct test_f_f1_data): Remove field
25053         extra_init.
25054         (struct test_fF_f1_data): Likewise.
25055         (struct test_ffI_f1_data): Likewise.
25056         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
25057         based on value of EXTRA_EXPECTED.
25058         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
25059         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
25060         EXTRA_VAR based on value of EXTRA_EXPECTED.
25061         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
25062         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
25063         EXTRA_VAR based on value of EXTRA_EXPECTED.
25064         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
25065         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
25066         EXTRA_VAR based on value of EXTRA_EXPECTED.
25067         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
25068         * math/gen-libm-test.pl (parse_args): Don't output initializers
25069         for extra output values.
25070
25071         * math/libm-test.inc (check_int): Expect result to be exactly
25072         equal to expected value and do not handle ulps.
25073         (check_long): Likewise.
25074         (check_longlong): Likewise.
25075
25076         * math/libm-test.inc (ceil_test_data): Test for "inexact"
25077         exceptions.
25078         (cimag_test_data): Likewise.
25079         (conj_test_data): Likewise.
25080         (copysign_test_data): Likewise.
25081         (cproj_test_data): Likewise.
25082         (creal_test_data): Likewise.
25083         (fabs_test_data): Likewise.
25084         (fdim_test_data): Likewise.
25085         (finite_test_data): Likewise.
25086         (floor_test_data): Likewise.
25087         (fmax_test_data): Likewise.
25088         (fmin_test_data): Likewise.
25089         (fmod_test_data): Likewise.
25090         (fpclassify_test_data): Likewise.
25091         (frexp_test_data): Likewise.
25092         (ilogb_test_data): Likewise.
25093         (isfinite_test_data): Likewise.
25094         (isgreater_test_data): Likewise.
25095         (isgreaterequal_test_data): Likewise.
25096         (isinf_test_data): Likewise.
25097         (isless_test_data): Likewise.
25098         (islessequal_test_data): Likewise.
25099         (islessgreater_test_data): Likewise.
25100         (isnan_test_data): Likewise.
25101         (isnormal_test_data): Likewise.
25102         (issignaling_test_data): Likewise.
25103         (isunordered_test_data): Likewise.
25104         (ldexp_test_data): Likewise.
25105         (lrint_test_data): Likewise.
25106         (lrint_test_data) [TEST_FLOAT]: Disable one test.
25107         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
25108         (lrint_tonearest_test_data): Test for "inexact" exceptions.
25109         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25110         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
25111         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25112         test input.
25113         (lrint_towardzero_test_data): Test for "inexact" exceptions.
25114         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25115         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
25116         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
25117         that test input.
25118         (lrint_downward_test_data): Test for "inexact" exceptions.
25119         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25120         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
25121         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
25122         test input.
25123         (lrint_upward_test_data): Test for "inexact" exceptions.
25124         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
25125         test input.
25126         (llrint_test_data): Test for "inexact" exceptions.
25127         (llrint_test_data) [TEST_FLOAT]: Disable one test.
25128         (llrint_tonearest_test_data): Test for "inexact" exceptions.
25129         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
25130         (llrint_towardzero_test_data): Test for "inexact" exceptions.
25131         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
25132         (llrint_downward_test_data): Test for "inexact" exceptions.
25133         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
25134         (llrint_upward_test_data): Test for "inexact" exceptions.
25135         (logb_test_data): Likewise.
25136         (logb_downward_test_data): Likewise.
25137         (nextafter_test_data): Likewise.
25138         (nexttoward_test_data): Likewise.
25139         (remainder_test_data): Likewise.
25140         (remquo_test_data): Likewise.
25141         (scalbn_test_data): Likewise.
25142         (scalbln_test_data): Likewise.
25143         (signbit_test_data): Likewise.
25144         (sqrt_test_data): Likewise.
25145         (significand_test_data): Likewise.
25146
25147 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
25148
25149         [BZ #15424]
25150         * benchtests/bench-modf.c (struct args): Mark arg0 as
25151         volatile.
25152         * scripts/bench.pl: Mark members of struct args as volatile.
25153
25154 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25155
25156         [BZ # 15497]
25157         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
25158         negative infinity on POWER6 or lower.
25159         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
25160
25161 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
25162
25163         [BZ #15442]
25164         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
25165         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
25166         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
25167         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
25168         (_FP_SETQNAN): New macro.
25169         (_FP_SETQNAN_SEMIRAW): Likewise.
25170         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
25171         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
25172         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
25173         (FP_EXTEND): Use _FP_FRAC_SNANP.
25174         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
25175         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
25176         into account.
25177         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25178         New macro.
25179         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
25180         Likewise.
25181
25182 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25183
25184         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
25185         with DIVIDE_BY_ZERO_EXCEPTION.
25186         (gamma_test_data): Likewise.
25187         (lgamma_test_data): Likewise.
25188         (log_test_data): Likewise.
25189         (log10_test_data): Likewise.
25190         (log2_test_data): Likewise.
25191         (tgamma_test_data): Likewise.
25192
25193         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
25194         (acos_test_tonearest): Likewise.
25195         (acos_test_towardzero): Likewise.
25196         (acos_test_downward): Likewise.
25197         (acos_test_upward): Likewise.
25198         (acosh_test): Likewise.
25199         (asin_test): Likewise.
25200         (asin_test_tonearest): Likewise.
25201         (asin_test_towardzero): Likewise.
25202         (asin_test_downward): Likewise.
25203         (asin_test_upward): Likewise.
25204         (asinh_test): Likewise.
25205         (atan_test): Likewise.
25206         (atanh_test): Likewise.
25207         (atan2_test): Likewise.
25208         (cabs_test): Likewise.
25209         (cacos_test): Likewise.
25210         (cacosh_test): Likewise.
25211         (casin_test): Likewise.
25212         (casinh_test): Likewise.
25213         (catan_test): Likewise.
25214         (catanh_test): Likewise.
25215         (cbrt_test): Likewise.
25216         (ccos_test): Likewise.
25217         (ccosh_test): Likewise.
25218         (cexp_test): Likewise.
25219         (clog_test): Likewise.
25220         (clog10_test): Likewise.
25221         (cos_test): Likewise.
25222         (cos_test_tonearest): Likewise.
25223         (cos_test_towardzero): Likewise.
25224         (cos_test_downward): Likewise.
25225         (cos_test_upward): Likewise.
25226         (cosh_test): Likewise.
25227         (cosh_test_tonearest): Likewise.
25228         (cosh_test_towardzero): Likewise.
25229         (cosh_test_downward): Likewise.
25230         (cosh_test_upward): Likewise.
25231         (cpow_test): Likewise.
25232         (csin_test): Likewise.
25233         (csinh_test): Likewise.
25234         (csqrt_test): Likewise.
25235         (ctan_test): Likewise.
25236         (ctan_test_tonearest): Likewise.
25237         (ctan_test_towardzero): Likewise.
25238         (ctan_test_downward): Likewise.
25239         (ctan_test_upward): Likewise.
25240         (ctanh_test): Likewise.
25241         (ctanh_test_tonearest): Likewise.
25242         (ctanh_test_towardzero): Likewise.
25243         (ctanh_test_downward): Likewise.
25244         (ctanh_test_upward): Likewise.
25245         (erf_test): Likewise.
25246         (erfc_test): Likewise.
25247         (exp_test): Likewise.
25248         (exp_test_tonearest): Likewise.
25249         (exp_test_towardzero): Likewise.
25250         (exp_test_downward): Likewise.
25251         (exp_test_upward): Likewise.
25252         (exp10_test): Likewise.
25253         (exp2_test): Likewise.
25254         (expm1_test): Likewise.
25255         (fmod_test): Likewise.
25256         (gamma_test): Likewise.
25257         (hypot_test): Likewise.
25258         (j0_test): Likewise.
25259         (j1_test): Likewise.
25260         (jn_test): Likewise.
25261         (lgamma_test): Likewise.
25262         (log_test): Likewise.
25263         (log10_test): Likewise.
25264         (log1p_test): Likewise.
25265         (log2_test): Likewise.
25266         (logb_test_downward): Likewise.
25267         (pow_test): Likewise.
25268         (pow_test_tonearest): Likewise.
25269         (pow_test_towardzero): Likewise.
25270         (pow_test_downward): Likewise.
25271         (pow_test_upward): Likewise.
25272         (remainder_test): Likewise.
25273         (remquo_test): Likewise.
25274         (sin_test): Likewise.
25275         (sin_test_tonearest): Likewise.
25276         (sin_test_towardzero): Likewise.
25277         (sin_test_downward): Likewise.
25278         (sin_test_upward): Likewise.
25279         (sincos_test): Likewise.
25280         (sinh_test): Likewise.
25281         (sinh_test_tonearest): Likewise.
25282         (sinh_test_towardzero): Likewise.
25283         (sinh_test_downward): Likewise.
25284         (sinh_test_upward): Likewise.
25285         (sqrt_test): Likewise.
25286         (tan_test): Likewise.
25287         (tan_test_tonearest): Likewise.
25288         (tan_test_towardzero): Likewise.
25289         (tan_test_downward): Likewise.
25290         (tan_test_upward): Likewise.
25291         (tanh_test): Likewise.
25292         (tgamma_test): Likewise.
25293         (y0_test): Likewise.
25294         (y1_test): Likewise.
25295         (yn_test): Likewise.
25296
25297         * math/gen-libm-test.pl (adjust_arg): Remove function.
25298         (special_function): Remove argument $in_func.  Only handle
25299         generating output for tables of tests, not inside functions.
25300         (parse_args): Likewise.
25301         (generate_testfile): Remove variable $in_func.  Update call to
25302         parse_args.
25303         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
25304         (MINUS_ZERO_INIT): Rename macro to minus_zero.
25305         (PLUS_INFTY_INIT): Rename macro to plus_infty.
25306         (MINUS_INFTY_INIT): Rename macro to minus_infty.
25307         (QNAN_VALUE_INIT): Rename macro to qnan_value.
25308         (MAX_VALUE_INIT): Rename macro to max_value.
25309         (MIN_VALUE_INIT): Rename macro to min_value.
25310         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
25311         (plus_zero): Remove variable.
25312         (minus_zero): Likewise.
25313         (plus_infty): Likewise.
25314         (minus_infty): Likewise.
25315         (qnan_value): Likewise.
25316         (max_value): Likewise.
25317         (min_value): Likewise.
25318         (min_subnorm_value): Likewise.
25319
25320 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
25321
25322         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
25323         uint64_t or uint32_t usage.
25324         * crypt/sha256-block.c: Likewise.
25325         * crypt/sha256-crypt.c: Likewise.
25326         * crypt/sha256.c: Likewise.
25327         * crypt/sha512-block.c: Likewise.
25328         * crypt/sha512-crypt.c: Likewise.
25329         * crypt/sha512.c: Likewise.
25330         * debug/backtrace-tst.c: Likewise.
25331         * debug/pcprofiledump.c: Likewise.
25332         * elf/cache.c: Likewise.
25333         * elf/dl-cache.c: Likewise.
25334         * elf/dl-misc.c: Likewise.
25335         * elf/dl-profile.c: Likewise.
25336         * elf/dl-support.c: Likewise.
25337         * elf/ldconfig.c: Likewise.
25338         * elf/sprof.c: Likewise.
25339         * iconv/dummy-repertoire.c: Likewise.
25340         * iconv/iconv_charmap.c: Likewise.
25341         * iconv/skeleton.c: Likewise.
25342         * iconvdata/8bit-generic.c: Likewise.
25343         * iconvdata/cp737.h: Likewise.
25344         * iconvdata/cp775.h: Likewise.
25345         * iconvdata/ibm1008.h: Likewise.
25346         * iconvdata/ibm1025.h: Likewise.
25347         * iconvdata/ibm1046.h: Likewise.
25348         * iconvdata/ibm1097.h: Likewise.
25349         * iconvdata/ibm1112.h: Likewise.
25350         * iconvdata/ibm1122.h: Likewise.
25351         * iconvdata/ibm1123.h: Likewise.
25352         * iconvdata/ibm1124.h: Likewise.
25353         * iconvdata/ibm1129.h: Likewise.
25354         * iconvdata/ibm1130.h: Likewise.
25355         * iconvdata/ibm1132.h: Likewise.
25356         * iconvdata/ibm1133.h: Likewise.
25357         * iconvdata/ibm1137.h: Likewise.
25358         * iconvdata/ibm1140.h: Likewise.
25359         * iconvdata/ibm1141.h: Likewise.
25360         * iconvdata/ibm1142.h: Likewise.
25361         * iconvdata/ibm1143.h: Likewise.
25362         * iconvdata/ibm1144.h: Likewise.
25363         * iconvdata/ibm1145.h: Likewise.
25364         * iconvdata/ibm1146.h: Likewise.
25365         * iconvdata/ibm1147.h: Likewise.
25366         * iconvdata/ibm1148.h: Likewise.
25367         * iconvdata/ibm1149.h: Likewise.
25368         * iconvdata/ibm1153.h: Likewise.
25369         * iconvdata/ibm1154.h: Likewise.
25370         * iconvdata/ibm1155.h: Likewise.
25371         * iconvdata/ibm1156.h: Likewise.
25372         * iconvdata/ibm1157.h: Likewise.
25373         * iconvdata/ibm1158.h: Likewise.
25374         * iconvdata/ibm1160.h: Likewise.
25375         * iconvdata/ibm1161.h: Likewise.
25376         * iconvdata/ibm1162.h: Likewise.
25377         * iconvdata/ibm1163.h: Likewise.
25378         * iconvdata/ibm1164.h: Likewise.
25379         * iconvdata/ibm1166.h: Likewise.
25380         * iconvdata/ibm1167.h: Likewise.
25381         * iconvdata/ibm12712.h: Likewise.
25382         * iconvdata/ibm1390.h: Likewise.
25383         * iconvdata/ibm1399.h: Likewise.
25384         * iconvdata/ibm16804.h: Likewise.
25385         * iconvdata/ibm4517.h: Likewise.
25386         * iconvdata/ibm4899.h: Likewise.
25387         * iconvdata/ibm4909.h: Likewise.
25388         * iconvdata/ibm4971.h: Likewise.
25389         * iconvdata/ibm5347.h: Likewise.
25390         * iconvdata/ibm803.h: Likewise.
25391         * iconvdata/ibm856.h: Likewise.
25392         * iconvdata/ibm901.h: Likewise.
25393         * iconvdata/ibm902.h: Likewise.
25394         * iconvdata/ibm9030.h: Likewise.
25395         * iconvdata/ibm9066.h: Likewise.
25396         * iconvdata/ibm921.h: Likewise.
25397         * iconvdata/ibm922.h: Likewise.
25398         * iconvdata/ibm9448.h: Likewise.
25399         * iconvdata/isiri-3342.h: Likewise.
25400         * iconvdata/jis0201.h: Likewise.
25401         * include/link.h: Likewise.
25402         * include/netdb.h: Likewise.
25403         * inet/check_native.c: Likewise.
25404         * inet/check_pf.c: Likewise.
25405         * inet/getipv4sourcefilter.c: Likewise.
25406         * inet/getnameinfo.c: Likewise.
25407         * inet/getsourcefilter.c: Likewise.
25408         * inet/htonl.c: Likewise.
25409         * inet/setipv4sourcefilter.c: Likewise.
25410         * inet/setsourcefilter.c: Likewise.
25411         * inet/test-inet6_opt.c: Likewise.
25412         * inet/tst-network.c: Likewise.
25413         * locale/C-collate.c: Likewise.
25414         * locale/C-ctype.c: Likewise.
25415         * locale/C-time.c: Likewise.
25416         * locale/C-translit.h: Likewise.
25417         * locale/loadarchive.c: Likewise.
25418         * locale/programs/3level.h: Likewise.
25419         * locale/programs/charmap.c: Likewise.
25420         * locale/programs/charmap.h: Likewise.
25421         * locale/programs/ld-address.c: Likewise.
25422         * locale/programs/ld-collate.c: Likewise.
25423         * locale/programs/ld-ctype.c: Likewise.
25424         * locale/programs/ld-identification.c: Likewise.
25425         * locale/programs/ld-measurement.c: Likewise.
25426         * locale/programs/ld-messages.c: Likewise.
25427         * locale/programs/ld-monetary.c: Likewise.
25428         * locale/programs/ld-name.c: Likewise.
25429         * locale/programs/ld-numeric.c: Likewise.
25430         * locale/programs/ld-paper.c: Likewise.
25431         * locale/programs/ld-telephone.c: Likewise.
25432         * locale/programs/ld-time.c: Likewise.
25433         * locale/programs/linereader.c: Likewise.
25434         * locale/programs/locale.c: Likewise.
25435         * locale/programs/locarchive.c: Likewise.
25436         * locale/programs/locfile.h: Likewise.
25437         * locale/programs/repertoire.c: Likewise.
25438         * locale/programs/simple-hash.c: Likewise.
25439         * locale/programs/simple-hash.h: Likewise.
25440         * malloc/memusage.c: Likewise.
25441         * malloc/memusagestat.c: Likewise.
25442         * nis/nis_defaults.c: Likewise.
25443         * nis/nis_hash.c: Likewise.
25444         * nis/nis_print.c: Likewise.
25445         * nis/nis_xdr.c: Likewise.
25446         * nscd/connections.c: Likewise.
25447         * nscd/hstcache.c: Likewise.
25448         * nscd/nscd_gethst_r.c: Likewise.
25449         * nscd/nscd_getserv_r.c: Likewise.
25450         * nscd/nscd_helper.c: Likewise.
25451         * nscd/servicescache.c: Likewise.
25452         * nss/makedb.c: Likewise.
25453         * nss/nss_db/db-XXX.c: Likewise.
25454         * nss/nss_db/db-initgroups.c: Likewise.
25455         * nss/nss_db/db-netgrp.c: Likewise.
25456         * nss/nss_files/files-network.c: Likewise.
25457         * nss/nss_files/files-parse.c: Likewise.
25458         * posix/bug-regex5.c: Likewise.
25459         * posix/fnmatch_loop.c: Likewise.
25460         * posix/regcomp.c: Likewise.
25461         * posix/regexec.c: Likewise.
25462         * posix/tst-rfc3484-2.c: Likewise.
25463         * posix/tst-rfc3484-3.c: Likewise.
25464         * posix/tst-rfc3484.c: Likewise.
25465         * resolv/nss_dns/dns-canon.c: Likewise.
25466         * resolv/nss_dns/dns-network.c: Likewise.
25467         * resolv/res_init.c: Likewise.
25468         * resolv/res_mkquery.c: Likewise.
25469         * resolv/tst-aton.c: Likewise.
25470         * stdlib/cxa_atexit.c: Likewise.
25471         * stdlib/cxa_finalize.c: Likewise.
25472         * stdlib/gen-fpioconst.c: Likewise.
25473         * stdlib/strtol_l.c: Likewise.
25474         * string/tst-endian.c: Likewise.
25475         * sunrpc/auth_des.c: Likewise.
25476         * sunrpc/clnt_udp.c: Likewise.
25477         * sunrpc/rtime.c: Likewise.
25478         * sunrpc/svcauth_des.c: Likewise.
25479         * sunrpc/xdr.c: Likewise.
25480         * sunrpc/xdr_intXX_t.c: Likewise.
25481         * sunrpc/xdr_rec.c: Likewise.
25482         * sysdeps/generic/ldconfig.h: Likewise.
25483         * sysdeps/generic/ldsodefs.h: Likewise.
25484         * sysdeps/generic/memusage.h: Likewise.
25485         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
25486         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
25487         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
25488         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
25489         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
25490         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
25491         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
25492         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
25493         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
25494         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
25495         * sysdeps/posix/getaddrinfo.c: Likewise.
25496         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
25497         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
25498         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
25499         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
25500         * sysdeps/powerpc/test-gettimebase.c: Likewise.
25501         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
25502         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
25503         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
25504         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
25505         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
25506         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
25507         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
25508         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
25509         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
25510         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
25511         * sysdeps/x86_64/dl-tls.h: Likewise.
25512         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
25513         * time/alt_digit.c: Likewise.
25514         * time/era.c: Likewise.
25515         * wcsmbs/tst-c16c32-1.c: Likewise.
25516
25517 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25518
25519         * math/libm-test.inc (struct test_sincos_data): New type.
25520         (RUN_TEST_LOOP_sincos): New macro.
25521         (sincos_test_data): New variable.
25522         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
25523
25524 2013-05-16  Richard Henderson  <rth@redhat.com>
25525
25526         * math/atest-exp2.c (LIMB64): New macro.
25527         (CONSTSZ): New macro.
25528         (mp_exp1, mp_exp_m1, mp_log2): New variables.
25529         (hexdig): Move ...
25530         (print_mpn_fp): ... to function scope.
25531         (read_mpn_hex): Remove.
25532         (get_log2): Remove.
25533         (exp2_mpn): Use mp_log2.
25534         (main): Use mp_exp1.
25535
25536 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
25537
25538         * math/libm-test.inc: Remove comment about not testing "inexact"
25539         exceptions.
25540         (INEXACT_EXCEPTION): New macro.
25541         (NO_INEXACT_EXCEPTION): Likewise.
25542         (INVALID_EXCEPTION_OK): Update value.
25543         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
25544         (OVERFLOW_EXCEPTION_OK): Likewise.
25545         (UNDERFLOW_EXCEPTION_OK): Likewise.
25546         (IGNORE_ZERO_INF_SIGN): Likewise.
25547         (ERRNO_UNCHANGED): Likewise.
25548         (ERRNO_EDOM): Likewise.
25549         (ERRNO_ERANGE): Likewise.
25550         (test_exceptions): Handle testing "inexact" exceptions.
25551         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
25552         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
25553         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
25554         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
25555         INEXACT_EXCEPTION.
25556         (rint_towardzero_test_data): Likewise.
25557         (rint_downward_test_data): Likewise.
25558         (rint_upward_test_data): Likewise.
25559
25560         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
25561         with OVERFLOW_EXCEPTION.
25562         (exp10_test_data): Likewise.
25563         (exp2_test_data): Likewise.
25564         (expm1_test_data): Likewise.
25565         (lgamma_test_data): Likewise.
25566         (pow_test_data): Likewise.
25567         (tgamma_test_data): Likewise.
25568         (yn_test_data): Remove duplicate test of overflow.
25569
25570         * math/libm-test.inc (struct test_cc_c_data): New type.
25571         (RUN_TEST_LOOP_cc_c): New macro.
25572         (cpow_test_data): New variable.
25573         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
25574
25575         * math/libm-test.inc (struct test_f_L_data): New type.
25576         (RUN_TEST_LOOP_f_L): New macro.
25577         (llrint_test_data): New variable.
25578         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
25579         (llrint_tonearest_test_data): New variable.
25580         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
25581         (llrint_towardzero_test_data): New variable.
25582         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
25583         (llrint_downward_test_data): New variable.
25584         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
25585         (llrint_upward_test_data): New variable.
25586         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
25587         (llround_test_data): New variable.
25588         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
25589
25590 2013-05-13  Peter Collingbourne  <pcc@google.com>
25591
25592         * math/atest-exp2.c (get_log2): Remove const attribute.
25593
25594 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
25595
25596         * math/libm-test.inc (struct test_f_l_data): New type.
25597         (RUN_TEST_LOOP_f_l): New macro.
25598         (lrint_test_data): New variable.
25599         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
25600         (lrint_tonearest_test_data): New variable.
25601         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
25602         (lrint_towardzero_test_data): New variable.
25603         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
25604         (lrint_downward_test_data): New variable.
25605         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
25606         (lrint_upward_test_data): New variable.
25607         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
25608         (lround_test_data): New variable.
25609         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
25610
25611 2013-05-15  Peter Collingbourne  <pcc@google.com>
25612
25613         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
25614         (EXTRACT_WORDS64) Use where appropriate.
25615         (INSERT_WORDS64) Likewise.
25616
25617         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
25618         constraints with x constraints.
25619         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
25620
25621         * malloc/obstack.c (_obstack_compat): Add initializer.
25622
25623 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
25624
25625         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
25626         si_trapno and add si_addr_lsb to _sifields.sigfault.
25627         (si_trapno): Remove macro.
25628         (si_addr_lsb): Define new macro.
25629         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
25630
25631 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
25632
25633         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
25634         instead of TEST_f_l.
25635         (llrint_test_tonearest): Likewise.
25636         (llrint_test_towardzero): Likewise.
25637         (llrint_test_downward): Likewise.
25638         (llrint_test_upward): Likewise.
25639         (llround_test): Likewise.
25640
25641         * math/libm-test.inc (struct test_f_i_data): Add comment.
25642         (RUN_TEST_LOOP_f_b): New macro.
25643         (RUN_TEST_LOOP_f_b_tg): Likewise.
25644         (finite_test_data): New variable.
25645         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
25646         (isfinite_test_data): New variable.
25647         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25648         (isinf_test_data): New variable.
25649         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25650         (isnan_test_data): New variable.
25651         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25652         (isnormal_test_data): New variable.
25653         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25654         (issignaling_test_data): New variable.
25655         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25656         (signbit_test_data): New variable.
25657         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
25658
25659         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
25660         with INVALID_EXCEPTION.
25661         (acosh_test_data): Likewise.
25662         (asin_test_data): Likewise.
25663         (atanh_test_data): Likewise.
25664         (fmod_test_data): Likewise.
25665         (log_test_data): Likewise.
25666         (log10_test_data): Likewise.
25667         (log2_test_data): Likewise.
25668         (pow_test_data): Likewise.
25669         (sqrt_test_data): Likewise.
25670         (y0_test_data): Likewise.
25671         (y1_test_data): Likewise.
25672         (yn_test_data): Likewise.
25673
25674         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
25675         function contents.
25676
25677         * math/libm-test.inc (struct test_ff_i_data): New type.
25678         (RUN_TEST_LOOP_ff_i_tg): New macro.
25679         (isgreater_test_data): New variable.
25680         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25681         (isgreaterequal_test_data): New variable.
25682         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25683         (isless_test_data): New variable.
25684         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25685         (islessequal_test_data): New variable.
25686         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25687         (islessgreater_test_data): New variable.
25688         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25689         (isunordered_test_data): New variable.
25690         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
25691
25692 2013-05-14  David S. Miller  <davem@davemloft.net>
25693
25694         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25695
25696 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
25697
25698         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
25699
25700         * math/libm-test.inc (struct test_fF_f1_data): Change type of
25701         extra_test to int.
25702         (struct test_f_i_data): Change type of max_ulp to int.
25703
25704         * math/libm-test.inc (test_ffI_f1_data): New type.
25705         (RUN_TEST_LOOP_ffI_f1): New macro.
25706         (remquo_test_data): New variable.
25707         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
25708
25709         * setjmp/tst-setjmp-fp.c: New file.
25710         * setjmp/Makefile (tests): Add tst-setjmp-fp.
25711         (link-libm): New variable.
25712         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
25713
25714         * math/libm-test.inc (struct test_f_i_data): New type.
25715         (RUN_TEST_LOOP_f_i): New macro.
25716         (RUN_TEST_LOOP_f_i_tg): Likewise.
25717         (fpclassify_test_data): New variable.
25718         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
25719         (ilogb_test_data): New variable.
25720         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
25721
25722         * math/libm-test.inc (scalbln_test): Correct function name in END
25723         call.
25724
25725         * math/libm-test.inc (struct test_f_f1_data): Add comment.
25726         (RUN_TEST_LOOP_fI_f1): New macro.
25727         (frexp_test_data): New variable.
25728         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
25729
25730         * math/libm-test.inc (struct test_fF_f1_data): New type.
25731         (RUN_TEST_LOOP_fF_f1): New macro.
25732         (modf_test_data): New variable.
25733         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
25734
25735         * math/libm-test.inc (struct test_f_f1_data): New type.
25736         (RUN_TEST_LOOP_f_f1): New macro.
25737         (gamma_test_data): New variable.
25738         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25739         (lgamma_test_data): New variable.
25740         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
25741
25742 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
25743
25744         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
25745         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
25746         (main): Comment "tls" pseudo-hwcap.
25747
25748 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
25749
25750         * math/libm-test.inc (struct test_fl_f_data): New type.
25751         (RUN_TEST_LOOP_fl_f): New variable.
25752         (scalbln_test_data): New variable.
25753         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
25754
25755         * math/libm-test.inc (struct test_fi_f_data): New type.
25756         (RUN_TEST_LOOP_fi_f): New macro.
25757         (ldexp_test_data): New variable.
25758         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
25759         (scalbn_test_data): New variable.
25760         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
25761
25762         * math/libm-test.inc (struct test_c_f_data): New type.
25763         (RUN_TEST_LOOP_c_f): New macro.
25764         (cabs_test_data): New variable.
25765         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
25766         (carg_test_data): New variable.
25767         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
25768         (cimag_test_data): New variable.
25769         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
25770         (creal_test_data): New variable.
25771         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
25772
25773         * math/libm-test.inc (struct test_if_f_data): New type.
25774         (RUN_TEST_LOOP_if_f): New macro.
25775         (jn_test_data): New variable.
25776         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
25777         (yn_test_data): New variable.
25778         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
25779
25780         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
25781
25782 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25783
25784         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
25785         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
25786
25787 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
25788
25789         * benchtests/Makefile (CPPFLAGS-nonlib): Add
25790         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
25791         (bench-deps): Add bench-timing.h.
25792         * benchtests-bench-skeleton.c: Include bench-timing.h.
25793         (main): Use TIMING_* macros instead of clock_gettime.
25794         * benchtests/bench-timing.h: New file.
25795
25796         [BZ #14582]
25797         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
25798         Renamed from _LIB_VERSION.
25799         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
25800
25801 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
25802
25803         * math/libm-test.inc (struct test_fff_f_data): New type.
25804         (RUN_TEST_LOOP_fff_f): New macro.
25805         (fma_test_data): New variable.
25806         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
25807         (fma_towardzero_test_data): New variable.
25808         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
25809         (fma_downward_test_data): New variable.
25810         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
25811         (fma_upward_test_data): New variable.
25812         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
25813
25814         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
25815         (struct test_c_c_data): New type.
25816         (RUN_TEST_LOOP_c_c): New macro.
25817         (cacos_test_data): New variable.
25818         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
25819         (cacosh_test_data): New variable.
25820         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
25821         (casin_test_data): New variable.
25822         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
25823         (casinh_test_data): New variable.
25824         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
25825         (catan_test_data): New variable.
25826         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
25827         (catanh_test_data): New variable.
25828         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
25829         (ccos_test_data): New variable.
25830         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
25831         (ccosh_test_data): New variable.
25832         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
25833         (cexp_test_data): New variable.
25834         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
25835         (clog_test_data): New variable.
25836         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
25837         (clog10_test_data): New variable.
25838         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
25839         (conj_test_data): New variable.
25840         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
25841         (cproj_test_data): New variable.
25842         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
25843         (csin_test_data): New variable.
25844         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
25845         (csinh_test_data): New variable.
25846         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
25847         (csqrt_test_data): New variable.
25848         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
25849         (ctan_test_data): New variable.
25850         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
25851         (ctan_tonearest_test_data): New variable.
25852         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25853         (ctan_towardzero_test_data): New variable.
25854         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25855         (ctan_downward_test_data): New variable.
25856         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25857         (ctan_upward_test_data): New variable.
25858         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25859         (ctanh_test_data): New variable.
25860         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
25861         (ctanh_tonearest_test_data): New variable.
25862         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
25863         (ctanh_towardzero_test_data): New variable.
25864         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
25865         (ctanh_downward_test_data): New variable.
25866         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
25867         (ctanh_upward_test_data): New variable.
25868         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
25869         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
25870         of BUILD_COMPLEX.
25871
25872         * math/libm-test.inc (struct test_ff_f_data): New type.
25873         (struct test_ff_f_data_nexttoward): Likewise.
25874         (RUN_TEST_LOOP_2_f): New macro.
25875         (RUN_TEST_LOOP_ff_f): Likewise.
25876         (atan2_test_data): New variable.
25877         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
25878         (copysign_test_data): New variable.
25879         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
25880         (fdim_test_data): New variable.
25881         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
25882         (fmax_test_data): New variable.
25883         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
25884         (fmin_test_data): New variable.
25885         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
25886         (fmod_test_data): New variable.
25887         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
25888         (hypot_test_data): New variable.
25889         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
25890         (nextafter_test_data): New variable.
25891         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
25892         (nexttoward_test_data): New variable.
25893         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
25894         (pow_test_data): New variable.
25895         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
25896         (pow_tonearest_test_data): New variable.
25897         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
25898         (pow_towardzero_test_data): New variable.
25899         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
25900         (pow_downward_test_data): New variable.
25901         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
25902         (pow_upward_test_data): New variable.
25903         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
25904         (remainder_test_data): New variable.
25905         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
25906         (scalb_test_data): New variable.
25907         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
25908         * sysdeps/i386/fpu/libm-test-ulps: Update.
25909
25910 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
25911
25912         * math/libm-test.inc (fma_test): Use max_value instead of local
25913         variable fltmax.
25914         (nextafter_test): Likewise.
25915
25916         * math/libm-test.inc (acos_towardzero_test_data): New variable.
25917         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25918         (acos_downward_test_data): New variable.
25919         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25920         (acos_upward_test_data): New variable.
25921         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25922         (acosh_test_data): New variable.
25923         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
25924         (asin_test_data): New variable.
25925         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
25926         (asin_tonearest_test_data): New variable.
25927         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25928         (asin_towardzero_test_data): New variable.
25929         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25930         (asin_downward_test_data): New variable.
25931         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25932         (asin_upward_test_data): New variable.
25933         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25934         (asinh_test_data): New variable.
25935         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
25936         (atan_test_data): New variable.
25937         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
25938         (atanh_test_data): New variable.
25939         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
25940         (cbrt_test_data): New variable.
25941         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
25942         (ceil_test_data): New variable.
25943         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
25944         (cos_test_data): New variable.
25945         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
25946         (cos_tonearest_test_data): New variable.
25947         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25948         (cos_towardzero_test_data): New variable.
25949         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25950         (cos_downward_test_data): New variable.
25951         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25952         (cos_upward_test_data): New variable.
25953         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25954         (cosh_test_data): New variable.
25955         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
25956         (cosh_tonearest_test_data): New variable.
25957         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25958         (cosh_towardzero_test_data): New variable.
25959         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25960         (cosh_downward_test_data): New variable.
25961         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25962         (cosh_upward_test_data): New variable.
25963         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25964         (erf_test_data): New variable.
25965         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
25966         (erfc_test_data): New variable.
25967         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
25968         (exp_test_data): New variable.
25969         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
25970         (exp_tonearest_test_data): New variable.
25971         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
25972         (exp_towardzero_test_data): New variable.
25973         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
25974         (exp_downward_test_data): New variable.
25975         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
25976         (exp_upward_test_data): New variable.
25977         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
25978         (exp10_test_data): New variable.
25979         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
25980         (exp2_test_data): New variable.
25981         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
25982         (expm1_test_data): New variable.
25983         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
25984         (fabs_test_data): New variable.
25985         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
25986         (floor_test_data): New variable.
25987         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
25988         (j0_test_data): New variable.
25989         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
25990         (j1_test_data): New variable.
25991         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
25992         (log_test_data): New variable.
25993         (log_test): Run tests with RUN_TEST_LOOP_f_f.
25994         (log10_test_data): New variable.
25995         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
25996         (log1p_test_data): New variable.
25997         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
25998         (log2_test_data): New variable.
25999         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
26000         (logb_test_data): New variable.
26001         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
26002         (logb_downward_test_data): New variable.
26003         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26004         (nearbyint_test_data): New variable.
26005         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
26006         (rint_test_data): New variable.
26007         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
26008         (rint_tonearest_test_data): New variable.
26009         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26010         (rint_towardzero_test_data): New variable.
26011         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26012         (rint_downward_test_data): New variable.
26013         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26014         (rint_upward_test_data): New variable.
26015         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26016         (round_test_data): New variable.
26017         (round_test): Run tests with RUN_TEST_LOOP_f_f.
26018         (sin_test_data): New variable.
26019         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
26020         (sin_tonearest_test_data): New variable.
26021         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26022         (sin_towardzero_test_data): New variable.
26023         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26024         (sin_downward_test_data): New variable.
26025         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26026         (sin_upward_test_data): New variable.
26027         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26028         (sinh_test_data): New variable.
26029         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
26030         (sinh_tonearest_test_data): New variable.
26031         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26032         (sinh_towardzero_test_data): New variable.
26033         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26034         (sinh_downward_test_data): New variable.
26035         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26036         (sinh_upward_test_data): New variable.
26037         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26038         (sqrt_test_data): New variable.
26039         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
26040         (tan_test_data): New variable.
26041         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
26042         (tan_tonearest_test_data): New variable.
26043         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26044         (tan_towardzero_test_data): New variable.
26045         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
26046         (tan_downward_test_data): New variable.
26047         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
26048         (tan_upward_test_data): New variable.
26049         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
26050         (tanh_test_data): New variable.
26051         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
26052         (tgamma_test_data): New variable.
26053         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
26054         (trunc_test_data): New variable.
26055         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
26056         (y0_test_data): New variable.
26057         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
26058         (y1_test_data): New variable.
26059         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
26060         (significand_test_data): New variable.
26061         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
26062
26063 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
26064
26065         [BZ #12387]
26066         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
26067
26068 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
26069
26070         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
26071
26072 2013-05-10  Andreas Jaeger  <aj@suse.de>
26073
26074         [BZ #15448]
26075         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
26076         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
26077
26078 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
26079
26080         * math/gen-libm-test.pl (adjust_arg): New function.
26081         (special_functions): Handle generating output in both functions
26082         and arrays.
26083         (parse_args): Likewise.
26084         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
26085         $in_func argument to parse_args.
26086         * math/libm-test.inc (struct test_f_f_data): New type.
26087         (IF_ROUND_INIT_): New macro.
26088         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
26089         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
26090         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
26091         (IF_ROUND_INIT_FE_UPWARD): Likewise.
26092         (ROUND_RESTORE_): Likewise.
26093         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
26094         (ROUND_RESTORE_FE_TONEAREST): Likewise.
26095         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
26096         (ROUND_RESTORE_FE_UPWARD): Likewise.
26097         (RUN_TEST_LOOP_f_f): New macro.
26098         (acos_test_data): New variable.
26099         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
26100         (acos_tonearest_test_data): New variable.
26101         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
26102
26103 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
26104
26105         * benchtests/bench-skeleton.c (startup): Fix coding style.
26106
26107 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
26108
26109         [BZ #6809]
26110         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
26111         negative infinity argument.
26112         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
26113         negative infinity argument.
26114         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
26115         negative infinity argument.
26116         * math/libm-test.inc (tgamma_test): Expect errno to be set for
26117         domain errors.
26118
26119 2013-05-10  Florian Weimer  <fweimer@redhat.com>
26120
26121         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
26122         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
26123         * iconv/iconv_prog.c (main): Likewise.
26124         * locale/programs/charmap-dir.c (charmap_readdir)
26125         (fopen_uncompressed): Likewise.
26126         * locale/programs/locfile.c (siblings_uncached)
26127         (write_locale_data): Use lstat64 instead of lstat.
26128         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
26129         stat.
26130
26131 2013-05-10  Andreas Jaeger  <aj@suse.de>
26132
26133         [BZ #15395]
26134         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
26135         localization.
26136         Include <locale.h>.
26137
26138 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
26139
26140         * elf/dl-close.c (_dl_close_worker): Add comments.
26141
26142 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
26143
26144         [BZ #15359]
26145         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
26146         high part of pi/2.
26147         (__ieee754_rem_pio2l): Update comments.
26148
26149         [BZ #15429]
26150         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
26151         high part of pi/2.
26152         (__ieee754_rem_pio2l): Update comments.
26153
26154         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
26155         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
26156
26157         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
26158         M_PI_4l.
26159
26160         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
26161         (M_PI_34_LOG10El): Likewise.
26162         (M_PI2_LOG10El): Likewise.
26163         (M_PI4_LOG10El): Likewise.
26164         (M_PI_LOG10El): Likewise.
26165
26166 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26167
26168         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26169
26170 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
26171
26172         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
26173         (MINUS_ZERO_INIT): Likewise.
26174         (PLUS_INFTY_INIT): Likewise.
26175         (MINUS_INFTY_INIT): Likewise.
26176         (QNAN_VALUE_INIT): Likewise.
26177         (MAX_VALUE_INIT): Likewise.
26178         (MIN_VALUE_INIT): Likewise.
26179         (MIN_SUBNORM_VALUE_INIT): Likewise.
26180         (plus_zero): Initialize with PLUS_ZERO_INIT.
26181         (minus_zero): Initialize with MINUS_ZERO_INIT.
26182         (plus_infty): Initialize with PLUS_INFTY_INIT.
26183         (minus_infty): Initialize with MINUS_INFTY_INIT.
26184         (qnan_value): Initialize with QNAN_VALUE_INIT.
26185         (max_value): Initialize with MAX_VALUE_INIT.
26186         (min_value): Initialize with MIN_VALUE_INIT.
26187         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
26188
26189         * math/libm-test.inc (RUN_TEST_if_f): New macro.
26190         (jn_test): Use TEST_if_f instead of TEST_ff_f.
26191         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
26192         (yn_test): Use TEST_if_f instead of TEST_ff_f.
26193
26194         * math/libm-test.inc (RUN_TEST_f_f): New macro.
26195         (RUN_TEST_2_f): Likewise.
26196         (RUN_TEST_ff_f): Likewise.
26197         (RUN_TEST_fi_f): Likewise.
26198         (RUN_TEST_fl_f): Likewise.
26199         (RUN_TEST_fff_f): Likewise.
26200         (RUN_TEST_c_f): Likewise.
26201         (RUN_TEST_f_f1): Likewise.
26202         (RUN_TEST_fF_f1): Likewise.
26203         (RUN_TEST_fI_f1): Likewise.
26204         (RUN_TEST_ffI_f1): Likewise.
26205         (RUN_TEST_c_c): Likewise.
26206         (RUN_TEST_cc_c): Likewise.
26207         (RUN_TEST_f_i): Likewise.
26208         (RUN_TEST_f_i_tg): Likewise.
26209         (RUN_TEST_ff_i_tg): Likewise.
26210         (RUN_TEST_f_b): Likewise.
26211         (RUN_TEST_f_b_tg): Likewise.
26212         (RUN_TEST_f_l): Likewise.
26213         (RUN_TEST_f_L): Likewise.
26214         (RUN_TEST_sincos): Likewise.
26215         * math/gen-libm-test.pl (new_test): Take new argument to indicate
26216         whether to show exceptions.  Do not include ");\n" in return
26217         value.
26218         (special_functions): Output call to RUN_TEST_sincos instead of
26219         check_float calls.  Update calls to new_test.
26220         (parse_args): Output call to single RUN_TEST_* macro instead of
26221         check_* calls and other assignments.  Update calls to new_test.
26222
26223         [BZ #2546]
26224         [BZ #2560]
26225         [BZ #5159]
26226         [BZ #15426]
26227         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
26228         input to result for tgamma overflow.
26229         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
26230         (gamma_coeff): New variable.
26231         (NCOEFF): New macro.
26232         (gamma_positive): New function.
26233         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
26234         underflow here.  Use gamma_positive instead of exp (lgamma) for
26235         other arguments.
26236         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
26237         (gamma_coeff): New variable.
26238         (NCOEFF): New macro.
26239         (gammaf_positive): New function.
26240         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
26241         underflow here.  Use gamma_positive instead of exp (lgamma) for
26242         other arguments.
26243         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
26244         (gamma_coeff): New variable.
26245         (NCOEFF): New macro.
26246         (gammal_positive): New function.
26247         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
26248         underflow here.  Use gamma_positive instead of exp (lgamma) for
26249         other arguments.
26250         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
26251         (gamma_coeff): New variable.
26252         (NCOEFF): New macro.
26253         (gammal_positive): New function.
26254         (__ieee754_gammal_r): Handle positive infinity, overflow and
26255         underflow here.  Handle NaN the same as positive infinity.  Remove
26256         check x < 0xffffffff for negative integers.  Use gamma_positive
26257         instead of exp (lgamma) for other arguments.
26258         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
26259         (gamma_coeff): New variable.
26260         (NCOEFF): New macro.
26261         (gammal_positive): New function.
26262         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
26263         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
26264         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
26265         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
26266         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
26267         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
26268         * sysdeps/generic/math_private.h (__gamma_productf): New
26269         prototype.
26270         (__gamma_product): Likewise.
26271         (__gamma_productl): Likewise.
26272         * math/Makefile (libm-calls): Add gamma_product.
26273         * math/libm-test.inc (tgamma_test): Add more tests.
26274         * sysdeps/i386/fpu/libm-test-ulps: Update.
26275         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26276
26277 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
26278
26279         * benchtests/bench-skeleton.c (main): Preheat CPU.
26280
26281 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
26282
26283         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
26284
26285 2013-05-07  Roland McGrath  <roland@hack.frob.com>
26286
26287         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
26288         and _dl_skip_args_internal.
26289
26290 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
26291
26292         * manual/message.texi (Message Translation): Talk about users.
26293         Message to key mapping impacts design.
26294
26295 2013-05-06  Roland McGrath  <roland@hack.frob.com>
26296
26297         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
26298
26299         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
26300
26301         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
26302         * sysdeps/wordsize-64/glob64.c: ... here.
26303
26304         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
26305         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
26306         New macros.
26307
26308         * debug/getlogin_r_chk.c: Moved to ...
26309         * login/getlogin_r_chk.c: ... here.
26310         * debug/Makefile (routines): Move getlogin_r_chk to ...
26311         * login/Makefile (routines): ... here.
26312         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
26313         * login/Versions (libc: GLIBC_2.4): ... here.
26314
26315         * io/poll.c (__poll): Renamed from poll.
26316         Add libc_hidden_def.
26317         (poll): Define as weak alias.
26318
26319         * debug/ptsname_r_chk.c: Moved to ...
26320         * login/ptsname_r_chk.c: ... here.
26321         * debug/Makefile (routines): Move ptsname_r_chk to ...
26322         * login/Makefile (routines): ... here.
26323         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
26324         * login/Versions (libc: GLIBC_2.4): ... here.
26325
26326         * posix/getlogin.c: Moved to ...
26327         * login/getlogin.c: ... here.
26328         * posix/getlogin_r.c: Moved to ...
26329         * login/getlogin_r.c: ... here.
26330         * posix/getlogin_r.c: Moved to ...
26331         * login/getlogin_r.c: ... here.
26332         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
26333         * login/Makefile (routines): ... here.
26334         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
26335         * login/Versions (libc: GLIBC_2.0): ... here.
26336
26337         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
26338         (setrlimit): Define as weak alias.
26339
26340         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
26341         Call __ names for open, ftruncate, and close.
26342         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
26343         (truncate): Define as weak alias.
26344
26345 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
26346
26347         * math/gen-libm-test.pl (parse_args): Initialize x before each
26348         test of frexp, modf and remquo.
26349
26350         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
26351         test signgam value.
26352
26353 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26354
26355         [BZ #15418]
26356         [BZ #15419]
26357         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
26358         internal tests.
26359         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
26360
26361 2013-05-06  Roland McGrath  <roland@hack.frob.com>
26362
26363         * elf/dl-writev.h: New file.
26364         * elf/dl-misc.c: Include it.
26365         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
26366         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
26367
26368 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
26369
26370         * math/libm-test.inc (noXFails): Remove variable.
26371         (noXPasses): Likewise.
26372         (BUILD_COMPLEX_INT): Remove macro.
26373         (print_screen): Remove xfail argument.
26374         (print_screen_max_error): Likewise.
26375         (update_stats): Likewise.
26376         (print_max_error): Likewise.  Update calls to other affected
26377         functions.
26378         (print_complex_max_error): Likewise.
26379         (test_single_exception): Update calls to print_screen.
26380         (test_single_errno): Likewise.
26381         (check_float_internal): Remove xfail argument.  Update calls to
26382         other affected functions.
26383         (check_float): Likewise.
26384         (check_complex): Likewise.
26385         (check_int): Likewise.
26386         (check_long): Likewise.
26387         (check_bool): Likewise.
26388         (check_longlong): Likewise.
26389         (main): Don't print noXFails and noXPasses.
26390         * math/gen-libm-test.pl (top level): Don't mention expected
26391         failure handling in comment.
26392         (new_test): Don't handle expected failures.
26393         (parse_args): Don't mention expected failure handling in comment.
26394         (generate_testfile): Don't handle expected failures.
26395         (parse_ulps): Likewise.
26396         (print_ulps_file): Likewise.
26397         (get_failure): Remove function.
26398         (output_test): Don't handle expected failures.
26399         * make/README.libm-test: Don't mention expected failure handling.
26400
26401         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
26402         (minus_zero): Likewise.
26403         (plus_infty): Likewise.
26404         (minus_infty): Likewise.
26405         (qnan_value): Likewise.
26406         (max_value): Likewise.
26407         (min_value): Likewise.
26408         (min_subnorm_value): Likewise.
26409         (initialize): Do not initialize those variables dynamically.
26410
26411 2013-05-03  Roland McGrath  <roland@hack.frob.com>
26412
26413         * io/open.c (__open_2): Moved to ...
26414         * io/open_2.c: ... this new file.
26415         * io/open64.c (__open64_2): Moved to ...
26416         * io/open64_2.c: ... this new file.
26417         * io/openat.c (__openat_2): Moved to ...
26418         * io/openat_2.c: ... this new file.
26419         * io/openat64.c (__openat64_2): Moved to ...
26420         * io/openat64_2.c: ... this new file.
26421         * io/Makefile (routines): Add them.
26422         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
26423         * sysdeps/unix/sysv/linux/open_2.c: File removed.
26424         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
26425         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
26426         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
26427         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
26428         (__openat64): Add hidden_ver.
26429         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
26430         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
26431
26432         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
26433         Separately conditionalize setting of GLRO(dl_sysinfo) so
26434         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
26435         as well, but the actual setting is only under [NEED_DL_SYSINFO].
26436
26437 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26438
26439         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
26440         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
26441         definition.
26442         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
26443         * sysdeps/unix/sysv/linux/powerpc/init-first.c
26444         (_libc_vdso_platform_setup): Add __vdso_time initialization.
26445         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
26446         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
26447
26448 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
26449
26450         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
26451         test signgam value.
26452
26453         * math/libm-test.inc (hypot_test): Do not use
26454         IGNORE_ZERO_INF_SIGN.
26455
26456 2013-05-03  Andreas Jaeger  <aj@suse.de>
26457
26458         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
26459         Linux 3.9.
26460         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
26461         (PF_MAX): Adjust for VSOCK change.
26462
26463 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26464
26465         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26466
26467 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
26468
26469         [BZ #15264]
26470         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
26471         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
26472         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
26473
26474 2013-05-02  David S. Miller  <davem@davemloft.net>
26475
26476         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26477
26478 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
26479
26480         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
26481
26482 2013-05-01  Roland McGrath  <roland@hack.frob.com>
26483
26484         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
26485
26486 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
26487
26488         [BZ #14952]
26489         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
26490         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26491         Use __attribute__ ((__gnu_inline__)).
26492         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
26493         Don't use __attribute__ ((__gnu_inline__)).
26494
26495 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
26496
26497         [BZ #15423]
26498         * math/s_catan.c (__catan): Handle small real or imaginary part of
26499         input specially to avoid spurious underflow.
26500         * math/s_catanf.c (__catanf): Likewise.
26501         * math/s_catanh.c (__catanh): Likewise.
26502         * math/s_catanhf.c (__catanhf): Likewise.
26503         * math/s_catanhl.c (__catanhl): Likewise.
26504         * math/s_catanl.c (__catanl): Likewise.
26505         * math/libm-test.inc (catan_test): Add more tests.
26506         (catanh_test): Likewise.
26507         * sysdeps/i386/fpu/libm-test-ulps: Update.
26508         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26509
26510 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26511
26512         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26513
26514 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
26515
26516         [BZ #15416]
26517         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
26518         accurately for denominator in atan2.
26519         * math/s_catanf.c (__catanf): Likewise.
26520         * math/s_catanh.c (__catanh): Likewise.
26521         * math/s_catanhf.c (__catanhf): Likewise.
26522         * math/s_catanhl.c (__catanhl): Likewise.
26523         * math/s_catanl.c (__catanl): Likewise.
26524         * math/libm-test.inc (catan_test): Add more tests.
26525         (catanh_test): Likewise.
26526         * sysdeps/i386/fpu/libm-test-ulps: Update.
26527         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26528
26529 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
26530
26531         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
26532
26533         * benchtests/Makefile (bench): Remove slow benchmarks.
26534         * benchtests/atan-inputs: Add slow benchmark inputs.
26535         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
26536         (BENCH_FUNC): Accept variant offset.
26537         (VARIANT): Define.
26538         * benchtests/bench-skeleton.c (main): Run benchmark for each
26539         variant.
26540         * benchtests/cos-inputs: Add slow benchmark inputs.
26541         * benchtests/exp-inputs: Likewise.
26542         * benchtests/pow-inputs: Likewise.
26543         * benchtests/sin-inputs: Likewise.
26544         * benchtests/slowatan-inputs: Remove.
26545         * benchtests/slowatan.c: Remove.
26546         * benchtests/slowcos-inputs: Remove.
26547         * benchtests/slowcos.c: Remove.
26548         * benchtests/slowexp-inputs: Remove.
26549         * benchtests/slowexp.c: Remove.
26550         * benchtests/slowpow-inputs: Remove.
26551         * benchtests/slowpow.c: Remove.
26552         * benchtests/slowsin-inputs: Remove.
26553         * benchtests/slowsin.c: Remove.
26554         * benchtests/slowtan-inputs: Remove.
26555         * benchtests/slowtan.c: Remove.
26556         * benchtests/tan-inputs: Add slow benchmark inputs.
26557         * scripts/bench.pl: Parse comments and directives.
26558
26559         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
26560         in CPPFLAGS.
26561         ($(objpfx)bench-%.c): Remove *-ITER.
26562         * benchtests/bench-modf.c: Remove definition of ITER.
26563         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
26564         (main): Loop for DURATION seconds instead of fixed number of
26565         iterations.
26566         * scripts/bench.pl: Don't expect iterations in parameters.
26567
26568 2013-04-29  Roland McGrath  <roland@hack.frob.com>
26569
26570         * io/fchdir.c (__fchdir): Renamed from fchdir.
26571         (fchdir): Define as weak alias.
26572
26573 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
26574
26575         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
26576         (ERRNO_EDOM): Likewise.
26577         (ERRNO_ERANGE): Likewise.
26578         (noErrnoTests): New variable.
26579         (init_max_error): Set errno to 0.
26580         (test_single_errno): New function.
26581         (test_errno): Likewise.
26582         (check_float_internal): Call test_errno.  Set errno to 0.
26583         (check_complex): Refer to errno tests in comment.
26584         (check_int): Call test_errno.  Set errno to 0.
26585         (check_long): Likewise.
26586         (check_bool): Likewise.
26587         (check_longlong): Likewise.
26588         (cos_test): Use ERRNO_* flags for errno tests instead of
26589         check_int.
26590         (expm1_test): Likewise.
26591         (fmod_test): Likewise.
26592         (ilogb_test): Likewise.
26593         (lgamma_test): Likewise.
26594         (pow_test): Likewise.
26595         (remainder_test): Likewise.
26596         (sin_test): Likewise.
26597         (tan_test): Likewise.
26598         (yn_test): Likewise.
26599         (initialize): Set errno to 0.
26600         (main): Print number of errno tests.
26601         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
26602
26603 2013-04-29  Andreas Jaeger  <aj@suse.de>
26604
26605         [BZ #15084]
26606         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
26607         and RES_USEVC.
26608
26609         [BZ #15085]
26610         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
26611         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
26612         unimplemented.
26613
26614         [BZ #15380]
26615         * stdlib/random.c (__initstate): Return NULL if
26616         __initstate fails.
26617
26618         [BZ #15086]
26619         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
26620         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
26621         RES_SNGLKUPREOP.
26622
26623 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26624
26625         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26626
26627 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
26628
26629         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
26630         of individual tests.
26631         (casin_test): Likewise.
26632         (casinh_test): Likewise.
26633
26634 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
26635
26636         [BZ #15409]
26637         * math/s_catan.c (__catan): Handle arguments with large real or
26638         imaginary part separately without squaring.
26639         * math/s_catanf.c (__catanf): Likewise.
26640         * math/s_catanh.c (__catanh): Likewise.
26641         * math/s_catanhf.c (__catanhf): Likewise.
26642         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26643         and redefine.
26644         (__catanhl): Handle arguments with large real or imaginary part
26645         separately without squaring.
26646         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
26647         and redefine.
26648         (__catanl): Handle arguments with large real or imaginary part
26649         separately without squaring.
26650         * math/libm-test.inc (catan_test): Add more tests.
26651         (catanh_test): Likewise.
26652         * sysdeps/i386/fpu/libm-test-ulps: Update.
26653         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26654
26655 2013-04-27  Andreas Jaeger  <aj@suse.de>
26656
26657         [BZ #15007]
26658         * stdlib/stdlib.h: Update guards for qecvt.
26659         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
26660         <stdlib.h>.
26661
26662 2013-04-27  Allan McRae  <allan@archlinux.org>
26663
26664         * sysdeps/i386/fpu/libm-test-ulps: Update.
26665
26666 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
26667
26668         [BZ #15406]
26669         * math/s_catan.c: Include <float.h>.
26670         (__catan): Ensure underflow exception occurs for underflowed
26671         result.
26672         * math/s_catanf.c: Include <float.h>.
26673         (__catanf): Ensure underflow exception occurs for underflowed
26674         result.
26675         * math/s_catanh.c: Include <float.h>.
26676         (__catanh): Ensure underflow exception occurs for underflowed
26677         result.
26678         * math/s_catanhf.c: Include <float.h>.
26679         (__catanhf): Ensure underflow exception occurs for underflowed
26680         result.
26681         * math/s_catanhl.c: Include <float.h>.
26682         (__catanhl): Ensure underflow exception occurs for underflowed
26683         result.
26684         * math/s_catanl.c: Include <float.h>.
26685         (__catanl): Ensure underflow exception occurs for underflowed
26686         result.
26687         * math/libm-test.inc (catan_test): Add more tests.
26688         (catanh_test): Likewise.
26689
26690         [BZ #15405]
26691         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
26692         underflowed result.
26693         * math/s_ccoshf.c (__ccoshf): Likewise.
26694         * math/s_ccoshl.c (__ccoshl): Likewise.
26695         * math/s_csin.c (__csin): Likewise.
26696         * math/s_csinf.c (__csinf): Likewise.
26697         * math/s_csinh.c (__csinh): Likewise.
26698         * math/s_csinhf.c (__csinhf): Likewise.
26699         * math/s_csinhl.c (__csinhl): Likewise.
26700         * math/s_csinl.c (__csinl): Likewise.
26701         * math/libm-test.inc (ccos_test): Add more tests.
26702         (ccosh_test): Likewise.
26703         (csin_test): Likewise.
26704         (csinh_test): Likewise.
26705
26706 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26707
26708         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
26709         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
26710         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
26711         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
26712         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
26713         powerpc/power5+/fpu folders.
26714         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
26715
26716
26717 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
26718
26719         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
26720
26721 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
26722
26723         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
26724         additions to variable.
26725         [$(config-machine) = x86_64] (modules-names): Likewise.
26726         ($(objpfx)tst-audit3): Remove dependency.
26727         ($(objpfx)tst-audit3.out): Likewise.
26728         ($(objpfx)tst-audit4): Likewise.
26729         ($(objpfx)tst-audit4.out): Likewise.
26730         ($(objpfx)tst-audit5): Likewise.
26731         ($(objpfx)tst-audit5.out): Likewise.
26732         ($(objpfx)tst-audit6): Likewise.
26733         ($(objpfx)tst-audit6.out): Likewise.
26734         ($(objpfx)tst-audit7): Likewise.
26735         ($(objpfx)tst-audit7.out): Likewise.
26736         (tst-audit3-ENV): Remove variable.
26737         (tst-audit4-ENV): Likewise.
26738         (tst-audit5-ENV): Likewise.
26739         (tst-audit6-ENV): Likewise.
26740         (tst-audit7-ENV): Likewise.
26741         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
26742         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
26743         addition to variable.
26744         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
26745         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
26746         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
26747         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
26748         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
26749         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
26750         tst-audit3, tst-audit4 and tst-audit5.
26751         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
26752         tst-audit6 and tst-audit7.
26753         [$(subdir) = elf] (modules-names): Add audit modules for those
26754         tests.
26755         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
26756         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
26757         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
26758         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
26759         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
26760         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
26761         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
26762         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
26763         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
26764         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
26765         [$(subdir) = elf] (tst-audit3-ENV): New variable.
26766         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
26767         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
26768         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
26769         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
26770         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
26771         Likewise.
26772         [$(subdir) = elf && $(config-cflags-avx) = yes]
26773         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
26774         [$(subdir) = elf && $(config-cflags-avx) = yes]
26775         (CFLAGS-tst-auditmod4a.c): Likewise.
26776         [$(subdir) = elf && $(config-cflags-avx) = yes]
26777         (CFLAGS-tst-auditmod4b.c): Likewise.
26778         [$(subdir) = elf && $(config-cflags-avx) = yes]
26779         (CFLAGS-tst-auditmod6b.c): Likewise.
26780         [$(subdir) = elf && $(config-cflags-avx) = yes]
26781         (CFLAGS-tst-auditmod6c.c): Likewise.
26782         [$(subdir) = elf && $(config-cflags-avx) = yes]
26783         (CFLAGS-tst-auditmod7b.c): Likewise.
26784         * elf/tst-audit3.c: Move to ...
26785         * sysdeps/x86_64/tst-audit3.c: ... here.
26786         * elf/tst-audit4.c: Move to ...
26787         * sysdeps/x86_64/tst-audit4.c: ... here.
26788         * elf/tst-audit5.c: Move to ...
26789         * sysdeps/x86_64/tst-audit5.c: ... here.
26790         * elf/tst-audit6.c: Move to ...
26791         * sysdeps/x86_64/tst-audit6.c: ... here.
26792         * elf/tst-audit7.c: Move to ...
26793         * sysdeps/x86_64/tst-audit7.c: ... here.
26794         * elf/tst-auditmod3a.c: Move to ...
26795         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
26796         * elf/tst-auditmod3b.c: Move to ...
26797         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
26798         * elf/tst-auditmod4a.c: Move to ...
26799         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
26800         * elf/tst-auditmod4b.c: Move to ...
26801         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
26802         * elf/tst-auditmod5a.c: Move to ...
26803         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
26804         * elf/tst-auditmod5b.c: Move to ...
26805         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
26806         * elf/tst-auditmod6a.c: Move to ...
26807         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
26808         * elf/tst-auditmod6b.c: Move to ...
26809         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
26810         * elf/tst-auditmod6c.c: Move to ...
26811         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
26812         * elf/tst-auditmod7a.c: Move to ...
26813         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
26814         * elf/tst-auditmod7b.c: Move to ...
26815         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
26816
26817 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
26818
26819         [BZ #15366]
26820         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
26821         define unconditionally.
26822         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
26823         define unconditionally.
26824         (INT8_C, INT16_C, etc.): Likewise.
26825
26826 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
26827
26828         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
26829         __ehdr_start with hidden visibility.
26830
26831         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
26832
26833 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
26834
26835         * math/libm-test.inc (cos_test): Use accurate hex constants.
26836         (sincost_test): Likewise.
26837
26838 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
26839
26840         * math/libm-test.inc (catan_test): Add more tests.
26841         (catanh_test): Likewise.
26842
26843         * math/s_catanf.c (__catanf): Use suffixed floating-point
26844         constants.
26845         * math/s_catanhf.c (__catanhf): Likewise.
26846         * math/s_catanhl.c (__catanhl): Likewise.
26847         * math/s_catanl.c (__catanl): Likewise.
26848
26849         [BZ #15394]
26850         * math/s_catan.c (__catan): Calculate imaginary part of result
26851         with log1p not log unless computing log of number close to 0.
26852         * math/s_catanf.c (__catanf): Likewise.
26853         * math/s_catanl.c (__catanl): Likewise.
26854         * math/s_catanh.c (__catanh): Calculate real part of result with
26855         log1p not log unless computing log of number close to 0.
26856         * math/s_catanhf.c (__catanhf): Likewise.
26857         * math/s_catanhl.c (__catanhl): Likewise.
26858         * math/libm-test.inc (catan_test): Add more tests.
26859         (catanh_test): Likewise.
26860         * sysdeps/i386/fpu/libm-test-ulps: Update.
26861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26862
26863 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
26864
26865         * benchtests/Makefile: Mention files in which fast and slow
26866         paths of math functions are implemented.
26867
26868 2013-04-23  Roland McGrath  <roland@hack.frob.com>
26869
26870         * sysdeps/posix/timespec_get.c: New file.
26871
26872 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
26873
26874         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
26875         POWER.
26876         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
26877         for POWER.
26878         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
26879         powerpc/power5/fpu folders.
26880         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
26881         * benchtests/Makefile: Add modf testcase.
26882         * benchtests/bench-modf.c: New file: Benchmark test for mo
26883
26884 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
26885
26886         [BZ #14888]
26887         * time/Makefile (tests): Add tst-strptime-whitespace.
26888         * time/strptime_l.c (get_number): Use ISSPACE.
26889         (__strptime_internal): Likewise.
26890         * time/tst-strptime-whitespace.c: New test case.
26891
26892 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
26893
26894         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
26895         member.
26896         (_nss_files_init): Set it here.
26897
26898 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
26899
26900         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
26901         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
26902         unsigned.
26903
26904 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
26905
26906         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
26907
26908 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
26909
26910         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
26911         size just once.
26912
26913 2013-04-21  David S. Miller  <davem@davemloft.net>
26914
26915         * po/ru.po: Update Russion translation from translation project.
26916
26917 2013-04-17  Adam Conrad  <adconrad@0c3.net>
26918
26919         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
26920         and setfsgid.
26921
26922 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
26923
26924         * configure.in: Remove i386 configure warning. Remove i386 case.
26925         * configure: Regenerate.
26926         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
26927         Add example to error message.
26928         * sysdeps/i386/configure: Regenerate.
26929
26930 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
26931
26932         * benchtests/Makefile (bench): Add cos, tan, slowcos and
26933         slowtan.
26934         * benchtests/cos-inputs: New file.
26935         * benchtests/slowcos-inputs: New file.
26936         * benchtests/slowcos.c: New file.
26937         * benchtests/slowtan-inputs: New file.
26938         * benchtests/slowtan.c: New file.
26939         * benchtests/tan-inputs: New file.
26940
26941 2013-04-16  Roland McGrath  <roland@hack.frob.com>
26942
26943         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
26944         considered kosher.
26945
26946 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
26947
26948         * benchtests/Makefile: Include cppflags-iterator.mk to add
26949         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
26950
26951         * Makefile.in (bench-clean): New target.
26952         * benchtests/Makefile (bench-clean): Likewise.
26953
26954 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
26955
26956         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
26957
26958 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
26959
26960         * stdio-common/tstdiomisc.c: Fix coding-style violation.
26961
26962 2013-04-15  Andreas Schwab  <schwab@suse.de>
26963
26964         * nscd/grpcache.c (cache_addgr): Properly check for short write.
26965         * nscd/initgrcache.c (addinitgroupsX): Likewise.
26966         * nscd/pwdcache.c (cache_addpw): Likewise.
26967         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
26968         more than recsize.
26969
26970 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26971
26972         * benchtests/Makefile (bench): Write all output to
26973         bench-out.tmp together.
26974
26975 2013-04-15  Andreas Schwab  <schwab@suse.de>
26976
26977         * nscd/nscd.c (main): Don't fork again after closing files.
26978
26979 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
26980
26981         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
26982
26983         * benchtests/Rules (bench-deps): Collect dependencies into a
26984         single variable.  Add Makefile to dependencies.
26985         ($(objpfx)bench-%.c): Depend on bench-deps.
26986
26987 2013-04-12  Roland McGrath  <roland@hack.frob.com>
26988             Xavier Roche  <roche+kml2@exalead.com>
26989
26990         [BZ #15361]
26991         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
26992         just that it's a file descriptor.
26993         * manual/llio.texi (Synchronizing AIO Operations): Update description
26994         for EBADF error from aio_fsync.
26995
26996 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
26997
26998         * Rules (bench): Move target definition...
26999         * benchtests/Makefile: ... here.
27000
27001 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
27002
27003         * math/libm-test.inc (cos_test): Fix PI/2 test.
27004         (sincos_test): Likewise.
27005         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
27006         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
27007
27008 2013-04-11  Andreas Schwab  <schwab@suse.de>
27009
27010         [BZ #13988]
27011         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
27012         accept exponent character only when digits were seen.
27013         * stdio-common/Makefile (tests): Add bug26.
27014         * stdio-common/bug26.c: New file.
27015
27016         [BZ #14293]
27017         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
27018         non-freeable.
27019
27020 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
27021
27022         * Makeconfig (rtld-prefix): Define built linker prefix.
27023         * Rules (run-bench): Use it.
27024         * math/Makefile (run-regen-ulps): Likewise.
27025
27026         * Rules (bench): Remove eval.
27027
27028 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
27029             Roland McGrath  <roland@hack.frob.com>
27030             Ondrej Bilka  <neleai@seznam.cz>
27031
27032         [BZ #15346]
27033         * time/getdate.c: Include ctype.h and alloca.h.
27034         (__getdate_r): Trim leading and trailing spaces of input.
27035         * time/tst-getdate.c (tests): Add tests with leading and
27036         trailing spaces.
27037
27038 2013-04-08  Roland McGrath  <roland@hack.frob.com>
27039
27040         [BZ #14280]
27041         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
27042         when computing value.
27043
27044 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
27045
27046         * math/README.libm-test (How can I generate "libm-test-ulps"?):
27047         Use testrun.sh to run libm tests.
27048
27049         [BZ #15309]
27050         * elf/dl-open.c (dl_open_worker): memset all of seen array.
27051
27052 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
27053
27054         [BZ #15264]
27055         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
27056
27057 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
27058
27059         * Makefile.in (regen-ulps): New target.
27060         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
27061         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
27062         [ifneq (no,$(PERL)] (regen-ulps): New target.
27063         [ifeq (no,$(PERL)] (regen-ulps): New target.
27064         * math/libm-test.inc (ulps_file_name): Define.
27065         (output_dir): New variable.
27066         (options): Add "output-dir" option.
27067         (parse_opt): Handle 'o' case.
27068         (main): If output_dir is non-NULL use it as a prefix
27069         otherwise use "".
27070         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
27071
27072 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
27073
27074         [BZ #10060, #10062]
27075         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
27076         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
27077         fail configure if __sync_val_compare_and_swap is not inlined.
27078         * sysdeps/i386/configure: Regenerate.
27079         * configure.in: Build for i686 when configured for i386.
27080         * configure: Regenerate.
27081         * README: Remove i386 reference.
27082
27083 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
27084
27085         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
27086         * sysdeps/s390/s390-64/sysdep.h: Likewise.
27087
27088 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
27089
27090         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
27091         (lmsnanval): New variables.
27092         (F): Add conversion tests.
27093         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
27094         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
27095
27096         * stdio-common/tstdiomisc.c (F): Properly collect individual
27097         tests' results.
27098
27099         [BZ #14686, #15336]
27100         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
27101         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
27102         Instead, use input NaN values or generate a qNaN by arithmetic
27103         operation.  Also fix bugs to comply with the standard.
27104         * math/libm-test.inc (remainder_test): Add more tests.
27105
27106         [BZ #15335, #15342]
27107         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
27108         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
27109         input NaN values or generate a qNaN by arithmetic operation.
27110
27111         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
27112         unreachable code.
27113
27114         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
27115         definitions.
27116
27117 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
27118
27119         [BZ #14478]
27120         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
27121         underflowed result.
27122         * math/s_cexpf.c (__cexpf): Likewise.
27123         * math/s_cexpl.c (__cexpl): Likewise.
27124         * math/libm-test.inc (cexp_test): Add more tests.
27125
27126 2013-04-03  Andreas Schwab  <schwab@suse.de>
27127
27128         [BZ #15330]
27129         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
27130         order arrays from heap if bigger than alloca cutoff.
27131
27132 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
27133
27134         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
27135         (SNAN_TESTS_double): Refer to GCC PR56831.
27136         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
27137         GCC PR56828.
27138
27139 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
27140
27141         * Rules (bench): Move bench.out after the run is complete.
27142
27143         * Rules (bench): Echo currently running benchmark.
27144
27145         * benchtests/Makefile (bench): Add atan and slowatan.
27146         * benchtests/atan-inputs: New file.
27147         * benchtests/slowatan-inputs: New file.
27148         * benchtests/slowatan.c: New file.
27149
27150         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
27151         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
27152         its value.
27153
27154         [BZ #15305]
27155         * sysdeps/unix/sysv/linux/kernel-features.h
27156         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
27157         __ASSUME_XFS_RESTRICTED_CHOWN.
27158         * sysdeps/unix/sysv/linux/pathconf.c
27159         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
27160         Save and restore errno.
27161
27162 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
27163
27164         [BZ #15327]
27165         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
27166         arguments using __kernel_casinh.
27167         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
27168         arguments using __kernel_casinhf.
27169         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
27170         arguments using __kernel_casinhl.
27171         * math/libm-test.inc (cacosh_test): Add more tests.
27172         * sysdeps/i386/fpu/libm-test-ulps: Update.
27173         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27174
27175 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
27176
27177         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
27178         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
27179
27180         * bench/Makefile (bench): Add sin and slowsin.
27181         * benchtests/sin-inputs: New file.
27182         * benchtests/slowsin-inputs: New file.
27183         * benchtests/slowsin.c: New file.
27184
27185         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
27186         (bench): Add slowexp and slowpow.
27187         (exp-ITER): Increase iterations.
27188         (pow-ITER): Likewise.
27189         * benchtests/exp-inputs: Change input.
27190         * benchtests/pow-inputs: Likewise.
27191         * benchtests/slowexp-inputs: New file.
27192         * benchtests/slowexp.c: New file.
27193         * benchtests/slowpow-inputs: New file.
27194         * benchtests/slowpow.c: New file.
27195
27196 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27197
27198         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
27199         instructions.
27200         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
27201         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
27202         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
27203         * benchtests/Makefile: Add rint benchtest.
27204         * benchtests/rint-inputs: Input for rint benchtest.
27205
27206 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
27207
27208         * Versions.def (libm): Add GLIBC_2.18.
27209         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
27210         hidden libm prototypes.
27211         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
27212         * math/Makefile (libm-calls): Add s_issignaling.
27213         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
27214         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
27215         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
27216         declaration.
27217         * math/math.h [__USE_GNU] (issignaling): New macro.
27218         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
27219         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
27220         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
27221         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
27222         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
27223         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
27224         * manual/arith.texi (issignaling): New section.
27225         * manual/libm-err-tab.pl (@all_functions): Update comment.
27226         * math/gen-libm-test.pl (parse_args): Apply special handling for
27227         issignaling.
27228         * math/libm-test.inc (print_float, issignaling_test): New
27229         functions.
27230         (check_float_internal): Add issignaling checks.
27231         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
27232         default definition.
27233         * sysdeps/powerpc/math-tests.h: New file.
27234         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
27235         tests.
27236         * math/test-snan.c (TEST_FUNC): Likewise.
27237
27238 2013-03-30  David S. Miller  <davem@davemloft.net>
27239
27240         * po/de.po: Update from translation team.
27241
27242 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
27243
27244         [BZ #10357]
27245         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27246         imaginary part less than 1.0 and real part less than 0.5
27247         specially.
27248         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27249         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27250         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
27251         (cacos_test): Add more tests.
27252         (casin_test): Likewise.
27253         (casinh_test): Likewise.
27254         * sysdeps/i386/fpu/libm-test-ulps: Update.
27255         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27256
27257 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
27258
27259         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
27260         ONE with its value.
27261
27262         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
27263         (__pow_mp): Replace ONE and MONE with their values.
27264         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27265         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
27266         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27267         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
27268         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27269         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27270
27271         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
27272
27273         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
27274         (__pow_mp): Replace ZERO and MZERO with their values.
27275         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27276         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27277         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
27278         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
27279         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27280         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
27281         (__sqr): Likewise.
27282
27283         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
27284
27285         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
27286
27287 2013-03-28  Roland McGrath  <roland@hack.frob.com>
27288
27289         * include/stdlib.h [!SHARED] (__call_tls_dtors):
27290         Declare with __attribute__ ((weak)).
27291         * stdlib/exit.c (__libc_atexit) [!SHARED]:
27292         Call __call_tls_dtors only if it's not NULL.
27293
27294 2013-03-28  Roland McGrath  <roland@hack.frob.com>
27295
27296         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
27297         didn't do it already, then set _dl_phdr and _dl_phnum based on the
27298         magic __ehdr_start linker symbol if it's defined.
27299         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
27300         them up here if it was already done.
27301
27302         * elf/dl-support.c (_dl_phdr): Make pointer to const.
27303         (_dl_aux_init): Use const in cast when setting it.
27304         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
27305         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
27306         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
27307
27308         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
27309         Declare them here.
27310         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
27311         * csu/libc-tls.c: Nor here.
27312         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
27313
27314         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
27315         (__libc_message): Never call vsyslog.
27316
27317 2013-03-28  Alan Modra  <amodra@gmail.com>
27318
27319         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
27320         Define as empty.
27321         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
27322         Likewise.
27323
27324 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27325
27326         [BZ #15214]
27327         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
27328         underflow.
27329         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27330
27331 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
27332
27333         [BZ #15304]
27334         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
27335         Don't add gid passed as argument.
27336
27337         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
27338
27339 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
27340
27341         [BZ #15307]
27342         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27343         imaginary part between 1.0 and 1.5 and real part less than 0.5
27344         specially.
27345         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27346         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27347         * math/libm-test.inc (cacos_test): Add more tests.
27348         (casin_test): Likewise.
27349         (casinh_test): Likewise.
27350         * sysdeps/i386/fpu/libm-test-ulps: Update.
27351         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27352
27353 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
27354
27355         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
27356         constants.
27357         (norm): Likewise.
27358         (denorm): Likewise.
27359         (__dbl_mp): Likewise.
27360         (add_magnitudes): Likewise.
27361         (sub_magnitudes): Likewise.
27362         (__add): Likewise.
27363         (__sub): Likewise.
27364         (__mul): Likewise.
27365         (__sqr): Likewise.
27366         (__inv): Likewise.
27367         (__dvd): Likewise.
27368
27369         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
27370         commented code.
27371         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
27372         (__dubcos): Likewise.
27373         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
27374         (__ieee754_acos): Likewise.
27375         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
27376         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
27377         (__exp1): Likewise.
27378         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
27379         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
27380         (log1): Likewise.
27381         (my_log2): Likewise.
27382         (checkint): Likewise.
27383         * sysdeps/ieee754/dbl-64/e_remainder.c
27384         (__ieee754_remainder): Likewise.
27385         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
27386         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
27387         (bsloww): Likewise.
27388         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
27389
27390         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27391         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
27392         MANTISSA_STORE_T to store computations on mantissa.  Use
27393         macros for rounding and division.
27394         (denorm): Likewise.
27395         (__dbl_mp): Likewise.
27396         (add_magnitudes): Likewise.
27397         (sub_magnitudes): Likewise.
27398         (__mul): Likewise.
27399         (__sqr): Likewise.
27400         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
27401         powers of two in terms of TWOPOW macro.
27402         (mp_no): Make type of mantissa as MANTISSA_T.
27403         [!RADIXI]: Define RADIXI.
27404         [!TWO52]: Define TWO52.
27405         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27406
27407 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27408
27409         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
27410         llroundl symbol when building for PPC32.
27411
27412 2013-03-24  Mark H Weaver  <mhw@netris.org>
27413
27414         * manual/arith.texi (Normalization Functions): Fix prototypes for
27415         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
27416
27417 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27418
27419         [BZ #13889]
27420         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
27421         high value to check if expl overflow.
27422         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
27423         to check for underflow and overflow.
27424         * math/libm-test.inc: Add exp test.
27425
27426 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
27427
27428         [BZ #11120]
27429         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
27430         with NOT_IN_libc.
27431
27432 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27433
27434         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
27435         symbol.
27436
27437 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
27438
27439         * math/gen-libm-test.pl (parse_args, special_functions): Properly
27440         wrap blocks consisting of several statements.
27441
27442         * sysdeps/generic/math-tests.h: New file.
27443         * sysdeps/i386/fpu/math-tests.h: Likewise.
27444         * math/test-snan.c: Include it.
27445         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
27446
27447 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
27448
27449         [BZ #15285]
27450         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
27451         (__ieee754_j0l): Do not improve calculations using cos of twice
27452         input for inputs above LDBL_MAX / 2.0L.
27453         (__ieee754_y0l): Likewise.
27454         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
27455         (__ieee754_j1l): Do not improve calculations using cos of twice
27456         input for inputs above LDBL_MAX / 2.0L.
27457         (__ieee754_y1l): Likewise.
27458         * math/libm-test.inc (j0_test): Add another test.
27459         (j1_test): Likewise.
27460         (y0_test): Likewise.
27461         (y1_test): Likewise.
27462         * sysdeps/i386/fpu/libm-test-ulps: Update.
27463
27464 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27465
27466         * Rules ($(objpfx)bench-%.c): Include code from a C source
27467         file.
27468
27469 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
27470
27471         [BZ #15287]
27472         * math/k_casinh.c (__kernel_casinh): Handle arguments with
27473         imaginary part 1.0 and real part less than 0.5 specially.
27474         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27475         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27476         * math/libm-test.inc (cacos_test): Add more tests.
27477         (casin_test): Likewise.
27478         (casinh_test): Likewise.
27479         * sysdeps/i386/fpu/libm-test-ulps: Update.
27480         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27481
27482 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
27483
27484         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
27485         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
27486
27487 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
27488
27489         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
27490         * config.make.in (config-cflags-sse4): Remove variable.
27491         (config-cflags-avx): Likewise.
27492         (config-cflags-sse2avx): Likewise.
27493         (config-cflags-novzeroupper): Likewise.
27494         (config-asflags-i686): Likewise.
27495         (have-mfma4): Likewise.
27496         (have-as-vis3): Likewise.
27497         (MIG): Likewise.
27498         * configure.in (MIG): Do not AC_SUBST.
27499         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
27500         (libc_cv_cc_sse4): Do not AC_SUBST.
27501         (libc_cv_cc_avx): Likewise.
27502         (libc_cv_cc_sse2avx): Likewise.
27503         (libc_cv_cc_novzeroupper): Likewise.
27504         (libc_cv_cc_fma4): Likewise.
27505         (libc_cv_as_i686): Likewise.
27506         (libc_cv_sparc_as_vis3): Likewise.
27507         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
27508         LIBC_CONFIG_VAR.
27509         (config-asflags-i686): Likewise.
27510         (config-cflags-avx): Likewise.
27511         (config-cflags-sse2avx): Likewise.
27512         (have-mfma4): Likewise.
27513         (config-cflags-novzeroupper): Likewise.
27514         * sysdeps/mach/configure.in (MIG): Likewise.
27515         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
27516         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
27517         LIBC_CONFIG_VAR.
27518         (config-cflags-avx): Likewise.
27519         (config-cflags-sse2avx): Likewise.
27520         (have-mfma4): Likewise.
27521         (config-cflags-novzeroupper): Likewise.
27522         * configure: Regenerated.
27523         * sysdeps/i386/configure: Likewise.
27524         * sysdeps/mach/configure: Likewise.
27525         * sysdeps/sparc/configure: Likewise.
27526         * sysdeps/x86_64/configure: Likewise.
27527
27528 2013-03-20  Roland McGrath  <roland@hack.frob.com>
27529
27530         [BZ #14812]
27531         * locale/programs/localedef.c (options): Put N_ translation marker
27532         on argument names, not just descriptions.
27533
27534 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
27535
27536         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
27537
27538 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
27539
27540         [BZ #14176]
27541         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
27542
27543 2013-03-19  Roland McGrath  <roland@hack.frob.com>
27544
27545         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
27546         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
27547         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
27548         [!BEFORE_ABORT] (before_abort): New function.
27549         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
27550         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
27551         (writev_for_fatal): New function.
27552         (WRITEV_FOR_FATAL): New macro; call that.
27553         (backtrace_and_maps): New function.
27554         (BEFORE_ABORT): New macro; call that.
27555         (struct str_list): Type removed.
27556         (__libc_message, __libc_fatal): Functions removed.
27557         Include <sysdeps/posix/libc_fatal.c> instead.
27558
27559 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
27560
27561         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
27562         constants.
27563         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
27564         double constants.
27565
27566 2013-03-19  Andreas Schwab  <schwab@suse.de>
27567
27568         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
27569         * sysdeps/gnu/configure: Regenerate.
27570
27571         * configure.in: Substitute libc_cv_rtlddir.
27572         * configure: Regenerate.
27573         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
27574         * Makeconfig (rtlddir, inst_rtlddir): New variables.
27575         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
27576         * elf/Makefile (install-others, CFLAGS-interp.c)
27577         (ldso_install, common-ldd-rewrite): Likewise.
27578         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
27579         $(inst_slibdir)/$(rtld-installed-name).
27580         * scripts/rellns-sh: Add -p option.
27581         * Makerules (make-shlib-link): Use rellns-sh to get relative name
27582         for source.
27583
27584 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
27585
27586         * manual/nptl.texi: Renamed to ...
27587         * manual/threads.texi: ... this.
27588         * manual/Makefile (chapters): Update.
27589
27590 2013-03-18  Roland McGrath  <roland@hack.frob.com>
27591
27592         [BZ #14812]
27593         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
27594         on argument names, not just descriptions.
27595         * malloc/memusagestat.c (options): Likewise.
27596         * nss/getent.c (options): Likewise.
27597
27598 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
27599
27600         [BZ #14812]
27601         * iconv/iconv_prog.c (options): Put N_ translation marker
27602         on argument names, not just descriptions.
27603         * iconv/iconvconfig.c (options): Likewise.
27604
27605 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
27606
27607         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
27608         implementation which is faster on all x86_64 architectures.
27609         Tested on AMD, Intel Nehalem, SNB, IVB.
27610         * sysdeps/x86_64/strnlen.S: Likewise.
27611
27612         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
27613         Remove all multiarch strlen and strnlen versions.
27614         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
27615         Remove strlen and strnlen related parts.
27616
27617         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
27618         Inline strlen part.
27619         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
27620
27621         * sysdeps/x86_64/multiarch/strlen.S: Remove.
27622         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
27623         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
27624         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
27625         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
27626         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
27627
27628 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
27629
27630         * manual/memory.texi (Malloc Tunable Parameters):
27631         Sort parameters alphabetically. Add comments for missing entries.
27632
27633 2013-03-17  David S. Miller  <davem@davemloft.net>
27634
27635         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27636
27637 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
27638
27639         [BZ #15283]
27640         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
27641         for arguments at most half maximum finite value.
27642         * math/libm-test.inc (j0_test): Add more tests.
27643         (j1_test): Likewise.
27644         (y0_test): Likewise.
27645         (y1_test): Likewise.
27646         * sysdeps/i386/fpu/libm-test-ulps: Update.
27647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27648
27649         [BZ #14155]
27650         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
27651         1 / x and functions P and Q for arguments above 0x1p256L.
27652         (__ieee754_y0l): Likewise.
27653         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
27654         (__ieee754_y1l): Likewise.
27655         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
27656         (j1_test): Likewise.
27657         (y0_test): Likewise.
27658         (y1_test): Likewise.
27659
27660 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
27661
27662         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
27663         variable.
27664
27665 2013-03-15  Roland McGrath  <roland@hack.frob.com>
27666
27667         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
27668         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
27669         zero since it's initialized to EXEC_PAGESIZE.
27670
27671         * sysdeps/unix/sysv/linux/ldsodefs.h
27672         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
27673         * sysdeps/generic/ldsodefs.h: ... here.
27674
27675 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
27676
27677         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
27678
27679         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
27680         math/test-snan.c.
27681         * math/test-snan.c: Renamed from
27682         sysdeps/powerpc/fpu/test-powerpc-snan.c.
27683         * math/Makefile (tests): Add test-snan.
27684         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
27685         test-powerpc-snan.
27686
27687         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
27688         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
27689         functions.
27690         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
27691         __builtin_nan family of functions.
27692         * math/libm-test.inc (initialize): Initialize qnan_value with
27693         __builtin_nan family of functions.
27694         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
27695         Remove variables.
27696         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
27697         Remove functions.
27698         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
27699         storage class.  Initialize qNaN_var and sNaN_var with
27700         __builtin_nan and __builtin_nans families of functions,
27701         respectively.
27702
27703         * math/libm-test.inc (acosh_test): Also test with qNaN input.
27704         (sqrt_test): Remove duplicate test with qNaN input.
27705         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
27706         (round_test, signbit_test, significand_test): Note missing +/-Inf
27707         as well as qNaN tests.
27708
27709         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
27710         qNaN_var.  Fix a few strings, too.
27711         * math/libm-test.inc (nan_value): Rename to qnan_value.
27712         * math/gen-libm-test.pl (%beautify): Adjust to that.
27713         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
27714         * math/test-misc.c (main): Likewise.
27715         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
27716         to __qnan_bytes, and __qnan_union, respectively.
27717         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
27718         Likewise.
27719         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
27720         and lqnanval, respectively.
27721         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
27722         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
27723         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
27724         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
27725
27726         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
27727         * math/test-misc.c (main) [__x86_64__]: Enable test for long
27728         doubles.
27729
27730         * math/test-misc.c (main): Fix copy'n'pastos.
27731         * misc/tst-efgcvt.c (special): Likewise.
27732
27733         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
27734         Remove declarations.
27735
27736 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27737
27738         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
27739         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
27740         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
27741         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
27742
27743 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27744
27745         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
27746         macro to return vdso values correctly in IFUNC implementations.
27747         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
27748         Optimization by using IFUNC.
27749
27750 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27751             Richard Henderson  <rth@redhat.com>
27752             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
27753
27754         * Makefile.in (bench): New target.
27755         * NEWS: Mention the benchmark framework.
27756         * Rules (bench): Likewise.
27757         (binaries-bench): Generate binaries for functions to
27758         benchmark.
27759         * benchtests/Makefile: New makefile for benchmark tests.
27760         * benchtests/bench-skeleton.c: New skeleton file for benchmark
27761         programs.
27762         * benchtests/exp-inputs: New input file for EXP function.
27763         * benchtests/pow-inputs: New input file for POW function.
27764         * scripts/bench.pl: New script to generate source files for
27765         benchmark programs.
27766
27767 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
27768
27769         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
27770         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
27771         computations on mantissa.  Use macros for rounding and
27772         division.
27773         (denorm): Likewise.
27774         (__dbl_mp): Likewise.
27775         (add_magnitudes): Likewise.
27776         (sub_magnitudes): Likewise.
27777         (__mul): Likewise.
27778         (__sqr): Likewise.
27779         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
27780         powers of two in terms of TWOPOW macro.
27781         (mp_no): Make type of mantissa as MANTISSA_T.
27782         [!RADIXI]: Define RADIXI.
27783         [!TWO52]: Define TWO52.
27784         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
27785
27786         * manual/nptl.texi (cindex): Modify threads to pthreads.
27787
27788 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
27789
27790         * sysdeps/x86_64/preconfigure: Regenerated.
27791
27792 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
27793
27794         [BZ #14155]
27795         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
27796         0x1p28 and above.
27797         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
27798         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
27799         0x1p28 and above.
27800         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
27801         * math/libm-test.inc (j0_test): Do not allow one spurious
27802         underflow exception.
27803         (y1_test): Likewise.
27804
27805 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
27806
27807         * manual/Makefile (chapters): Add nptl.
27808         * manual/debug.texi (Debugging Support): Add link to Threads
27809         chapter.
27810         * manual/nptl.texi: New file.
27811
27812         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
27813
27814 2013-03-14  Petr Baudis  <pasky@ucw.cz>
27815
27816         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
27817         for non-NULL pointer before the memory validity test. Pointed
27818         out by Holger Brunck <holger.brunck@keymile.com>.
27819
27820 2013-03-13  Andreas Schwab  <schwab@suse.de>
27821
27822         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
27823         instead of .os.
27824
27825 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
27826
27827         * timezone/zic.c: Update from tzcode 2013b.
27828
27829 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
27830
27831         * manual/install.texi (Configuring and compiling):
27832         Mention i686 and i586.
27833         * INSTALL: Regenerate.
27834
27835 2013-03-12  Roland McGrath  <roland@hack.frob.com>
27836
27837         * sysdeps/init_array/elf-init.c: New file.
27838         * csu/elf-init.c
27839         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
27840         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
27841
27842         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
27843         __gmon_start__ as global, but as static with a .preinit_array pointer.
27844         * sysdeps/init_array/gmon-start.c: New file.  Use that.
27845         * sysdeps/init_array/crti.S: New file, empty except for comments.
27846         * sysdeps/init_array/crtn.S: Likewise.
27847
27848 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
27849
27850         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
27851         definining bcopy.
27852         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
27853         Remove Prefer_SSE_for_memop.
27854         * sysdeps/x86_64/multiarch/init-arch.h: Remove
27855         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
27856         HAS_PREFER_SSE_FOR_MEMOP.
27857         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
27858         memset-x86-64.
27859         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
27860         Remove bzero, memset ifunc support.
27861         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
27862         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
27863         * sysdeps/x86_64/multiarch/memset.S: Likewise.
27864         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
27865
27866 2013-03-11  Andreas Schwab  <schwab@suse.de>
27867
27868         [BZ #15234]
27869         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
27870         by SHLIB_COMPAT.
27871         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
27872         (GLIBC_2.16): Remove pthread_atfork.
27873
27874 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
27875
27876         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
27877         (ptestcases.h): Likewise.
27878
27879 2013-03-08  Roland McGrath  <roland@hack.frob.com>
27880
27881         * Makeconfig ($(common-objpfx)config.status): Depend on
27882         sysdeps/*/preconfigure{,.in} too.
27883
27884 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
27885
27886         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
27887         (__free_hook): Use void * instead of __malloc_ptr_t.
27888         (__malloc_hook): Likewise.
27889         (__realloc_hook): Likewise.
27890         (__memalign_hook): Likewise.
27891         (__after_morecore_hook): Likewise.
27892         * malloc/arena.c (save_malloc_hook): Likewise.
27893         (save_free_hook): Likewise.
27894         * malloc/hooks.c (malloc_hook_ini): Likewise.
27895         (realloc_hook_ini): Likewise.
27896         (memalign_hook_ini): Likewise.
27897         * malloc/malloc.c (malloc_hook_ini): Likewise.
27898         (realloc_hook_ini): Likewise.
27899         (memalign_hook_ini): Likewise.
27900         (__free_hook): Likewise.
27901         (__malloc_hook): Likewise.
27902         (__realloc_hook): Likewise.
27903         (__memalign_hook): Likewise.
27904         (__libc_malloc): Likewise.
27905         (__libc_free): Likewise.
27906         (__libc_realloc): Likewise.
27907         (__libc_memalign): Likewise.
27908         (__libc_valloc): Likewise.
27909         (__libc_pvalloc): Likewise.
27910         (__libc_calloc): Likewise.
27911         (__posix_memalign): Likewise.
27912         * malloc/morecore.c (__sbrk): Likewise.
27913         (__default_morecore): Likewise.
27914
27915         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
27916
27917         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
27918         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
27919         __malloc_ptrdiff_t.
27920
27921         * malloc/malloc.h (__malloc_size_t): Remove macro.
27922         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
27923         __malloc_size_t.
27924         (old_memalign_hook): Likewise.
27925         (old_realloc_hook): Likewise.
27926         (struct hdr): Likewise.
27927         (flood): Likewise.
27928         (mallochook): Likewise.
27929         (memalignhook): Likewise.
27930         (reallochook): Likewise.
27931         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
27932         (tr_old_realloc_hook): Likewise.
27933         (tr_old_memalign_hook): Likewise.
27934         (tr_mallochook): Likewise.
27935         (tr_reallochook): Likewise.
27936         (tr_memalignhook): Likewise.
27937
27938 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
27939
27940         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
27941         default_ldbl_pack and using as default implementation.
27942         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
27943         implementation.
27944         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
27945         redundant definition.
27946         (ldbl_insert_mantissa): Likewise.
27947         (ldbl_canonicalize): Likewise.
27948         (ldbl_nearbyint): Likewise.
27949         (ldbl_pack): Rename to ldbl_pack_ppc.
27950         (ldbl_unpack): Rename to ldbl_unpack_ppc.
27951         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
27952         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
27953
27954 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
27955
27956         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
27957         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
27958         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
27959         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
27960         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
27961         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
27962         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
27963         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
27964
27965 2013-03-07  Andreas Jaeger  <aj@suse.de>
27966
27967         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27968         bits/mman-linux.h.
27969
27970 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
27971
27972         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
27973         Include mpa.h and declare __MPEXP.
27974         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
27975         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27976         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27977         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
27978         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27979         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
27980         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
27981
27982         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
27983         (__slowpow): Use long double EXPL and LOGL functions to
27984         compute POW.
27985         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
27986         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27987         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
27988         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
27989         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
27990         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
27991
27992         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
27993         intermediate variable to calculate exponent.
27994         (__sqr): Likewise.
27995         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
27996         Likewise.
27997         (__sqr): Likewise.
27998
27999         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
28000         [!NO__SQR]: Define __sqr.
28001         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
28002         and NO__SQR.  Remove all code except __mul and __sqr.  Include
28003         sysdeps/ieee754/dbl-64/mpa.c.
28004         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
28005
28006         [BZ #12723]
28007         * posix/Makefile (tests): Add tst-pathconf.
28008         * posix/tst-pathconf.c: New test case.
28009         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
28010         _PC_PIPE_BUF.
28011         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
28012
28013 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
28014
28015         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
28016
28017 2013-03-06  Andreas Jaeger  <aj@suse.de>
28018
28019         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
28020         definition via __MAP_ANONYMOUS.
28021
28022         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
28023         it's not part of Linux headers.
28024
28025         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
28026         (MAP_HUGE_MASK): Define.
28027
28028         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28029         Define.
28030         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28031         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28032         Define.
28033         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28034         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
28035         Define.
28036         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28037         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
28038         Define.
28039         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
28040
28041         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
28042         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
28043         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
28044         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
28045         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
28046         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
28047
28048         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
28049         Handle f2fs.
28050
28051         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
28052         Handle f2fs and efivarfs.
28053
28054         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
28055         f2fs.
28056
28057         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
28058         (EFIVARFS_MAGIC): Add.
28059         (F2FS_LINK_MAX): Add.
28060
28061 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
28062
28063         * stdio-common/vfprintf.c: Replace __builtin_expect with
28064         __glibc_unlikely.
28065
28066 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
28067
28068         [BZ #13550]
28069         * sysdeps/generic/bp-sym.h: Remove file.
28070         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
28071         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
28072         <bp-sym.h> and <bp-asm.h>.
28073         (__longjmp): Don't use BP_SYM.
28074         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
28075         and <bp-asm.h>.
28076         (memcpy): Don't use BP_SYM.
28077         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
28078         <bp-sym.h> and <bp-asm.h>.
28079         (memcpy): Don't use BP_SYM.
28080         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
28081         <bp-asm.h>.
28082         (memcpy): Don't use BP_SYM.
28083         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
28084         <bp-asm.h>.
28085         (memset): Don't use BP_SYM.
28086         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28087         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28088         (__bzero): Don't use BP_SYM.
28089         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28090         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28091         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
28092         <bp-sym.h> and <bp-asm.h>.
28093         (memcmp): Don't use BP_SYM.  Remove comment about bounded
28094         pointers.
28095         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
28096         <bp-sym.h> and <bp-asm.h>.
28097         (memcpy): Don't use BP_SYM.
28098         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
28099         <bp-sym.h> and <bp-asm.h>.
28100         (memset): Don't use BP_SYM.
28101         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28102         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28103         (__bzero): Don't use BP_SYM.
28104         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28105         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28106         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
28107         <bp-sym.h> and <bp-asm.h>.
28108         (strncmp): Don't use BP_SYM.  Remove comment about bounded
28109         pointers.
28110         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
28111         <bp-sym.h> and <bp-asm.h>.
28112         (memcpy): Don't use BP_SYM.
28113         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
28114         <bp-sym.h> and <bp-asm.h>.
28115         (memset): Don't use BP_SYM.
28116         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28117         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28118         (__bzero): Don't use BP_SYM.
28119         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28120         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28121         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
28122         <bp-sym.h> and <bp-asm.h>.
28123         (__memchr): Don't use BP_SYM.
28124         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
28125         <bp-sym.h> and <bp-asm.h>.
28126         (memcmp): Don't use BP_SYM.  Remove comment about bounded
28127         pointers.
28128         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
28129         <bp-sym.h> and <bp-asm.h>.
28130         (memcpy): Don't use BP_SYM.
28131         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
28132         <bp-sym.h> and <bp-asm.h>.
28133         (__mempcpy): Don't use BP_SYM.
28134         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
28135         <bp-sym.h> and <bp-asm.h>.
28136         (__memrchr): Don't use BP_SYM.
28137         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
28138         <bp-sym.h> and <bp-asm.h>.
28139         (memset): Don't use BP_SYM.
28140         (__bzero): Likewise.
28141         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
28142         <bp-sym.h> and <bp-asm.h>.
28143         (__rawmemchr): Don't use BP_SYM.
28144         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
28145         <bp-sym.h> and <bp-asm.h>.
28146         (__STRCMP): Don't use BP_SYM.
28147         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
28148         <bp-sym.h> and <bp-asm.h>.
28149         (strchr): Don't use BP_SYM.
28150         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
28151         <bp-sym.h> and <bp-asm.h>.
28152         (__strchrnul): Don't use BP_SYM.
28153         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
28154         <bp-sym.h> and <bp-asm.h>.
28155         (strlen): Don't use BP_SYM.
28156         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
28157         <bp-sym.h> and <bp-asm.h>.
28158         (strncmp): Don't use BP_SYM.  Remove comment about bounded
28159         pointers.
28160         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
28161         <bp-sym.h> and <bp-asm.h>.
28162         (__strnlen): Don't use BP_SYM.
28163         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
28164         <bp-sym.h> and <bp-asm.h>.
28165         (__GI__setjmp): Don't use BP_SYM.
28166         (_setjmp): Likewise.
28167         (__sigsetjmp): Likewise.
28168         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
28169         (L(start_addresses)): Don't use BP_SYM.
28170         (_start): Likewise.
28171         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
28172         <bp-asm.h>.
28173         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
28174         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
28175         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28176         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28177         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
28178         <bp-asm.h>.
28179         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
28180         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
28181         about bounded pointers.
28182         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28183         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28184         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
28185         <bp-asm.h>.
28186         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
28187         about bounded pointers.  Remove GKM FIXME comments.
28188         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28189         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
28190         <bp-asm.h>.
28191         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
28192         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
28193         Remove GKM FIXME comments.
28194         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28195         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28196         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
28197         <bp-asm.h>.
28198         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
28199         about bounded pointers.  Remove GKM FIXME comment.
28200         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
28201         and <bp-asm.h>.
28202         (strncmp): Don't use BP_SYM.  Remove comment about bounded
28203         pointers.
28204         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
28205         <bp-sym.h> and <bp-asm.h>.
28206         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28207         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
28208         <bp-sym.h> and <bp-asm.h>.
28209         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
28210         comment.
28211
28212 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
28213
28214         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
28215         call free(NULL).
28216
28217 2013-03-05  David S. Miller  <davem@davemloft.net>
28218
28219         * po/es.po: Update from translation team.
28220
28221 2013-03-05  Andreas Jaeger  <aj@suse.de>
28222
28223         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
28224         <bits/mman-linux.h>.
28225         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28226         is fine.
28227         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
28228         <bits/mman-linux.h> to end of file.
28229         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28230         is fine.
28231         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
28232         <bits/mman-linux.h> to end of file.
28233         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
28234         is fine.
28235         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
28236         <bits/mman-linux.h> to end of file.
28237
28238         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
28239         (MCL_CURRENT, MCL_FUTURE): Define here.
28240
28241 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28242
28243         [BZ #15232]
28244         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
28245         attribute_hidden.
28246         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
28247
28248 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28249
28250         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
28251         fourth parameter needed for rt_sigprocmask syscall.
28252         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
28253         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
28254         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
28255         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
28256         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
28257         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
28258
28259 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
28260
28261         [BZ #13550]
28262         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
28263         comment about bounded pointers.
28264         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
28265         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
28266
28267 2013-03-04  Andreas Jaeger  <aj@suse.de>
28268
28269         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
28270         common definitions.
28271
28272         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
28273         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
28274         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
28275         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
28276         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
28277         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
28278
28279 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
28280
28281         [BZ #15055]
28282         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
28283         __ieee754_sqrl instead of __sqrl.
28284
28285 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
28286
28287         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
28288         * sysdeps/powerpc/fpu_control.h: ... here.
28289         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
28290         * sysdeps/powerpc/bits/fenvinline.h: ... here.
28291         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
28292         * sysdeps/powerpc/bits/mathinline.h: ... here.
28293
28294 2013-03-01  Roland McGrath  <roland@hack.frob.com>
28295
28296         * elf/dl-hwcaps.c (_dl_important_hwcaps):
28297         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
28298         to just [NEED_DL_SYSINFO_DSO].
28299         * elf/dl-support.c: Likewise.
28300         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
28301         * elf/rtld.c (dl_main): Likewise.
28302         * elf/setup-vdso.h (setup_vdso): Likewise.
28303         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
28304         * sysdeps/unix/sysv/linux/dl-sysdep.c
28305         (_dl_discover_osversion): Likewise.
28306
28307 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
28308
28309         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
28310         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28311
28312 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
28313
28314         * NEWS: Mention libm performance improvements and non-x86 PI
28315         futex support.
28316
28317         * csu/libc-start.c (__pthread_initialize_minimal): Change
28318         function arguments.
28319         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
28320
28321 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
28322
28323         [BZ #13550]
28324         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
28325         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
28326         <bp-sym.h> and <bp-asm.h>.
28327         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28328         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
28329         and <bp-asm.h>.
28330         (memcpy): Don't use BP_SYM.
28331         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
28332         <bp-asm.h>.
28333         (__mpn_add_n): Don't use BP_SYM.
28334         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
28335         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
28336         and <bp-asm.h>.
28337         (__mpn_addmul_1): Don't use BP_SYM.
28338         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28339         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
28340         <bp-sym.h>.
28341         (_setjmp): Don't use BP_SYM.
28342         (__novmx_setjmp): Likewise.
28343         (__GI__setjmp): Likewise.
28344         (__vmx_setjmp): Likewise.
28345         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
28346         <bp-sym.h>.
28347         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
28348         (__bzero): Don't use BP_SYM.
28349         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
28350         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
28351         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
28352         <bp-sym.h> and <bp-asm.h>.
28353         (memcpy): Don't use BP_SYM.
28354         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
28355         <bp-sym.h> and <bp-asm.h>.
28356         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28357         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
28358         <bp-sym.h> and <bp-asm.h>.
28359         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
28360         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
28361         <bp-asm.h>.
28362         (__mpn_lshift): Don't use BP_SYM.
28363         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28364         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
28365         <bp-asm.h>.
28366         (memset): Don't use BP_SYM.
28367         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
28368         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
28369         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
28370         <bp-asm.h>.
28371         (__mpn_mul_1): Don't use BP_SYM.
28372         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28373         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
28374         <bp-sym.h> and <bp-asm.h>.
28375         (memcmp): Don't use BP_SYM.
28376         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
28377         <bp-sym.h> and <bp-asm.h>.
28378         (memcpy): Don't use BP_SYM.
28379         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
28380         <bp-sym.h> and <bp-asm.h>.
28381         (memset): Don't use BP_SYM.
28382         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
28383         <bp-sym.h> and <bp-asm.h>.
28384         (strncmp): Don't use BP_SYM.
28385         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
28386         <bp-sym.h> and <bp-asm.h>.
28387         (memcpy): Don't use BP_SYM.
28388         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
28389         <bp-sym.h> and <bp-asm.h>.
28390         (memset): Don't use BP_SYM.
28391         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
28392         <bp-sym.h> and <bp-asm.h>.
28393         (__memchr): Don't use BP_SYM.
28394         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
28395         <bp-sym.h> and <bp-asm.h>.
28396         (memcmp): Don't use BP_SYM.
28397         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
28398         <bp-sym.h> and <bp-asm.h>.
28399         (memcpy): Don't use BP_SYM.
28400         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
28401         <bp-sym.h> and <bp-asm.h>.
28402         (__mempcpy): Don't use BP_SYM.
28403         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
28404         <bp-sym.h> and <bp-asm.h>.
28405         (__memrchr): Don't use BP_SYM.
28406         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
28407         <bp-sym.h> and <bp-asm.h>.
28408         (memset): Don't use BP_SYM.
28409         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
28410         <bp-sym.h> and <bp-asm.h>.
28411         (__rawmemchr): Don't use BP_SYM.
28412         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
28413         <bp-sym.h> and <bp-asm.h>.
28414         (__STRCMP): Don't use BP_SYM.
28415         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
28416         <bp-sym.h> and <bp-asm.h>.
28417         (strchr): Don't use BP_SYM.
28418         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
28419         <bp-sym.h> and <bp-asm.h>.
28420         (__strchrnul): Don't use BP_SYM.
28421         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
28422         <bp-sym.h> and <bp-asm.h>.
28423         (strlen): Don't use BP_SYM.
28424         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
28425         <bp-sym.h> and <bp-asm.h>.
28426         (strncmp): Don't use BP_SYM.
28427         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
28428         <bp-sym.h> and <bp-asm.h>.
28429         (__strnlen): Don't use BP_SYM.
28430         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
28431         <bp-asm.h>.
28432         (__mpn_rshift): Don't use BP_SYM.
28433         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
28434         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
28435         <bp-sym.h> and <bp-asm.h>.
28436         (__sigsetjmp): Don't use BP_SYM.
28437         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
28438         (L(start_addresses)): Don't use BP_SYM.
28439         (_start): Likewise.
28440         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
28441         <bp-asm.h>.
28442         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
28443         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28444         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28445         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
28446         <bp-asm.h>.
28447         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
28448         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
28449         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
28450         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
28451         <bp-asm.h>.
28452         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
28453         comments.
28454         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
28455         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
28456         <bp-asm.h>.
28457         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
28458         FIXME comments.
28459         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
28460         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
28461         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
28462         <bp-asm.h>.
28463         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
28464         comment.
28465         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
28466         and <bp-asm.h>.
28467         (strncmp): Don't use BP_SYM,
28468         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
28469         <bp-asm.h>.
28470         (__mpn_sub_n): Don't use BP_SYM.
28471         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
28472         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
28473         and <bp-asm.h>.
28474         (__mpn_submul_1): Don't use BP_SYM.
28475         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
28476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
28477         <bp-sym.h> and <bp-asm.h>.
28478         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
28479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
28480         <bp-sym.h> and <bp-asm.h>.
28481         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
28482         comment.
28483
28484 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
28485
28486         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
28487         Use ZK to minimize writes to Z.
28488         (sub_magnitudes): Simplify code a bit.
28489         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
28490         Use ZK to minimize writes to Z.
28491         (sub_magnitudes): Simplify code a bit.
28492
28493 2013-02-27  Roland McGrath  <roland@hack.frob.com>
28494
28495         * csu/gmon-start.c: Add special exception to license text.
28496
28497 2013-02-27  Richard Henderson  <rth@redhat.com>
28498
28499         * scripts/config.guess: Update from config.git.
28500         * scripts/config.sub: Likewise.
28501
28502 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
28503
28504         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
28505
28506         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
28507
28508         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
28509
28510         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
28511
28512         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
28513
28514 2013-02-26  Roland McGrath  <roland@hack.frob.com>
28515
28516         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
28517         [$(build-shared = yes].
28518
28519 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28520
28521         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
28522         (__mul): Reduce iterations for calculating mantissa.
28523
28524         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
28525         MPTWO.
28526         (__mpranred): Likewise.
28527
28528         [BZ #15160]
28529         * malloc/memusagestat.c (main): Draw graphs for heap and stack
28530         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
28531
28532 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
28533
28534         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
28535         Define __attribute__.
28536
28537 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
28538
28539         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
28540         unused.
28541         * posix/regex_internal.h (__attribute): Remove.
28542         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
28543         (re_string_context_at): Likewise.
28544         (bitset_not): Use __attribute__ and mark function as possibly
28545         unused.
28546         (bitset_merge): Likewise.
28547         (bitset_mask): Likewise.
28548         (re_string_char_size_at): Likewise.
28549         (re_string_wchar_at): Likewise.
28550         (re_string_elem_size_at): Likewise.
28551
28552 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
28553
28554         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
28555         code.
28556         (cc32): Likewise.
28557
28558         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
28559         (__acr): Likewise.
28560         (__cpy): Likewise.
28561         (norm): Likewise.
28562         (denorm): Likewise.
28563         (__dbl_mp): Likewise.
28564         (add_magnitudes): Likewise.
28565         (sub_magnitudes): Likewise.
28566         (__mul): Likewise.
28567         (__inv): Likewise.
28568
28569         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
28570         style.
28571
28572         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
28573         style.
28574
28575         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
28576         code.
28577
28578         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
28579         up changes with default code.
28580         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
28581         Likewise.
28582
28583 2013-02-24  Allan McRae  <allan@archlinux.org>
28584
28585         * manual/socket.texi (The Internet Namespace): Order menu items
28586         to match that in the file.
28587
28588         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
28589         node listing of the info page menu.
28590
28591 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
28592
28593         [BZ #13550]
28594         * sysdeps/i386/bp-asm.h: Remove file.
28595         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28596         (PARMS): Do not use macros from bp-asm.h.
28597         (S1): Likewise.
28598         (S2): Likewise.
28599         (SIZE): Likewise.
28600         (__mpn_add_n): Do not use BP_SYM
28601         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
28602         "bp-asm.h".
28603         (PARMS): Do not use macros from bp-asm.h.
28604         (S1): Likewise.
28605         (SIZE): Likewise.
28606         (__mpn_addmul_1): Do not use BP_SYM
28607         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
28608         "bp-asm.h".
28609         (PARMS): Do not use macros from bp-asm.h.
28610         (SIGMSK): Likewise.
28611         (_setjmp): Likewise.  Do not use BP_SYM.
28612         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
28613         "bp-asm.h".
28614         (PARMS): Do not use macros from bp-asm.h.
28615         (SIGMSK): Likewise.
28616         (setjmp): Likewise.  Do not use BP_SYM.
28617         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
28618         "bp-asm.h".
28619         (PARMS): Do not use macros from bp-asm.h.
28620         (__frexp): Do not use BP_SYM.
28621         (frexp): Likewise.
28622         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
28623         "bp-asm.h".
28624         (PARMS): Do not use macros from bp-asm.h.
28625         (__frexpf): Do not use BP_SYM.
28626         (frexpf): Likewise.
28627         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
28628         "bp-asm.h".
28629         (PARMS): Do not use macros from bp-asm.h.
28630         (__frexpl): Do not use BP_SYM.
28631         (frexpl): Likewise.
28632         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
28633         "bp-asm.h".
28634         (PARMS): Do not use macros from bp-asm.h.
28635         (__remquo): Do not use BP_SYM.
28636         (remquo): Likewise.
28637         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
28638         "bp-asm.h".
28639         (PARMS): Do not use macros from bp-asm.h.
28640         (__remquof): Do not use BP_SYM.
28641         (remquof): Likewise.
28642         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
28643         "bp-asm.h".
28644         (PARMS): Do not use macros from bp-asm.h.
28645         (__remquol): Do not use BP_SYM.
28646         (remquol): Likewise.
28647         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
28648         "bp-asm.h".
28649         (PARMS): Do not use macros from bp-asm.h.
28650         (DEST): Likewise.
28651         (SRC): Likewise.
28652         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
28653         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
28654         "bp-asm.h".
28655         (PARMS): Do not use macros from bp-asm.h.
28656         (strlen): Do not use BP_SYM.
28657         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
28658         "bp-asm.h".
28659         (PARMS): Do not use macros from bp-asm.h.
28660         (S1): Likewise.
28661         (S2): Likewise.
28662         (SIZE): Likewise.
28663         (__mpn_add_n): Do not use BP_SYM.
28664         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
28665         "bp-asm.h".
28666         (PARMS): Do not use macros from bp-asm.h.
28667         (S1): Likewise.
28668         (SIZE): Likewise.
28669         (__mpn_addmul_1): Do not use BP_SYM.
28670         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
28671         weak_alias.
28672         (bzero): Likewise.
28673         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
28674         "bp-asm.h".
28675         (PARMS): Do not use macros from bp-asm.h.
28676         (S): Likewise.
28677         (SIZE): Likewise.
28678         (__mpn_lshift): Do not use BP_SYM.
28679         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
28680         "bp-asm.h".
28681         (PARMS): Do not use macros from bp-asm.h.
28682         (DEST): Likewise.
28683         (SRC): Likewise.
28684         (LEN): Likewise.
28685         (memcpy): Likewise.  Do not use BP_SYM.
28686         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
28687         libc_hidden_def and weak_alias.
28688         (mempcpy): Do not use BP_SYM in weak_alias.
28689         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
28690         "bp-asm.h".
28691         (PARMS): Do not use macros from bp-asm.h.
28692         (DEST): Likewise.
28693         (LEN): Likewise.
28694         [!BZERO_P] (CHR): Likewise.
28695         (memset): Likewise.  Do not use BP_SYM.
28696         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
28697         "bp-asm.h".
28698         (PARMS): Do not use macros from bp-asm.h.
28699         (S1): Likewise.
28700         (SIZE): Likewise.
28701         (__mpn_mul_1): Do not use BP_SYM.
28702         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
28703         "bp-asm.h".
28704         (PARMS): Do not use macros from bp-asm.h.
28705         (S): Likewise.
28706         (SIZE): Likewise.
28707         (__mpn_rshift): Do not use BP_SYM.
28708         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
28709         "bp-asm.h".
28710         (PARMS): Do not use macros from bp-asm.h.
28711         (STR): Likewise.
28712         (CHR): Likewise.
28713         (strchr): Likewise.  Do not use BP_SYM.
28714         (index): Do not use BP_SYM in weak_alias.
28715         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
28716         "bp-asm.h".
28717         (PARMS): Do not use macros from bp-asm.h.
28718         (DEST): Likewise.
28719         (SRC): Likewise.
28720         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
28721         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
28722         "bp-asm.h".
28723         (PARMS): Do not use macros from bp-asm.h.
28724         (strlen): Do not use BP_SYM.
28725         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
28726         "bp-asm.h".
28727         (PARMS): Do not use macros from bp-asm.h.
28728         (S1): Likewise.
28729         (S2): Likewise.
28730         (SIZE): Likewise.
28731         (__mpn_sub_n): Do not use BP_SYM.
28732         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
28733         "bp-asm.h".
28734         (PARMS): Do not use macros from bp-asm.h.
28735         (S1): Likewise.
28736         (SIZE): Likewise.
28737         (__mpn_submul_1): Do not use BP_SYM.
28738         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
28739         "bp-asm.h".
28740         (PARMS): Do not use macros from bp-asm.h.
28741         (S1): Likewise.
28742         (S2): Likewise.
28743         (SIZE): Likewise.
28744         (__mpn_add_n): Do not use BP_SYM.
28745         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
28746         weak_alias.
28747         (bzero): Likewise.
28748         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
28749         "bp-asm.h".
28750         (PARMS): Do not use macros from bp-asm.h.
28751         (BLK2): Likewise.
28752         (LEN): Likewise.
28753         (memcmp): Do not use BP_SYM.
28754         (bcmp): Do not use BP_SYM in weak_alias.
28755         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
28756         "bp-asm.h".
28757         (PARMS): Do not use macros from bp-asm.h.
28758         (DEST): Likewise.
28759         (SRC): Likewise.
28760         (LEN): Likewise.
28761         (memcpy): Likewise.  Do not use BP_SYM.
28762         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
28763         "bp-asm.h".
28764         (PARMS): Do not use macros from bp-asm.h.
28765         (DEST): Likewise.
28766         (SRC): Likewise.
28767         (LEN): Likewise.
28768         (memmove): Likewise.  Do not use BP_SYM.
28769         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
28770         "bp-asm.h".
28771         (PARMS): Do not use macros from bp-asm.h.
28772         (DEST): Likewise.
28773         (SRC): Likewise.
28774         (LEN): Likewise.
28775         (__mempcpy): Likewise.  Do not use BP_SYM.
28776         (mempcpy): Do not use BP_SYM in weak_alias.
28777         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
28778         "bp-asm.h".
28779         (PARMS): Do not use macros from bp-asm.h.
28780         (DEST): Likewise.
28781         (LEN): Likewise.
28782         [!BZERO_P] (CHR): Likewise.
28783         (memset): Likewise.  Do not use BP_SYM.
28784         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
28785         "bp-asm.h".
28786         (PARMS): Do not use macros from bp-asm.h.
28787         (STR2): Likewise.
28788         (strcmp): Do not use BP_SYM.
28789         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
28790         "bp-asm.h".
28791         (PARMS): Do not use macros from bp-asm.h.
28792         (STR): Likewise.
28793         (DELIM): Likewise.
28794         [USE_AS_STRTOK_R] (SAVE): Likewise.
28795         (FUNCTION): Likewise.  Do not use BP_SYM.
28796         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
28797         aliases.
28798         (strtok_r): Likewise.
28799         (__GI___strtok_r): Likewise.
28800         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28801         (PARMS): Do not use macros from bp-asm.h.
28802         (S): Likewise.
28803         (SIZE): Likewise.
28804         (__mpn_lshift): Do not use BP_SYM.
28805         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28806         (PARMS): Do not use macros from bp-asm.h.
28807         (STR): Likewise.
28808         (CHR): Likewise.
28809         (__memchr): Do not use BP_SYM.
28810         (memchr): Do not use BP_SYM in weak_alias.
28811         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28812         (PARMS): Do not use macros from bp-asm.h.
28813         (BLK2): Likewise.
28814         (LEN): Likewise.
28815         (memcmp): Do not use BP_SYM.
28816         (bcmp): Do not use BP_SYM in weak_alias.
28817         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
28818         (PARMS): Do not use macros from bp-asm.h.
28819         (S1): Likewise.
28820         (SIZE): Likewise.
28821         (__mpn_mul_1): Do not use BP_SYM.
28822         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
28823         "bp-asm.h".
28824         (PARMS): Do not use macros from bp-asm.h.
28825         (STR): Likewise.
28826         (CHR): Likewise.
28827         (__rawmemchr): Do not use BP_SYM.
28828         (rawmemchr): Do not use BP_SYM in weak_alias.
28829         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
28830         (PARMS): Do not use macros from bp-asm.h.
28831         (S): Likewise.
28832         (SIZE): Likewise.
28833         (__mpn_rshift): Do not use BP_SYM.
28834         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
28835         (PARMS): Do not use macros from bp-asm.h.
28836         (SIGMSK): Likewise.
28837         (__sigsetjmp): Likewise.  Do not use BP_SYM.
28838         * sysdeps/i386/start.S: Do not include "bp-sym.h".
28839         (_start): Do not use BP_SYM.
28840         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
28841         (PARMS): Do not use macros from bp-asm.h.
28842         (DEST): Likewise.
28843         (SRC): Likewise.
28844         (__stpcpy): Likewise.  Do not use BP_SYM.
28845         (stpcpy): Do not use BP_SYM in weak_alias.
28846         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
28847         "bp-asm.h".
28848         (PARMS): Do not use macros from bp-asm.h.
28849         (DEST): Likewise.
28850         (SRC): Likewise.
28851         (LEN): Likewise.
28852         (__stpncpy): Likewise.  Do not use BP_SYM.
28853         (stpncpy): Do not use BP_SYM in weak_alias.
28854         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
28855         (PARMS): Do not use macros from bp-asm.h.
28856         (STR): Likewise.
28857         (CHR): Likewise.
28858         (strchr): Likewise.  Do not use BP_SYM.
28859         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
28860         "bp-asm.h".
28861         (PARMS): Do not use macros from bp-asm.h.
28862         (STR): Likewise.
28863         (CHR): Likewise.
28864         (__strchrnul): Likewise.  Do not use BP_SYM.
28865         (strchrnul): Do not use BP_SYM in weak_alias.
28866         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
28867         "bp-asm.h".
28868         (PARMS): Do not use macros from bp-asm.h.
28869         (STOP): Likewise.
28870         (strcspn): Do not use BP_SYM.
28871         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
28872         "bp-asm.h".
28873         (PARMS): Do not use macros from bp-asm.h.
28874         (STR): Likewise.
28875         (STOP): Likewise.
28876         (strpbrk): Likewise.  Do not use BP_SYM.
28877         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
28878         "bp-asm.h".
28879         (PARMS): Do not use macros from bp-asm.h.
28880         (STR): Likewise.
28881         (CHR): Likewise.
28882         (strrchr): Likewise.  Do not use BP_SYM.
28883         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
28884         (PARMS): Do not use macros from bp-asm.h.
28885         (SKIP): Likewise.
28886         (strspn): Do not use BP_SYM.
28887         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
28888         (PARMS): Do not use macros from bp-asm.h.
28889         (STR): Likewise.
28890         (DELIM): Likewise.
28891         (SAVE): Likewise.
28892         (FUNCTION): Likewise.  Do not use BP_SYM.
28893         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
28894         aliases.
28895         (strtok_r): Likewise.
28896         (__GI___strtok_r): Likewise.
28897         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
28898         (PARMS): Do not use macros from bp-asm.h.
28899         (S1): Likewise.
28900         (S2): Likewise.
28901         (SIZE): Likewise.
28902         (__mpn_sub_n): Do not use BP_SYM.
28903         * sysdeps/i386/submul_1.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         (SIZE): Likewise.
28908         (__mpn_submul_1): Do not use BP_SYM.
28909         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
28910         <bp-sym.h>.
28911         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
28912         and <bp-asm.h>.
28913         (PARMS): Do not use macros from bp-asm.h.
28914         (FLAGS): Likewise.
28915         (PTID): Likewise.
28916         (TLS): Likewise.
28917         (CTID): Likewise.
28918         (__clone): Do not use BP_SYM.
28919         (clone): Do not use BP_SYM in weak_alias.
28920         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
28921         and <bp-asm.h>.
28922         (PARMS): Do not use macros from bp-asm.h.
28923         (LEN): Likewise.
28924         (__mmap64): Do not use BP_SYM.
28925         (mmap64): Do not use BP_SYM in weak_alias.
28926         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
28927         <bp-sym.h> and <bp-asm.h>.
28928         (PARMS): Do not use macros from bp-asm.h.
28929         (__posix_fadvise64_l64): Do not use BP_SYM.
28930         * sysdeps/unix/sysv/linux/i386/semtimedop.S
28931         (PARMS): Do not use macros from bp-asm.h.
28932         (NSOPS): Likewise.
28933         (semtimedop): Do not use BP_SYM.
28934         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
28935         and <bp-asm.h>.
28936
28937 2013-02-21  Allan McRae  <allan@archlinux.org>
28938
28939         * manual/message.texi (Charset conversion in gettext):
28940         Move @end statement to beginning of line.
28941
28942 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28943
28944         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
28945         static.
28946         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
28947         Likewise.
28948
28949         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
28950         (denorm): Likewise.
28951         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
28952         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
28953
28954 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
28955
28956         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
28957         tail-call to the resolved function if pltexit isn't needed.
28958
28959 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
28960
28961         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
28962         or Y being zero as being unlikely.
28963         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
28964         Likewise.
28965
28966 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
28967
28968         * manual/nss.texi (System Databases and Name Service Switch):
28969         Remove frobnicate @pxref.
28970
28971 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
28972
28973         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
28974         __attribute__ ((unused)) to __attribute__ ((__unused__)).
28975
28976 2013-02-20  Petr Machata  <pmachata@redhat.com>
28977
28978         * elf/elf.h (R_ARM_TARGET1): New macro.
28979         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
28980         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
28981         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
28982         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
28983         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
28984         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
28985         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
28986         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
28987         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
28988         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
28989         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
28990         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
28991         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
28992         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
28993         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
28994         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
28995         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
28996         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
28997         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
28998         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
28999         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
29000         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
29001         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
29002         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
29003         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
29004         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
29005         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
29006         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
29007         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
29008         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
29009         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
29010         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
29011         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
29012         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
29013         (R_ARM_THM_GOT_BREL12): Likewise.
29014         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
29015         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
29016         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
29017         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
29018         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
29019         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
29020         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
29021         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
29022         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
29023
29024 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
29025
29026         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
29027         __attribute_used__ to __attribute__ ((unused)).
29028
29029 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
29030
29031         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
29032         powerpc mpa.c.
29033         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
29034         comment formatting.
29035         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
29036
29037 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
29038
29039         [BZ #13550]
29040         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
29041         Remove macro.
29042         (ENTER): Remove both macro definitions.
29043         (LEAVE): Likewise.
29044         (CHECK_BOUNDS_LOW): Likewise.
29045         (CHECK_BOUNDS_HIGH): Likewise.
29046         (CHECK_BOUNDS_BOTH): Likewise.
29047         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
29048         (RETURN_BOUNDED_POINTER): Likewise.
29049         (RETURN_NULL_BOUNDED_POINTER): Likewise.
29050         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
29051         (POP_ERRNO_LOCATION_RETURN): Likewise.
29052         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
29053         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29054         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
29055         macros.
29056         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29057         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
29058         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
29059         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
29060         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
29061         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
29062         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
29063         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
29064         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
29065         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
29066         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
29067         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
29068         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29069         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
29070         removed macros.
29071         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29072         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
29073         macros.
29074         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29075         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
29076         * sysdeps/i386/i586/memset.S (memset): Likewise.
29077         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
29078         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29079         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
29080         macros.
29081         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29082         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
29083         Change uses of L(2) to L(out).
29084         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
29085         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
29086         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
29087         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29088         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
29089         removed macros.
29090         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29091         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
29092         macros.
29093         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29094         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
29095         (RETURN): Do not use macro LEAVE.
29096         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
29097         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
29098         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
29099         * sysdeps/i386/i686/memset.S (memset): Likewise.
29100         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
29101         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
29102         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
29103         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
29104         Likewise.
29105         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29106         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
29107         L(1_2) and L(1_3) into L(1).
29108         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29109         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
29110         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29111         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
29112         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
29113         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
29114         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
29115         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29116         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
29117         macros.
29118         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
29119         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
29120         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
29121         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
29122         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
29123         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
29124         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
29125         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
29126         * sysdeps/i386/strcspn.S (strcspn): Likewise.
29127         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
29128         * sysdeps/i386/strrchr.S (strrchr): Likewise.
29129         * sysdeps/i386/strspn.S (strspn): Likewise.
29130         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
29131         conditional code.
29132         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
29133         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
29134         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
29135         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
29136         L(1_3) into L(1_1).
29137         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
29138         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
29139         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
29140         macros.
29141         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
29142
29143 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
29144
29145         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
29146         macro.
29147
29148 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
29149
29150         * math/atest-exp.c (exp_mpn): Remove ROUND.
29151         * math/atest-exp2.c (exp_mpn): Likewise.
29152         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
29153
29154         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
29155         * stdlib/tst-tls-atexit-lib.c: Likewise.
29156         * stdlib/tst-tls-atexit.c: Likewise.
29157
29158 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
29159
29160         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
29161         and __attribute_alloc_size__.
29162
29163 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
29164
29165         * include/programs/xmalloc.h: Change __attribute_alloc_size to
29166         __attribute_alloc_size__.
29167         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
29168         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
29169
29170 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
29171
29172         * include/programs/xmalloc.h: New file.
29173         * catgets/gencat.c: Include it.
29174         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
29175         * elf/pldd.c: Likewise.
29176         * iconv/iconv_charmap.c: Likewise.
29177         * iconv/iconvconfig.c: Likewise.
29178         * iconv/strtab.c: Likewise.
29179         * locale/programs/locale.c: Likewise.
29180         * locale/programs/localedef.h: Likewise.
29181         * locale/programs/simple-hash.c: Likewise.
29182         * nscd/nscd.h: Likewise.
29183         * nss/makedb.c: Likewise.
29184         * sysdeps/generic/ldconfig.h: Likewise.
29185
29186 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
29187
29188         * Versions.def: Add GLIBC_2.18.
29189         * include/link.h (struct link_map): New member l_tls_dtor_count.
29190         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
29191         (__call_tls_dtors): Likewise.
29192         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
29193         __cxa_thread_atexit_impl.
29194         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
29195         Likewise.
29196         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
29197         Likewise.
29198         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
29199         Likewise.
29200         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
29201         Likewise.
29202         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
29203         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
29204         Likewise.
29205         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
29206         Likewise.
29207         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
29208         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
29209         Likewise.
29210         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
29211         (tests): Add test case tst-tls-atexit.
29212         (modules-names): Add shared library for tst-tls-atexit.
29213         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
29214         (GLIBC_PRIVATE): Add __call_tls_dtors.
29215         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
29216         for libstdc++.
29217         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
29218         * stdlib/tst-tls-atexit.c: New test case.
29219         * stdlib/tst-tls-atexit-lib.c: New test case.
29220
29221         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
29222
29223         * elf/Versions (ld): Add _dl_find_dso_for_object.
29224         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
29225         * elf/dl-open.c (_dl_find_dso_for_object): New function.
29226         (dl_open_worker): Use _dl_find_dso_for_object.
29227         * elf/dl-sym.c (do_sym): Likewise.
29228         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
29229
29230 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
29231
29232         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
29233         Syntactic changes only.
29234         (_dl_runtime_profile): Do a tail-call to the resolved function.
29235
29236 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
29237
29238         [BZ #13550]
29239         * sysdeps/x86_64/bp-asm.h: Remove file.
29240         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
29241         <bp-sym.h> and <bp-asm.h>.
29242         (__clone): Do not use BP_SYM.
29243         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
29244         <bp-sym.h> and <bp-asm.h>.
29245         * sysdeps/unix/x86_64/sysdep.S: Likewise.
29246         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
29247         "bp-asm.h".
29248         (_setjmp): Do not use BP_SYM.
29249         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
29250         "bp-asm.h".
29251         (setjmp): Do not use BP_SYM.
29252         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
29253         libc_hidden_def.
29254         (mempcpy): Do not use BP_SYM in weak_alias.
29255         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
29256         "bp-asm.h".
29257         (strchr): Do not use BP_SYM.
29258         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
29259         "bp-asm.h".
29260         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
29261         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
29262         (_start): Do not use BP_SYM.
29263         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
29264         "bp-asm.h".
29265         (strcat): Do not use BP_SYM.
29266         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
29267         "bp-asm.h".
29268         (STRCMP): Do not use BP_SYM.
29269         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
29270         "bp-asm.h".
29271         (STRCPY): Do not use BP_SYM.
29272         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
29273         "bp-asm.h".
29274         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
29275         "bp-asm.h".
29276         (FUNCTION): Do not use BP_SYM.
29277         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
29278         weak_alias.
29279         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
29280
29281 2013-02-17  Andreas Jaeger  <aj@suse.de>
29282
29283         * time/Versions: Sort entries.
29284         * string/Versions: Likewise.
29285         * resolv/Versions: Likewise.
29286         * posix/Versions: Likewise.
29287         * iconv/Versions: Likewise.
29288         * elf/Versions: Likewise.
29289         * wcsmbs/Versions: Likewise.
29290
29291 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
29292
29293         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
29294         loop termination condition.
29295
29296         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
29297         variable to calculate EZ.
29298         (__sqr): Likewise.
29299
29300         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
29301         the lower precision input.
29302
29303 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
29304
29305         [BZ #13550]
29306         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
29307         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
29308         (run-via-rtld-prefix): Do not handle %-bp tests.
29309         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
29310         (all-object-suffixes): Remove .ob.
29311         (bppfx): Remove variable.
29312         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
29313         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
29314         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
29315         [$(build-bounded) = yes] (libtype.ob): Likewise.
29316         * Makerules (elide-routines.ob): Remove variable.
29317         (do-tests-clean): Do not handle *-bp.out.
29318         (common-mostlyclean): Do not handle *-bp and *-bp.out.
29319         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
29320         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
29321         (tests): Do not include $(tests-bp.out).
29322         (xtests): Do not include $(xtests-bp.out).
29323         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
29324         [$(build-bounded) = yes] ($(addprefix
29325         $(objpfx),$(binaries-bounded))): Remove rule.
29326         ($(objpfx)%-bp.out): Remove rule.
29327         * config.make.in (build-bounded): Remove variable.
29328         * crypt/Makefile [$(build-bounded) = yes]
29329         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
29330         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
29331         append to variable.
29332         [$(build-bounded) = yes] (install-lib): Likewise.
29333         [$(build-bounded) = yes] (generated): Likewise.
29334         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
29335         Remove rule.
29336         * intl/Makefile [$(build-bounded) = yes]
29337         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
29338         * math/Makefile [$(build-bounded) = yes]
29339         ($(tests:%=$(objpfx)%-bp): Likewise.
29340         * misc/Makefile [$(build-bounded) = yes]
29341         ($(objpfx)tst-tsearch-bp): Likewise.
29342         * nptl/Makeconfig (bounded-thread-library): Remove variable.
29343         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
29344         Remove dependency.
29345         * string/Makefile (o-objects.ob): Remove variable.
29346         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
29347         (CFLAGS-.ob): Remove variable.
29348         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
29349         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
29350         both definitions of variable.
29351         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
29352         (ASFLAGS-.ob): Remove variable.
29353
29354 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
29355
29356         [BZ #13550]
29357         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
29358         Remove __BOUNDED_POINTERS__ from condition.
29359         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
29360         * string/bits/string2.h [!__NO_STRING_INLINES &&
29361         !__BOUNDED_POINTERS__]: Likewise.
29362         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
29363         Likewise.
29364         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
29365         Remove conditional code.
29366         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
29367         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
29368         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
29369         condition.
29370
29371         [BZ #13550]
29372         * csu/libc-start.c: Do not include <bp-sym.h>.
29373         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
29374         * elf/dl-open.c: Do not include <bp-sym.h>.
29375         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
29376         * math/fegetenv.c: Do not include <bp-sym.h>.
29377         (fegetenv): Do not use BP_SYM in versioned symbols.
29378         * nptl/sysdeps/pthread/bits/libc-lockP.h
29379         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
29380         <bp-sym.h>.
29381         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29382         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
29383         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29384         (__pthread_mutex_destroy): Likewise.
29385         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29386         (__pthread_mutex_lock): Likewise.
29387         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29388         (__pthread_mutex_trylock): Likewise.
29389         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29390         (__pthread_mutex_unlock): Likewise.
29391         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29392         (__pthread_mutexattr_init): Likewise.
29393         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29394         (__pthread_mutexattr_destroy): Likewise.
29395         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29396         (__pthread_mutexattr_settype): Likewise.
29397         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29398         (__pthread_rwlock_init): Likewise.
29399         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29400         (__pthread_rwlock_destroy): Likewise.
29401         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29402         (__pthread_rwlock_rdlock): Likewise.
29403         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29404         (__pthread_rwlock_tryrdlock): Likewise.
29405         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29406         (__pthread_rwlock_wrlock): Likewise.
29407         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29408         (__pthread_rwlock_trywrlock): Likewise.
29409         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29410         (__pthread_rwlock_unlock): Likewise.
29411         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29412         (__pthread_key_create): Likewise.
29413         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29414         (__pthread_setspecific): Likewise.
29415         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29416         (__pthread_getspecific): Likewise.
29417         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
29418         Likewise.
29419         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29420         (_pthread_cleanup_push_defer): Likewise.
29421         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29422         (_pthread_cleanup_pop_restore): Likewise.
29423         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
29424         (pthread_setcancelstate): Likewise.
29425         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
29426         <bp-sym.h>.
29427         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
29428         (memchr): Do not use BP_SYM in weak_alias.
29429         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
29430         (fegetenv): Do not use BP_SYM in versioned symbols.
29431         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
29432         (fesetenv): Do not use BP_SYM in versioned symbols.
29433         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29434         (feupdateenv): Do not use BP_SYM in versioned symbols.
29435         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29436         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29437         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
29438         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
29439         (open64): Do not use BP_SYM in weak_alias.
29440         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
29441         (fegetenv): Do not use BP_SYM in versioned symbols.
29442         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
29443         (fesetenv): Do not use BP_SYM in versioned symbols.
29444         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
29445         (feupdateenv): Do not use BP_SYM in versioned symbols.
29446         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
29447         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
29448         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
29449         (feraiseexcept): Do not use BP_SYM in versioned symbols.
29450         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
29451         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
29452         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
29453         <bp-sym.h>.
29454         (__libc_start_main): Do not use BP_SYM.
29455
29456 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29457
29458         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
29459         redundant return line.
29460         (norm): Likewise.
29461         (denorm): Likewise.
29462         (dbl_mp): Likewise.
29463         (sub_magnitudes): Likewise.
29464         (__add): Likewise.
29465         (__sub): Likewise.
29466         (__mul): Likewise.
29467         (__inv): Likewise.
29468         (__dvd): Likewise.
29469         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
29470         (norm): Likewise.
29471         (denorm): Likewise.
29472         (dbl_mp): Likewise.
29473         (sub_magnitudes): Likewise.
29474         (__add): Likewise.
29475         (__sub): Likewise.
29476         (__mul): Likewise.
29477         (__inv): Likewise.
29478         (__dvd): Likewise.
29479
29480         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
29481         instead of __mul.
29482         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
29483         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
29484         (cc32): Likewise.
29485
29486         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
29487         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
29488         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
29489         of __mul for squares.
29490         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
29491         function
29492         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
29493         Likewise.
29494         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
29495         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
29496
29497 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
29498
29499         [BZ #13550]
29500         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
29501         code.
29502         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
29503         prototype or function definition.  Rename ubp_* variables and
29504         parameters.  Remove argv definitions conditional on
29505         [__BOUNDED_POINTERS__].
29506         * debug/backtrace.c (__backtrace): Do not use __unbounded.
29507         * elf/dl-runtime.c (_dl_fixup): Likewise.
29508         * include/set-hooks.h (RUN_HOOK): Likewise.
29509         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
29510         definition.
29511         * string/strcpy.c (strcpy): Do not use __unbounded.
29512         * sysdeps/generic/frame.h (struct layout): Likewise.
29513         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
29514         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
29515         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
29516         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
29517         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
29518         (__backtrace): Likewise.
29519         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
29520         use __ptrvalue.
29521         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
29522         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
29523         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
29524         Likewise.
29525         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
29526         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
29527         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
29528         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
29529         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
29530         Do not use __unbounded.
29531         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
29532         Rename __unboundedrlimits parameter to rlimits in prototype.
29533         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
29534         Do not use __unbounded.
29535         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
29536         not use __ptrvalue.
29537         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
29538         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
29539         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
29540         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
29541         __ptrvalue or __unbounded.
29542         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
29543         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
29544         use __unbounded.
29545         (__new_msgctl): Do not use __ptrvalue.
29546         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
29547         __unbounded.
29548         (__libc_msgrcv): Do not use __ptrvalue.
29549         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
29550         startup_info): Do not use __unbounded.
29551         (__libc_start_main): Likewise.  Rename ubp_* variables and
29552         parameters.  Remove argv definitions conditional on
29553         [__BOUNDED_POINTERS__].
29554         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
29555         __ptrvalue.
29556         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
29557         use __unbounded.
29558         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
29559         or __ptrvalue.
29560         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
29561         use __unbounded.
29562         (__new_shmctl): Do not use __ptrvalue.
29563         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
29564         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
29565         Likewise.
29566         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
29567         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
29568         (__libc_sigaction): Likewise.
29569         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
29570         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
29571         Likewise.
29572         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
29573
29574 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
29575
29576         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
29577
29578         * string/mempcpy.c: Implement by calling memcpy.
29579
29580 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
29581
29582         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
29583
29584         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
29585         evaluation.
29586
29587         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
29588         values in the mantissa.
29589
29590         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
29591         minimize writes to Z.
29592         (sub_magnitudes): Simplify code a bit.
29593
29594 2013-02-12  Roland McGrath  <roland@hack.frob.com>
29595
29596         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
29597         from the message.  The linker prefixes all warnings with that already.
29598
29599 2013-02-12  Andreas Schwab  <schwab@suse.de>
29600
29601         [BZ #15078]
29602         * posix/regexec.c (extend_buffers): Add parameter min_len.
29603         (check_matching): Pass minimum needed length.
29604         (clean_state_log_if_needed): Likewise.
29605         (get_subexp): Likewise.
29606         * posix/Makefile (tests): Add bug-regex34.
29607         (bug-regex34-ENV): Define.
29608         * posix/bug-regex34.c: New file.
29609
29610         [BZ #11561]
29611         * posix/regcomp.c (parse_bracket_exp): When looking up collating
29612         elements compare against the byte sequence of it, not its name.
29613         * posix/Makefile (tests): Add bug-regex35.
29614         (bug-regex35-ENV): Define.
29615         * posix/bug-regex35.c: New file.
29616
29617 2013-02-11  Tom de Vries  <tom@codesourcery.com>
29618
29619         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
29620         comment.
29621         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
29622         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
29623         (CHECK_EOL): Add undef.
29624
29625 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
29626
29627         * bits/stdlib-bsearch.h: New file.
29628         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
29629         * stdlib/stdlib.h: Likewise.
29630
29631 2013-02-11  Roland McGrath  <roland@hack.frob.com>
29632
29633         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
29634         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
29635         declaration.
29636         * manual/search.texi (Array Search Function): Add missing const in
29637         lfind prototype.
29638         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
29639         declaration to use rlim_t.
29640         (Basic Scheduling Functions): Remove erroneous const from
29641         sched_getparam prototype.  Remove erroneous * from
29642         sched_get_priority_max and sched_get_priority_min prototypes.
29643         (Resource Usage): Fix summary @comment on vtimes to refer to
29644         sys/vtimes.h rather than vtimes.h.
29645         Add missing *s in vtimes prototype.
29646         (Limits on Resources): Fix ulimit prototype to return long int.
29647         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
29648         prototypes to use long int rather than double.
29649         (BSD Random): Fix initstate and setstate to use char *, not void *.
29650         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
29651         prototype to make second argument 'struct aiocb64 *const[]'.
29652         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
29653         (Status of AIO Operations): Remove erroneous const in aio_return and
29654         aio_return64 prototypes.
29655         (Synchronizing I/O): Fix sync prototype to return void.
29656         * manual/startup.texi (Suboptions): Remove an erroneous const in
29657         getsubopt prototype.
29658         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
29659         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
29660         use size_t rather than int.
29661         (Scanning All Users): Likewise for getpwent_r.
29662         (Setting Groups): Add missing const to setgroups prototype.
29663         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
29664         * manual/socket.texi (Host Names): Fix gethostbyaddr and
29665         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
29666         'const void *' rather than 'const char *'.
29667         (Host Address Functions): Likewise for inet_ntop.
29668         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
29669         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
29670         ssize_t for return value.
29671         (Sending Data): Likewise for send, sendto, sendmsg.
29672         (Socket Option Functions): Add a missing const in setsockopt prototype.
29673         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
29674         use wchar_t for the argument.
29675         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
29676         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
29677         take no arguments.
29678         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
29679         double/float/long double for second argument.
29680         Fix return types of significand, significandf, significandl.
29681         * manual/filesys.texi (Setting Permissions): Use mode_t for second
29682         argument in fchmod prototype.
29683         (File Owner): Use uid_t and gid_t in fchown prototype.
29684         (File Times): Add const to utimes, futimes, and lutimes prototypes.
29685         (Making Special Files): Use mode_t and dev_t in mknod prototype.
29686         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
29687         use 'const struct dirent **' as argument types to CMP function pointer
29688         argument.
29689         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
29690         (File Times): Fix summary magic @comment for struct utimbuf and utime
29691         to refer to utime.h, not time.h.
29692         * manual/string.texi (Argz Functions): Add missing const in
29693         argz_extract and argz_next prototypes.
29694         (Finding Tokens in a String): Likewise for basename.
29695         (String/Array Comparison): Fix typo in wcscasecmp prototype.
29696         (Copying and Concatenation): Fix typo in wmemmove prototype.
29697         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
29698         (Signal Stack): Remove erroneous const in sigstack prototype.
29699         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
29700         prototype.
29701         (Simple Calendar Time): Likewise for stime.
29702         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
29703         prototype.
29704         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
29705         say sys/sysctl.h instead.
29706         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
29707         and vsyslog prototypes.
29708
29709 2013-02-11  Tom de Vries  <tom@codesourcery.com>
29710
29711         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
29712         Remove.
29713
29714 2013-02-11  Roland McGrath  <roland@hack.frob.com>
29715
29716         * misc/sys/mman.h: Fix typo in mremap comment.
29717
29718 2013-02-08  Roland McGrath  <roland@hack.frob.com>
29719
29720         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
29721         the '\0' terminator.
29722
29723 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
29724
29725         [BZ #13550]
29726         * debug/segfault.c: Don't include <bp-checks.h>.
29727         * sysdeps/generic/bp-checks.h: Remove file.
29728         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
29729         (__GETDENTS): Don't use CHECK_N.
29730         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
29731         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
29732         (__getgroups): Don't use CHECK_N.
29733         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
29734         (setgroups): Don't use CHECK_N.
29735         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
29736         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
29737         (__libc_msgrcv): Don't use CHECK_N.
29738         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
29739         (__libc_msgsnd): Don't use CHECK_N.
29740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
29741         <bp-checks.h>.
29742         (__libc_pread): Don't use CHECK_N.
29743         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
29744         include <bp-checks.h>.
29745         (__libc_pread64): Don't use CHECK_N.
29746         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
29747         include <bp-checks.h>.
29748         (__libc_pwrite): Don't use CHECK_N.
29749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
29750         include <bp-checks.h>.
29751         (__libc_pwrite64): Don't use CHECK_N.
29752         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
29753         <bp-checks.h>.
29754         (__libc_pread): Don't use CHECK_N.
29755         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
29756         include <bp-checks.h>.
29757         (__libc_pread64): Don't use CHECK_N.
29758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
29759         include <bp-checks.h>.
29760         (__libc_pwrite): Don't use CHECK_N.
29761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
29762         include <bp-checks.h>.
29763         (__libc_pwrite64): Don't use CHECK_N.
29764         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
29765         (do_pread): Don't use CHECK_N.
29766         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
29767         (do_pread64): Don't use CHECK_N.
29768         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
29769         (do_pwrite): Don't use CHECK_N.
29770         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
29771         (do_pwrite64): Don't use CHECK_N.
29772         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
29773         (__libc_readv): Don't use CHECK_N.
29774         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
29775         (semop): Don't use CHECK_N.
29776         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
29777         <bp-checks.h>.
29778         (semtimedop): Don't use CHECK_N.
29779         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
29780         (__libc_pread): Don't use CHECK_N.
29781         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
29782         <bp-checks.h>.
29783         (__libc_pread64): Don't use CHECK_N.
29784         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
29785         <bp-checks.h>.
29786         (__libc_pwrite): Don't use CHECK_N.
29787         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
29788         <bp-checks.h>.
29789         (__libc_pwrite64): Don't use CHECK_N.
29790         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
29791         <bp-checks.h>.
29792         (__libc_msgrcv): Don't use CHECK_N.
29793         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
29794         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
29795         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
29796         (__libc_writev): Don't use CHECK_N.
29797
29798 2013-02-08  Roland McGrath  <roland@hack.frob.com>
29799
29800         * string/strcpy.c: Removed unused variable.
29801
29802         * Makeconfig (+sysdep-includes): Define with := rather than =.
29803         Use an existing include/ subdir of each sysdeps dir before it.
29804
29805 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29806
29807         * nscd/connection.c (register_traced_file): Comment function.
29808         [HAVE_INOTIFY] (union __inev): Define.
29809         [HAVE_INOTIFY] (inotify_check_files): New function.
29810         [HAVE_INOTIFY] (clear_db_cache): Likewise.
29811         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
29812         clear_db_cache.
29813         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
29814
29815 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29816
29817         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
29818         loaded if not already and that a failure is permanent.
29819
29820 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
29821
29822         [BZ #15006]
29823         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
29824         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
29825
29826 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
29827
29828         [BZ #13550]
29829         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
29830         (CHECK_1_NULL_OK): Likewise.
29831         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
29832         (__fxstat): Do not use CHECK_1.
29833         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
29834         <bp-checks.h>.
29835         (___fxstat64): Do not use CHECK_1.
29836         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
29837         <bp-checks.h>.
29838         (__fxstatat): Do not use CHECK_1.
29839         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
29840         <bp-checks.h>.
29841         (__fxstatat64): Do not use CHECK_1.
29842         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
29843         <bp-checks.h>.
29844         (__fxstat): Do not use CHECK_1.
29845         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
29846         <bp-checks.h>.
29847         (__fxstatat): Do not use CHECK_1.
29848         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
29849         <bp-checks.h>.
29850         (__getresgid): Do not use CHECK_1.
29851         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
29852         <bp-checks.h>.
29853         (__getresuid): Do not use CHECK_1.
29854         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
29855         <bp-checks.h>.
29856         (__lxstat): Do not use CHECK_1.
29857         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
29858         <bp-checks.h>.
29859         (__old_msgctl): Do not use CHECK_1.
29860         (__new_msgctl): Likewise.
29861         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
29862         <bp-checks.h>.
29863         (__new_setrlimit): Do not use CHECK_1.
29864         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
29865         <bp-checks.h>.
29866         (__old_shmctl): Do not use CHECK_1.
29867         (__new_shmctl): Likewise.
29868         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
29869         <bp-checks.h>.
29870         (__xstat): Do not use CHECK_1.
29871         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
29872         (__lxstat): Do not use CHECK_1.
29873         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
29874         <bp-checks.h>.
29875         (___lxstat64): Do not use CHECK_1.
29876         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
29877         (__old_msgctl): Do not use CHECK_1.
29878         (__new_msgctl): Likewise.
29879         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
29880         <bp-checks.h>.
29881         (__gettimeofday): Do not use CHECK_1.
29882         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
29883         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
29884         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
29885         <bp-checks.h>.
29886         (__gettimeofday): Do not use CHECK_1.
29887         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
29888         (__old_shmctl): Do not use CHECK_1_NULL_OK.
29889         (__new_shmctl): Do not use CHECK_1.
29890         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
29891         <bp-checks.h>.
29892         (do_sigtimedwait): Do not use CHECK_1.
29893         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
29894         <bp-checks.h>.
29895         (do_sigwaitinfo): Do not use CHECK_1.
29896         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
29897         <bp-checks.h>.
29898         (msgctl): Do not use CHECK_1.
29899         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
29900         <bp-checks.h>.
29901         (shmctl): Do not use CHECK_1.
29902         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
29903         (ustat): Do not use CHECK_1.
29904         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
29905         <bp-checks.h>.
29906         (__fxstat): Do not use CHECK_1.
29907         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
29908         <bp-checks.h>.
29909         (__fxstatat): Do not use CHECK_1.
29910         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
29911         <bp-checks.h>.
29912         (__lxstat): Do not use CHECK_1.
29913         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
29914         <bp-checks.h>.
29915         (__xstat): Do not use CHECK_1.
29916         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
29917         (__xstat): Do not use CHECK_1.
29918         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
29919         (___xstat64): Do not use CHECK_1.
29920
29921         [BZ #13550]
29922         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
29923         definitions.
29924         (CHECK_BOUNDS_HIGH): Likewise.
29925         * string/strcpy.c: Do not include <bp-checks.h>.
29926         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
29927
29928 2013-02-07  Roland McGrath  <roland@hack.frob.com>
29929
29930         * nscd/nscd-client.h (__nscd_drop_map_ref):
29931         Add __attribute__ ((unused)).
29932         * nis/nss-nisplus.h (niserr2nss): Likewise.
29933
29934         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
29935         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
29936
29937         * csu/libc-tls.c (init_static_tls, init_slotinfo):
29938         Remove inline keyword.
29939         * include/rounding-mode.h (round_away): Likewise.
29940         * libio/wfileops.c (adjust_wide_data): Likewise.
29941         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
29942         (__m128i_strloadu_tolower): Likewise.
29943         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
29944         (__m128i_strloadu_tolower): Likewise.
29945         * time/mktime.c (ydhms_diff): Likewise.
29946         * locale/elem-hash.h (elem_hash): Likewise.
29947         * locale/setlocale.c (setdata): Likewise.
29948         * posix/regex_internal.h (re_string_char_size_at): Likewise.
29949         (re_string_wchar_at): Likewise.
29950         (bitset_not, bitset_merge, bitset_mask): Likewise.
29951         [!(__GNUC__ > 3)] (inline): Remove macro.
29952         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
29953         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
29954         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
29955         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
29956         * string/memcmp.c (memcmp_bytes): Likewise.
29957         * locale/programs/locarchive.c (compute_hashval): Likewise.
29958         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
29959         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
29960         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
29961         * nss/getent.c (print_rpc, print_protocols): Likewise.
29962         (print_passwd, print_group, print_aliases): Likewise.
29963         * nis/nss-nisplus.h (niserr2nss): Likewise.
29964         * nscd/connections.c (restart_p): Likewise.
29965         Change return type to bool.
29966
29967 2013-02-05  Roland McGrath  <roland@hack.frob.com>
29968
29969         * Makeconfig (all-Depend-files): Add existing
29970         $(sorted-subdirs:=/Depend) files.
29971         (all-subdirs): Remove nss.
29972         * sysdeps/unix/inet/Subdirs: Add it here instead.
29973         * hesiod/Depend: New file.
29974
29975         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
29976         instead of calling alloca.
29977
29978         * io/lseek.c (__lseek): Rename to __libc_lseek.
29979         Define __lseek as an alias.
29980
29981         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
29982
29983 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
29984
29985         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
29986         else clause and remove check for non-standard endianness.
29987
29988 2013-02-04  David S. Miller  <davem@davemloft.net>
29989
29990         * sysdeps/sparc/fpu/libm-test-ulps: Update.
29991
29992 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
29993
29994         [BZ #13550]
29995         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
29996         (__ubp_memchr): Remove prototype.
29997         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
29998         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
29999         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
30000         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
30001         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
30002         Remove alias.
30003         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
30004         (__ubp_memchr): Likewise.
30005         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
30006         (__ubp_memchr): Likewise.
30007         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
30008         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
30009         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
30010         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
30011         CHECK_STRING.
30012         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
30013         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
30014         (__getcwd): Do not use CHECK_STRING.
30015         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
30016         <bp-checks.h>.
30017         (__real_chown): Do not use CHECK_STRING.
30018         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
30019         <bp-checks.h>.
30020         (fchownat): Do not use CHECK_STRING.
30021         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
30022         CHECK_STRING.
30023         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
30024         <bp-checks.h>.
30025         (__lchown): Do not use CHECK_STRING.
30026         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
30027         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
30028         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
30029         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
30030         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
30031         include <bp-checks.h>.
30032         (truncate64): Do not use CHECK_STRING.
30033         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
30034         <bp-checks.h>.
30035         (__real_chown): Do not use CHECK_STRING.
30036         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
30037         <bp-checks.h>.
30038         (__lchown): Do not use CHECK_STRING.
30039         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
30040         <bp-checks.h>.
30041         (__chown): Do not use CHECK_STRING.
30042         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
30043         <bp-checks.h>.
30044         (truncate64): Do not use CHECK_STRING.
30045         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
30046         Likewise.
30047         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
30048         (__xmknod): Do not use CHECK_STRING.
30049         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
30050         <bp-checks.h>.
30051         (__xmknodat): Do not use CHECK_STRING.
30052         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
30053         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
30054
30055 2013-02-04  Andreas Schwab  <schwab@suse.de>
30056
30057         [BZ #14142]
30058         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
30059         * include/netdb.h: Likewise for h_errno.
30060         * elf/tst-stackguard1.c: Include <tls.h>.
30061
30062 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
30063
30064         * elf/link.h (struct link_map): Extend the l_addr comment.
30065         * include/link.h (struct link_map): Likewise.
30066
30067 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
30068
30069         [BZ #13550]
30070         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
30071         (BOUNDED_1): Remove macro.
30072         * debug/backtrace.c: Don't include <bp-checks.h>.
30073         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
30074         (__backtrace): Likewise.
30075         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
30076         <bp-checks.h>.
30077         (__backtrace): Don't use BOUNDED_1.
30078         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
30079         <bp-checks.h>.
30080         (__backtrace): Don't use BOUNDED_1.
30081         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
30082         (__backtrace): Don't use BOUNDED_1.
30083         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
30084         (shmat): Don't use BOUNDED_N.
30085
30086 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
30087
30088         [BZ #13550]
30089         * sysdeps/generic/bp-start.h: Remove file.
30090         * csu/libc-start.c: Don't include <bp-start.h>.
30091         (LIBC_START_MAIN): Set up __environ directly instead of using
30092         INIT_ARGV_and_ENVIRON.
30093         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
30094         <bp-start.h>.
30095
30096         [BZ #13550]
30097         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
30098         definitions.
30099         (CHECK_FCNTL): Likewise.
30100         (CHECK_N_PAGES): Likewise.
30101
30102         [BZ #13550]
30103         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
30104         definitions.
30105         (CHECK_SIGSET_NULL_OK): Likewise.
30106         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
30107         <bp-checks.h>.
30108         (sigpending): Don't use CHECK_SIGSET.
30109         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
30110         <bp-checks.h>.
30111         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30112         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
30113         <bp-checks.h>.
30114         (do_sigsuspend): Don't use CHECK_SIGSET.
30115         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
30116         use CHECK_SIGSET.
30117         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
30118         (do_sigwait): Don't use CHECK_SIGSET.
30119         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
30120         use CHECK_SIGSET.
30121         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
30122         include <bp-checks.h>.
30123         (sigpending): Don't use CHECK_SIGSET.
30124         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
30125         include <bp-checks.h>.
30126         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30127         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
30128         <bp-checks.h>.
30129         (sigpending): Don't use CHECK_SIGSET.
30130         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
30131         <bp-checks.h>.
30132         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
30133
30134         [BZ #13550]
30135         * sysdeps/generic/bp-semctl.h: Remove file.
30136         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
30137         <bp-checks.h> and <bp-semctl.h>.
30138         (__old_semctl): Don't use CHECK_SEMCTL.
30139         (__new_semctl): Likewise.
30140         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
30141         and <bp-semctl.h>.
30142         (__old_semctl): Don't use CHECK_SEMCTL.
30143         (__new_semctl): Likewise.
30144         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
30145         <bp-checks.h> and <bp-semctl.h>.
30146         (__old_semctl): Don't use CHECK_SEMCTL.
30147         (__new_semctl): Likewise.
30148         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
30149         <bp-checks.h> and <bp-semctl.h>.
30150         (semctl): Don't use CHECK_SEMCTL.
30151
30152         [BZ #13550]
30153         * Makerules (elide-bp-thunks): Remove variable.
30154         (elide-routines.oS): Don't use $(elide-bp-thunks).
30155         (elide-routines.os): Likewise.
30156         (elide-routines.o): Likewise.
30157         (elide-routines.op): Likewise.
30158         (elide-routines.og): Likewise.
30159         (objects): Don't use $(bp-thunks).
30160         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
30161         include.
30162         (common-generated): Do not add s-proto-bp.d.
30163         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
30164         (int): Likewise.
30165         (typ): Likewise.
30166         Do not generate makefile rules for bounded-pointer thunks.
30167         * sysdeps/generic/bp-thunks.h: Remove file.
30168         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
30169         * sysdeps/unix/s-proto-bp.S: Likewise.
30170
30171         [BZ #15062]
30172         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
30173         parts of result separately when argument is not close to line from
30174         -i to i and one part of argument is small.
30175         * math/k_casinhf.c (__kernel_casinhf): Likewise.
30176         * math/k_casinhl.c (__kernel_casinhl): Likewise.
30177         * math/libm-test.inc (cacos_test): Add more tests.
30178         (casin_test): Likewise.
30179         (casinh_test): Likewise.
30180         * sysdeps/i386/fpu/libm-test-ulps: Update.
30181         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30182
30183 2013-01-31  David S. Miller  <davem@davemloft.net>
30184
30185         * po/de.po: Update from translation team.
30186
30187 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
30188
30189         * time/tzfile.c: Include stdint.h for SIZE_MAX.
30190
30191 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
30192
30193         * configure.in (_AC_PROG_CC_C89): New definition.
30194         * configure: Regenerate.
30195
30196         * configure.in (AC_PROG_CPP): New definition.
30197         * configure: Regenerate.
30198
30199 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
30200
30201         * debug/tst-backtrace.h: New file.
30202         * debug/tst-backtrace2.c: Include tst-backtrace.h.
30203         (ret): Remove variable.
30204         (x): Likewise.
30205         (FAIL): Remove macro.
30206         (NO_INLINE): Likewise.
30207         (fn1): Use match function instead of strstr.
30208         * debug/tst-backtrace3.c: Include tst-backtrace.h.
30209         (ret): Remove variable.
30210         (x): Likewise.
30211         (FAIL): Remove macro.
30212         (NO_INLINE): Likewise.
30213         (fn): Use match function instead of strstr.
30214         * debug/tst-backtrace4.c: Include tst-backtrace.h.
30215         (ret): Remove variable.
30216         (x): Likewise.
30217         (FAIL): Remove macro.
30218         (NO_INLINE): Likewise.
30219         (handle_signal): Use match function instead of strstr.
30220         * debug/tst-backtrace5.c: Include tst-backtrace.h.
30221         (ret): Remove variable.
30222         (x): Likewise.
30223         (FAIL): Remove macro.
30224         (NO_INLINE): Likewise.
30225         (handle_signal): Use match function instead of strstr.
30226
30227 2013-01-23  Roland McGrath  <roland@hack.frob.com>
30228
30229         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
30230
30231 2013-01-23  David S. Miller  <davem@davemloft.net>
30232
30233         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
30234         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
30235         argument of CAS if possible.
30236         * sysdeps/sparc/sparc64/bits/atomic.h
30237         (__arch_compare_and_exchange_val_32_acq): Likewise.
30238         (__arch_compare_and_exchange_val_64_acq): Likewise.
30239
30240 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
30241
30242         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
30243         * sysdeps/posix/ulimit.c: ... this.
30244         Include <limits.h>.
30245         * sysdeps/unix/bsd/ulimit.c: Remove file.
30246
30247 2013-01-23  Adam Conrad  <adconrad@0c3.net>
30248
30249         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
30250         (LDFLAGS-tst-array5): Likewise.
30251
30252 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
30253
30254         [BZ #15036]
30255         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
30256         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
30257         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
30258         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
30259
30260 2013-01-21  David S. Miller  <davem@davemloft.net>
30261
30262         * sysdeps/sparc/backtrace.c: New file.
30263         * sysdeps/sparc/sparc32/backtrace.h: New file.
30264         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
30265         * sysdeps/sparc/sparc64/backtrace.h: New file.
30266         * sysdeps/sparc/sparc64/backtrace.c: Delete.
30267         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
30268         -funwind-tables.
30269
30270 2013-01-21  Andreas Schwab  <schwab@suse.de>
30271
30272         [BZ #15020]
30273         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
30274         closed its stdout.
30275
30276 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
30277
30278         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
30279         "mpa2.h".
30280         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30281
30282 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
30283             Mark Mitchell  <mark@codesourcery.com>
30284             Tom de Vries  <tom@codesourcery.com>
30285             Paul Pluzhnikov  <ppluzhnikov@google.com>
30286
30287         * debug/tst-backtrace2.c: New file.
30288         * debug/tst-backtrace3.c: Likewise.
30289         * debug/tst-backtrace4.c: Likewise.
30290         * debug/tst-backtrace5.c: Likewise.
30291         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
30292         (CFLAGS-tst-backtrace3.c): Likewise.
30293         (CFLAGS-tst-backtrace4.c): Likewise.
30294         (CFLAGS-tst-backtrace5.c): Likewise.
30295         (LDFLAGS-tst-backtrace2): Likewise.
30296         (LDFLAGS-tst-backtrace3): Likewise.
30297         (LDFLAGS-tst-backtrace4): Likewise.
30298         (LDFLAGS-tst-backtrace5): Likewise.
30299         (tests): Add new tests tst-backtrace2, tst-backtrace3,
30300         tst-backtrace4 and tst-backtrace5.
30301
30302 2013-01-18  Anton Blanchard  <anton@samba.org>
30303             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
30304
30305         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
30306         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
30307         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
30308         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
30309         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30310         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
30311         "+r" and remove output regs list as redundant.  Add explicit inline
30312         asm to specify register of return val to work around compiler codegen
30313         bug.  Remove (int) cast on return value.  Add return type parameter to
30314         use in macro so that this macro does not truncate return value for
30315         64-bit values.
30316         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
30317         pass to INTERNAL_VSYSCALL_NCS.
30318         (INLINE_VSYSCALL): Add 'long int' as return type to
30319         INTERNAL_VSYSCALL_NCS macro invocation.
30320         (INTERNAL_VSYSCALL): Add 'long int' as return type to
30321         INTERNAL_VSYSCALL_NCS macro invocation.
30322         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
30323
30324 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
30325
30326         [BZ #14496]
30327         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
30328         Fix application of SIMD FP exception mask.
30329
30330         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
30331         mp_no from a power of two.
30332         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
30333         __mpexp_twomm1.  Use __pow_mp.
30334
30335         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
30336         multiplication.
30337
30338 2013-01-17  David S. Miller  <davem@davemloft.net>
30339
30340         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30341
30342 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
30343
30344         [BZ #15023]
30345         * include/complex.h: Condition contents on [!_COMPLEX_H].
30346         (__kernel_casinhf): New prototype.
30347         (__kernel_casinh): Likewise.
30348         (__kernel_casinhl): Likewise.
30349         * math/Makefile (libm_calls): Add k_casinh.
30350         * math/k_casinh.c: New file.
30351         * math/k_casinhf.c: Likewise.
30352         * math/k_casinhl.c: Likewise.
30353         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
30354         finite nonzero arguments.
30355         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
30356         finite nonzero arguments.
30357         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
30358         finite nonzero arguments.
30359         * math/s_casinh.c: Do not include <float.h>.
30360         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
30361         * math/s_casinhf.c: Do not include <float.h>.
30362         (__casinhf): Move code for finite nonzero arguments to
30363         k_casinhf.c.
30364         * math/s_casinhl.c: Do not include <float.h>.
30365         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
30366         redefine.
30367         (__casinhl): Move code for finite nonzero arguments to
30368         k_casinhl.c.
30369         * math/libm-test.inc (cacos_test): Add more tests.
30370         * sysdeps/i386/fpu/libm-test-ulps: Update.
30371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30372
30373 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
30374
30375         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
30376         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
30377         [!HAVE_MREMAP]: Remove [defined linux] case.
30378         * malloc/arena.c: Do not include <malloc-sysdep.h>.
30379
30380 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
30381
30382         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
30383
30384 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
30385
30386         * elf/elf.h (R_386_SIZE32): New relocation.
30387         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
30388         R_386_SIZE32.
30389         (elf_machine_rela): Likewise.
30390         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
30391         R_X86_64_SIZE64 and R_X86_64_SIZE32.
30392
30393 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
30394
30395         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
30396         (FP_FAST_FMA): Do not define.
30397         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
30398         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
30399         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
30400         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
30401         !_SOFT_FLOAT]: Likewise.
30402         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
30403         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
30404         value.
30405         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
30406         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
30407         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
30408         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
30409         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
30410         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
30411         file.
30412
30413 2013-01-16  Andreas Schwab  <schwab@suse.de>
30414
30415         [BZ #14327]
30416         * include/stdlib.h (__mktemp): Add declaration.
30417         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
30418         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
30419
30420 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
30421
30422         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
30423         definitions.
30424         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
30425         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
30426         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
30427         definitions here.
30428         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
30429         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
30430         definitions.
30431         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
30432         and ONE.
30433         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
30434         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
30435         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
30436         definitions.
30437         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
30438         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
30439         definitions.
30440         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
30441
30442         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
30443
30444 2013-01-15  David S. Miller  <davem@davemloft.net>
30445
30446         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30447         trunc{,f} to libm-sysdep_routes.
30448         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30449         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
30450         file.
30451         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
30452         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
30453         file.
30454         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
30455         file.
30456         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
30457         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
30458         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
30459         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
30460         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
30461         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
30462         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
30463         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
30464
30465         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30466         nearbyint{,f} to libm-sysdep_routes.
30467         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30468         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
30469         New file.
30470         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
30471         file.
30472         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
30473         New file.
30474         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
30475         file.
30476         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
30477         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
30478         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
30479         file.
30480         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
30481         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
30482         file.
30483         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
30484         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
30485         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
30486
30487         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
30488         libc_feholdexcept and libc_fesetenv.
30489
30490 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
30491
30492         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
30493
30494 2013-01-14  David S. Miller  <davem@davemloft.net>
30495
30496         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
30497         (SPARC_ASM_VIS2_IFUNC): Likewise.
30498         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
30499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
30500         use of 'siam' instruction.
30501         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
30502         Likewise.
30503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
30504         Likewise.
30505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
30506         Likewise.
30507         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
30508         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
30509         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
30510         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
30511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
30512         file.
30513         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
30514         file.
30515         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
30516         file.
30517         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
30518         file.
30519         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
30520         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
30521         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
30522         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
30523         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
30524         new VIS2 routines.
30525         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
30526         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
30527         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
30528         Likewise.
30529         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
30530         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
30531         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
30532         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
30533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
30534         routines to libm-sysdep_routines.
30535         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
30536
30537         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
30538         fdim/fdimf to libm-sysdep_routines.
30539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
30540         file.
30541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
30542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
30543         file.
30544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
30545         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
30546         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
30547         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
30548         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
30549         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
30550         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
30551
30552 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
30553
30554         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
30555         to optimize copies.
30556
30557         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
30558         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30559         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
30560
30561         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
30562         local variable MPTWO.
30563         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
30564         Likewise.
30565
30566 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30567
30568         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
30569         GLOB_NOESCAPE.
30570
30571 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30572
30573         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
30574
30575 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
30576
30577         * manual/pattern.texi (glob_t): Document gl_flags.
30578         (glob64_t): Likewise.
30579
30580 2013-01-11  David S. Miller  <davem@davemloft.net>
30581
30582         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
30583         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
30584         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
30585         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
30586         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
30587         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
30588         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
30589         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
30590         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
30591         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
30592         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
30593         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
30594         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
30595
30596         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30597         sparc V9 rather than using V8 code.
30598         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30599         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30600
30601         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
30602         Move to...
30603         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
30604         Here.
30605
30606 2013-01-11  Roland McGrath  <roland@hack.frob.com>
30607
30608         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
30609         not in the main loop.
30610         * configure: Regenerated.
30611
30612 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
30613
30614         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
30615         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
30616         to just #else.
30617         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
30618         [!__GLIBC_HAVE_LONG_LONG] case.
30619         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
30620         condition to just #else.
30621         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
30622         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
30623         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
30624         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
30625         unconditional.
30626         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
30627         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30628         #elif condition to just #else.
30629         * sysdeps/unix/sysv/linux/sys/sysmacros.h
30630         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
30631         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
30632         #elif condition to just #else.
30633
30634 2013-01-11  Steve Ellcey  <sellcey@mips.com>
30635
30636         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
30637         (EF_MIPS_ARCH_64): Fix value.
30638         (EF_MIPS_ARCH_32R2): New.
30639         (EF_MIPS_ARCH_64R2): New.
30640
30641 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
30642
30643         * Makeconfig (+link-pie-before-libc): New.
30644         (+link-pie-after-libc): Likewise.
30645         (+link-pie-tests): Likewise.
30646         (+link-pie): Rewritten.
30647         (link-before-libc): Remove $(config-LDFLAGS).
30648         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
30649         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
30650         (config-LDFLAGS): Renamed to ...
30651         (rtld-LDFLAGS): This.
30652         (rtld-tests-LDFLAGS): New macro.
30653         (link-libc-rpath-link): Likewise.
30654         (link-libc-tests-rpath-link): Likewise.
30655         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
30656         (link-libc): Prepand $(link-libc-rpath-link).
30657         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
30658         (test-program-prefix): New macro.
30659         (test-via-rtld-prefix): Likewise.
30660         (test-program-cmd): Likewise.
30661         (host-test-program-cmd): Likewise.
30662         * Makefile ($(common-objpfx)testrun.sh): Replace
30663         $(run-program-prefix) with $(test-program-prefix).
30664         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
30665         $(rtld-LDFLAGS).
30666         ($(common-objpfx)shlib.lds): Likewise.
30667         (build-module-helper): Likewise.
30668         ($(common-objpfx)format.lds): Likewise.
30669         * Rules (binaries-pie-tests): New.
30670         (binaries-pie-notests): Likewise.
30671         (binaries-pie): Rewritten.
30672         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
30673         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
30674         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
30675         (make-test-out): Replace $(host-built-program-cmd) with
30676         $(host-test-program-cmd).
30677         * config.make.in (build-hardcoded-path-in-tests): New variable.
30678         * configure.in (--enable-hardcoded-path-in-tests): New configure
30679         option.
30680         (hardcoded_path_in_tests): New AC_SUBST.
30681         * configure: Regenerated.
30682         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
30683         $(built-program-cmd) with $(test-program-cmd).
30684         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
30685         (test_program_cmd): This.
30686         * elf/Makefile ($(objpfx)order.out): Run test with
30687         $(test-program-prefix).
30688         ($(objpfx)order2.out): Likewise.
30689         ($(objpfx)tst-initorder.out): Likewise.
30690         ($(objpfx)tst-initorder2.out): Likewise.
30691         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
30692         $(test-program-cmd).
30693         ($(objpfx)tst-array1-static.out): Likewise.
30694         ($(objpfx)tst-array2.out): Likewise.
30695         ($(objpfx)tst-array3.out): Likewise.
30696         ($(objpfx)tst-array4.out): Likewise.
30697         ($(objpfx)tst-array5.out): Likewise.
30698         ($(objpfx)tst-array5-static.out): Likewise.
30699         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
30700         $(test-program-cmd).
30701         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
30702         $(run-program-prefix) with $(test-program-prefix).
30703         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
30704         (test_program_prefix): This.
30705         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
30706         $(run-program-prefix) with $(test-program-prefix).
30707         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
30708         (test_program_prefix): This.
30709         * iconvdata/tst-tables.sh: Likewise.
30710         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
30711         $(run-program-prefix) with $(test-program-prefix).
30712         ($(objpfx)tst-translit.out): Likewise.
30713         ($(objpfx)tst-gettext2.out): Likewise.
30714         ($(objpfx)tst-gettext4.out): Likewise.
30715         ($(objpfx)tst-gettext6.out): Likewise.
30716         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
30717         (test_program_prefix): This.
30718         * intl/tst-gettext2.sh: Likewise.
30719         * intl/tst-gettext4.sh  Likewise.
30720         * intl/tst-gettext6.sh: Likewise.
30721         * intl/tst-translit.sh: Likewise.
30722         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
30723         with $(test-program-cmd).
30724         * libio/Makefile ($(objpfx)test-freopen.out): Replace
30725         $(run-program-prefix) with $(test-program-prefix).
30726         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
30727         (test_program_prefix): This.
30728         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
30729         $(run-program-prefix) with $(test-program-prefix).
30730         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
30731         (test_program_prefix): This.
30732         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
30733         * posix/Makefile ($(objpfx)globtest.out): Replace
30734         $(run-via-rtld-prefix) and $(test-wrapper) with
30735         $(test-program-prefix) and $(test-via-rtld-prefix).
30736         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
30737         $(test-program-prefix).
30738         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
30739         $(host-test-program-cmd).
30740         (tst-spawn-ARGS): Likewise.
30741         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
30742         $(test-program-prefix).
30743         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
30744         (test_via_rtld_prefix): This.
30745         (test_wrapper): Renamed to ...
30746         (test_program_prefix): This.
30747         (run_program_prefix): Replaced by test_program_prefix.
30748         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
30749         (test_program_prefix): This.
30750         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
30751         with $(host-test-program-cmd).
30752         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
30753         $(run-program-prefix) with $(test-program-prefix).
30754         ($(objpfx)tst-printf.out): Likewise.
30755         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
30756         $(test-program-cmd).
30757         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
30758         (test_program_prefix): This.
30759         * stdio-common/tst-unbputc.sh: Likewise.
30760         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
30761         $(run-program-prefix) with $(test-program-prefix).
30762         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
30763         (test_program_prefix): This.
30764         * string/Makefile ($(objpfx)tst-svc.out):  Replace
30765         $(built-program-cmd) with $(test-program-cmd).
30766
30767 2013-01-11  Andreas Jaeger  <aj@suse.de>
30768
30769         [BZ #15003]
30770         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
30771         value. Sync with Linux 3.7.
30772
30773 2013-01-10  David S. Miller  <davem@davemloft.net>
30774
30775         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
30776         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30777         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30778
30779 2013-01-10  Roland McGrath  <roland@hack.frob.com>
30780
30781         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
30782         never set.
30783         * configure: Regenerated.
30784
30785 2013-01-10  David S. Miller  <davem@davemloft.net>
30786
30787         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
30788         sparc V9 rather than using V8 code.
30789         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
30790         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
30791
30792 2013-01-10  Roland McGrath  <roland@hack.frob.com>
30793
30794         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
30795         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
30796         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
30797         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
30798         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
30799         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
30800         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
30801         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
30802         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
30803         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
30804         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
30805         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
30806         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
30807         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
30808         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
30809         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
30810         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
30811         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
30812         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
30813         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
30814         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
30815         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
30816         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
30817         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
30818         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
30819         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
30820         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
30821
30822 2013-01-10  David S. Miller  <davem@davemloft.net>
30823
30824         * sysdeps/sparc/fpu/libm-test-ulps: Update.
30825
30826 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
30827
30828         * posix/Makefile (tests-static): New variable.
30829         (tests): Add $(tests-static).
30830         (tst-exec-static-ARGS): New variable.
30831         (tst-spawn-static-ARGS): Likewise.
30832         * posix/tst-exec-static.c: New file.
30833         * posix/tst-spawn-static.c: Likewise.
30834         * posix/tst-exec.c: Support run directly.
30835         * posix/tst-spawn.c: Likewise.
30836
30837 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
30838
30839         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
30840         long.
30841         * math/bits/mathcalls.h (llrint): Likewise.
30842         (llround): Likewise.
30843         * stdlib/stdlib.h (struct drand48_data): Likewise.
30844         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
30845         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
30846         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
30847         Likewise.
30848         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
30849         Likewise.
30850         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
30851         (elf_greg_t): Likewise.
30852         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
30853         (__jmp_buf): Likewise.
30854         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
30855         definitions.
30856         (llrint): Likewise, for all definitions.
30857         (llrintl): Likewise.
30858
30859         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
30860         Remove [__GNUC__] condition.
30861         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
30862         condition to just [__USE_ISOC99].
30863         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
30864
30865 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
30866
30867         [BZ #14200]
30868         * sysdeps/unix/sysv/linux/x86/bits/environments.h
30869         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
30870         defined.
30871         (_POSIX_V6_ILP32_OFF32): Likewise.
30872         (_XBS5_ILP32_OFF32): Likewise.
30873         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
30874         (__ILP32_OFFBIG_LDFLAGS): Likewise.
30875
30876 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
30877
30878         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
30879
30880         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
30881         doubles __mpexp_twomm1.  Adjust usage.
30882         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
30883         Remove.
30884
30885 2013-01-10  Andreas Schwab  <schwab@suse.de>
30886
30887         [BZ #14964]
30888         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
30889         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
30890
30891 2013-01-09  David S. Miller  <davem@davemloft.net>
30892
30893         [BZ #15003]
30894         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
30895         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
30896         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
30897         (TCP_FASTOPEN): Define.
30898         (tcp_repair_opt): New structure.
30899         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
30900         enum values.
30901         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
30902         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
30903         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
30904         (tcp_cookie_transactions): New structure.
30905
30906 2013-01-09  Anton Blanchard  <anton@samba.org>
30907
30908         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
30909         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
30910         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
30911         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
30912
30913 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
30914
30915         * include/features.h (__USE_ANSI): Remove.
30916
30917 2013-01-09  Roland McGrath  <roland@hack.frob.com>
30918
30919         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
30920
30921         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
30922
30923 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
30924
30925         * sysdeps/s390/fpu/libm-test-ulps: Update.
30926
30927         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30928
30929         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
30930         (__acr): Likewise.
30931         (__cpy): Likewise.
30932         (norm): Likewise.
30933         (denorm): Likewise.
30934         (__mp_dbl): Likewise.
30935         (__dbl_mp): Likewise.
30936         (add_magnitudes): Likewise.
30937         (sub_magnitudes): Likewise.
30938         (__add): Likewise.
30939         (__sub): Likewise.
30940         (__mul): Likewise.
30941         (__inv): Likewise.
30942         (__dvd): Likewise.
30943         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
30944         (__acr): Likewise.
30945         (__cpy): Likewise.
30946         (norm): Likewise.
30947         (denorm): Likewise.
30948         (__mp_dbl): Likewise.
30949         (__dbl_mp): Likewise.
30950         (add_magnitudes): Likewise.
30951         (sub_magnitudes): Likewise.
30952         (__add): Likewise.
30953         (__sub): Likewise.
30954         (__mul): Likewise.
30955         (__inv): Likewise.
30956         (__dvd): Likewise.
30957         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
30958         (__acr): Likewise.
30959         (__cpy): Likewise.
30960         (norm): Likewise.
30961         (denorm): Likewise.
30962         (__mp_dbl): Likewise.
30963         (__dbl_mp): Likewise.
30964         (add_magnitudes): Likewise.
30965         (sub_magnitudes): Likewise.
30966         (__add): Likewise.
30967         (__sub): Likewise.
30968         (__mul): Likewise.
30969         (__inv): Likewise.
30970         (__dvd): Likewise.
30971
30972 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
30973
30974         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
30975         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
30976         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
30977         2 && __USE_EXTERN_INLINES]: Likewise.
30978
30979 2013-01-08  Andreas Jaeger  <aj@suse.de>
30980
30981         [BZ# 14985]
30982         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
30983         Remove.
30984         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30985         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
30986
30987 2013-01-07  Anton Blanchard  <anton@samba.org>
30988
30989         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
30990         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
30991         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
30992         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
30993         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
30994         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
30995         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
30996         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
30997         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
30998         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
30999         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
31000         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
31001         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
31002         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
31003         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
31004         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
31005         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
31006         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
31007         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
31008         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
31009         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
31010         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
31011         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
31012         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
31013         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
31014         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
31015         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
31016         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
31017         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
31018         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
31019         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
31020         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31021         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31022         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
31023         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
31024         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
31025         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
31026         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
31027         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
31028         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
31029         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
31030         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
31031         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
31032
31033 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
31034
31035         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
31036         (__MALLOC_PMT): Likewise.
31037         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
31038         [__GNUC__], only on [_LIBC].
31039         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31040         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
31041         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
31042         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
31043         forward declaration.
31044         (realloc_hook_ini): Likewise.
31045         (memalign_hook_ini): Likewise.
31046         (__libc_memalign): Do not use __MALLOC_PMT in variable
31047         declaration.
31048         (__libc_valloc): Likewise.
31049         (__libc_pvalloc): Likewise.
31050         (__libc_calloc): Likewise.
31051         (__posix_memalign): Likewise.
31052
31053         [BZ #14996]
31054         * math/s_casinh.c: Include <float.h>.
31055         (__casinh): Do not do computation with squaring and square root
31056         for large arguments.
31057         * math/s_casinhf.c: Include <float.h>.
31058         (__casinhf): Do not do computation with squaring and square root
31059         for large arguments.
31060         * math/s_casinhl.c: Include <float.h>.
31061         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
31062         (__casinhl): Do not do computation with squaring and square root
31063         for large arguments.
31064         * math/libm-test.inc (casin_test): Add more tests.
31065         (casinh_test): Likewise.
31066         * sysdeps/i386/fpu/libm-test-ulps: Update.
31067         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31068
31069 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
31070
31071         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
31072         (__x86_64_raw_data_cache_size): Likewise.
31073         (__x86_64_data_cache_size_half): Likewise.
31074         (__x86_64_raw_data_cache_size_half): Likewise.
31075         (__x86_64_shared_cache_size): Likewise.
31076         (__x86_64_raw_shared_cache_size): Likewise.
31077         (__x86_64_shared_cache_size_half): Likewise.
31078         (__x86_64_raw_shared_cache_size_half): Likewise.
31079         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
31080         to ...
31081         (__x86_data_cache_size): This.
31082         (__x86_64_raw_data_cache_size): Renamed to ...
31083         (__x86_raw_data_cache_size): This.
31084         (__x86_64_data_cache_size_half): Renamed to ...
31085         (__x86_data_cache_size_half): This.
31086         (__x86_64_raw_data_cache_size_half): Renamed to ...
31087         (__x86_raw_data_cache_size_half): This.
31088         (__x86_64_shared_cache_size): Renamed to ...
31089         (__x86_shared_cache_size): This.
31090         (__x86_64_raw_shared_cache_size): Renamed to ...
31091         (__x86_raw_shared_cache_size): This.
31092         (__x86_64_shared_cache_size_half): Renamed to ...
31093         (__x86_shared_cache_size_half): This.
31094         (__x86_64_raw_shared_cache_size_half): Renamed to ...
31095         (__x86_raw_shared_cache_size_half): This.
31096         * sysdeps/x86_64/memcpy.S: Updated.
31097         * sysdeps/x86_64/memset.S: Likewise.
31098         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
31099         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
31100         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
31101
31102 2013-01-04  David S. Miller  <davem@davemloft.net>
31103
31104         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31105
31106 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
31107
31108         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
31109         1 to avoid redefinition warning.
31110         (__USE_GNU): Don't define.
31111         (init_signaling_nan): Protoize.
31112
31113         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31114
31115 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31116
31117         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
31118         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
31119         (__cpymn): Likewise.
31120         (norm): Remove commented code.
31121         (denorm): Likewise.
31122         (__mp_dbl): Likewise.
31123         (__inv): Likewise.
31124         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
31125         (__cpymn): Likewise.
31126         (norm): Remove commented code.
31127         (denorm): Likewise.
31128         (__mp_dbl): Likewise.
31129         (__inv): Likewise.
31130
31131         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
31132         mp_no value for 1.0 and 2.0.
31133         (norm): Use RADIXI instead of radixi.d.
31134         (denorm): Likewise.
31135         (__mul): Use 0.0 instead of zero.d.
31136         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
31137         mp_no value for 1.0 and 2.0.
31138         (norm): Use RADIXI instead of radixi.d.
31139         (denorm): Likewise.
31140         (__mul): Use 0.0 instead of zero.d.
31141
31142 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
31143
31144         [BZ #14994]
31145         * math/s_casinh.c (__casinh): Reduce finite argument to first
31146         quadrant then set signs of results at the end.
31147         * math/s_casinhf.c (__casinhf): Likewise.
31148         * math/s_casinhl.c (__casinhl): Likewise.
31149         * math/libm-test.inc (casin_test): Add more tests.
31150         (casinh_test): Likewise.
31151         * sysdeps/i386/fpu/libm-test-ulps: Update.
31152         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31153
31154 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
31155
31156         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
31157
31158         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
31159
31160         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
31161         declarations.
31162         (denorm): Likewise.
31163         (__mp_dbl): Likewise.
31164         (__inv): Likewise.
31165
31166         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
31167         and adjust the header comment.
31168
31169         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
31170         variable name from declaration.
31171
31172 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
31173
31174         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
31175         Initialize COMMON_CPUID_INDEX_7 element.
31176         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
31177         (CPUID_RTM): Likewise.
31178         (HAS_RTM): Likewise.
31179         (COMMON_CPUID_INDEX_7): New enum.
31180
31181 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
31182
31183         [BZ #14981]
31184         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
31185         size is zero, record memory as freed.
31186
31187 2013-01-03  Andreas Jaeger  <aj@suse.de>
31188
31189         * po/ia.po: Add new Interlingua translation.
31190
31191 2012-01-03  Allan McRae  <allan@archlinux.org>
31192
31193         * locale/programs/localedef.c: Fix description of '--posix' flag.
31194
31195 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
31196
31197         * NEWS: Update dates in second copyright notice.
31198         * README: Update copyright dates in example.
31199         * manual/libc.texinfo: Update copyright dates.
31200         * scripts/test-installation.pl: Update copyright date in --version
31201         output.
31202
31203         * hurd/ctty-input.c: Fix copyright notice formatting.
31204         * hurd/ctty-output.c: Likewise.
31205         * hurd/dtable.c: Likewise.
31206         * hurd/hurd-raise.c: Likewise.
31207         * hurd/hurdprio.c: Likewise.
31208         * hurd/msgportdemux.c: Likewise.
31209         * misc/sys/file.h: Likewise.
31210         * misc/sys/ioctl.h: Likewise.
31211         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
31212         * sysdeps/mach/hurd/chdir.c: Likewise.
31213         * sysdeps/mach/hurd/fchdir.c: Likewise.
31214         * sysdeps/mach/hurd/rename.c: Likewise.
31215         * sysdeps/mach/hurd/rmdir.c: Likewise.
31216         * sysdeps/mach/hurd/seekdir.c: Likewise.
31217         * sysdeps/mach/hurd/setsid.c: Likewise.
31218         * sysdeps/posix/wait3.c: Likewise.
31219
31220         * All files with FSF copyright notices: Update copyright dates
31221         using scripts/update-copyrights.
31222         * intl/plural.c: Regenerated.
31223         * locale/programs/charmap-kw.h: Likewise.
31224         * locale/programs/locfile-kw.h: Likewise.
31225
31226 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
31227
31228         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
31229         four values.
31230
31231         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
31232         calculation loop and add branch prediction.
31233
31234         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
31235         check access beyond bounds of m1np.
31236
31237         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31238         MPTWO.
31239         (__inv): Remove local variable MPTWO to use the global
31240         constant.
31241         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
31242         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31243         variable MPTWO.
31244         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
31245         MP3HALFS static const.
31246
31247 2013-01-01  David S. Miller  <davem@davemloft.net>
31248
31249         * po/ca.po: Update from translation team.
31250
31251 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
31252
31253         * scripts/update-copyrights: New file.
31254         * Makeconfig: Reformat copyright notice.
31255         * ctype/ctype.h: Likewise.
31256         * debug/swprintf_chk.c: Likewise.
31257         * elf/dl-cache.c: Likewise.
31258         * elf/dl-debug.c: Likewise.
31259         * elf/dl-object.c: Likewise.
31260         * grp/initgroups.c: Likewise.
31261         * hurd/Makefile: Likewise.
31262         * hurd/hurd/signal.h: Likewise.
31263         * hurd/hurdfault.c: Likewise.
31264         * hurd/hurdioctl.c: Likewise.
31265         * hurd/hurdlookup.c: Likewise.
31266         * hurd/intr-msg.c: Likewise.
31267         * iconv/gconv_open.c: Likewise.
31268         * libio/swprintf.c: Likewise.
31269         * locale/lc-ctype.c: Likewise.
31270         * locale/nl_langinfo.c: Likewise.
31271         * mach/Machrules: Likewise.
31272         * mach/Makefile: Likewise.
31273         * malloc/obstack.h: Likewise.
31274         * manual/Makefile: Likewise.
31275         * manual/tsort.awk: Likewise.
31276         * misc/bits/stab.def: Likewise.
31277         * nis/nis_print_group_entry.c: Likewise.
31278         * nis/nis_table.c: Likewise.
31279         * nis/nss_compat/compat-pwd.c: Likewise.
31280         * nis/nss_compat/compat-spwd.c: Likewise.
31281         * po/Makefile: Likewise.
31282         * posix/fnmatch.c: Likewise.
31283         * posix/regex.h: Likewise.
31284         * resolv/Makefile: Likewise.
31285         * resolv/nss_dns/dns-network.c: Likewise.
31286         * resolv/res_hconf.c: Likewise.
31287         * scripts/gen-sorted.awk: Likewise.
31288         * soft-fp/soft-fp.h: Likewise.
31289         * stdio-common/printf.h: Likewise.
31290         * stdlib/monetary.h: Likewise.
31291         * stdlib/random.c: Likewise.
31292         * stdlib/random_r.c: Likewise.
31293         * sysdeps/generic/Makefile: Likewise.
31294         * sysdeps/gnu/Makefile: Likewise.
31295         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31296         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31297         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31298         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31299         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31300         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31301         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31302         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31303         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31304         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31305         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31306         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31307         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31308         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31309         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
31310         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31311         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31312         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31313         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31314         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31315         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31316         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31317         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31318         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
31319         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
31320         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31321         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
31322         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
31323         * sysdeps/mach/hurd/errnos.awk: Likewise.
31324         * sysdeps/mach/hurd/fork.c: Likewise.
31325         * sysdeps/mach/hurd/getcwd.c: Likewise.
31326         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
31327         * sysdeps/mach/hurd/mmap.c: Likewise.
31328         * sysdeps/mach/hurd/utimes.c: Likewise.
31329         * sysdeps/mach/hurd/xmknod.c: Likewise.
31330         * sysdeps/posix/profil.c: Likewise.
31331         * sysdeps/posix/readdir_r.c: Likewise.
31332         * sysdeps/powerpc/bits/mathdef.h: Likewise.
31333         * sysdeps/powerpc/bits/setjmp.h: Likewise.
31334         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
31335         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
31336         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
31337         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
31338         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
31339         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
31340         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
31341         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
31342         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
31343         * sysdeps/pthread/lio_listio.c: Likewise.
31344         * sysdeps/sparc/dl-procinfo.h: Likewise.
31345         * sysdeps/unix/i386/sysdep.S: Likewise.
31346         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
31347         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
31348         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
31349         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
31350         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
31351         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
31352         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
31353         * sysdeps/unix/sysv/linux/speed.c: Likewise.
31354         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
31355         * sysdeps/wordsize-32/divdi3.c: Likewise.
31356         * time/sys/time.h: Likewise.
31357         * wcsmbs/Makefile: Likewise.
31358
31359 2013-01-01  David S. Miller  <davem@davemloft.net>
31360
31361         * po/fr.po: Update from translation team.
31362
31363         * catgets/gencat.c: Update copyright year.
31364         * csu/version.c: Likewise.
31365         * debug/catchsegv.sh: Likewise.
31366         * debug/pcprofiledump.c: Likewise.
31367         * debug/xtrace.sh: Likewise.
31368         * elf/ldconfig.c: Likewise.
31369         * elf/ldd.bash.in: Likewise.
31370         * elf/pldd.c: Likewise.
31371         * elf/sotruss.ksh: Likewise.
31372         * elf/sprof.c: Likewise.
31373         * iconv/iconv_prog.c: Likewise.
31374         * iconv/iconvconfig.c: Likewise.
31375         * locale/programs/locale.c: Likewise.
31376         * locale/programs/localedef.c: Likewise.
31377         * login/programs/pt_chown.c: Likewise.
31378         * malloc/memusage.sh: Likewise.
31379         * malloc/memusagestat.c: Likewise.
31380         * malloc/mtrace.pl: Likewise.
31381         * nscd/nscd.c: Likewise.
31382         * nss/getent.c: Likewise.
31383         * nss/makedb.c: Likewise.
31384         * posix/getconf.c: Likewise.
31385
31386 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
31387
31388         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
31389         numbers.
31390
31391 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
31392
31393         * math/bits/mathcalls.h (modf): Use __nonnull.
31394
31395 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
31396
31397         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
31398         (split): Use macro CN instead of the bare value.
31399         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
31400         could be used.
31401         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
31402         instead of the bare value.
31403         (power1): Likewise.
31404
31405 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31406
31407         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
31408         __ATAN_TWOM.
31409         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31410
31411         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
31412         their values.
31413         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
31414         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
31415         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
31416         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
31417
31418 2012-12-28  Andreas Jaeger  <aj@suse.de>
31419
31420         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
31421         values are from Linux 3.7.
31422
31423         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
31424         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
31425
31426 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31427
31428         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
31429         TRUE case.
31430
31431         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
31432         (norm): Likewise.
31433         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
31434         variables with preprocessor constants.
31435         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31436         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31437         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31438
31439 2012-12-27  Bruno Haible  <bruno@clisp.org>
31440
31441         [BZ #14317]
31442         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
31443         only if needed.
31444
31445 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31446
31447         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
31448         and use variable directly.
31449         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
31450
31451         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
31452         MPONE.
31453         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
31454         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
31455         variable MPONE.
31456         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
31457         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
31458         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
31459         include directive.  Remove local variable MPONE.
31460         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
31461         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
31462         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31463
31464 2012-12-25  David S. Miller  <davem@davemloft.net>
31465
31466         * version.h (RELEASE): Set to "development".
31467         (VERSION): Set to "2.17.90".
31468         * NEWS: Add 2.18 section.
31469
31470 2012-12-21  David S. Miller  <davem@davemloft.net>
31471
31472         * po/hr.po: Update from translation team.
31473
31474 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
31475
31476         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
31477
31478 2012-12-19  Steve Ellcey  <sellcey@mips.com>
31479
31480         * NEWS:  Mention new memcpy for MIPS.
31481
31482 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
31483
31484         * manual/contrib.texi (Contributors): Spelling correction.
31485
31486 2012-12-15  David S. Miller  <davem@davemloft.net>
31487
31488         * po/ru.po: Update from translation team.
31489
31490 2012-12-13  David S. Miller  <davem@davemloft.net>
31491
31492         * NEWS: Mention IFUNC testsuite enhancements.
31493
31494         * po/pl.po: Update from translation team.
31495         * po/bg.po: Likewise.
31496
31497         * manual/contrib.texi (Contributors): Update entries for Hongjiu
31498         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
31499
31500 2012-12-11  David S. Miller  <davem@davemloft.net>
31501
31502         * po/sv.po: Update from translation team.
31503
31504         * po/vi.po: Update from translation team.
31505
31506         * po/cs.po: Update from translation team.
31507
31508         * po/de.po: Update from translation team.
31509         * po/eo.po: Likewise.
31510         * po/nl.po: Likewise.
31511
31512 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
31513
31514         [BZ #14246]
31515         * manual/argp.texi (Argp Helper Functions): Move node to follow
31516         Argp Parsing State.
31517
31518         [BZ #14872]
31519         * manual/conf.texi (Limits on File System Capacity): Mention if
31520         terminating null is included in the max size.
31521
31522 2012-12-10  Andreas Jaeger  <aj@suse.de>
31523
31524         * po/cs.po: Update from translation team.
31525
31526 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
31527
31528         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
31529         void pointer and cast to uintptr_t.
31530         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
31531         path.
31532         * sysdeps/s390/s390-64/memcpy.S: Likewise.
31533         * sysdeps/s390/s390-64/memset.S: Likewise.
31534
31535 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
31536
31537         [BZ #14833]
31538         * menual/message.texi (Message Translation): Fix typos.
31539         (Helper programs for gettext): Likewise.
31540
31541 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
31542
31543         [BZ #14898]
31544         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
31545         Change to -1.
31546
31547 2012-12-07  David S. Miller  <davem@davemloft.net>
31548
31549         * po/libc.pot: Update.
31550
31551 2012-12-07  Richard Henderson  <rth@redhat.com>
31552
31553         [BZ #10114]
31554         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
31555         normal/normal case to before the switch.
31556         (_FP_DIV): Likewise.
31557
31558 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
31559             Mike Frysinger  <vapier@gentoo.org>
31560
31561         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
31562         check for __NR_fadvise64_64.
31563
31564 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
31565
31566         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
31567         0, not just to plain "0" as a statement.
31568         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
31569         with cw.
31570
31571 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
31572
31573         * NEWS: Use sourceware.org in Bugzilla URL.
31574
31575 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
31576
31577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
31578         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31579
31580         * stdio-common/tst-put-error.c (do_test): Add newline to the
31581         padded test to ensure flush.
31582
31583 2012-12-05  Jeff Law  <law@redhat.com>
31584
31585         * sunrpc/etc.rpc (fedfs_admin): Add entry.
31586
31587 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
31588
31589         * README: Don't refer to ports add-on as distributed separately.
31590         Mention AArch64 in list of systems supported in the ports add-on.
31591
31592         * LICENSES: Add more non-FSF copyright and license notices.
31593
31594         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
31595         ((unused)).
31596
31597         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
31598
31599         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
31600         10000 as width of padded output.
31601
31602 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
31603
31604         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
31605
31606         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
31607         variable LX with __attribute__ ((unused)).
31608         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
31609         Likewise.
31610         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
31611         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
31612         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
31613         with __attribute__ ((unused)).
31614
31615 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
31616
31617         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
31618
31619 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
31620
31621         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
31622         (CFLAGS-nldbl-acos.c): New variable.
31623         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
31624         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
31625         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
31626         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
31627         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
31628         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
31629         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
31630         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
31631         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
31632         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
31633         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
31634         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
31635         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
31636         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
31637         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
31638         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
31639         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
31640         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
31641         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
31642         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
31643         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
31644         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
31645         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
31646         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
31647         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
31648         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
31649         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
31650         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
31651         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
31652         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
31653         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
31654         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
31655         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
31656         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
31657         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
31658         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
31659         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
31660         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
31661         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
31662         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
31663         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
31664         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
31665         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
31666         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
31667         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
31668         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
31669         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
31670         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
31671         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
31672         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
31673         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
31674         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
31675         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
31676         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
31677         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
31678         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
31679         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
31680         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
31681         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
31682         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
31683         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
31684         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
31685         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
31686         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
31687         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
31688         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
31689         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
31690         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
31691         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
31692         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
31693         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
31694         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
31695         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
31696         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
31697         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
31698         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
31699         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
31700         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
31701         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
31702         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
31703         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
31704         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
31705         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
31706         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
31707         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
31708         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
31709         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
31710         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
31711         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
31712         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
31713         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
31714         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
31715         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
31716         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
31717         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
31718         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
31719         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
31720
31721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
31722         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
31723
31724         [BZ #14914]
31725         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
31726         whole low double instead of just low 47 bits when splitting values
31727         into two parts.
31728
31729 2012-12-03  Allan McRae  <allan@archlinux.org>
31730
31731         * manual/stdio.texi (Predefined Printf Handlers): Remove
31732         @hsep and @vsep usage.
31733
31734 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
31735
31736         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
31737         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
31738
31739 2012-12-03  Jeff Law  <law@redhat.com>
31740
31741         * time/sys/time.h (settimeofday): Do not mark TV argument
31742         as __nonnull.
31743
31744 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
31745
31746         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
31747         when currently writing and seek to current position when not.
31748         * libio/Makefile (tests): Remove bug-fclose1.
31749         * libio/bug-fclose1.c: Delete.
31750
31751 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
31752
31753         * manual/arith.texi (feenableexcept): Fix typo.
31754         (fedisableexcept): Likewise.
31755
31756 2012-11-30  Roland McGrath  <roland@hack.frob.com>
31757
31758         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
31759         second, differently-typed declaration, rather than a cast.
31760
31761 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
31762
31763         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
31764         * include/rpc/svc.h: ... here.
31765
31766 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
31767
31768         [BZ #13013]
31769         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
31770         depending n and resplen2 to catch cases where answer
31771         equals answerp2.
31772
31773 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
31774
31775         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
31776         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
31777
31778 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
31779
31780         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
31781
31782 2012-11-29  Roland McGrath  <roland@hack.frob.com>
31783
31784         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
31785
31786 2012-11-28  Jeff Law  <law@redhat.com>
31787
31788         [BZ #13761]
31789         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
31790         dataset_temporary.  Track alloca usage into alloca_used.
31791         If dataset is large allocate and release it via malloc/free.
31792
31793 2012-06-04  Florian Weimer  <fweimer@redhat.com>
31794
31795         [BZ #14197]
31796         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
31797
31798 2012-11-28  David S. Miller  <davem@davemloft.net>
31799
31800         * sysdeps/sparc/fpu/libm-test-ulps: Update.
31801
31802 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
31803
31804         [BZ #14803]
31805         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
31806         of pi/2 rounded to nearest to 64 bits.
31807         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
31808         nearest to 64 bits.
31809         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
31810         bits.
31811
31812 2012-11-28  Jeff Law <law@redhat.com>
31813             Martin Osvald <mosvald@redhat.com>
31814
31815         [BZ #14889]
31816         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
31817         * sunrpc/svc.c: Include time.h.
31818         (__svc_accept_failed): New function.
31819         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
31820         any reason other than EINTR, call __svc_accept_failed.
31821         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
31822         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
31823
31824 2012-11-28  Andreas Schwab  <schwab@suse.de>
31825
31826         * scripts/abilist.awk: Also handle indirect functions in .opd
31827         section.
31828
31829 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
31830
31831         [BZ #13881]
31832         * sysdeps/x86/fpu/powl_helper.c: New file.
31833         * sysdeps/x86/fpu/Makefile: Likewise.
31834         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
31835         (p3): New object.
31836         (__ieee754_powl): Use __powl_helper for finite arguments except
31837         integer exponents below 8.
31838         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
31839         (p3): New object.
31840         (__ieee754_powl): Use __powl_helper for finite arguments except
31841         integer exponents below 8.
31842         * math/libm-test.inc (pow_test): Add more tests and enable some
31843         previously disabled tests.
31844         * sysdeps/i386/fpu/libm-test-ulps: Update.
31845         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31846
31847 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
31848             Carlos O'Donell  <carlos_odonell@mentor.com>
31849
31850         * nss/makedb.c (is_prime): Assert that input is odd and greater
31851         than 4.  Note that fact in a comment too.
31852         (next_prime): Add 4 to input.
31853
31854 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
31855
31856         [BZ #11741]
31857         * libio/Makefile (tests): Add test case tst-fwrite-error.
31858         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
31859         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
31860         * libio/tst-fwrite-error.c: New test case.
31861
31862 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
31863
31864         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
31865         before casting to void *.
31866         * include/libc-internal.h (__pointer_type): New macro.
31867         (__integer_if_pointer_type_sub): Likewise.
31868         (__integer_if_pointer_type): Likewise.
31869         (cast_to_integer): Likewise.
31870         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
31871         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
31872         before casting to atomic64_t.
31873         (atomic_exchange_acq): Likewise.
31874         (__arch_exchange_and_add_body): Likewise.
31875         (__arch_add_body): Likewise.
31876         (atomic_add_negative): Likewise.
31877         (atomic_add_zero): Likewise.
31878
31879 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
31880
31881         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
31882         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
31883         (add_fdes): Likewise.
31884         (linear_search_fdes): Likewise.
31885         (binary_search_unencoded_fdes): Likewise.
31886
31887 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
31888
31889         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
31890
31891 2012-11-24  Adam Conrad  <adconrad@0c3.net>
31892
31893         * configure.in: Autodetect C++ header directories.
31894         * configure: Regenerated.
31895
31896 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
31897
31898         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
31899
31900 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
31901
31902         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
31903
31904 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
31905
31906         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
31907         LDBL_MANT_DIG == 106]: Disable some tests.
31908         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31909         Likewise.
31910         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
31911         Likewise.
31912
31913         [BZ #14871]
31914         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
31915         input for small inputs.  Return +/- pi/2 for large inputs.
31916         * math/libm-test.inc (atan_test): Add more tests.
31917
31918         * sysdeps/generic/unwind-dw2-fde-glibc.c
31919         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
31920         __attribute__ ((unused)).
31921
31922         [BZ #14645]
31923         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
31924         x * y if x and y are nonzero and z is zero.
31925
31926         [BZ #14811]
31927         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
31928         nonzero exponents with absolute value below 0x1p-117 to +/-
31929         0x1p-117.
31930
31931         [BZ #14869]
31932         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
31933         up arguments below 2**-450, not just those below 2**-500.
31934         * math/libm-test.inc (hypot_test): Add another test.
31935
31936         [BZ #14868]
31937         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
31938         Return a+b for ratio over 2**120, not 2**60.
31939         * math/libm-test.inc (hypot_test): Add another test.
31940
31941         * math/libm-test.inc (clog_test): Use
31942         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
31943         (clog10_test): Likewise.
31944
31945         [BZ #6778]
31946         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
31947
31948 2012-11-22  Andreas Schwab  <schwab@suse.de>
31949
31950         * sysdeps/i386/fpu/libm-test-ulps: Update.
31951
31952 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
31953
31954         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
31955         printf output with newline.
31956
31957 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
31958
31959         [BZ #14865]
31960         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
31961         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
31962         -z nodlopen, -z initfirst and -z execstack support.
31963         * configure: Regenerated.
31964
31965         * elf/elf.h (DF_1_NODIRECT): New macro.
31966         (DF_1_IGNMULDEF): Likewise.
31967         (DF_1_NOKSYMS): Likewise.
31968         (DF_1_NOHDR): Likewise.
31969         (DF_1_EDITED): Likewise.
31970         (DF_1_NORELOC): Likewise.
31971         (DF_1_SYMINTPOSE): Likewise.
31972         (DF_1_GLOBAUDIT): Likewise.
31973         (DF_1_SINGLETON): Likewise.
31974         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
31975         DT_1_SUPPORTED_MASK bits.
31976         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
31977
31978 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
31979
31980         * sysdeps/unix/make-syscalls.sh: Document prefixes.
31981
31982 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
31983
31984         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
31985         macro.
31986
31987         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
31988         (sendmmsg): Move declarations...
31989         * socket/sys/socket.h: ... here.
31990         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
31991         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
31992         include it from...
31993         * socket/recvmmsg.c: ... this new file.
31994         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
31995         (sendmmsg): Rename to __sendmmsg, create weak alias and make
31996         definition of __sendmmsg hidden.
31997         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
31998         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
31999         Move ENOSYS stub into and include it from...
32000         * socket/sendmmsg.c: ... this new file.
32001         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
32002         (sysdep_routines): Move recvmmsg and sendmmsg...
32003         * socket/Makefile (routines): ... here.
32004         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
32005         (GLIBC_PRIVATE): Add __sendmmsg.
32006         * include/sys/socket.h (__sendmmsg): Add declarations.
32007         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
32008         sendmmsg.
32009
32010 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
32011
32012         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
32013         variable I1 with __attribute__ ((unused)).
32014         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
32015
32016 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
32017
32018         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
32019         DUMMY variables with __attribute__ ((unused)).
32020
32021         * bits/byteswap.h: Include <bits/types.h>.
32022         (__bswap_64): Use __uint64_t instead of unsigned long long int.
32023
32024 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
32025
32026         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
32027         string_t.  Do not manually set errno.
32028         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
32029         length with __strnlen.  Make sure to both set errno and return it on
32030         failure.
32031
32032 2012-11-19  David S. Miller  <davem@davemloft.net>
32033
32034         With help from Joseph Myers.
32035         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
32036         very large arguments properly.
32037         * math/libm-test.inc (atan_test): New tests.
32038         (atan2_test): New tests.
32039         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32040         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32041
32042 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
32043
32044         [BZ #14856]
32045         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
32046         Define to 3.
32047
32048         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
32049         [POSIX] (EADDRNOTAVAIL): Likewise.
32050         [POSIX] (EAFNOSUPPORT): Likewise.
32051         [POSIX] (EALREADY): Likewise.
32052         [POSIX] (ECONNABORTED): Likewise.
32053         [POSIX] (ECONNREFUSED): Likewise.
32054         [POSIX] (ECONNRESET): Likewise.
32055         [POSIX] (EDESTADDRREQ): Likewise.
32056         [POSIX] (EDQUOT): Likewise.
32057         [POSIX] (EHOSTUNREACH): Likewise.
32058         [POSIX] (EIDRM): Likewise.
32059         [POSIX] (EISCONN): Likewise.
32060         [POSIX] (ELOOP): Likewise.
32061         [POSIX] (EMULTIHOP): Likewise.
32062         [POSIX] (ENETDOWN): Likewise.
32063         [POSIX] (ENETUNREACH): Likewise.
32064         [POSIX] (ENOBUFS): Likewise.
32065         [POSIX] (ENODATA): Likewise.
32066         [POSIX] (ENOLINK): Likewise.
32067         [POSIX] (ENOMSG): Likewise.
32068         [POSIX] (ENOPROTOOPT): Likewise.
32069         [POSIX] (ENOSR): Likewise.
32070         [POSIX] (ENOSTR): Likewise.
32071         [POSIX] (ENOTCONN): Likewise.
32072         [POSIX] (ENOTSOCK): Likewise.
32073         [POSIX] (EOPNOTSUPP): Likewise.
32074         [POSIX] (EOVERFLOW): Likewise.
32075         [POSIX] (EPROTO): Likewise.
32076         [POSIX] (EPROTONOSUPPORT): Likewise.
32077         [POSIX] (EPROTOTYPE): Likewise.
32078         [POSIX] (ESTALE): Likewise.
32079         [POSIX] (ETIME): Likewise.
32080         [POSIX] (ETXTBSY): Likewise.
32081         [POSIX] (EWOULDBLOCK): Likewise.
32082         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
32083         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
32084         [POSIX] (SEEK_CUR): Likewise.
32085         [POSIX] (SEEK_END): Likewise.
32086         [POSIX || UNIX98] (mode_t): Do not require.
32087         [POSIX] (off_t): Likewise.
32088         [POSIX] (pid_t): Likewise.
32089         [POSIX] (sys/stat.h): Do not allow header.
32090         [POSIX] (unistd.h): Likewise.
32091         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
32092         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
32093         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
32094         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
32095         require.
32096         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
32097         sigevent): Specify elements.
32098         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
32099         entry.
32100         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
32101         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
32102
32103         * conform/data/cpio.h-data [POSIX]: Disable whole file.
32104         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
32105         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
32106         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
32107         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
32108         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
32109         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
32110         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
32111         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
32112         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
32113         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
32114         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
32115         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
32116         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
32117         Likewise.
32118         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
32119         Likewise.
32120         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
32121         Likewise.
32122         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
32123         Likewise.
32124         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
32125         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
32126         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
32127         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
32128         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
32129         Specify lower bound on value.
32130         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
32131         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
32132         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
32133         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
32134         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
32135         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
32136         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
32137         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
32138         value.
32139         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
32140         as optional.
32141         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
32142         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
32143         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
32144         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
32145         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
32146         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
32147         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
32148         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
32149         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
32150         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
32151         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
32152         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
32153         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
32154         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
32155         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
32156         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
32157         entry.
32158         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
32159         optional.
32160         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
32161         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
32162         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
32163         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
32164         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
32165         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
32166         Likewise.
32167         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
32168         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
32169         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
32170         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
32171         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
32172         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
32173         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
32174         as optional.
32175         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
32176         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
32177         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
32178         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
32179         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
32180         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
32181         specify as optional.
32182         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
32183         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
32184         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
32185         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
32186         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
32187         [XPG3] (NL_LANGMAX): Likewise.
32188         [POSIX || XPG3] (NL_MSGMAX): Likewise.
32189         [POSIX || XPG3] (NL_NMAX): Likewise.
32190         [POSIX || XPG3] (NL_SETMAX): Likewise.
32191         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
32192         [XPG3] (NZERO): Likewise.
32193         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
32194         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
32195         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
32196         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
32197         (REG_ERANGE): Expect.
32198         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
32199         optional-constant.
32200         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
32201         Use (void) in prototype.
32202         [POSIX] (*_t): Allow.
32203         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
32204         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
32205         (WRDE_BADVAL): Expect.
32206
32207         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
32208         expect.
32209         [XPG3 || XPG4] (O_RSYNC): Likewise.
32210         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
32211         Likewise.
32212         [XPG3 || XPG4] (pthread_sigmask): Likewise.
32213         [XPG3 || XPG4] (sigqueue): Likewise.
32214         [XPG3 || XPG4] (sigtimedwait): Likewise.
32215         [XPG3 || XPG4] (sigwaitinfo): Likewise.
32216         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
32217         [XPG3 || XPG4] (vsnprintf): Likewise.
32218         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
32219         Likewise.
32220         [XPG3 || XPG4] (blksize_t): Likewise.
32221         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
32222         Likewise.
32223         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
32224         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
32225         [XPG3 || XPG4] (struct itimerspec): Likewise.
32226         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
32227         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
32228         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
32229         [XPG3 || XPG4] (clockid_t): Likewise.
32230         [XPG3 || XPG4] (timer_t): Likewise.
32231         [XPG3 || XPG4] (clock_getres): Likewise.
32232         [XPG3 || XPG4] (clock_gettime): Likewise.
32233         [XPG3 || XPG4] (clock_settime): Likewise.
32234         [XPG3 || XPG4] (nanosleep): Likewise.
32235         [XPG3 || XPG4] (timer_create): Likewise.
32236         [XPG3 || XPG4] (timer_delete): Likewise.
32237         [XPG3 || XPG4] (timer_gettime): Likewise.
32238         [XPG3 || XPG4] (timer_getoverrun): Likewise.
32239         [XPG3 || XPG4] (timer_settime): Likewise.
32240         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
32241         [XPG3 || XPG4] (getlogin_r): Likewise.
32242         [XPG3 || XPG4] (pread): Likewise.
32243         [XPG3 || XPG4] (pthread_atfork): Likewise.
32244         [XPG3 || XPG4] (pwrite): Likewise.
32245
32246         [BZ #14835]
32247         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
32248         <bits/siginfo.h>.
32249
32250 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
32251
32252         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
32253         finalizing MALLSTREAM.
32254
32255         * sysdeps/mach/hurd/syncfs.c: New file.
32256
32257 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
32258
32259         [BZ #14719]
32260         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
32261         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
32262         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
32263         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
32264         (_nss_dns_gethostbyname4_r): Likewise.
32265         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
32266         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
32267
32268 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
32269
32270         [BZ #13763]
32271         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
32272
32273 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
32274
32275         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
32276         * elf/cache.c (print_entry): Print ",AArch64" for
32277         FLAG_AARCH64_LIB64
32278
32279         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
32280         * elf/cache.c (print_entry): Print ",hard-float" for
32281         FLAG_ARM_LIBHF.
32282
32283 2012-11-18  David S. Miller  <davem@davemloft.net>
32284
32285         With help from Joseph Myers.
32286         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
32287         cutoff to 2**-13.
32288         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
32289         cutoff to 2**-25.
32290         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
32291         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
32292         small.
32293         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
32294         * math/libm-test.inc (y0_test): New tests.
32295         (y1_test): New tests.
32296         * sysdeps/i386/fpu/libm-test-ulps: Update.
32297         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32298         * sysdeps/sparc/fpu/libm-test-ulps: Update.
32299
32300 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
32301
32302         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
32303         64-bit targets.
32304         * configure: Regenerated.
32305
32306 2012-11-17  David S. Miller  <davem@davemloft.net>
32307
32308         [BZ #14811]
32309         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
32310         nonzero exponents with absolute value below 0x1p-128 to +/-
32311         0x1p-128.
32312
32313 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
32314
32315         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
32316
32317         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
32318
32319         * posix/getconf-speclist.c: New file.
32320         * posix/posix-envs.def: Likewise.
32321         * posix/confstr.c (START_ENV_GROUP): New macro.
32322         (END_ENV_GROUP): Likewise.
32323         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32324         (KNOWN_PRESENT_ENV_STRING): Likewise.
32325         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32326         (UNKNOWN_ENVIRONMENT): Likewise.
32327         (confstr): Include posix-envs.def instead of handling
32328         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
32329         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
32330         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
32331         (END_ENV_GROUP): Likewise.
32332         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
32333         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
32334         (UNKNOWN_ENVIRONMENT): Likewise.
32335         (__sysconf): Include posix-envs.def instead of handling associated
32336         cases directly here.
32337         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
32338         preprocessing getconf-speclist.c rather than running getconf or
32339         generating empty file.
32340
32341 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
32342
32343         * scripts/check-local-headers.sh: Ignore 'mach' headers.
32344
32345 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
32346
32347         [BZ #14672]
32348         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
32349
32350 2012-11-16  David S. Miller  <davem@davemloft.net>
32351
32352         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
32353         smaller than LDBL_EPSILON/2.0L, just return xm1.
32354
32355 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
32356
32357         * elf/tst-array1.c (init): Set constructor priority to 1000.
32358         (fini): Set destructor priority to 1000.
32359         * elf/tst-array2dep.c: Likewise.
32360
32361 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32362
32363         [BZ #11741]
32364         * libio/fileops.c (_IO_new_file_write): Correctly return error.
32365         (_IO_new_file_xsputn): Also return EOF if none of the input
32366         data was written when overflow failed.
32367         * libio/iopadn.c (_IO_padn): Likewise.
32368         * libio/iowpadn.c (_IO_wpadn): Likewise.
32369         * stdio-common/tst-put-error.c: Add copyright notice.
32370         (do_test): Add case for printing padded string.
32371         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
32372         _IO_padn returned error.
32373         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
32374         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
32375         return EOF.
32376
32377 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
32378
32379         * libio/libioP.h: Add comment note that the references to C++
32380         bits are now obsolete.
32381
32382 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32383
32384         * math/libm-test.inc (check_complex): Use asprintf.
32385
32386 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
32387
32388         * debug/pcprofiledump.c (print_version): Update copyright year.
32389         * malloc/memusagestat.c (print_version): Likewise.
32390
32391 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
32392
32393         [BZ #14831]
32394         * elf/Makefile (tests): Add tst-audit8.
32395         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
32396         ($(objpfx)tst-audit8.out): New target.
32397         (tst-audit8-ENV): New variable.
32398         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
32399         audit if l_reloc_result is NULL.
32400         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
32401         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
32402         * elf/tst-audit8.c: New file.
32403
32404 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32405
32406         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
32407         * misc/Makefile (CFLAGS-select.c): Define.
32408         * posix/Makefile (CFLAGS-pause.c): Define.
32409
32410 2012-11-13  David S. Miller  <davem@davemloft.net>
32411
32412         * crypt/Makefile: Move test targets after toplevel Rules
32413         inclusion.  Grab any necessary sysdep routines when linking.
32414         * crypt/md5.c (md5_process_block): Remove define, we will always
32415         name it __md5_process_block.
32416         (md5_finish_ctx): Update md5_process_block call.
32417         (md5_stream): Likewise.
32418         (md5_process_bytes): Likewise.
32419         (md5_process_block): Rename to __md5_process_block and move to ...
32420         * crypt/md5-block.c: ... here.
32421         * crypt/sha256.c (sha256_process_block): Move to ...
32422         * crypt/sha256-block.c: ... here.
32423         * crypt/sha512.c (sha512_process_block): Move to ...
32424         * crypt/sha512-block.c: ... here.
32425         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
32426         path.
32427         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
32428         * sysdeps/sparc/sparc64/multiarch/Makefile
32429         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
32430         crypt subdir.
32431         (localedef-aux): Add md5 crypto assembler when in locale subdir.
32432         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
32433         multiarch changes.
32434         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
32435         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
32436         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
32437         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
32438         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
32439         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
32440         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
32441         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
32442         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
32443         file.
32444         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
32445         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
32446         file.
32447         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
32448
32449 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
32450
32451         * timezone/tzselect.ksh: Update from tzcode git revision
32452         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
32453         * timezone/zdump.c: Likewise.
32454         * timezone/zic.c: Likewise.
32455         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
32456         in TZVERSION setting, not $(PKGVERSION).
32457         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
32458         REPORT_BUGS_TO settings.
32459
32460         [BZ #14838]
32461         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
32462         macro.
32463
32464 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32465
32466         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
32467         detection to immediately after _FP_ROUND().
32468         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
32469         bits are 0.
32470
32471 2012-11-11  David S. Miller  <davem@davemloft.net>
32472
32473         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
32474         inttypes.h
32475         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
32476         __close rather than their public counterparts.
32477
32478 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
32479
32480         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
32481         file.
32482         [UNIX98] (sem_timedwait): Do not expect.
32483         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
32484         [XPG4 || UNIX98] (sockatmark): Do not expect.
32485         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
32486         (clock_getcpuclockid): Do not expect.
32487         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
32488         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
32489         Do not expect.
32490         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
32491         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
32492         [UNIX98] (vwscanf): Likewise.
32493         [UNIX98] (vswscanf): Likewise.
32494
32495 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
32496
32497         * timezone/version.h: Remove file.
32498         * timezone/README: Do not refer to version.h.
32499         * timezone/Makefile ($(objpfx)zic.o): New dependency on
32500         $(objpfx)version.h.
32501         ($(objpfx)zdump.o): Likewise.
32502         ($(objpfx)version.h): New target.
32503
32504         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
32505         2012i.
32506         * timezone/README: Don't mention modification to tzselect.ksh.
32507         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
32508         work on unmodified tzselect.ksh.  Substitute version numbers in
32509         tzselect.ksh.
32510
32511         * Makefile (format-me): Remove.
32512         (INSTALL): Adjust indentation.  Use commands directly instead of
32513         using $(format-me).
32514
32515         * aclocal.m4 (ACX_PKGVERSION): New macro.
32516         (ACX_BUGURL): Likewise.
32517         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
32518         (PKGVERSION): New AC_DEFINE_UNQUOTED.
32519         (REPORT_BUGS_TO): Likewise.
32520         * configure: Regenerated.
32521         * config.h.in (PKGVERSION): New macro.
32522         (REPORT_BUGS_TO): Likewise.
32523         * config.make.in (PKGVERSION): New variable.
32524         (PKGVERSION_TEXI): Likewise.
32525         (REPORT_BUGS_TO): Likewise.
32526         (REPORT_BUGS_TEXI): Likewise.
32527         * Makefile (format-me): Use -I$(common-objpfx)manual.
32528         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
32529         ($(common-objpfx)manual/%): New target.
32530         (manual/%): Remove target.
32531         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
32532         (print_version): Use PKGVERSION.
32533         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
32534         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
32535         and REPORT_BUGS_TO.
32536         ($(objpfx)xtrace): Likewise.
32537         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
32538         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
32539         (print_version): Use PKGVERSION.
32540         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
32541         (do_version): Use PKGVERSION.
32542         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
32543         REPORT_BUGS_TO.
32544         (common-ldd-rewrite): Likewise.
32545         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
32546         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
32547         (print_version): Use PKGVERSION.
32548         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
32549         * elf/pldd.c (argp_program_bug_address): Remove variable.
32550         (more_help): New function.
32551         (argp): Use more_help.
32552         (print_version): Use PKGVERSION.
32553         * elf/sln.c (main): Use PKGVERSION.
32554         (usage): Use REPORT_BUGS_TO.
32555         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
32556         (top level): Use PKGVERSION.
32557         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
32558         (print_version): Use PKGVERSION.
32559         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
32560         (print_version): Use PKGVERSION.
32561         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
32562         (print_version): Use PKGVERSION.
32563         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
32564         (print_version): Use PKGVERSION.
32565         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
32566         (print_version): Use PKGVERSION.
32567         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
32568         (print_version): Use PKGVERSION.
32569         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
32570         and BUGURL.
32571         ($(objpfx)memusage): Likewise.
32572         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
32573         (do_version): Use PKGVERSION.
32574         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
32575         (print_version): Use PKGVERSION.
32576         * malloc/mtrace.pl ($PACKAGE): Remove variable.
32577         ($PKGVERSION): New variable.
32578         ($REPORT_BUGS_TO): Likewise.
32579         (usage): Use $REPORT_BUGS_TO.
32580         (top level): Use $PKGVERSION.
32581         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
32582         ($(objpfx)pkgvers.texi): New rule.
32583         ($(objpfx)stamp-pkgvers): Likewise.
32584         * manual/install.texi: Include pkgvers.texi.
32585         (--with-pkgversion): Document new configure option.
32586         (--with-bugurl): Likewise.
32587         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
32588         than necessarily for this particular distribution.  Use
32589         REPORT_BUGS_TO for where to report bugs.
32590         * INSTALL: Regenerated.
32591         * manual/libc.texinfo: Include pkgvers.texi.
32592         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
32593         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
32594         (print_version): Use PKGVERSION.
32595         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
32596         (print_version): Use PKGVERSION.
32597         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
32598         (print_version): Use PKGVERSION.
32599         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
32600         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
32601         macro.
32602         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
32603         (print_version): Use PKGVERSION.
32604         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
32605         (print_version): Use PKGVERSION.
32606         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
32607         and PKGVERSION.
32608
32609         * timezone/checktab.awk: Update from tzcode 2012i.
32610         * timezone/ialloc.c: Likewise.
32611         * timezone/private.h: Likewise.
32612         * timezone/scheck.c: Likewise.
32613         * timezone/tzfile.h: Likewise.
32614         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
32615         (TZVERSION): Hardcode tzcode version number.
32616         * timezone/zdump.c: Update from tzcode 2012i.
32617         * timezone/zic.c: Likewise.
32618         * timezone/version.h: New file.
32619         * timezone/README: Describe version.h.  Update upstream location.
32620
32621         [BZ #14824]
32622         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
32623         (mktemp): Enable declaration.
32624         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
32625         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
32626         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
32627         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
32628         Likewise.
32629         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
32630         Likewise.
32631         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
32632         Likewise.
32633         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
32634         Likewise.
32635         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
32636         Likewise.
32637         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
32638         Likewise.
32639
32640         [BZ #14821]
32641         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
32642         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
32643         for copies of such integer values.
32644         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
32645         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
32646
32647 2012-11-09  Andreas Jaeger  <aj@suse.de>
32648
32649         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
32650         definitions and declarations that are provided by
32651         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
32652
32653 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32654
32655         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
32656         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
32657         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
32658         definition.
32659
32660 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
32661
32662         * elf/elf.h: Update comment before AArch64 relocations.
32663
32664 2012-11-07  David S. Miller  <davem@davemloft.net>
32665
32666         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
32667         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
32668         (__start_context): Declare.
32669         (__makecontext_ret): Delete.
32670         (__makecontext): Hook up __start_context instead of
32671         __makecontext_ret.
32672         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
32673         (sysdep_routines): Add __start_context when in stdlib.
32674
32675 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32676
32677         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
32678         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
32679         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
32680         hardcoded "nm".
32681         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
32682         (READELF): New variable.  Use it instead of hardcoded "readelf".
32683
32684 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
32685
32686         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
32687         * sysdeps/x86/Makefile: Here.
32688         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
32689         * sysdeps/x86/tst-xmmymm.sh: This.
32690
32691 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
32692
32693         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
32694         expectations.
32695         [UNIX98] (pthread_barrier_t): Do not expect.
32696         [UNIX98] (pthread_barrierattr_t): Likewise.
32697         [UNIX98] (pthread_spinlock_t): Likewise.
32698         [UNIX98] (pthread_barrier_destroy): Likewise.
32699         [UNIX98] (pthread_barrier_init): Likewise.
32700         [UNIX98] (pthread_barrier_wait): Likewise.
32701         [UNIX98] (pthread_barrierattr_destroy): Likewise.
32702         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
32703         [UNIX98] (pthread_barrierattr_init): Likewise.
32704         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
32705         [UNIX98] (pthread_getcpuclockid): Likewise.
32706         [UNIX98] (pthread_mutex_timedlock): Likewise.
32707         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
32708         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
32709         [UNIX98] (pthread_sigmask): Likewise.
32710         [UNIX98] (pthread_spin_destroy): Likewise.
32711         [UNIX98] (pthread_spin_init): Likewise.
32712         [UNIX98] (pthread_spin_lock): Likewise.
32713         [UNIX98] (pthread_spin_trylock): Likewise.
32714         [UNIX98] (pthread_spin_unlock): Likewise.
32715         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
32716         Do not expect.
32717         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
32718         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
32719         [XPG3 || XPG4] (pthread_cond_t): Likewise.
32720         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
32721         [XPG3 || XPG4] (pthread_key_t): Likewise.
32722         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
32723         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
32724         [XPG3 || XPG4] (pthread_once_t): Likewise.
32725         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
32726         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
32727         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
32728         [XPG3 || XPG4] (pthread_t): Likewise.
32729
32730         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
32731         not expect.
32732         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
32733
32734         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
32735         Change function return type to int.
32736
32737         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
32738         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
32739         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
32740         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
32741         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
32742         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
32743         [!POSIX] (posix_madvise): Likewise.
32744         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
32745         && !UNIX98].
32746         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
32747         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
32748         (mode_t): Likewise.
32749         (posix_mem_offset): Likewise.
32750         (posix_typed_mem_get_info): Likewise.
32751         (posix_typed_mem_open): Likewise.
32752
32753         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
32754         Change condition to [XOPEN2K8].
32755
32756         * conform/conformtest.pl: Preprocess allow-header data with -x c
32757         instead of from stdin.
32758         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
32759         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
32760         [C99-based standards] (cerfc): Likewise.
32761         [C99-based standards] (cexp2): Likewise.
32762         [C99-based standards] (cexpm1): Likewise.
32763         [C99-based standards] (clog10): Likewise.
32764         [C99-based standards] (clog1p): Likewise.
32765         [C99-based standards] (clog2): Likewise.
32766         [C99-based standards] (clgamma): Likewise.
32767         [C99-based standards] (ctgamma): Likewise.
32768         [C99-based standards] (cerff): Likewise.
32769         [C99-based standards] (cerfcf): Likewise.
32770         [C99-based standards] (cexp2f): Likewise.
32771         [C99-based standards] (cexpm1f): Likewise.
32772         [C99-based standards] (clog10f): Likewise.
32773         [C99-based standards] (clog1pf): Likewise.
32774         [C99-based standards] (clog2f): Likewise.
32775         [C99-based standards] (clgammaf): Likewise.
32776         [C99-based standards] (ctgammaf): Likewise.
32777         [C99-based standards] (cerfl): Likewise.
32778         [C99-based standards] (cerfcl): Likewise.
32779         [C99-based standards] (cexp2l): Likewise.
32780         [C99-based standards] (cexpm1l): Likewise.
32781         [C99-based standards] (clog10l): Likewise.
32782         [C99-based standards] (clog1pl): Likewise.
32783         [C99-based standards] (clog2l): Likewise.
32784         [C99-based standards] (clgammal): Likewise.
32785         [C99-based standards] (ctgammal): Likewise.
32786         * conform/data/inttypes.h-data [C99-based standards]: Include
32787         stdint.h-data.  Remove all expectations for stdint.h contents.
32788         [C99-based standards] (PRI*): Do not allow.
32789         [C99-based standards] (SCN*): Likewise.
32790         [C99-based standards] (*_t): Likewise.
32791         [C99-based-standards] (PRId8): Expect macro.
32792         [C99-based-standards] (PRIi8): Likewise.
32793         [C99-based-standards] (PRIo8): Likewise.
32794         [C99-based-standards] (PRIu8): Likewise.
32795         [C99-based-standards] (PRIx8): Likewise.
32796         [C99-based-standards] (PRIX8): Likewise.
32797         [C99-based-standards] (SCNd8): Likewise.
32798         [C99-based-standards] (SCNi8): Likewise.
32799         [C99-based-standards] (SCNo8): Likewise.
32800         [C99-based-standards] (SCNu8): Likewise.
32801         [C99-based-standards] (SCNx8): Likewise.
32802         [C99-based-standards] (PRIdLEAST8): Likewise.
32803         [C99-based-standards] (PRIiLEAST8): Likewise.
32804         [C99-based-standards] (PRIoLEAST8): Likewise.
32805         [C99-based-standards] (PRIuLEAST8): Likewise.
32806         [C99-based-standards] (PRIxLEAST8): Likewise.
32807         [C99-based-standards] (PRIXLEAST8): Likewise.
32808         [C99-based-standards] (SCNdLEAST8): Likewise.
32809         [C99-based-standards] (SCNiLEAST8): Likewise.
32810         [C99-based-standards] (SCNoLEAST8): Likewise.
32811         [C99-based-standards] (SCNuLEAST8): Likewise.
32812         [C99-based-standards] (SCNxLEAST8): Likewise.
32813         [C99-based-standards] (PRIdFAST8): Likewise.
32814         [C99-based-standards] (PRIiFAST8): Likewise.
32815         [C99-based-standards] (PRIoFAST8): Likewise.
32816         [C99-based-standards] (PRIuFAST8): Likewise.
32817         [C99-based-standards] (PRIxFAST8): Likewise.
32818         [C99-based-standards] (PRIXFAST8): Likewise.
32819         [C99-based-standards] (SCNdFAST8): Likewise.
32820         [C99-based-standards] (SCNiFAST8): Likewise.
32821         [C99-based-standards] (SCNoFAST8): Likewise.
32822         [C99-based-standards] (SCNuFAST8): Likewise.
32823         [C99-based-standards] (SCNxFAST8): Likewise.
32824         [C99-based-standards] (PRId16): Likewise.
32825         [C99-based-standards] (PRIi16): Likewise.
32826         [C99-based-standards] (PRIo16): Likewise.
32827         [C99-based-standards] (PRIu16): Likewise.
32828         [C99-based-standards] (PRIx16): Likewise.
32829         [C99-based-standards] (PRIX16): Likewise.
32830         [C99-based-standards] (SCNd16): Likewise.
32831         [C99-based-standards] (SCNi16): Likewise.
32832         [C99-based-standards] (SCNo16): Likewise.
32833         [C99-based-standards] (SCNu16): Likewise.
32834         [C99-based-standards] (SCNx16): Likewise.
32835         [C99-based-standards] (PRIdLEAST16): Likewise.
32836         [C99-based-standards] (PRIiLEAST16): Likewise.
32837         [C99-based-standards] (PRIoLEAST16): Likewise.
32838         [C99-based-standards] (PRIuLEAST16): Likewise.
32839         [C99-based-standards] (PRIxLEAST16): Likewise.
32840         [C99-based-standards] (PRIXLEAST16): Likewise.
32841         [C99-based-standards] (SCNdLEAST16): Likewise.
32842         [C99-based-standards] (SCNiLEAST16): Likewise.
32843         [C99-based-standards] (SCNoLEAST16): Likewise.
32844         [C99-based-standards] (SCNuLEAST16): Likewise.
32845         [C99-based-standards] (SCNxLEAST16): Likewise.
32846         [C99-based-standards] (PRIdFAST16): Likewise.
32847         [C99-based-standards] (PRIiFAST16): Likewise.
32848         [C99-based-standards] (PRIoFAST16): Likewise.
32849         [C99-based-standards] (PRIuFAST16): Likewise.
32850         [C99-based-standards] (PRIxFAST16): Likewise.
32851         [C99-based-standards] (PRIXFAST16): Likewise.
32852         [C99-based-standards] (SCNdFAST16): Likewise.
32853         [C99-based-standards] (SCNiFAST16): Likewise.
32854         [C99-based-standards] (SCNoFAST16): Likewise.
32855         [C99-based-standards] (SCNuFAST16): Likewise.
32856         [C99-based-standards] (SCNxFAST16): Likewise.
32857         [C99-based-standards] (PRId32): Likewise.
32858         [C99-based-standards] (PRIi32): Likewise.
32859         [C99-based-standards] (PRIo32): Likewise.
32860         [C99-based-standards] (PRIu32): Likewise.
32861         [C99-based-standards] (PRIx32): Likewise.
32862         [C99-based-standards] (PRIX32): Likewise.
32863         [C99-based-standards] (SCNd32): Likewise.
32864         [C99-based-standards] (SCNi32): Likewise.
32865         [C99-based-standards] (SCNo32): Likewise.
32866         [C99-based-standards] (SCNu32): Likewise.
32867         [C99-based-standards] (SCNx32): Likewise.
32868         [C99-based-standards] (PRIdLEAST32): Likewise.
32869         [C99-based-standards] (PRIiLEAST32): Likewise.
32870         [C99-based-standards] (PRIoLEAST32): Likewise.
32871         [C99-based-standards] (PRIuLEAST32): Likewise.
32872         [C99-based-standards] (PRIxLEAST32): Likewise.
32873         [C99-based-standards] (PRIXLEAST32): Likewise.
32874         [C99-based-standards] (SCNdLEAST32): Likewise.
32875         [C99-based-standards] (SCNiLEAST32): Likewise.
32876         [C99-based-standards] (SCNoLEAST32): Likewise.
32877         [C99-based-standards] (SCNuLEAST32): Likewise.
32878         [C99-based-standards] (SCNxLEAST32): Likewise.
32879         [C99-based-standards] (PRIdFAST32): Likewise.
32880         [C99-based-standards] (PRIiFAST32): Likewise.
32881         [C99-based-standards] (PRIoFAST32): Likewise.
32882         [C99-based-standards] (PRIuFAST32): Likewise.
32883         [C99-based-standards] (PRIxFAST32): Likewise.
32884         [C99-based-standards] (PRIXFAST32): Likewise.
32885         [C99-based-standards] (SCNdFAST32): Likewise.
32886         [C99-based-standards] (SCNiFAST32): Likewise.
32887         [C99-based-standards] (SCNoFAST32): Likewise.
32888         [C99-based-standards] (SCNuFAST32): Likewise.
32889         [C99-based-standards] (SCNxFAST32): Likewise.
32890         [C99-based-standards] (PRId64): Likewise.
32891         [C99-based-standards] (PRIi64): Likewise.
32892         [C99-based-standards] (PRIo64): Likewise.
32893         [C99-based-standards] (PRIu64): Likewise.
32894         [C99-based-standards] (PRIx64): Likewise.
32895         [C99-based-standards] (PRIX64): Likewise.
32896         [C99-based-standards] (SCNd64): Likewise.
32897         [C99-based-standards] (SCNi64): Likewise.
32898         [C99-based-standards] (SCNo64): Likewise.
32899         [C99-based-standards] (SCNu64): Likewise.
32900         [C99-based-standards] (SCNx64): Likewise.
32901         [C99-based-standards] (PRIdLEAST64): Likewise.
32902         [C99-based-standards] (PRIiLEAST64): Likewise.
32903         [C99-based-standards] (PRIoLEAST64): Likewise.
32904         [C99-based-standards] (PRIuLEAST64): Likewise.
32905         [C99-based-standards] (PRIxLEAST64): Likewise.
32906         [C99-based-standards] (PRIXLEAST64): Likewise.
32907         [C99-based-standards] (SCNdLEAST64): Likewise.
32908         [C99-based-standards] (SCNiLEAST64): Likewise.
32909         [C99-based-standards] (SCNoLEAST64): Likewise.
32910         [C99-based-standards] (SCNuLEAST64): Likewise.
32911         [C99-based-standards] (SCNxLEAST64): Likewise.
32912         [C99-based-standards] (PRIdFAST64): Likewise.
32913         [C99-based-standards] (PRIiFAST64): Likewise.
32914         [C99-based-standards] (PRIoFAST64): Likewise.
32915         [C99-based-standards] (PRIuFAST64): Likewise.
32916         [C99-based-standards] (PRIxFAST64): Likewise.
32917         [C99-based-standards] (PRIXFAST64): Likewise.
32918         [C99-based-standards] (SCNdFAST64): Likewise.
32919         [C99-based-standards] (SCNiFAST64): Likewise.
32920         [C99-based-standards] (SCNoFAST64): Likewise.
32921         [C99-based-standards] (SCNuFAST64): Likewise.
32922         [C99-based-standards] (SCNxFAST64): Likewise.
32923         [C99-based-standards] (PRIdMAX): Likewise.
32924         [C99-based-standards] (PRIiMAX): Likewise.
32925         [C99-based-standards] (PRIoMAX): Likewise.
32926         [C99-based-standards] (PRIuMAX): Likewise.
32927         [C99-based-standards] (PRIxMAX): Likewise.
32928         [C99-based-standards] (PRIXMAX): Likewise.
32929         [C99-based-standards] (SCNdMAX): Likewise.
32930         [C99-based-standards] (SCNiMAX): Likewise.
32931         [C99-based-standards] (SCNoMAX): Likewise.
32932         [C99-based-standards] (SCNuMAX): Likewise.
32933         [C99-based-standards] (SCNxMAX): Likewise.
32934         [C99-based-standards] (PRIdPTR): Likewise.
32935         [C99-based-standards] (PRIiPTR): Likewise.
32936         [C99-based-standards] (PRIoPTR): Likewise.
32937         [C99-based-standards] (PRIuPTR): Likewise.
32938         [C99-based-standards] (PRIxPTR): Likewise.
32939         [C99-based-standards] (PRIXPTR): Likewise.
32940         [C99-based-standards] (SCNdPTR): Likewise.
32941         [C99-based-standards] (SCNiPTR): Likewise.
32942         [C99-based-standards] (SCNoPTR): Likewise.
32943         [C99-based-standards] (SCNuPTR): Likewise.
32944         [C99-based-standards] (SCNxPTR): Likewise.
32945         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
32946         allow.
32947         * conform/data/stdint.h-data: Update comments to clarify
32948         requirements.
32949         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
32950         type.
32951         [C99-based standards] (INT8_MAX): Likewise.
32952         [C99-based standards] (INT16_MIN): Likewise.
32953         [C99-based standards] (INT16_MAX): Likewise.
32954         [C99-based standards] (INT32_MIN): Likewise.
32955         [C99-based standards] (INT32_MAX): Likewise.
32956         [C99-based standards] (INT64_MIN): Likewise.
32957         [C99-based standards] (INT64_MAX): Likewise.
32958         [C99-based standards] (UINT8_MAX): Likewise.
32959         [C99-based standards] (UINT16_MAX): Likewise.
32960         [C99-based standards] (UINT32_MAX): Likewise.
32961         [C99-based standards] (UINT64_MAX): Likewise.
32962         [C99-based standards] (INT_LEAST8_MIN): Likewise.
32963         [C99-based standards] (INT_LEAST8_MAX): Likewise.
32964         [C99-based standards] (INT_LEAST16_MIN): Likewise.
32965         [C99-based standards] (INT_LEAST16_MAX): Likewise.
32966         [C99-based standards] (INT_LEAST32_MIN): Likewise.
32967         [C99-based standards] (INT_LEAST32_MAX): Likewise.
32968         [C99-based standards] (INT_LEAST64_MIN): Likewise.
32969         [C99-based standards] (INT_LEAST64_MAX): Likewise.
32970         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
32971         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
32972         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
32973         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
32974         [C99-based standards] (INT_FAST8_MIN): Likewise.
32975         [C99-based standards] (INT_FAST8_MAX): Likewise.
32976         [C99-based standards] (INT_FAST16_MIN): Likewise.
32977         [C99-based standards] (INT_FAST16_MAX): Likewise.
32978         [C99-based standards] (INT_FAST32_MIN): Likewise.
32979         [C99-based standards] (INT_FAST32_MAX): Likewise.
32980         [C99-based standards] (INT_FAST64_MIN): Likewise.
32981         [C99-based standards] (INT_FAST64_MAX): Likewise.
32982         [C99-based standards] (UINT_FAST8_MAX): Likewise.
32983         [C99-based standards] (UINT_FAST16_MAX): Likewise.
32984         [C99-based standards] (UINT_FAST32_MAX): Likewise.
32985         [C99-based standards] (UINT_FAST64_MAX): Likewise.
32986         [C99-based standards] (INTPTR_MIN): Likewise.
32987         [C99-based standards] (INTPTR_MAX): Likewise.
32988         [C99-based standards] (UINTPTR_MAX): Likewise.
32989         [C99-based standards] (INTMAX_MIN): Likewise.
32990         [C99-based standards] (INTMAX_MAX): Likewise.
32991         [C99-based standards] (UINTMAX_MAX): Likewise.
32992         [C99-based standards] (PTRDIFF_MIN): Likewise.
32993         [C99-based standards] (PTRDIFF_MAX): Likewise.
32994         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
32995         [C99-based standards] (SIZE_MAX): Likewise.
32996         [C99-based standards] (WCHAR_MAX): Likewise.
32997         [C99-based standards] (WINT_MAX): Likewise.
32998         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
32999         constraint on value.
33000         [C99-based standards] (WCHAR_MIN): Likewise.
33001         [C99-based standards] (WINT_MIN): Likewise.
33002         [C99-based standards] (*_t): Allow.
33003         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
33004         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
33005         Include math.h-data and complex.h-data.  Remove all expectations
33006         of math.h and complex.h contents.
33007         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
33008         at end of line.
33009         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
33010         (struct tm): Expect tag.
33011         [C99-based-standards] (wcstof): Expect function.
33012         [C99-based-standards] (wcstold): Likewise.
33013         [C99-based-standards] (wcstoll): Likewise.
33014         [C99-based-standards] (wcstoull): Likewise.
33015         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
33016         macro-int-constant.  Specify type.
33017         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
33018         constraint on value.
33019         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33020         Specify type.
33021         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
33022         Specify value.
33023         [ISO C standards]: Do not allow headers.
33024         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
33025         wcs[abcdefghijklmnopqrstuvwxyz]*.
33026         [ISO C standards] (*_t): Do not allow.
33027         * conform/data/wctype.h-data [C99-based standards] (iswblank):
33028         Expect function.
33029         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
33030         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
33031         Specify type.
33032         [ISO C standards]: Do not allow headers.
33033         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
33034         is[abcdefghijklmnopqrstuvwxyz]*.
33035         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
33036         to[abcdefghijklmnopqrstuvwxyz]*.
33037         [ISO C standards] (*_t): Do not allow.
33038         * conform/data/stdalign.h-data: New file.
33039         * conform/data/stdbool.h-data: Likewise.
33040         * conform/data/stdnoreturn.h-data: Likewise.
33041
33042 2012-11-07  Roland McGrath  <roland@hack.frob.com>
33043
33044         [BZ #14815]
33045         * manual/filesys.texi (Directory Entries): Typo fix.
33046         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
33047
33048 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
33049
33050         * elf/elf.h (EM_AARCH64): New macro.
33051         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
33052         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
33053         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
33054         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
33055         (R_AARCH64_TLSDESC): Likewise.
33056         (NT_ARM_TLS): Likewise.
33057         (NT_ARM_HW_BREAK): Likewise.
33058         (NT_ARM_HW_WATCH): Likewise.
33059
33060 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
33061
33062         [BZ #14811]
33063         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
33064         (__ieee754_powl): Saturate nonzero exponents with absolute value
33065         below 0x1p-79 to +/- 0x1p-79.
33066         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
33067         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
33068         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
33069         nonzero exponents with absolute value below 0x1p-32 to +/-
33070         0x1p-32.
33071         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
33072         (__ieee754_powl): Saturate nonzero exponents with absolute value
33073         below 0x1p-79 to +/- 0x1p-79.
33074         * math/libm-test.inc (pow_test): Add more tests.
33075
33076 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33077
33078         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
33079         _dl_s390_cap_flags with kernel. Increase string length.
33080         (_dl_s390_platforms): Add z196 and zEC12.
33081
33082 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
33083
33084         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
33085         Change XOPEN21K to XOPEN2K.
33086
33087 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
33088
33089         * string/memmove.c: Use memcpy when possible.
33090
33091 2012-11-06  Andreas Jaeger  <aj@suse.de>
33092
33093         * po/eo.po: Update from translation team.
33094
33095 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
33096
33097         [BZ #14793]
33098         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
33099         exponent and small x and y exponents, scale x or y up.  Increase
33100         by 2 the exponent used in scaling up.
33101         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33102         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33103         * math/libm-test.inc (fma_test): Add more tests.
33104         (fma_test_towardzero): Likewise.
33105         (fma_test_downward): Likewise.
33106         (fma_test_upward): Likewise.
33107
33108 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
33109
33110         [BZ #14805]
33111         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
33112         fenv_t *.
33113
33114         [BZ #14801]
33115         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
33116         namespace for names of struct fields.
33117         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
33118         fenv_t fields.
33119         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
33120         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
33121
33122 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
33123
33124         [BZ #3665]
33125         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
33126
33127 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
33128
33129         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
33130         PTR_DEMANGLE.
33131
33132         [BZ #5246]
33133         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
33134         PTR_DEMANGLE.
33135
33136 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
33137
33138         [BZ #14797]
33139         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
33140         definitely overflow as x * y not x * y + z.
33141         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33142         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33143         * math/libm-test.inc (fma_test): Add more tests.
33144         (fma_test_towardzero): Likewise.
33145         (fma_test_downward): Likewise.
33146         (fma_test_upward): Likewise.
33147
33148 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
33149
33150         [BZ #157]
33151
33152         * include/stub-tag.h: Remove file.
33153         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
33154         '#include' of it.
33155         * manual/maint.texi (Porting): Don't reference it.
33156         * Makerules ($(objpfx)stubs): Likewise.
33157         * dirent/closedir.c: Don't include <stub-tag.h>.
33158         * dirent/dirfd.c: Likewise.
33159         * dirent/fdopendir.c: Likewise.
33160         * dirent/getdents.c: Likewise.
33161         * dirent/getdents64.c: Likewise.
33162         * dirent/opendir.c: Likewise.
33163         * dirent/readdir.c: Likewise.
33164         * dirent/readdir64.c: Likewise.
33165         * dirent/readdir64_r.c: Likewise.
33166         * dirent/readdir_r.c: Likewise.
33167         * dirent/rewinddir.c: Likewise.
33168         * dirent/seekdir.c: Likewise.
33169         * dirent/telldir.c: Likewise.
33170         * gmon/profil.c: Likewise.
33171         * grp/setgroups.c: Likewise.
33172         * inet/if_index.c: Likewise.
33173         * io/access.c: Likewise.
33174         * io/chdir.c: Likewise.
33175         * io/chmod.c: Likewise.
33176         * io/chown.c: Likewise.
33177         * io/close.c: Likewise.
33178         * io/dup.c: Likewise.
33179         * io/dup2.c: Likewise.
33180         * io/dup3.c: Likewise.
33181         * io/euidaccess.c: Likewise.
33182         * io/faccessat.c: Likewise.
33183         * io/fchdir.c: Likewise.
33184         * io/fchmod.c: Likewise.
33185         * io/fchmodat.c: Likewise.
33186         * io/fchown.c: Likewise.
33187         * io/fchownat.c: Likewise.
33188         * io/fcntl.c: Likewise.
33189         * io/flock.c: Likewise.
33190         * io/fstatfs.c: Likewise.
33191         * io/fstatfs64.c: Likewise.
33192         * io/fstatvfs.c: Likewise.
33193         * io/fstatvfs64.c: Likewise.
33194         * io/futimens.c: Likewise.
33195         * io/fxstat.c: Likewise.
33196         * io/fxstat64.c: Likewise.
33197         * io/fxstatat.c: Likewise.
33198         * io/fxstatat64.c: Likewise.
33199         * io/getcwd.c: Likewise.
33200         * io/isatty.c: Likewise.
33201         * io/lchmod.c: Likewise.
33202         * io/lchown.c: Likewise.
33203         * io/link.c: Likewise.
33204         * io/linkat.c: Likewise.
33205         * io/lseek.c: Likewise.
33206         * io/lseek64.c: Likewise.
33207         * io/lxstat64.c: Likewise.
33208         * io/mkdir.c: Likewise.
33209         * io/mkdirat.c: Likewise.
33210         * io/mkfifo.c: Likewise.
33211         * io/mkfifoat.c: Likewise.
33212         * io/open.c: Likewise.
33213         * io/open64.c: Likewise.
33214         * io/openat.c: Likewise.
33215         * io/openat64.c: Likewise.
33216         * io/pipe.c: Likewise.
33217         * io/pipe2.c: Likewise.
33218         * io/poll.c: Likewise.
33219         * io/posix_fadvise.c: Likewise.
33220         * io/posix_fadvise64.c: Likewise.
33221         * io/posix_fallocate.c: Likewise.
33222         * io/posix_fallocate64.c: Likewise.
33223         * io/read.c: Likewise.
33224         * io/readlink.c: Likewise.
33225         * io/readlinkat.c: Likewise.
33226         * io/rmdir.c: Likewise.
33227         * io/sendfile.c: Likewise.
33228         * io/sendfile64.c: Likewise.
33229         * io/statfs.c: Likewise.
33230         * io/statfs64.c: Likewise.
33231         * io/statvfs.c: Likewise.
33232         * io/statvfs64.c: Likewise.
33233         * io/symlink.c: Likewise.
33234         * io/symlinkat.c: Likewise.
33235         * io/ttyname.c: Likewise.
33236         * io/ttyname_r.c: Likewise.
33237         * io/umask.c: Likewise.
33238         * io/unlink.c: Likewise.
33239         * io/unlinkat.c: Likewise.
33240         * io/utime.c: Likewise.
33241         * io/utimensat.c: Likewise.
33242         * io/write.c: Likewise.
33243         * io/xmknod.c: Likewise.
33244         * io/xmknodat.c: Likewise.
33245         * io/xstat.c: Likewise.
33246         * io/xstat64.c: Likewise.
33247         * login/getpt.c: Likewise.
33248         * login/grantpt.c: Likewise.
33249         * login/unlockpt.c: Likewise.
33250         * math/e_acoshl.c: Likewise.
33251         * math/e_acosl.c: Likewise.
33252         * math/e_asinl.c: Likewise.
33253         * math/e_atan2l.c: Likewise.
33254         * math/e_atanhl.c: Likewise.
33255         * math/e_coshl.c: Likewise.
33256         * math/e_expl.c: Likewise.
33257         * math/e_fmodl.c: Likewise.
33258         * math/e_gammal_r.c: Likewise.
33259         * math/e_hypotl.c: Likewise.
33260         * math/e_j0l.c: Likewise.
33261         * math/e_j1l.c: Likewise.
33262         * math/e_jnl.c: Likewise.
33263         * math/e_lgammal_r.c: Likewise.
33264         * math/e_log10l.c: Likewise.
33265         * math/e_log2l.c: Likewise.
33266         * math/e_logl.c: Likewise.
33267         * math/e_powl.c: Likewise.
33268         * math/e_rem_pio2l.c: Likewise.
33269         * math/e_sinhl.c: Likewise.
33270         * math/e_sqrtl.c: Likewise.
33271         * math/fclrexcpt.c: Likewise.
33272         * math/fedisblxcpt.c: Likewise.
33273         * math/feenablxcpt.c: Likewise.
33274         * math/fegetenv.c: Likewise.
33275         * math/fegetexcept.c: Likewise.
33276         * math/fegetround.c: Likewise.
33277         * math/feholdexcpt.c: Likewise.
33278         * math/fesetenv.c: Likewise.
33279         * math/fesetround.c: Likewise.
33280         * math/feupdateenv.c: Likewise.
33281         * math/fgetexcptflg.c: Likewise.
33282         * math/fraiseexcpt.c: Likewise.
33283         * math/fsetexcptflg.c: Likewise.
33284         * math/ftestexcept.c: Likewise.
33285         * math/k_cosl.c: Likewise.
33286         * math/k_rem_pio2l.c: Likewise.
33287         * math/k_sinl.c: Likewise.
33288         * math/k_tanl.c: Likewise.
33289         * math/s_asinhl.c: Likewise.
33290         * math/s_atanl.c: Likewise.
33291         * math/s_cbrtl.c: Likewise.
33292         * math/s_erfl.c: Likewise.
33293         * math/s_expm1l.c: Likewise.
33294         * math/s_log1pl.c: Likewise.
33295         * math/s_tanhl.c: Likewise.
33296         * misc/acct.c: Likewise.
33297         * misc/brk.c: Likewise.
33298         * misc/chflags.c: Likewise.
33299         * misc/chroot.c: Likewise.
33300         * misc/fchflags.c: Likewise.
33301         * misc/fgetxattr.c: Likewise.
33302         * misc/flistxattr.c: Likewise.
33303         * misc/fremovexattr.c: Likewise.
33304         * misc/fsetxattr.c: Likewise.
33305         * misc/fsync.c: Likewise.
33306         * misc/ftruncate.c: Likewise.
33307         * misc/futimes.c: Likewise.
33308         * misc/futimesat.c: Likewise.
33309         * misc/getdomain.c: Likewise.
33310         * misc/getdtsz.c: Likewise.
33311         * misc/gethostid.c: Likewise.
33312         * misc/gethostname.c: Likewise.
33313         * misc/getloadavg.c: Likewise.
33314         * misc/getpagesize.c: Likewise.
33315         * misc/getsysstats.c: Likewise.
33316         * misc/getxattr.c: Likewise.
33317         * misc/gtty.c: Likewise.
33318         * misc/ioctl.c: Likewise.
33319         * misc/lgetxattr.c: Likewise.
33320         * misc/listxattr.c: Likewise.
33321         * misc/llistxattr.c: Likewise.
33322         * misc/lremovexattr.c: Likewise.
33323         * misc/lsetxattr.c: Likewise.
33324         * misc/lutimes.c: Likewise.
33325         * misc/madvise.c: Likewise.
33326         * misc/mincore.c: Likewise.
33327         * misc/mlock.c: Likewise.
33328         * misc/mlockall.c: Likewise.
33329         * misc/mmap.c: Likewise.
33330         * misc/mprotect.c: Likewise.
33331         * misc/msync.c: Likewise.
33332         * misc/munlock.c: Likewise.
33333         * misc/munlockall.c: Likewise.
33334         * misc/munmap.c: Likewise.
33335         * misc/preadv.c: Likewise.
33336         * misc/preadv64.c: Likewise.
33337         * misc/ptrace.c: Likewise.
33338         * misc/pwritev.c: Likewise.
33339         * misc/pwritev64.c: Likewise.
33340         * misc/readv.c: Likewise.
33341         * misc/reboot.c: Likewise.
33342         * misc/remap_file_pages.c: Likewise.
33343         * misc/removexattr.c: Likewise.
33344         * misc/revoke.c: Likewise.
33345         * misc/select.c: Likewise.
33346         * misc/setdomain.c: Likewise.
33347         * misc/setegid.c: Likewise.
33348         * misc/seteuid.c: Likewise.
33349         * misc/sethostid.c: Likewise.
33350         * misc/sethostname.c: Likewise.
33351         * misc/setregid.c: Likewise.
33352         * misc/setreuid.c: Likewise.
33353         * misc/setxattr.c: Likewise.
33354         * misc/sstk.c: Likewise.
33355         * misc/stty.c: Likewise.
33356         * misc/swapoff.c: Likewise.
33357         * misc/swapon.c: Likewise.
33358         * misc/sync.c: Likewise.
33359         * misc/syncfs.c: Likewise.
33360         * misc/syscall.c: Likewise.
33361         * misc/truncate.c: Likewise.
33362         * misc/ualarm.c: Likewise.
33363         * misc/usleep.c: Likewise.
33364         * misc/ustat.c: Likewise.
33365         * misc/utimes.c: Likewise.
33366         * misc/vhangup.c: Likewise.
33367         * misc/writev.c: Likewise.
33368         * posix/_exit.c: Likewise.
33369         * posix/alarm.c: Likewise.
33370         * posix/execve.c: Likewise.
33371         * posix/fexecve.c: Likewise.
33372         * posix/fork.c: Likewise.
33373         * posix/fpathconf.c: Likewise.
33374         * posix/getaddrinfo.c: Likewise.
33375         * posix/getegid.c: Likewise.
33376         * posix/geteuid.c: Likewise.
33377         * posix/getgid.c: Likewise.
33378         * posix/getgroups.c: Likewise.
33379         * posix/getlogin.c: Likewise.
33380         * posix/getlogin_r.c: Likewise.
33381         * posix/getpgid.c: Likewise.
33382         * posix/getpid.c: Likewise.
33383         * posix/getppid.c: Likewise.
33384         * posix/getresgid.c: Likewise.
33385         * posix/getresuid.c: Likewise.
33386         * posix/getsid.c: Likewise.
33387         * posix/getuid.c: Likewise.
33388         * posix/glob64.c: Likewise.
33389         * posix/nanosleep.c: Likewise.
33390         * posix/pathconf.c: Likewise.
33391         * posix/pause.c: Likewise.
33392         * posix/posix_madvise.c: Likewise.
33393         * posix/pread.c: Likewise.
33394         * posix/pread64.c: Likewise.
33395         * posix/pwrite.c: Likewise.
33396         * posix/pwrite64.c: Likewise.
33397         * posix/sched_getaffinity.c: Likewise.
33398         * posix/sched_getp.c: Likewise.
33399         * posix/sched_gets.c: Likewise.
33400         * posix/sched_primax.c: Likewise.
33401         * posix/sched_primin.c: Likewise.
33402         * posix/sched_rr_gi.c: Likewise.
33403         * posix/sched_setaffinity.c: Likewise.
33404         * posix/sched_setp.c: Likewise.
33405         * posix/sched_sets.c: Likewise.
33406         * posix/sched_yield.c: Likewise.
33407         * posix/setgid.c: Likewise.
33408         * posix/setlogin.c: Likewise.
33409         * posix/setpgid.c: Likewise.
33410         * posix/setresgid.c: Likewise.
33411         * posix/setresuid.c: Likewise.
33412         * posix/setsid.c: Likewise.
33413         * posix/setuid.c: Likewise.
33414         * posix/sleep.c: Likewise.
33415         * posix/spawni.c: Likewise.
33416         * posix/sysconf.c: Likewise.
33417         * posix/times.c: Likewise.
33418         * posix/wait.c: Likewise.
33419         * posix/wait3.c: Likewise.
33420         * posix/wait4.c: Likewise.
33421         * posix/waitpid.c: Likewise.
33422         * resolv/gai_sigqueue.c: Likewise.
33423         * resource/getpriority.c: Likewise.
33424         * resource/getrlimit.c: Likewise.
33425         * resource/getrusage.c: Likewise.
33426         * resource/nice.c: Likewise.
33427         * resource/setpriority.c: Likewise.
33428         * resource/setrlimit.c: Likewise.
33429         * resource/ulimit.c: Likewise.
33430         * rt/aio_cancel.c: Likewise.
33431         * rt/aio_fsync.c: Likewise.
33432         * rt/aio_read.c: Likewise.
33433         * rt/aio_sigqueue.c: Likewise.
33434         * rt/aio_suspend.c: Likewise.
33435         * rt/aio_write.c: Likewise.
33436         * rt/clock_getres.c: Likewise.
33437         * rt/clock_gettime.c: Likewise.
33438         * rt/clock_nanosleep.c: Likewise.
33439         * rt/clock_settime.c: Likewise.
33440         * rt/lio_listio.c: Likewise.
33441         * rt/mq_close.c: Likewise.
33442         * rt/mq_getattr.c: Likewise.
33443         * rt/mq_notify.c: Likewise.
33444         * rt/mq_open.c: Likewise.
33445         * rt/mq_receive.c: Likewise.
33446         * rt/mq_send.c: Likewise.
33447         * rt/mq_setattr.c: Likewise.
33448         * rt/mq_timedreceive.c: Likewise.
33449         * rt/mq_timedsend.c: Likewise.
33450         * rt/mq_unlink.c: Likewise.
33451         * rt/shm_open.c: Likewise.
33452         * rt/shm_unlink.c: Likewise.
33453         * rt/timer_create.c: Likewise.
33454         * rt/timer_delete.c: Likewise.
33455         * rt/timer_getoverr.c: Likewise.
33456         * rt/timer_gettime.c: Likewise.
33457         * rt/timer_settime.c: Likewise.
33458         * setjmp/__longjmp.c: Likewise.
33459         * setjmp/setjmp.c: Likewise.
33460         * signal/kill.c: Likewise.
33461         * signal/killpg.c: Likewise.
33462         * signal/raise.c: Likewise.
33463         * signal/sigaction.c: Likewise.
33464         * signal/sigaltstack.c: Likewise.
33465         * signal/sigblock.c: Likewise.
33466         * signal/sigignore.c: Likewise.
33467         * signal/sigintr.c: Likewise.
33468         * signal/signal.c: Likewise.
33469         * signal/sigpause.c: Likewise.
33470         * signal/sigpending.c: Likewise.
33471         * signal/sigqueue.c: Likewise.
33472         * signal/sigreturn.c: Likewise.
33473         * signal/sigset.c: Likewise.
33474         * signal/sigsetmask.c: Likewise.
33475         * signal/sigstack.c: Likewise.
33476         * signal/sigsuspend.c: Likewise.
33477         * signal/sigtimedwait.c: Likewise.
33478         * signal/sigvec.c: Likewise.
33479         * signal/sigwait.c: Likewise.
33480         * signal/sigwaitinfo.c: Likewise.
33481         * signal/sysv_signal.c: Likewise.
33482         * socket/accept.c: Likewise.
33483         * socket/accept4.c: Likewise.
33484         * socket/bind.c: Likewise.
33485         * socket/connect.c: Likewise.
33486         * socket/getpeername.c: Likewise.
33487         * socket/getsockname.c: Likewise.
33488         * socket/getsockopt.c: Likewise.
33489         * socket/isfdtype.c: Likewise.
33490         * socket/listen.c: Likewise.
33491         * socket/recv.c: Likewise.
33492         * socket/recvfrom.c: Likewise.
33493         * socket/recvmsg.c: Likewise.
33494         * socket/send.c: Likewise.
33495         * socket/sendmsg.c: Likewise.
33496         * socket/sendto.c: Likewise.
33497         * socket/setsockopt.c: Likewise.
33498         * socket/shutdown.c: Likewise.
33499         * socket/sockatmark.c: Likewise.
33500         * socket/socket.c: Likewise.
33501         * socket/socketpair.c: Likewise.
33502         * stdio-common/ctermid.c: Likewise.
33503         * stdio-common/cuserid.c: Likewise.
33504         * stdio-common/remove.c: Likewise.
33505         * stdio-common/rename.c: Likewise.
33506         * stdio-common/renameat.c: Likewise.
33507         * stdio-common/tempname.c: Likewise.
33508         * stdlib/getcontext.c: Likewise.
33509         * stdlib/makecontext.c: Likewise.
33510         * stdlib/setcontext.c: Likewise.
33511         * stdlib/swapcontext.c: Likewise.
33512         * stdlib/system.c: Likewise.
33513         * streams/fattach.c: Likewise.
33514         * streams/fdetach.c: Likewise.
33515         * streams/getmsg.c: Likewise.
33516         * streams/getpmsg.c: Likewise.
33517         * streams/putmsg.c: Likewise.
33518         * streams/putpmsg.c: Likewise.
33519         * sysdeps/unix/bsd/getpt.c: Likewise.
33520         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
33521         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
33522         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
33523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
33524         Likewise.
33525         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
33526         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
33527         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
33528         * sysvipc/msgctl.c: Likewise.
33529         * sysvipc/msgget.c: Likewise.
33530         * sysvipc/msgrcv.c: Likewise.
33531         * sysvipc/msgsnd.c: Likewise.
33532         * sysvipc/semctl.c: Likewise.
33533         * sysvipc/semget.c: Likewise.
33534         * sysvipc/semop.c: Likewise.
33535         * sysvipc/semtimedop.c: Likewise.
33536         * sysvipc/shmat.c: Likewise.
33537         * sysvipc/shmctl.c: Likewise.
33538         * sysvipc/shmdt.c: Likewise.
33539         * sysvipc/shmget.c: Likewise.
33540         * termios/tcdrain.c: Likewise.
33541         * termios/tcflow.c: Likewise.
33542         * termios/tcflush.c: Likewise.
33543         * termios/tcgetattr.c: Likewise.
33544         * termios/tcgetpgrp.c: Likewise.
33545         * termios/tcsendbrk.c: Likewise.
33546         * termios/tcsetattr.c: Likewise.
33547         * termios/tcsetpgrp.c: Likewise.
33548         * time/adjtime.c: Likewise.
33549         * time/clock.c: Likewise.
33550         * time/getitimer.c: Likewise.
33551         * time/gettimeofday.c: Likewise.
33552         * time/setitimer.c: Likewise.
33553         * time/settimeofday.c: Likewise.
33554         * time/stime.c: Likewise.
33555         * time/time.c: Likewise.
33556
33557 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
33558
33559         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
33560         /usr/old/bin.
33561
33562         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
33563         instead of spaces.
33564         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
33565
33566 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
33567
33568         [BZ #14796]
33569         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
33570         FE_TONEAREST before applying Dekker multiplication and Knuth
33571         addition.  Clear inexact exceptions and check for exact zero
33572         results afterwards.
33573         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33574         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33575         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33576         * math/libm-test.inc (fma_test): Add more tests.
33577         (fma_test_towardzero): Likewise.
33578         (fma_test_downward): Likewise.
33579         (fma_test_upward): Likewise.
33580         * sysdeps/generic/math_private.h (default_libc_fesetround): New
33581         function.
33582         (libc_fesetround): New macro.
33583         (libc_fesetroundf): Likewise.
33584         (libc_fesetroundl): Likewise.
33585         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
33586         function.
33587         (libc_fesetround_387): Likewise.
33588         (libc_fesetroundf): New macro.
33589         (libc_fesetround): Likewise.
33590         (libc_fesetroundl): Likewise.
33591         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
33592         function.
33593         (libc_fesetroundf): New macro.
33594         (libc_fesetround): Likewise.
33595         (libc_fesetroundl): Likewise.
33596         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
33597         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
33598         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
33599         libm_hidden_ver.
33600         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
33601         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
33602         libm_hidden_def.
33603         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
33604         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
33605         libm_hidden_ver.
33606         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
33607         libm_hidden_def.
33608
33609         [BZ #3439]
33610         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
33611         integer constant usable in #if and use that to give value to enum
33612         constant.
33613         (FE_DIVBYZERO): Likewise.
33614         (FE_UNDERFLOW): Likewise.
33615         (FE_OVERFLOW): Likewise.
33616         (FE_INVALID): Likewise.
33617         (FE_INVALID_SNAN): Likewise.
33618         (FE_INVALID_ISI): Likewise.
33619         (FE_INVALID_IDI): Likewise.
33620         (FE_INVALID_ZDZ): Likewise.
33621         (FE_INVALID_IMZ): Likewise.
33622         (FE_INVALID_COMPARE): Likewise.
33623         (FE_INVALID_SOFTWARE): Likewise.
33624         (FE_INVALID_SQRT): Likewise.
33625         (FE_INVALID_INTEGER_CONVERSION): Likewise.
33626         (FE_TONEAREST): Likewise.
33627         (FE_TOWARDZERO): Likewise.
33628         (FE_UPWARD): Likewise.
33629         (FE_DOWNWARD): Likewise.
33630         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
33631         (FE_DIVBYZERO): Likewise.
33632         (FE_OVERFLOW): Likewise.
33633         (FE_UNDERFLOW): Likewise.
33634         (FE_INEXACT): Likewise.
33635         (FE_TONEAREST): Likewise.
33636         (FE_DOWNWARD): Likewise.
33637         (FE_UPWARD): Likewise.
33638         (FE_TOWARDZERO): Likewise.
33639         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
33640         (FE_UNDERFLOW): Likewise.
33641         (FE_OVERFLOW): Likewise.
33642         (FE_DIVBYZERO): Likewise.
33643         (FE_INVALID): Likewise.
33644         (FE_TONEAREST): Likewise.
33645         (FE_TOWARDZERO): Likewise.
33646         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
33647         (FE_OVERFLOW): Likewise.
33648         (FE_UNDERFLOW): Likewise.
33649         (FE_DIVBYZERO): Likewise.
33650         (FE_INEXACT): Likewise.
33651         (FE_TONEAREST): Likewise.
33652         (FE_TOWARDZERO): Likewise.
33653         (FE_UPWARD): Likewise.
33654         (FE_DOWNWARD): Likewise.
33655         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
33656         (FE_DIVBYZERO): Likewise.
33657         (FE_OVERFLOW): Likewise.
33658         (FE_UNDERFLOW): Likewise.
33659         (FE_INEXACT): Likewise.
33660         (FE_TONEAREST): Likewise.
33661         (FE_DOWNWARD): Likewise.
33662         (FE_UPWARD): Likewise.
33663         (FE_TOWARDZERO): Likewise.
33664
33665 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
33666
33667         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
33668
33669 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
33670
33671         * scripts/cross-test-ssh.sh (command): Use newlines to separate
33672         commands.  Quote $PWD.
33673         (blacklist_exports): Don't use remove_newlines.  Replace "declare
33674         -x" by "export".
33675         (remove_newlines): Remove.
33676
33677 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
33678
33679         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
33680         * stdlib/stdlib.h (atof): Moved to ...
33681         * include/bits/stdlib-float.h: Here.  New file.
33682         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
33683         * stdlib/bits/stdlib-float.h: New file.
33684         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
33685         -mno-sse -mno-mmx.
33686         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
33687         <xmmintrin.h>.
33688
33689 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
33690
33691         * conform/conformtest.pl (@headers): Add fenv.h.
33692         * conform/data/fenv.h-data: New file.
33693         * include/fenv.h [_ISOMAC]: Disable all contents of file except
33694         include of <math/fenv.h>.
33695
33696         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
33697         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
33698         && !UNIX98].  Enables tests for XOPEN2K8.
33699         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
33700         POSIX2008]: Likewise.
33701
33702         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
33703         (struct rusage): Do not expect type or its members.
33704
33705         [BZ #3439]
33706         * math/math.h (FP_NAN): Define macro to integer constant usable in
33707         #if and use that to give value to enum constant.
33708         (FP_INFINITE): Likewise.
33709         (FP_ZERO): Likewise.
33710         (FP_SUBNORMAL): Likewise.
33711         (FP_NORMAL): Likewise.
33712
33713 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
33714
33715         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
33716         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
33717         arguments.
33718
33719 2012-11-02  Roland McGrath  <roland@hack.frob.com>
33720
33721         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
33722         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
33723         autoconf-time if not.
33724         * configure.in: Remove AC_PREREQ.
33725
33726 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33727
33728         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
33729         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
33730         of the internal implementation.
33731
33732 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
33733
33734         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
33735         except include of <misc/sys/syslog.h>.
33736
33737 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
33738
33739         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
33740         function returns with a NULL context exit with zero.
33741
33742 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33743
33744         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
33745
33746 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
33747
33748         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
33749         (run_program_cmd): This.
33750         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
33751         (tst_langinfo): New variable.  Use it.
33752
33753 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
33754
33755         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
33756         floating point opcodes.
33757
33758 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
33759
33760         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
33761         variable.
33762
33763         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
33764
33765         * sysdeps/mach/hurd/powerpc: Remove directory.
33766         * sysdeps/mach/powerpc: Likewise.
33767
33768 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
33769
33770         * scripts/check-local-headers.sh: Ignore c++ headers.
33771
33772 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
33773
33774         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
33775         __libc_cleanup_region_start argument.
33776
33777 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
33778
33779         [BZ #14784]
33780         [BZ #14785]
33781         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
33782         x * y using scaling, not as x * y + z.
33783         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33784         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33785         * math/libm-test.inc (fma_test): Add more tests.
33786         (fma_test_towardzero): Likewise.
33787         (fma_test_downward): Likewise.
33788         (fma_test_upward): Likewise.
33789
33790 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
33791
33792         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
33793
33794 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
33795
33796         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
33797         New variable.
33798
33799 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
33800
33801         * rt/tst-shm.c (worker): Correct checking for mmap failure.
33802
33803 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
33804
33805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33806         Fix sort order.
33807         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33808         Likewise.
33809
33810 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33811
33812         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
33813         Fix the order of the list for glibc 2.17.
33814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
33815         Likewise.
33816
33817 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
33818
33819         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33820
33821 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
33822
33823         [BZ #14610]
33824         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
33825         for low part of x being zero before using __atanl (y).
33826         * math/libm-test.inc (atan2_test): Add another test.
33827
33828         * manual/install.texi (Configuring and compiling): Document
33829         general use of test-wrapper and test-wrapper-env.
33830         * INSTALL: Regenerated.
33831
33832         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
33833         (__fma): Do not extract and scale down low bits on after-rounding
33834         systems when result rounded to normal precision would have normal
33835         exponent.
33836         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
33837         (__fmal): Do not extract and scale down low bits on after-rounding
33838         systems when result rounded to normal precision would have normal
33839         exponent.
33840         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
33841         (__fmal): Do not extract and scale down low bits on after-rounding
33842         systems when result rounded to normal precision would have normal
33843         exponent.
33844         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
33845         macro.
33846         (fma_test): Add more tests.
33847         (fma_test_towardzero): Likewise.
33848         (fma_test_downward): Likewise.
33849         (fma_test_upward): Likewise.
33850
33851 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
33852
33853         * sysdeps/i386/tininess.h: Renamed to ...
33854         * sysdeps/x86/tininess.h: This.
33855         * sysdeps/x86_64/tininess.h: Removed.
33856
33857 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
33858
33859         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
33860         input.  Use $(build-program-cmd).
33861         ($(objpfx)tst-array1-static.out): Likewise.
33862         ($(objpfx)tst-array2.out): Likewise.
33863         ($(objpfx)tst-array3.out): Likewise.
33864         ($(objpfx)tst-array4.out): Likewise.
33865         ($(objpfx)tst-array5.out): Likewise.
33866         ($(objpfx)tst-array5-static.out): Likewise.
33867
33868 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
33869
33870         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
33871         if defined.
33872
33873         * nss/nsswitch.h (nss_interface_function): Provide new
33874         macro for use with NSS functions.
33875         * grp/initgroups.c: Use new macro.
33876         * nss/getXXbyYY.c: Likewise.
33877         * nss/getXXbyYY_r.c: Likewise.
33878         * nss/getXXent.c: Likewise.
33879         * nss/getXXent_r.c: Likewise.
33880         * sysdeps/posix/getaddrinfo.c: Likewise.
33881
33882 2012-10-30  Andreas Jaeger  <aj@suse.de>
33883
33884         * po/ru.po: Update Russion translation from translation project.
33885
33886 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
33887
33888         [BZ #14152]
33889         [BZ #14783]
33890         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
33891         result and shift together with sticky bit instead of replicating
33892         round-to-nearest rounding.
33893         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
33894         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
33895         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
33896         missing underflow exceptions.
33897         (fma_test_towardzero): Add more tests.
33898         (fma_test_downward): Likewise.
33899         (fma_test_upward): Likewise.
33900
33901         [BZ #14047]
33902         * sysdeps/generic/tininess.h: New file.
33903         * sysdeps/i386/tininess.h: Likewise.
33904         * sysdeps/sh/tininess.h: Likewise.
33905         * sysdeps/x86_64/tininess.h: Likewise.
33906         * stdlib/tst-strtod-underflow.c: Likewise.
33907         * stdlib/tst-tininess.c: Likewise.
33908         * stdlib/strtod_l.c: Include <tininess.h>.
33909         (round_and_return): Do not set errno for exact underflow cases.
33910         Force an underflow exception when setting errno for underflow.
33911         Determine underflow based on rounding to normal precision if
33912         TININESS_AFTER_ROUNDING.
33913         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
33914         ERANGE for exact underflow cases.
33915         * stdlib/Makefile (tests): Add tst-tininess and
33916         tst-strtod-underflow.
33917         ($(objpfx)tst-tininess): Use $(link-libm).
33918         ($(objpfx)tst-strtod-underflow): Likewise.
33919
33920 2012-10-30  Andreas Jaeger  <aj@suse.de>
33921
33922         [BZ#14767]
33923         * elf/Makefile (tests): Remove conditional for have-initfini-array
33924         since this is now always required and the variable does not exist
33925         anymore.
33926         (tests-static): Likewise.
33927         (modules-names): Likewise.
33928
33929         * po/eo.po: Add Esperanto translation from translation project.
33930
33931         * elf/tst-array1.c (fini_array): Make writeable so that it can be
33932         merged with constructor/destructor.
33933         (init_array): Likewise.
33934         * elf/tst-array2dep.c (fini_array): Likewise.
33935         (init_array): Likewise.
33936
33937 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
33938
33939         * manual/message.texi: Delete @cartouche tags.
33940
33941 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
33942
33943         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
33944         EOPNOTSUPP.
33945         * sysdeps/mach/hurd/fsync.c: Likewise.
33946
33947         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
33948         [_POSIX_REALTIME_SIGNALS]: Change condition to
33949         [_POSIX_REALTIME_SIGNALS > 0].
33950
33951 2012-10-27  Andreas Jaeger  <aj@suse.de>
33952
33953         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
33954         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
33955         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
33956         [__WORDSIZE != 64]: Likewise.
33957
33958 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
33959
33960         *  iconvdata/tst-table.sh: Remove ${SHELL}.
33961         *  iconvdata/tst-tables.sh: Likewise.
33962
33963 2012-10-25  David S. Miller  <davem@davemloft.net>
33964
33965         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33966         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
33967         of strtoull.
33968
33969         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
33970         ifunc-impl-list.c
33971         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33972         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
33973         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
33974         file.
33975
33976 2012-10-25  Roland McGrath  <roland@hack.frob.com>
33977
33978         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
33979         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
33980         __getdirentries.
33981
33982 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
33983             Jim Blandy  <jimb@codesourcery.com>
33984
33985         * scripts/cross-test-ssh.sh: New file.
33986         * manual/install.texi (Configuring and compiling): Document use of
33987         cross-test-ssh.sh.
33988         * INSTALL: Regenerated.
33989
33990 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
33991
33992         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
33993         EOPNOTSUPP.
33994
33995 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
33996
33997         * Makeconfig (run-program-prefix): Fix comment.
33998
33999 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
34000             Jim Blandy  <jimb@codesourcery.com>
34001
34002         * Makeconfig (test-wrapper): New variable,
34003         (test-wrapper-env): Likewise.
34004         [$(cross-compiling) = yes && $(test-wrapper) != ""]
34005         (run-built-tests): Define to yes.
34006         (run-program-prefix): Use $(test-wrapper).
34007         (built-program-cmd): Likewise.
34008         * Rules (make-test-out): Use $(test-wrapper-env) and
34009         $(host-built-program-cmd).
34010         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
34011         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
34012         tst-pathopt.sh.
34013         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
34014         $(test-wrapper-env) to tst-rtld-load-self.sh.
34015         ($(objpfx)order2.out): Use $(test-wrapper).
34016         ($(objpfx)tst-initorder.out): Likewise.
34017         ($(objpfx)tst-initorder2.out): Likewise.
34018         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
34019         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
34020         (test_wrapper_env): New variable.  Use it to run ld.so.
34021         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
34022         Use it to run ld.so.
34023         (test_wrapper_env): Likewise.
34024         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
34025         $(test-wrapper) to run-iconv-test.sh.
34026         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
34027         (ICONV): Use $test_wrapper.
34028         * posix/Makefile ($(objpfx)globtest.out): Pass
34029         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
34030         globtest.sh, not $(run-program-prefix).
34031         * posix/globtest.sh (run_via_rtld_prefix): New variable.
34032         (test_wrapper): Likewise.
34033         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
34034         set together with run_via_rtld_prefix.
34035         (run_program_prefix): Define in terms of test_wrapper and
34036         run_via_rtld_prefix.
34037
34038 2012-10-24  Roland McGrath  <roland@hack.frob.com>
34039
34040         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
34041         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
34042         Targets removed.
34043
34044         [BZ #14743]
34045         * include/time.h: Remove librt_hidden_proto (clock_gettime).
34046         Declare __clock_getres, __clock_gettime, __clock_settime,
34047         __clock_nanosleep, and __clock_getcpuclockid.
34048         * rt/clock_gettime.c: Define __clock_gettime as an alias.
34049         Remove librt_hidden_def (clock_gettime).
34050         * sysdeps/unix/clock_gettime.c: Likewise.
34051         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
34052         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
34053         * rt/clock_getres.c: Define __clock_getres as an alias.
34054         * sysdeps/posix/clock_getres.c: Likewise.
34055         * rt/clock_settime.c: Define __clock_settime as an alias.
34056         * sysdeps/unix/clock_settime.c: Likewise.
34057         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
34058         * sysdeps/unix/clock_nanosleep.c: Likewise.
34059         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
34060         * rt/clock-compat.c: New file.
34061         * rt/Makefile (librt-routines): Add clock-compat and move
34062         $(clock-routines) to ...
34063         (routines): ... here, new variable.
34064         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
34065         Don't add get_clockfreq here.
34066         * rt/Versions (libc: GLIBC_2.17): New version set.
34067         Add clock_* symbols here.
34068         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
34069         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
34070         (GLIBC_2.17): Add clock_* symbols.
34071         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
34072         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
34073         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
34074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
34075         Likewise.
34076         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
34077         Likewise.
34078         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
34079         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
34080         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
34081         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
34082         * NEWS: Mention the move.
34083
34084         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
34085         Use __open, __read, __close rather than their public counterparts.
34086         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
34087         (__get_clockfreq_via_cpuinfo): Likewise.
34088         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
34089         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
34090
34091         * config.h.in (HAVE_IFUNC): New #undef.
34092         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
34093         was successful.
34094         * configure: Regenerated.
34095
34096 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
34097
34098         * configure.in: Move READELF check to start of file.
34099         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
34100         libc_cv_asm_gnu_indirect_function in the process.
34101         * configure: Regenerated.
34102
34103 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
34104
34105         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
34106         send the output to /dev/null.
34107         (libc_cv_cc_with_libunwind): Likewise.
34108         (libc_cv_as_noexecstack): Likewise.
34109         * configure: Regenerate.
34110
34111 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
34112
34113         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
34114
34115         * posix/globtest.sh (TMPDIR): Do not set.
34116         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
34117         (testout): Likewise.
34118
34119 2012-10-24  Andreas Jaeger  <aj@suse.de>
34120
34121         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
34122         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
34123         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
34124         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
34125         posix_fadvise64, posix_fallocate64.
34126
34127         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
34128         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
34129         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
34130         Likewise.
34131         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
34132         Likewise.
34133         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
34134
34135         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
34136         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
34137         <bits/fcntl-linux.h>.
34138         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
34139
34140         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
34141         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
34142         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
34143         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
34144         [__WORDSIZE != 64]: Likewise.
34145
34146 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
34147
34148         * Makeconfig (run-built-tests): New variable.
34149         * Rules [$(cross-compiling) = yes]: Change condition to
34150         [$(run-built-tests) = no].
34151         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
34152         to [$(run-built-tests) = yes].
34153         * elf/Makefile [$(cross-compiling) = no]: Likewise
34154         * grp/Makefile [$(cross-compiling) = no]: Likewise.
34155         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
34156         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
34157         * intl/Makefile [$(cross-compiling) = no]: Likewise.
34158         * io/Makefile [$(cross-compiling) = no]: Likewise.
34159         * libio/Makefile [$(cross-compiling) = no]: Likewise.
34160         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
34161         * misc/Makefile [$(cross-compiling) = no]: Likewise.
34162         * posix/Makefile [$(cross-compiling) = no]: Likewise.
34163         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
34164         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
34165         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
34166         * string/Makefile [$(cross-compiling) = no]: Likewise.
34167
34168         * posix/Makefile ($(objpfx)globtest.out): Pass
34169         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
34170         $(rtld-installed-name).
34171         * posix/globtest.sh (elf_objpfx): Remove variable.
34172         (rtld_installed_name): Likewise.
34173         (library_path): Likewise.
34174         (run_program_prefix): New variable.  Use for running globtest
34175         binary.
34176
34177 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
34178             Joseph Myers  <joseph@codesourcery.com>
34179
34180         * Makeconfig (host-built-program-cmd): New variable.
34181         * elf/Makefile (tst-stackguard1-ARGS): Use
34182         $(host-built-program-cmd).
34183         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
34184         (tst-spawn-ARGS): Likewise.
34185         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
34186
34187 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
34188             Jim Blandy  <jimb@codesourcery.com>
34189
34190         * Makeconfig (run-via-rtld-prefix): New variable.
34191         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
34192         (built-program-cmd): Likewise.
34193
34194 2012-10-22  Andreas Jaeger  <aj@suse.de>
34195
34196         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
34197         __O_RSYNC if it exists, otherwise to O_SYNC.
34198
34199 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
34200             Joseph Myers  <joseph@codesourcery.com>
34201
34202         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
34203         /dev/null.
34204         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
34205         from /dev/null
34206         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
34207         /dev/null.
34208
34209 2012-10-22  Andreas Jaeger  <aj@suse.de>
34210
34211         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
34212         Define always.
34213         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
34214
34215         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
34216         bits/fcntl-linux.h.
34217
34218         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
34219         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
34220
34221         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
34222         to __O_LARGEFILE.
34223         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
34224         to __O_LARGEFILE.
34225
34226 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
34227             Joseph Myers  <joseph@codesourcery.com>
34228
34229         * config.make.in (NM): New variable.
34230
34231 2012-10-21  Andreas Jaeger  <aj@suse.de>
34232
34233         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
34234         definitions and declarations that are provided by
34235         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
34236
34237 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
34238
34239         [BZ #14683]
34240         * elf/Makefile (tests-static): Add tst-leaks1-static.
34241         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
34242         ($(objpfx)tst-leaks1-static): New rule.
34243         ($(objpfx)tst-leaks1-static-mem): Likewise.
34244         (tst-leaks1-static-ENV): New macro.
34245         * elf/dl-open.c (dl_open_worker): Check the main application
34246         only if SHARED is defined.
34247         * elf/tst-leaks1-static.c: New file.
34248
34249 2012-10-20  Andreas Jaeger  <aj@suse.de>
34250
34251         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
34252         generic values for Linux.
34253         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
34254         and declarations that are provided by <bits/fcntl-linux.h> and
34255         include <bits/fcntl-linux.h>.
34256         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
34257         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
34258
34259 2012-10-20  Roland McGrath  <roland@hack.frob.com>
34260
34261         * io/fcntl.h: Move include of <bits/types.h> to the top and
34262         include it unconditionally.
34263
34264 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
34265
34266         * wcsmbs/Makefile (tests-ifunc): New variable.
34267         (tests): Add $(tests-ifunc).
34268         * wcsmbs/test-wcschr-ifunc.c: New file.
34269         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
34270         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
34271         * wcsmbs/test-wcslen-ifunc.c: Likewise.
34272         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
34273         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
34274
34275         * string/Makefile (tests-ifunc): New variable.
34276         (tests): Add $(tests-ifunc).
34277         * string/test-memccpy.c (TEST_NAME): New macro.
34278         * string/test-memchr.c (TEST_NAME): Likewise.
34279         * string/test-memcmp.c (TEST_NAME): Likewise.
34280         * string/test-memcpy.c (TEST_NAME): Likewise.
34281         * string/test-memmem.c (TEST_NAME): Likewise.
34282         * string/test-memmove.c (TEST_NAME): Likewise.
34283         * string/test-memset.c (TEST_NAME): Likewise.
34284         * string/test-rawmemchr.c (TEST_NAME): Likewise.
34285         * string/test-stpcpy.c (TEST_NAME): Likewise.
34286         * string/test-stpncpy.c (TEST_NAME): Likewise.
34287         * string/test-strcasecmp.c (TEST_NAME): Likewise.
34288         * string/test-strcasestr.c (TEST_NAME): Likewise.
34289         * string/test-strcat.c (TEST_NAME): Likewise.
34290         * string/test-strchr.c (TEST_NAME): Likewise.
34291         * string/test-strcmp.c(TEST_NAME): Likewise.
34292         * string/test-strcpy.c (TEST_NAME): Likewise.
34293         * string/test-strcspn.c (TEST_NAME): Likewise.
34294         * string/test-strlen.c (TEST_NAME): Likewise.
34295         * string/test-strncasecmp.c (TEST_NAME): Likewise.
34296         * string/test-strncmp.c (TEST_NAME): Likewise.
34297         * string/test-strncpy.c (TEST_NAME): Likewise.
34298         * string/test-strnlen.c (TEST_NAME): Likewise.
34299         * string/test-strpbrk.c (TEST_NAME): Likewise.
34300         * string/test-strrchr.c (TEST_NAME): Likewise.
34301         * string/test-strspn.c (TEST_NAME): Likewise.
34302         * string/test-strstr.c (TEST_NAME): Likewise.
34303         * string/test-bcopy-ifunc.c: New file.
34304         * string/test-bzero-ifunc.c: Likewise.
34305         * string/test-memccpy-ifunc.c: Likewise.
34306         * string/test-memchr-ifunc.c: Likewise.
34307         * string/test-memcmp-ifunc.c: Likewise.
34308         * string/test-memcpy-ifunc.c: Likewise.
34309         * string/test-memmem-ifunc.c: Likewise.
34310         * string/test-memmove-ifunc.c: Likewise.
34311         * string/test-mempcpy-ifunc.c: Likewise.
34312         * string/test-memset-ifunc.c: Likewise.
34313         * string/test-rawmemchr-ifunc.c: Likewise.
34314         * string/test-stpcpy-ifunc.c: Likewise.
34315         * string/test-stpncpy-ifunc.c: Likewise.
34316         * string/test-strcasecmp-ifunc.c: Likewise.
34317         * string/test-strcasestr-ifunc.c: Likewise.
34318         * string/test-strcat-ifunc.c: Likewise.
34319         * string/test-strchr-ifunc.c: Likewise.
34320         * string/test-strchrnul-ifunc.c: Likewise.
34321         * string/test-strcmp-ifunc.c: Likewise.
34322         * string/test-strcpy-ifunc.c: Likewise.
34323         * string/test-strcspn-ifunc.c: Likewise.
34324         * string/test-strlen-ifunc.c: Likewise.
34325         * string/test-strncasecmp-ifunc.c: Likewise.
34326         * string/test-strncat-ifunc.c: Likewise.
34327         * string/test-strncmp-ifunc.c: Likewise.
34328         * string/test-strncpy-ifunc.c: Likewise.
34329         * string/test-strnlen-ifunc.c: Likewise.
34330         * string/test-strpbrk-ifunc.c: Likewise.
34331         * string/test-strrchr-ifunc.c: Likewise.
34332         * string/test-strspn-ifunc.c: Likewise.
34333         * string/test-strstr-ifunc.c: Likewise.
34334
34335         * debug/Makefile (tests-ifunc): New variable.
34336         (tests): Add $(tests-ifunc).
34337         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
34338         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
34339         * debug/test-stpcpy_chk-ifunc.c: New file.
34340         * debug/test-strcpy_chk-ifunc.c: Likewise.
34341
34342 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
34343
34344         [BZ #13601]
34345         * elf/dl-load.c (open_verify): Retry read if the entire ELF
34346         header is not read in.
34347
34348 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
34349
34350         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
34351         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
34352         directly.  Pass built executable to script as
34353         $(built-program-cmd).
34354         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
34355         $testprogram without using LD_LIBRARY_PATH and $ldso.
34356
34357         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
34358         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
34359         $(rtld-installed-name).
34360         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
34361         (rtld_installed_name): Likewise.
34362         (library_path): Likewise.
34363         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
34364         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
34365         $(run-program-prefix) to tst-tables.sh.
34366         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
34367         it to run tst-table-from and tst-table-to.
34368         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
34369         Pass it to tst-table.sh.
34370         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
34371         $(run-program-prefix) to tst-gettext.sh.
34372         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
34373         tst-translit.sh.
34374         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
34375         tst-gettext2.sh.
34376         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
34377         to run tst-gettext.
34378         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
34379         to run tst-gettext2.
34380         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
34381         to run tst-translit.
34382         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
34383         $(run-program-prefix) to tst-mtrace.sh.
34384         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
34385         to run tst-mtrace.
34386         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
34387         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
34388         $(rtld-installed-name).
34389         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
34390         (rtld_installed_name): Likewise.
34391         (run_program_prefix): New variable.  Use it to run wordexp-test.
34392
34393         * Makeconfig (ARCH): Remove all definitions.
34394         (machine): Likewise.
34395         [ARCH]: Remove conditional code.
34396         [!objdir]: Give error.
34397         [!objdir] (objpfx): Remove.
34398         [!objdir] (common-objpfx): Likewise.
34399         [!objdir] (common-objdir): Likewise.
34400         * configure.in (config_makefile): Remove.  Hardcode Makefile in
34401         AC_CONFIG_FILES call.
34402         * configure: Regenerated.
34403
34404         [BZ #13888]
34405         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
34406         or TMPDIR.
34407         (testout): Likewise.
34408
34409         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
34410         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
34411         $(rtld-installed-name).
34412         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
34413         (rtld_installed_name): Likwise.
34414         (runit): Remove function.
34415         (run_getconf): New variable,  Use it for running getconf binary.
34416
34417 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
34418
34419         [BZ #14716]
34420         * string/test-memmem.c (check_result): New function.
34421         (do_one_test): Use it.
34422         (check1): New function.
34423         (test_main): Use it.
34424
34425 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
34426
34427         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
34428
34429 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
34430
34431         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
34432         (_G_LSEEK64): Likewise.
34433         (_G_MMAP64): Likewise.
34434         (_G_FSTAT64): Likewise.
34435         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
34436         (_G_LSEEK64): Likewise.
34437         (_G_MMAP64): Likewise.
34438         (_G_FSTAT64): Likewise.
34439         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
34440         unconditional.  Call __mmap64 directly.
34441         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
34442         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
34443         __lseek64 directly.
34444         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
34445         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
34446         __mmap64 directly.
34447         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
34448         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
34449         __lseek64 directly.
34450         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
34451         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
34452         __lseek64 directly.
34453         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
34454         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
34455         __lseek64 directly.
34456         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
34457         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
34458         __fxstat64 directly.
34459         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
34460         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
34461         unconditional.
34462         (freopen64) [!_G_OPEN64]: Remove conditional code.
34463         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
34464         unconditional.
34465         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
34466         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
34467         unconditional.
34468         (ftello64) [!_G_LSEEK64]: Remove conditional code.
34469         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
34470         unconditional.
34471         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34472         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
34473         unconditional.
34474         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
34475         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
34476         unconditional.
34477         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34478         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
34479         unconditional.
34480         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
34481         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
34482         unconditional.
34483         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
34484
34485 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34486
34487         [BZ #12140]
34488         * manual/memory.texi (Malloc Tunable Parameters): Add note
34489         about free list pointers overwriting some perturb bytes.
34490         Wording suggested by Roland McGrath.
34491
34492 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
34493
34494         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
34495         (lgamma_test): Likewise.
34496         (tgamma_test): Likewise.
34497
34498 2012-10-16  Florian Weimer  <fweimer@redhat.com>
34499
34500         [BZ #14700]
34501         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
34502         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
34503
34504 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
34505
34506         * NEWS: Mention BZ #14716.
34507         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
34508         when removing AVAILABLE1_USES_J macro.
34509
34510 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
34511
34512         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
34513         (__bswap_64): __uint64_t for unsigned 64-bit int.
34514
34515 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
34516
34517         * include/string.h (memmem): Declare libc hidden alias.
34518         * string/memmem.c (memmem): Define libc hidden alias.
34519         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
34520         __read, __close instead of open, read, close.
34521
34522 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
34523
34524         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
34525         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
34526         global and hidden.
34527         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
34528         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
34529         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
34530         Likewise.
34531         (__rawmemchr_sse2): Likewise.
34532         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
34533         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
34534         (__strchr_sse2): Likewise.
34535         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
34536         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
34537         (__strcasecmp_sse2): Likewise.
34538         (__strncasecmp_sse2): Likewise.
34539         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
34540         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
34541         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
34542         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
34543         (__strrchr_sse2): Likewise.
34544         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
34545         ifunc-impl-list.c.
34546         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
34547         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
34548         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
34549         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
34550         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
34551         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
34552         * sysdeps/x86_64/multiarch/memset.S: Likewise.
34553         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
34554         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
34555         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
34556         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
34557         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
34558         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
34559         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
34560         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
34561         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
34562         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
34563         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
34564         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
34565         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
34566         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
34567         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
34568         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
34569         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
34570         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
34571         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
34572         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34573         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
34574         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
34575         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
34576
34577         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
34578         global and hidden.
34579         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
34580         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
34581         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
34582         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
34583         Likewise.
34584         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
34585         Likewise.
34586         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
34587         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
34588         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
34589         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
34590         ifunc-impl-list.c.
34591         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
34592         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
34593         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
34594         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
34595         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
34596         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
34597         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
34598         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
34599         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
34600         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
34601         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
34602         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
34603         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
34604         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
34605         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
34606         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
34607         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
34608         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
34609         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
34610         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
34611         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
34612         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
34613         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
34614         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
34615         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
34616         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
34617         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
34618         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
34619         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
34620         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
34621         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
34622         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
34623         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
34624         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
34625         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
34626         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
34627         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
34628         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
34629         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
34630         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
34631         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
34632
34633         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
34634         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
34635         * include/ifunc-impl-list.h: New file.
34636         * misc/ifunc-impl-list.c: Likewise.
34637         * misc/Makefile (routines): Add ifunc-impl-list.
34638         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
34639         * string/test-string.h: Include <ifunc-impl-list.h>.
34640         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
34641         TEST_NAME]: New variables.
34642         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
34643         are defined.
34644         (test_init): Call __libc_ifunc_impl_list to initialize
34645         func_list if TEST_IFUNC and TEST_NAME are defined.
34646
34647         * string/Makefile (strop-tests): Add bcopy and bzero.
34648         * string/test-bcopy.c: New file.
34649         * string/test-bzero.c: Likewise.
34650         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
34651         defined.
34652         * string/test-memset.c: Support bzero test if TEST_BZERO is
34653         defined.
34654         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
34655         __libc_memmove.
34656         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
34657         __libc_memset.
34658         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
34659         of memset.
34660
34661 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
34662
34663         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
34664         * configure: Regenerated.
34665
34666         * Makeconfig (+link-static-before-libc): Don't include
34667         $(link-static-libc).
34668
34669         * libio/libio.h (_IO_pos_t): Remove.
34670
34671 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34672
34673         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
34674         McGrath.
34675
34676 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34677
34678         * crypt/crypt-entry.c: Include fips-private.h.
34679         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
34680         * crypt/md5c-test.c (main): Tolerate disabled MD5.
34681         * sysdeps/unix/sysv/linux/fips-private.h: New file.
34682         * sysdeps/generic/fips-private.h: New file, dummy fallback.
34683
34684 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
34685
34686         * crypt/crypt-private.h: Include stdbool.h.
34687         (_ufc_setup_salt_r): Return bool.
34688         * crypt/crypt-entry.c: Include errno.h.
34689         (__crypt_r): Return NULL with EINVAL for bad salt.
34690         * crypt/crypt_util.c (bad_for_salt): New.
34691         (_ufc_setup_salt_r): Check that salt is long enough and within
34692         the specified alphabet.
34693         * crypt/badsalttest.c: New file.
34694         * crypt/Makefile (tests): Add it.
34695         ($(objpfx)badsalttest): New.
34696
34697 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
34698
34699         * NEWS: Add entry for BZ #14602.
34700
34701 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
34702
34703         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
34704         type-generic.
34705         * math/libm-test.inc: Update comment listing what functions and
34706         macros are tested.
34707         (isgreater_test): New function.
34708         (isgreaterequal_test): Likewise.
34709         (isless_test): Likewise.
34710         (islessequal_test): Likewise.
34711         (islessgreater_test): Likewise.
34712         (isunordered_test): Likewise.
34713         (main): Call the new functions.
34714
34715 2012-10-09  Roland McGrath  <roland@hack.frob.com>
34716
34717         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
34718         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
34719         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
34720         * sysdeps/i386/configure: Regenerated.
34721         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
34722         * sysdeps/mach/configure: Regenerated.
34723         * sysdeps/mach/hurd/configure: Regenerated.
34724         * sysdeps/powerpc/configure: Regenerated.
34725         * sysdeps/powerpc/powerpc32/configure: Regenerated.
34726         * sysdeps/powerpc/powerpc64/configure: Regenerated.
34727         * sysdeps/s390/s390-32/configure: Regenerated.
34728         * sysdeps/s390/s390-64/configure: Regenerated.
34729         * sysdeps/sh/configure: Regenerated.
34730         * sysdeps/sparc/configure: Regenerated.
34731         * sysdeps/unix/sysv/linux/configure: Regenerated.
34732         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
34733         * sysdeps/x86_64/configure: Regenerated.
34734
34735         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
34736         defined.  Don't check if MAP is NULL.
34737
34738 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
34739
34740         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
34741         (_G_stat64): Likewise.
34742         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
34743         (_G_stat64): Likewise.
34744         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
34745         instead of struct _G_stat64.
34746         * libio/fileops.c (mmap_remap_check): Likewise.
34747         (decide_maybe_mmap): Likewise.
34748         (_IO_new_file_seekoff): Likewise.
34749         (_IO_file_stat): Likewise.
34750         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
34751         _G_off64_t.
34752         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
34753         instead of struct _G_stat64.
34754         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
34755
34756 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
34757
34758         [BZ #14602]
34759         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34760         Replace with ...
34761         (CHECK_EOL): New macro.
34762         (two_way_short_needle): Check beginning of haystack for EOL.  Use
34763         CHECK_EOL.
34764         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34765         Replace with CHECK_EOL.
34766         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
34767         Replace with CHECK_EOL.
34768
34769 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
34770
34771         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
34772         type-generic.
34773         * math/libm-test.inc: Update comment listing what functions and
34774         macros are tested.
34775         (finite_test): New function.
34776         (isinf_test): Likewise.
34777         (isnan_test): Likewise.
34778         (fpclassify_test): Test subnormal input.
34779         (isfinite_test): Likewise.
34780         (isnormal_test): Likewise.
34781         (main): Call the new functions.
34782
34783 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
34784
34785         [BZ #14660]
34786         * Makerules (%.dynsym): Force C locale when running
34787         $(OBJDUMP) --dynamic-syms.
34788
34789 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
34790
34791         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
34792         <stdint.h>.
34793
34794 2012-10-06  David S. Miller  <davem@davemloft.net>
34795
34796         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
34797         upper 32-bits of the length value in %o2 since we use branch-on-register
34798         tests which consider the entire 64-bit register.
34799
34800 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
34801
34802         * string/test-strstr.c (check2): Add a test for page boundary.
34803
34804 2012-10-05  David S. Miller  <davem@davemloft.net>
34805
34806         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
34807         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
34808         file.
34809         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
34810         sysdep_routines.
34811         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
34812         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
34813         and bzero when HWCAP_SPARC_CRYPTO is present.
34814
34815 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
34816
34817         [BZ #14602]
34818         * string/test-strstr.c (check2): New function.
34819         (test_main): Call check2.
34820
34821         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
34822         and bug-strchr1.
34823         * string/bug-strcasestr1.c (do_test): Moved to ...
34824         * string/test-strcasestr.c (check1): Here.  New function.
34825         (do_one_test): Break out result checking code into ...
34826         (check_result): This.  New function.
34827         (do_one_test): Call check_result.
34828         (test_main): Call check1.
34829         * string/bug-strchr1.c (do_test): Moved to ...
34830         * string/test-strchr.c (check1): Here.  New function.
34831         (do_one_test): Break out result checking code into ...
34832         (check_result): This.  New function.
34833         (do_one_test): Call check_result.
34834         (test_main): Call check1.
34835         * string/bug-strstr1.c (main): Moved to ...
34836         * string/test-strstr.c (check1): Here.  New function.
34837         (do_one_test): Break out result checking code into ...
34838         (check_result): This.  New function.
34839         (do_one_test): Call check_result.
34840         (test_main): Call check1.
34841         * string/bug-strcasestr1.c: Removed.
34842         * string/bug-strchr1.c: Likewise.
34843         * string/bug-strstr1.c: Likewise.
34844
34845         * elf/Makefile (dl-routines): Add hwcaps.
34846         * elf/dl-support.c (_dl_important_hwcaps): Removed.
34847         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
34848         (_dl_important_hwcaps): Moved to ...
34849         * elf/dl-hwcaps.c: Here.  New file.
34850         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
34851
34852         [BZ #14557]
34853         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
34854         if IS_IN_rtld isn't defined.
34855
34856         * elf/dl-support.c (_dl_sysinfo_map): New.
34857         Include "get-dynamic-info.h" and "setup-vdso.h".
34858         (_dl_non_dynamic_init): Call setup_vdso.
34859         * elf/dynamic-link.h: Don't include <assert.h>.
34860         (elf_get_dynamic_info): Moved to ...
34861         * elf/get-dynamic-info.h: Here.  New file.
34862         * elf/dynamic-link.h: Include "get-dynamic-info.h".
34863         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
34864         * elf/setup-vdso.h: Here.  New file.
34865         * elf/rtld.c: Include "setup-vdso.h".
34866         (dl_main): Call setup_vdso.
34867
34868 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
34869
34870         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
34871         creal in comment listing functions tested.  List finite, isinf,
34872         isnan, isless, islessequal, isgreater, isgreaterequal,
34873         islessgreater, isunordered, lgamma_r and pow10 as functions and
34874         macros not tested.  Mention which functions not tested are aliases
34875         for other functions.  Fix typo.  Note that signs of NaNs are not
34876         tested.
34877
34878         * scripts/config.guess: Update from config.git.
34879         * scripts/config.sub: Likewise.
34880
34881 2012-10-04  Roland McGrath  <roland@hack.frob.com>
34882
34883         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
34884         * misc/madvise.c (madvise): Renamed to __madvise.
34885         Make madvise a weak alias.
34886         * include/sys/mman.h: Declare __madvise.
34887         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
34888         * sysdeps/unix/syscalls.list
34889         (madvise): Make __madvise the strong name, and madvise a weak alias.
34890         * sysdeps/unix/sysv/linux/syscalls.list
34891         (madvise, mmap): Remove redundant entries.
34892         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
34893         * malloc/malloc.c (mtrim): Likewise.
34894         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
34895
34896 2012-10-03  Roland McGrath  <roland@hack.frob.com>
34897
34898         * sysdeps/mach/hurd/dl-cache.c: File removed.
34899         * config.h.in (USE_LDCONFIG): New #undef.
34900         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
34901         * configure: Regenerated.
34902         * elf/Makefile (dl-routines): Add dl-cache only under
34903         [$(use-ldconfig) = yes].
34904         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
34905         cache on [USE_LDCONFIG].
34906         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
34907         [USE_LDCONFIG].
34908         * elf/rtld.c (dl_main): Likewise.
34909
34910 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
34911
34912         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
34913         _SC_LEVEL4_CACHE_LINESIZE.
34914
34915 2012-10-03  Roland McGrath  <roland@hack.frob.com>
34916
34917         * sysdeps/unix/bsd/confstr.h: File removed.
34918
34919 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
34920
34921         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
34922         sys/sdt-config.h.
34923
34924 2012-10-02  Roland McGrath  <roland@hack.frob.com>
34925
34926         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
34927         Make 'mapoff' field ElfW(Off) rather than off_t.
34928
34929 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
34930
34931         * nscd/Makefile: Remove nscd-cflags and all its users.
34932         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
34933         (CFLAGS-nonlib): Add compiler flags for nscd modules.
34934
34935         [BZ #10631]
34936         * malloc.c (malloc_printerr): Clarify error message.
34937
34938 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
34939
34940         [BZ #14648]
34941         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34942         Set bit_FMA_Usable if FMA is supported.
34943         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
34944         macro.
34945         (bit_FMA4_Usable): Updated.
34946         (index_FMA_Usable): New macro.
34947         (CPUID_FMA): Likewise
34948         (HAS_FMA): Defined with bit_FMA_Usable.
34949
34950 2012-10-01  Roland McGrath  <roland@hack.frob.com>
34951
34952         * bits/types.h (__swblk_t): Type removed.
34953         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
34954         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
34955         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
34956         (__SWBLK_T_TYPE): Likewise.
34957         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
34958         (__SWBLK_T_TYPE): Likewise.
34959         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
34960         (__SWBLK_T_TYPE): Likewise.
34961         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
34962         (__SWBLK_T_TYPE): Likewise.
34963
34964 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
34965             Honza Horak <hhorak@redhat.com>
34966
34967         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
34968         (xdr_mapname): Use YPMAXMAP as maxsize.
34969         (xdr_peername): Use YPMAXPEER as maxsize.
34970         (xdr_keydat): Use YPAXRECORD as maxsize.
34971         (xdr_valdat): Use YPMAXRECORD as maxsize.
34972
34973 2012-10-01  Roland McGrath  <roland@hack.frob.com>
34974
34975         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
34976
34977         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
34978         * csu/init-first.c: ... here.
34979         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
34980         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
34981         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
34982         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
34983         * sysdeps/i386/init-first.c: File removed.
34984         * sysdeps/sh/init-first.c: File removed.
34985
34986 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
34987
34988         [BZ #14645]
34989         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
34990         if x * y might underflow to zero and z is zero.
34991         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
34992         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
34993         * math/libm-test.inc (min_subnorm_value): New variable.
34994         (fma_test): Add more tests.
34995         (fma_test_towardzero): Likewise.
34996         (fma_test_downward): Likewise
34997         (fma_test_upward): Likewise.
34998         (initialize): Set min_subnorm_value.
34999
35000 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
35001
35002         [BZ #14638]
35003         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
35004         0 + 0.
35005         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
35006         mode for addition resulting in exact zero.
35007         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
35008         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
35009         exact 0 + 0.
35010         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
35011         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
35012         * math/libm-test.inc (fma_test): Add more tests.
35013         (fma_test_towardzero): New function.
35014         (fma_test_downward): Likewise.
35015         (fma_test_upward): Likewise.
35016         (main): Call the new functions.
35017
35018 2012-09-28  David S. Miller  <davem@davemloft.net>
35019
35020         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
35021
35022 2012-09-28  Roland McGrath  <roland@hack.frob.com>
35023
35024         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
35025         instead of SIGALRM.
35026
35027         * sysdeps/gnu/_G_config.h: Moved to ...
35028         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
35029         * sysdeps/mach/hurd/_G_config.h: Moved to ...
35030         * sysdeps/generic/_G_config.h: ... here.
35031
35032         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
35033
35034         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
35035
35036         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
35037         Conditionalize target on [libnss_test1.so-version].
35038
35039         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
35040
35041         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
35042         (elfobjdir): Move out of conditionals.
35043
35044         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
35045         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
35046         (__nss_lookup_function): Conditionalize label remove_from_tree on
35047         [!DO_STATIC_NSS || SHARED], matching its only use.
35048
35049 2012-09-28  David S. Miller  <davem@davemloft.net>
35050
35051         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
35052         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
35053         file.
35054         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
35055         sysdep_routines.
35056         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
35057         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
35058         when HWCAP_SPARC_CRYPTO is present.
35059
35060 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
35061
35062         * io/tst-mknodat.c: Create a FIFO instead of a socket.
35063
35064 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
35065
35066         [BZ #6530]
35067         * stdio-common/vfprintf.c (process_string_arg): Revert
35068         2000-07-22 change.
35069
35070 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
35071
35072         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
35073         for testcase.
35074         * stdio-common/tst-sprintf.c: Include <locale.h>
35075         (main): Test sprintf's handling of incomplete multibyte
35076         characters.
35077
35078 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
35079
35080         * elf/dl-runtime.c (VERSYMIDX): Removed.
35081         * elf/dl-version.c (VERSYMIDX): Likewise.
35082         * elf/do-rel.h (VERSYMIDX): Likewise.
35083         (VALIDX): Likewise.
35084         * elf/dynamic-link.h (VERSYMIDX): Likewise.
35085         * elf/rtld.c (VALIDX): Likewise.
35086         (ADDRIDX): Likewise.
35087         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
35088         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
35089         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
35090         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
35091         (VALIDX): Likewise.
35092         (ADDRIDX): Likewise.
35093
35094 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
35095
35096         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
35097
35098 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
35099
35100         [BZ #11438]
35101         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
35102         to global scope.
35103         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
35104         addresses are in the same scope as 192.0.2/24.
35105         * posix/gai.conf: Document new scope table defaults.
35106
35107 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35108
35109         [BZ #5298]
35110         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
35111         for ftell.  Compute offsets from write pointers instead.
35112         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
35113
35114 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
35115
35116         [BZ #14543]
35117         * libio/Makefile (tests): New test case tst-fseek.
35118         * libio/tst-fseek.c: New test case to verify that fseek/ftell
35119         combination works in wide mode.
35120         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
35121         state when the external buffer state changes.
35122
35123 2012-09-27  David S. Miller  <davem@davemloft.net>
35124
35125         [BZ #14376]
35126         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
35127         pass reloc->r_addend in as the 'high' argument to
35128         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
35129
35130         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35131
35132 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
35133
35134         * rt/tst-aio2.c: Include <pthread.h>.
35135         * rt/tst-aio3.c: Likewise.
35136
35137 2012-09-27  Steve Ellcey  <sellcey@mips.com>
35138
35139         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
35140
35141 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
35142
35143         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
35144         contents on [SHARED].
35145
35146 2012-09-26  Marek Polacek  <polacek@redhat.com>
35147
35148         [BZ #14530]
35149         [BZ #13741]
35150         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
35151         for C++ and GCC <4.3 as well as for non GCC compilers.
35152
35153 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
35154
35155         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35156
35157 2012-09-25  Roland McGrath  <roland@hack.frob.com>
35158
35159         * Makefile.in (all, install): Declare with .PHONY.
35160         Reported by Michael Hope <michael.hope@linaro.org>.
35161
35162 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
35163
35164         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
35165         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
35166         system header.
35167         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
35168         Likewise.
35169         (sydep_routines): Add the new and the internal functions.
35170         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
35171         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
35172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
35173         (GLIBC_2.17): Add the new function.
35174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
35175         (GLIBC_2.17): Likewise.
35176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
35177         (GLIBC_2.17): Likewise.
35178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
35179         (GLIBC_2.17): Likewise.
35180         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
35181
35182 2012-09-25  Alan Modra  <amodra@gmail.com>
35183
35184         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
35185         Add release barrier before setting once_control to say
35186         initialisation is done.  Add hints on lwarx.  Use macro in
35187         place of isync.
35188         (clear_once_control): Add release barrier.
35189
35190 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
35191
35192         [BZ #13629]
35193         * math/s_clog.c (__clog): Handle more values close to |z| = 1
35194         specially.
35195         * math/s_clog10.c (__clog10): Likewise.
35196         * math/s_clog10f.c (__clog10f): Likewise.
35197         * math/s_clog10l.c (__clog10l): Likewise.
35198         * math/s_clogf.c (__clogf): Likewise.
35199         * math/s_clogl.c (__clogl): Likewise.
35200         * math/Makefile (libm-calls): Add x2y2m1.
35201         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
35202         (__x2y2m1): Likewise.
35203         (__x2y2m1l): Likewise.
35204         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
35205         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
35206         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
35207         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
35208         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
35209         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
35210         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
35211         * sysdeps/i386/fpu/libm-test-ulps: Update.
35212         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35213
35214         [BZ #14621]
35215         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
35216         int as type of variable DEPTH.
35217         (glob): Use size_t instead of int as type of variables NEWCOUNT
35218         and OLD_PATHC.
35219
35220 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35221
35222         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35223         Add s_sincosf-sse2.
35224         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
35225         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
35226         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
35227         macros for using routine as __sincosf_ia32.
35228         Use macro for function declaration and weak_alias.
35229         * sysdeps/i386/fpu/libm-test-ulps: Update.
35230
35231         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
35232         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35233
35234         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
35235         subnormal argument.
35236         * math/s_cexpf.c (__cexpf): Likewise.
35237         * math/s_csinf.c (__csinf): Likewise.
35238         * math/s_csinhf.c (__csinhf): Likewise.
35239         * math/s_ctanf.c (__ctanf): Likewise.
35240         * math/s_ctanhf.c (__ctanhf): Likewise.
35241         * math/s_ccosh.c (__ccoshf): Likewise.
35242         * math/s_cexp.c (__cexpl): Likewise.
35243         * math/s_csin.c (__csin): Likewise.
35244         * math/s_csinh.c (__csinh): Likewise.
35245         * math/s_ctan.c (__ctan): Likewise.
35246         * math/s_ctanh.c (ctanh): Likewise.
35247         * math/s_ccoshl.c (__ccoshl): Likewise.
35248         * math/s_cexpl.c (__cexpl): Likewise.
35249         * math/s_csinl.c (__csinl): Likewise.
35250         * math/s_csinhl.c (__csinhl): Likewise.
35251         * math/s_ctanl.c (__ctanl): Likewise.
35252         * math/s_ctanhl.c (__ctanhl): Likewise.
35253
35254 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
35255
35256         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
35257         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
35258         (_IO_off_t): Define to __off_t, not _G_off_t.
35259         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
35260         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
35261         (_IO_wint_t): Define to wint_t, not _G_wint_t.
35262         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
35263         type of __dummy and __dummy2 fields.
35264         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
35265         (_G_ssize_t): Likewise.
35266         (_G_off_t): Likewise.
35267         (_G_pid_t): Likewise.
35268         (_G_uid_t): Likewise.
35269         (_G_wchar_t): Likewise.
35270         (_G_wint_t): Likewise.
35271         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
35272         (_G_ssize_t): Likewise.
35273         (_G_off_t): Likewise.
35274         (_G_pid_t): Likewise.
35275         (_G_uid_t): Likewise.
35276         (_G_wchar_t): Likewise.
35277         (_G_wint_t): Likewise.
35278         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
35279         (_G_ssize_t): Likewise.
35280         (_G_off_t): Likewise.
35281         (_G_pid_t): Likewise.
35282         (_G_uid_t): Likewise.
35283         (_G_wchar_t): Likewise.
35284         (_G_wint_t): Likewise.
35285
35286 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35287
35288         * malloc/arena.c: Include malloc-sysdep.h.
35289         (shrink_heap): Use check_may_shrink_heap to decide if madvise
35290         is sufficient to shrink the heap or an unmap is needed.
35291         * sysdeps/generic/malloc-sysdep.h: New file.  Define
35292         new function check_may_shrink_heap.
35293         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
35294         new function check_may_shrink_heap.
35295
35296 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
35297
35298         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
35299         comments.
35300
35301 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
35302
35303         * catgets/test-gencat.sh: Add "set -e".
35304         * elf/tst-pathopt.sh: Likewise.
35305         * grp/tst_fgetgrent.sh: Likewise.
35306         * iconvdata/run-iconv-test.sh: Likewise.
35307         * intl/tst-gettext.sh: Likewise.
35308         * intl/tst-gettext2.sh: Likewise.
35309         * intl/tst-gettext4.sh: Likewise.
35310         * intl/tst-gettext6.sh: Likewise.
35311         * intl/tst-translit.sh: Likewise.
35312         * io/ftwtest-sh: Likewise.
35313         * libio/test-freopen.sh: Likewise.
35314         * malloc/tst-mtrace.sh: Likewise.
35315         * posix/globtest.sh: Likewise.
35316         * posix/tst-getconf.sh: Likewise.
35317         * posix/wordexp-tst.sh: Likewise.
35318         * stdio-common/tst-printf.sh: Likewise.
35319         * stdio-common/tst-unbputc.sh: Likewise.
35320         * stdlib/tst-fmtmsg.sh: Likewise.
35321         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35322         * catgets/Makefile: Do not specify -e option when running
35323         testsuite shell scripts.
35324         * elf/Makefile: Likewise.
35325         * grp/Makefile: Likewise.
35326         * iconvdata/Makefile: Likewise.
35327         * intl/Makefile: Likewise.
35328         * io/Makefile: Likewise.
35329         * libio/Makefile: Likewise.
35330         * malloc/Makefile: Likewise.
35331         * posix/Makefile: Likewise.
35332         * stdio-common/Makefile: Likewise.
35333         * stdlib/Makefile: Likewise.
35334         * sysdeps/x86_64/Makefile: Likewise.
35335
35336         * io/ftwtest-sh: Add copyright header.
35337         * posix/globtest.sh: Likewise.
35338         * posix/tst-getconf.sh: Likewise.
35339         * posix/wordexp-tst.sh: Likewise.
35340         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
35341
35342 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
35343
35344         [BZ #13679]
35345         * Makeconfig (+link): Defined as $(+link-static) if
35346         $(build-shared) isn't yes.
35347         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
35348         isn't yes.
35349         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
35350
35351         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
35352
35353         [BZ #14562]
35354         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
35355         new chunk size with MALLOC_ALIGN_MASK.
35356
35357 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
35358
35359         [BZ #5044]
35360         * stdio-common/printf_fphex.c: Include <stdbool.h> and
35361         <rounding-mode.h>.
35362         (__printf_fphex): Determine rounding using get_rounding_mode and
35363         round_away.
35364         * stdio-common/tst-printf-round.c (struct hex_test): New
35365         structure.
35366         (hex_tests): New variable.
35367         (test_hex_in_one_mode): New function.
35368         (do_test): Also run tests for hex float output.
35369
35370 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
35371
35372         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35373         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35374         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
35375         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
35376         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
35377         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
35378         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35379         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
35380
35381 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
35382
35383         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
35384         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
35385         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
35386         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
35387
35388 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
35389
35390         [BZ #14579]
35391         * elf/rtld.c (dl_main): Limit the check for self loading to normal
35392         mode only.
35393         * elf/tst-rtld-load-self.sh: New test.
35394         * elf/Makefile: Run it.
35395
35396 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
35397
35398         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
35399         (tst-writev-ENV): Remove.
35400         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
35401
35402 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
35403
35404         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
35405
35406 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
35407
35408         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
35409         unconditional.
35410         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
35411         Likewise.
35412         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
35413         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
35414         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
35415         Likewise.
35416
35417 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
35418
35419         [BZ #14587]
35420         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
35421         * config.make.in (have-cpp-asm-debuginfo): Removed.
35422         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
35423         * configure: Regenerated.
35424
35425 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
35426
35427         [BZ #5044]
35428         * stdio-common/printf_fp.c: Include <stdbool.h> and
35429         <rounding-mode.h>.
35430         (___printf_fp): Determine rounding using get_rounding_mode and
35431         round_away.
35432         * stdio-common/tst-printf-round.c: New file.
35433         * stdio-common/Makefile (tests): Add tst-printf-round.
35434         (link-libm): New variable.
35435         ($(objpfx)tst-printf-round): Depend in $(link-libm).
35436
35437 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
35438
35439         [BZ #14576]
35440         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
35441         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
35442         Likewise.
35443         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
35444         Likewise.
35445
35446 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
35447
35448         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
35449         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35450         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35451         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
35452
35453 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
35454
35455         [BZ #14518]
35456         * include/rounding-mode.h: New file.
35457         * sysdeps/generic/get-rounding-mode.h: Likewise.
35458         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
35459         * stdlib/strtod_l.c: Include <rounding-mode.h>.
35460         (MAX_VALUE): New macro.
35461         (MIN_VALUE): Likewise.
35462         (overflow_value): New function.
35463         (underflow_value): Likewise.
35464         (round_and_return): Use overflow_value and underflow_value to
35465         determine return values in overflow and underflow cases.  Use
35466         round_away to determine rounding depending on rounding mode.
35467         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
35468         determine return values in overflow and underflow cases.
35469         * stdlib/tst-strtod-round.c: Include <fenv.h>.
35470         (struct test_results): New structure.
35471         (struct test): Use struct test_results to store expected results
35472         for all rounding modes.
35473         (TEST): Include expected results for all rounding modes.
35474         (test_in_one_mode): New function.
35475         (do_test): Use test_in_one_mode to compute and check results.
35476         Check results for all rounding modes.
35477         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
35478         $(link-libm).
35479
35480 2012-12-09  Allan McRae  <allan@archlinux.org>
35481
35482         * sysdeps/i386/fpu/libm-test-ulps: Update
35483
35484 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
35485
35486         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
35487         (_G_int32_t): Likewise.
35488         (_G_uint16_t): Likewise.
35489         (_G_uint32_t): Likewise.
35490         (_G_HAVE_BOOL): Likewise.
35491         (_G_HAVE_ATEXIT): Likewise.
35492         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35493         (_G_HAVE_IO_FILE_OPEN): Likewise.
35494         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
35495         (_G_int32_t): Likewise.
35496         (_G_uint16_t): Likewise.
35497         (_G_uint32_t): Likewise.
35498         (_G_HAVE_BOOL): Likewise.
35499         (_G_HAVE_ATEXIT): Likewise.
35500         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35501         (_G_HAVE_IO_FILE_OPEN): Likewise.
35502         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
35503         (_G_int32_t): Likewise.
35504         (_G_uint16_t): Likewise.
35505         (_G_uint32_t): Likewise.
35506         (_G_HAVE_BOOL): Likewise.
35507         (_G_HAVE_ATEXIT): Likewise.
35508         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
35509         (_G_HAVE_IO_FILE_OPEN): Likewise.
35510
35511 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
35512
35513         * csu/libc-tls.c: Update copyright years.
35514
35515 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
35516
35517         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
35518         [!_G_USING_THUNKS]: Remove conditional code.
35519         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
35520         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
35521
35522         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
35523         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
35524         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35525         (_G_VTABLE_LABEL_PREFIX): Likewise.
35526         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35527         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35528         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35529         (_G_VTABLE_LABEL_PREFIX): Likewise.
35530         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35531         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
35532         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
35533         (_G_VTABLE_LABEL_PREFIX): Likewise.
35534         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
35535
35536 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
35537
35538         * libio/Makefile: Include ../Makeconfig before tests.
35539         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
35540         only if $(build-shared) is yes.
35541
35542         * iconv/gconv_db.c: Update copyright years.
35543
35544 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35545
35546         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
35547         unwind info if defined PIC. Fix special cases description.
35548         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
35549
35550         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
35551         DP_HI_MASK entry.
35552         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
35553
35554 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
35555
35556         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
35557
35558         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
35559         is NULL.
35560
35561         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
35562         (LDLIBS-tst-chk4): This.
35563         (LDFLAGS-tst-chk5): Renamed to ...
35564         (LDLIBS-tst-chk5): This.
35565         (LDFLAGS-tst-chk6): Renamed to ...
35566         (LDLIBS-tst-chk6): This.
35567         (LDFLAGS-tst-lfschk4): Renamed to ...
35568         (LDLIBS-tst-lfschk4): This.
35569         (LDFLAGS-tst-lfschk5): Renamed to ...
35570         (LDLIBS-tst-lfschk5): This.
35571         (LDFLAGS-tst-lfschk6): Renamed to ...
35572         (LDLIBS-tst-lfschk6): This.
35573
35574         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
35575         on $(common-objpfx)soversions.mk.
35576
35577 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
35578
35579         [BZ #10014]
35580         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
35581         example host name.
35582
35583 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
35584
35585         * malloc/arena.c (arena_get_retry): New function that gets
35586         another arena for the caller to try its request on.
35587         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
35588         current arena cannot fulfill the request.
35589         (__libc_memalign): Likewise.
35590         (__libc_memalign): Likewise.
35591         (__libc_pvalloc): Likewise.
35592         (__libc_calloc): Likewise.
35593
35594 2012-09-05  John Tobey  <john.tobey@gmail.com>
35595
35596         [BZ #13542]
35597         * manual/arith.texi (Operations on Complex): Fix description
35598         of carg branch cut.
35599
35600 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
35601
35602         [BZ #10014]
35603         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
35604         host name.
35605
35606         [BZ #10038]
35607         * manual/memory.texi (Memory): Make order of menu items match
35608         order of sections.
35609
35610 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35611
35612         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
35613         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
35614         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
35615
35616 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35617
35618         * csu/libc-tls.c (static_dtv): Renamed to ...
35619         (_dl_static_dtv): This.  Make it global.
35620         (_dl_initial_dtv): Removed.
35621         (__libc_setup_tls): Updated.
35622         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
35623         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
35624         DL_INITIAL_DTV.
35625
35626 2012-09-06  Petr Machata  <pmachata@redhat.com>
35627
35628         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
35629         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
35630         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
35631         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
35632
35633 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35634
35635         [BZ #14545]
35636         * csu/libc-tls.c (_dl_initial_dtv): New variable.
35637         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
35638         freeing dtv[-1].
35639
35640 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
35641
35642         [BZ #14544]
35643         * Makeconfig (link-static-before-libc): Replace $(+prector)
35644         with $(+prectorT).
35645         (link-static-after-libc): Replace $(+postctor) with
35646         $(+postctorT).
35647         (link-bounded): Replace $(+prector)/$(+postctor) with
35648         $(+prectorT)/$(+postctorT).
35649         (+prectorT): New macro.
35650         (+postctorT): Likewise.
35651
35652 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
35653
35654         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
35655         (round_str): Handle values above the maximum for IBM long double
35656         as inexact.
35657         * stdlib/tst-strtod-round.c (tests): Regenerated.
35658
35659 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35660
35661         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
35662         assembler flag.
35663         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
35664         zarch_nohighgprs around the zarch optimized routines.
35665         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
35666         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
35667         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
35668         for zarch.
35669
35670 2012-09-05  David S. Miller  <davem@davemloft.net>
35671
35672         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35673
35674         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
35675         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
35676         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
35677         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
35678         entries.
35679
35680 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35681
35682         * malloc/arena.c: Fold copyright years.
35683         * malloc/mcheck.c, malloc/memusage.c: Likewise.
35684
35685 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35686
35687         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
35688
35689 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35690
35691         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
35692
35693 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35694
35695         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
35696         change internal state upon failure.
35697
35698 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
35699
35700         * malloc/mcheck.c (mcheck_check_all): Fix typo.
35701         * malloc/memusage.c (mmap): Likewise.
35702         (mmap64, mremap): Likewise.  Adjust name in comment.
35703
35704 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35705
35706         * libio/fileops.c: Fix typos in comments.
35707         * libio/oldfileops.c: Likewise.
35708         * libio/wfileops.c: Likewise.
35709
35710 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
35711
35712         [BZ #1349]
35713         * malloc/Makefile (tests): Add tst-malloc-usable test case.
35714         (tst-malloc-usable-ENV): Set environment for test case.
35715         * malloc/hooks.c (malloc_check_get_size): New function to get
35716         requested size.
35717         * malloc/malloc.c (musable): Use malloc_check_get_size.
35718         * malloc/tst-malloc-usable.c: New test case.
35719
35720 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
35721
35722         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
35723
35724 2012-09-05  Allan McRae  <allan@archlinux.org>
35725
35726         [BZ #13966]
35727         * configure.in (CXX_SYSINCLUDES): Use compiler output to
35728         determine header location.
35729         * configure: Regenerated.
35730
35731 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
35732
35733         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
35734         float format.
35735         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
35736         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
35737         format.
35738         (test): Regenerate.
35739
35740 2012-09-04  David S. Miller  <davem@davemloft.net>
35741
35742         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
35743         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
35744         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
35745
35746 2012-09-04  Florian Weimer  <fweimer@redhat.com>
35747
35748         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
35749         failures.
35750
35751         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
35752
35753 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
35754
35755         [BZ #9914]
35756         * libio/iogetdelim.c: Include <limits.h>.
35757         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
35758         + len + 1 would overflow.
35759
35760 2012-09-03  Andreas Jaeger  <aj@suse.de>
35761
35762         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35763         * sysdeps/i386/fpu/libm-test-ulps: Update.
35764
35765 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
35766
35767         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
35768         Add s_sinf-sse2, s_conf-sse2.
35769
35770         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
35771         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
35772         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
35773         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
35774
35775         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
35776         for using routine as __sinf_ia32.
35777         Use macro for function declaration and weak_alias.
35778         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
35779         for using routine as __cosf_ia32.
35780         Use macro for function declaration and weak_alias.
35781
35782         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
35783         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
35784
35785         * sysdeps/x86_64/fpu/s_sinf.S: New file.
35786         * sysdeps/x86_64/fpu/s_cosf.S: New file.
35787         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35788
35789         * math/libm-test.inc (cos_test): Add more test cases.
35790         (sin_test): Likewise.
35791         (sincos_test): Likewise.
35792
35793 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35794
35795         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
35796         (IFUNC_RESOLVE): Make pointers to the specialized implementations
35797         hidden.
35798         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
35799
35800 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
35801
35802         [BZ #14538]
35803         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
35804         first element of the GOT.
35805         (elf_machine_load_address): Return the difference between
35806         the runtime address of _DYNAMIC and elf_machine_dynamic ().
35807
35808 2012-09-01  Allan McRae  <allan@archlinux.org>
35809
35810         [BZ #13412]
35811         * configure.in (AWK): Require gawk version 3.0 or later.
35812         * configure: Regenerated.
35813
35814 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
35815
35816         * sysdeps/unix/sysv/linux/kernel-features.h
35817         (__ASSUME_POSIX_CPU_TIMERS): Remove.
35818         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
35819         [__NR_clock_getres]: Make code unconditional.
35820         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
35821         (clock_getcpuclockid): Remove code left unreachable by removal of
35822         conditionals.
35823         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
35824         code unconditional.
35825         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35826         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35827         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
35828         Make code unconditional.
35829         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
35830         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35831         * sysdeps/unix/sysv/linux/clock_settime.c
35832         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
35833         conditional code.
35834         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
35835         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
35836
35837 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
35838
35839         [BZ #14476]
35840         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
35841         scripts/test-installation.pl.
35842
35843         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
35844         and $ld_so_version if it is set.
35845
35846 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
35847
35848         [BZ #14516]
35849         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
35850         failure if reading from procfs failed.
35851         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
35852
35853 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
35854
35855         * sysdeps/unix/sysv/linux/kernel-features.h
35856         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
35857         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35858         Remove conditional code.
35859         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35860         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
35861         Remove conditional code.
35862         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35863         * sysdeps/unix/sysv/linux/i386/fxstat.c
35864         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35865         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35866         * sysdeps/unix/sysv/linux/i386/fxstatat.c
35867         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35868         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35869         * sysdeps/unix/sysv/linux/i386/lxstat.c
35870         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
35871         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35872         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
35873         Remove conditional code.
35874         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35875         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
35876         Remove conditional code.
35877         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35878         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
35879         <kernel-features.h>.
35880         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
35881         Remove.
35882         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
35883         Remove conditional code.
35884         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
35885         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
35886         Remove conditional.
35887
35888 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
35889
35890         [BZ #5400]
35891         * NEWS: Add fixed bug number.
35892
35893 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
35894
35895         [BZ #14519]
35896         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
35897         underflowing exponent in case of negative sign.
35898         * stdlib/tst-strtod-round-data: Add more tests.
35899         * stdlib/tst-strtod-round.c (tests): Regenerated.
35900
35901         [BZ #3479]
35902         * stdlib/strtod_l.c (NDIG): Remove.
35903         (HEXNDIG): Likewise.
35904         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
35905         smallest representable value.
35906         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
35907         lie within an exact representation of 1/2 ulp of the result.
35908         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
35909         unconditionally.
35910         (TENS_P9_IDX): Define unconditionally.
35911         (TENS_P9_SIZE): Likewise.
35912         (TENS_P10_IDX): Likewise.
35913         (TENS_P10_SIZE): Likewise.
35914         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
35915         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
35916         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
35917         entries for 10^2^13 and 10^2^14.
35918         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
35919         (TENS_P13_IDX): Define.
35920         (TENS_P13_SIZE): Likewise.
35921         (TENS_P14_IDX): Likewise.
35922         (TENS_P14_SIZE): Likewise.
35923         (_fpioconst_pow10): Change array size to
35924         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
35925         unconditional.
35926         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
35927         1024]: Add entries for 10^2^13 and 10^2^14.
35928         [LAST_POW10 > _LAST_POW10]: Remove #error.
35929         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
35930         (_fpioconst_pow10): Change array size to
35931         FPIOCONST_POW10_ARRAY_SIZE.
35932         * stdlib/gen-fpioconst.c: New file.
35933         * stdlib/gen-tst-strtod-round.c: Likewise.
35934         * stdlib/tst-strtod-round-data: Likewise.
35935         * stdlib/tst-strtod-round.c: Likewise.
35936         * stdlib/Makefile (tests): Add tst-strtod-round.
35937
35938         [BZ #14459]
35939         * stdlib/strtod_l.c: Include <stdint.h>.
35940         (NDEBUG): Do not define.
35941         (round_and_return): Change EXPONENT parameter to type intmax_t.
35942         Rearrange calculations to avoid internal overflow possibilities.
35943         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
35944         Rearrange calculations to avoid internal overflow possibilities.
35945         Assert that number fits inside MPNSIZE limbs.
35946         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
35947         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
35948         calculations and add assertions to avoid internal overflow
35949         possibilities.  Add casts to avoid signed/unsigned operations.
35950         * stdlib/tst-strtod-overflow.c: New file.
35951         * stdlib/Makefile (tests): Add tst-strtod-overflow.
35952
35953 2012-08-25  Marek Polacek  <polacek@redhat.com>
35954
35955         * time/time.h: Fix some typos in comments.
35956
35957 2012-08-23  Roland McGrath  <roland@hack.frob.com>
35958
35959         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
35960         * posix/tst-rfc3484-2.c: Likewise.
35961         * posix/tst-rfc3484-3.c: Likewise.
35962
35963 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
35964
35965         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
35966         (EF_ARM_ABI_FLOAT_HARD): Likewise.
35967
35968 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
35969
35970         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
35971         #include of fxstatat64.c.
35972
35973 2012-08-22  Roland McGrath  <roland@hack.frob.com>
35974
35975         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
35976         * shadow/getspent_r.c: Likewise.
35977         * shadow/getspnam.c: Likewise.
35978         * shadow/getspnam_r.c: Likewise.
35979         * gshadow/getsgent.c: Likewise.
35980         * gshadow/getsgent_r.c: Likewise.
35981         * gshadow/getsgnam.c: Likewise.
35982         * gshadow/getsgnam_r.c: Likewise.
35983         * inet/getnetbyad.c: Likewise.
35984         * inet/getnetbyad_r.c: Likewise.
35985         * inet/getnetbynm.c: Likewise.
35986         * inet/getnetbynm_r.c: Likewise.
35987         * inet/getnetent.c: Likewise.
35988         * inet/getnetent_r.c: Likewise.
35989         * inet/getproto.c: Likewise.
35990         * inet/getproto_r.c: Likewise.
35991         * inet/getprtent.c: Likewise.
35992         * inet/getprtent_r.c: Likewise.
35993         * inet/getprtname.c: Likewise.
35994         * inet/getprtname_r.c: Likewise.
35995         * inet/getrpcbyname.c: Likewise.
35996         * inet/getrpcbyname_r.c: Likewise.
35997         * inet/getrpcbynumber.c: Likewise.
35998         * inet/getrpcbynumber_r.c: Likewise.
35999         * inet/getrpcent.c: Likewise.
36000         * inet/getrpcent_r.c: Likewise.
36001         * inet/getaliasent.c: Likewise.
36002         * inet/getaliasent_r.c: Likewise.
36003         * inet/getaliasname.c: Likewise.
36004         * inet/getaliasname_r.c: Likewise.
36005         * nscd/getgrgid_r.c: Likewise.
36006         * nscd/getgrnam_r.c: Likewise.
36007         * nscd/gethstbyad_r.c: Likewise.
36008         * nscd/gethstbynm3_r.c: Likewise.
36009         * nscd/getpwnam_r.c: Likewise.
36010         * nscd/getpwuid_r.c: Likewise.
36011         * nscd/getsrvbynm_r.c: Likewise.
36012         * nscd/getsrvbypt_r.c: Likewise.
36013         * nscd/gai.c: Likewise.
36014
36015         * configure.in (build_nscd): New substituted variable, set
36016         by --disable-build-nscd and defaults to $use_nscd.
36017         * configure: Regenerated.
36018         * config.make.in (build-nscd): New substituted variable.
36019         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
36020         Change conditional to require [$(build-nscd) = yes] as well.
36021         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
36022
36023         [BZ# 13696]
36024         * configure.in (use_nscd): New substituted variable, set by
36025         --disable-nscd.  If enabled, define USE_NSCD.
36026         * configure: Regenerated.
36027         * config.h.in: Add USE_NSCD.
36028         * config.make.in (use-nscd): New substituted variable.
36029         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
36030         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
36031         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
36032         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
36033         (CFLAGS-getgrnam_r.c): Likewise.
36034         (CFLAGS-initgroups.c): Likewise.
36035         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
36036         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
36037         Variables removed.
36038         * inet/getnetgrent_r.c
36039         (nscd_setnetgrent): New function, broken out of ...
36040         (setnetgrent): ... here.  Call it.
36041         (innetgr): Conditionalize nscd bits on [USE_NSCD].
36042         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
36043         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
36044         * nscd/Makefile (routines, aux): Move definitions after include of
36045         Makeconfig.  Conditionalize on [$(use-nscd) != no].
36046         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
36047         Conditionalize on [USE_NSCD].
36048         (is_nscd, nscd_init_cb): Likewise.
36049         (nss_load_library): Conditionalize init callback on [USE_NSCD].
36050         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
36051         * nss/nss_db/db-init.c: Likewise.
36052         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
36053         [USE_NSCD].
36054         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
36055         (make_request): Use it.
36056         (cache_valid_p): New function.
36057         (__check_pf): Use it.
36058         * NEWS: Add item for --disable-nscd.
36059
36060 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
36061
36062         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
36063         to support sed >= 4.2.1-20-ga9bf076.
36064         * configure: Regenerated.
36065
36066 2012-08-22  Roland McGrath  <roland@hack.frob.com>
36067
36068         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
36069         Conditionalize whole body on [IREL].
36070
36071 2012-08-22  Jeff Law <law@redhat.com>
36072
36073         [BZ #14505]
36074         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
36075         if the family is PF_UNSPEC.
36076
36077 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
36078
36079         * Makerules (lib-version): Rename from V.
36080         (install-lib-nosubdir): Change V to lib-version.
36081
36082 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
36083
36084         [BZ #14252]
36085         * powerpc32/power6/wcschr.c: New file.
36086         * powerpc32/power6/wcscpy.c: New file.
36087         * powerpc32/power6/wcsrchr.c: New file.
36088         * powerpc64/power6/wcschr.c: New file.
36089         * powerpc64/power6/wcscpy.c: New file.
36090         * powerpc64/power6/wcsrchr.c: New file.
36091
36092 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
36093
36094         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
36095         (two_way_short_needle): Use it.
36096         * string/strstr.c (AVAILABLE1_USES_J): Define.
36097         * string/strcasestr.c: Likewise.
36098
36099         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
36100         array references.
36101         * string/strcasestr.c (TOLOWER): Make side-effect safe.
36102
36103         [BZ #11607]
36104         * NEWS: Add an entry.
36105         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
36106         define their defaults.
36107         (two_way_short_needle): Detect end-of-string on-the-fly.
36108         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
36109         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
36110         * string/bug-strcasestr1.c: New test.
36111         * string/Makefile: Run it.
36112
36113 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
36114
36115         [BZ #11607]
36116         * string/str-two-way.h (two_way_short_needle): Optimize matching of
36117         the first character.
36118
36119 2012-08-21  Roland McGrath  <roland@hack.frob.com>
36120
36121         * csu/elf-init.c (__libc_csu_irel): Function removed.
36122         * csu/libc-start.c (apply_irel): New function.
36123         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
36124
36125 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
36126
36127         * sysdeps/unix/sysv/linux/kernel-features.h
36128         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
36129         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
36130         <kernel-features.h>.
36131         [__NR_fadvise64_64]: Make code unconditional.
36132         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
36133         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36134         !__NR_fadvise64_64)]: Likewise.
36135         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
36136         !__NR_fadvise64_64))]: Likewise.
36137         [__NR_fadvise64]: Make code unconditional.
36138         [!__NR_fadvise64]: Remove conditional code.
36139         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
36140         <kernel-features.h>.
36141         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36142         unconditional.
36143         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36144         conditional code.
36145         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
36146         not include <kernel-features.h>.
36147         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36148         unconditional.
36149         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36150         conditional code.
36151         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
36152         include <kernel-features.h>.
36153         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
36154         unconditional.
36155         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
36156         conditional code.
36157
36158 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
36159
36160         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
36161         slight instruction rearrangements per scrollpipe analysis.
36162         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
36163
36164 2012-08-20  Roland McGrath  <roland@hack.frob.com>
36165
36166         * manual/syslog.texi (syslog; vsyslog, closelog):
36167         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
36168         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
36169
36170         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
36171         DSOCAPS to match condition on defining it.
36172
36173 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
36174
36175         * sysdeps/unix/sysv/linux/kernel-features.h
36176         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
36177         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
36178         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36179         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
36181         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36182         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36183         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
36184         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
36185         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
36186
36187         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
36188         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
36189
36190         * sysdeps/unix/sysv/linux/kernel-features.h
36191         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
36192         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
36193         unconditional.
36194         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36195         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
36196         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36197         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36198         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
36199         Make code unconditional.
36200         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36201         (__mmap64) [!__NR_mmap2]: Likewise.
36202         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
36203         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
36204         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36205         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
36206         [__NR_mmap2]: Make code unconditional.
36207         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
36208         (__mmap64) [!__NR_mmap2]: Likewise.
36209
36210 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36211
36212         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
36213
36214 2012-08-18  Andreas Jaeger  <aj@suse.de>
36215
36216         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
36217
36218 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
36219
36220         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
36221         * include/unistd.h (__have_sock_cloexec): Likewise.
36222         (__have_pipe2): Likewise.
36223         (__have_dup3): Likewise.
36224
36225 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
36226
36227         [BZ #9685]
36228         * include/unistd.h (__have_pipe2): Change define into an extern int.
36229         (__have_dup3): Likewise.
36230         * socket/have_sock_cloexec.c: Include fcntl.h.
36231         (__have_pipe2): New variable.
36232         (__have_dup3): Likewise.
36233
36234 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
36235
36236         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
36237
36238 2012-08-17  Marek Polacek  <polacek@redhat.com>
36239
36240         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
36241         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
36242
36243 2012-08-17  Roland McGrath  <roland@hack.frob.com>
36244
36245         * configure.in: Add AC_SUBST for sysheaders.
36246         * configure: Regenerated.
36247         * config.make.in (sysheaders): New substituted variable.
36248
36249         * sysdeps/unix/mkfifo.c: Moved ...
36250         * sysdeps/posix/mkfifo.c: ... here.
36251         * sysdeps/unix/mkfifoat.c: Moved ...
36252         * sysdeps/posix/mkfifoat.c: ... here.
36253
36254         * sysdeps/unix/utime.c: Moved ...
36255         * sysdeps/posix/utime.c: ... here.
36256
36257         * sysdeps/unix/time.c: Moved ...
36258         * sysdeps/posix/time.c: ... here.
36259         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
36260         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
36261
36262         * sysdeps/unix/nice.c: Moved ...
36263         * sysdeps/posix/nice.c: ... here.
36264
36265         * sysdeps/unix/alarm.c: Moved ...
36266         * sysdeps/posix/alarm.c: ... here.
36267
36268         * intl/Makefile ($(codeset_mo)): Depend on the input file.
36269
36270 2012-08-17  Jeff Law <law@redhat.com>
36271
36272         * intl/Makefile (codeset_mo): New variable.
36273         ($(codeset_mo)): New target.
36274         (tst-codeset.out): Depend on that.  Remove explicit rule.
36275         (tst-gettext3.out, tst-gettext5.out): Likewise.
36276         (LOCPATH-ENV, tst-codeset-ENV): New variables.
36277         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
36278         * intl/tst-codeset.sh: Remove.
36279         * intl/tst-gettext3.sh: Likewise.
36280         * intl/tst-gettext5.sh: Likewise.
36281
36282 2012-08-17  Roland McGrath  <roland@hack.frob.com>
36283
36284         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
36285         * sysdeps/unix/syscalls.list: ... here.
36286
36287         * sysdeps/posix/getaddrinfo.c
36288         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
36289         (gaiconf_init, gaiconf_reload): Use them.
36290         [!_STATBUF_ST_NSEC]
36291         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
36292         Define using time_t rather than struct timespec.
36293
36294         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
36295         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
36296         Macros removed.
36297         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
36298         [!NO_THREADS].
36299         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
36300         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
36301         Likewise.
36302
36303         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
36304         __libc_cleanup_push argument.
36305
36306         * bits/param.h: New file.
36307         * misc/sys/param.h: New file.
36308         * include/sys/param.h: New file.
36309         * misc/Makefile (headers): Add bits/param.h.
36310         * sysdeps/generic/sys/param.h: File removed.
36311         * sysdeps/unix/sysv/linux/bits/param.h: New file.
36312         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
36313         * sysdeps/mach/hurd/bits/param.h: New file.
36314         * sysdeps/mach/hurd/sys/param.h: File removed.
36315
36316         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
36317         last change.
36318
36319         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
36320         [_IO_MTSAFE_IO].
36321         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
36322         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
36323         New macros.
36324
36325         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
36326         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
36327         rather than -D_IO_MTSAFE_IO conditionally.
36328         * stdio-common/Makefile (CPPFLAGS): Likewise.
36329         * wcsmbs/Makefile (CPPFLAGS): Likewise.
36330         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
36331         Use $(libio-mtsafe).
36332         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
36333         of -D_IO_MTSAFE_IO.
36334         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
36335         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
36336         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
36337         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
36338         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
36339         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
36340         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
36341         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
36342         (CFLAGS-fread_u_chk.c): Likewise.
36343         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
36344         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
36345         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
36346         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
36347         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
36348         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
36349         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
36350         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
36351         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
36352
36353         * libio/Makefile: Test [$(libc-reentrant) = yes]
36354         instead of [$(filter %REENTRANT, $(defines)) nonempty].
36355
36356         * Makeconfig
36357         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
36358         * sysdeps/pthread/configure: File removed.
36359         * sysdeps/pthread/Makeconfig: New file.
36360         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
36361         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
36362
36363 2012-08-16  Gary Benson  <gbenson@redhat.com>
36364
36365         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
36366         unmapping the first object in a namespace.
36367
36368 2012-08-16  Roland McGrath  <roland@hack.frob.com>
36369
36370         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
36371         (__internal_setnetgrent): ... this.  Add internal_function to
36372         definition.  Add libc_hidden_def.
36373         (setnetgrent): Update caller.
36374         (internal_endnetgrent): Renamed to ...
36375         (__internal_endnetgrent): ... this.  Add internal_function to
36376         definition.  Add libc_hidden_def.
36377         (endnetgrent): Update caller.
36378         (internal_getnetgrent_r): Renamed to ...
36379         (__internal_getnetgrent_r): ... this.  Add internal_function to
36380         definition.  Add libc_hidden_def.
36381         (__getnetgrent_r): Update caller.
36382         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
36383
36384 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
36385
36386         * stdlib/longlong.h: Update from GCC.
36387
36388 2012-08-16  Roland McGrath  <roland@hack.frob.com>
36389
36390         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
36391         on _QL, which is set by umul_ppmm but never used.
36392         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
36393         variables, which are set by GMP macros but never used.
36394         * stdio-common/_itowa.c (_itowa): Likewise.
36395         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
36396         * stdlib/mod_1.c (mpn_mod_1): Likewise.
36397
36398 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
36399
36400         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
36401         struct La_sh_regs is not constant.
36402         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
36403         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
36404         and struct La_sparc64_regs are not constant.
36405
36406 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
36407
36408         * sysdeps/unix/sysv/linux/kernel-features.h
36409         (__ASSUME_POSIX_TIMERS): Remove.
36410         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
36411         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36412         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
36413         Make code unconditional.
36414         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36415         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
36416         Make code unconditional.
36417         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36418         * sysdeps/unix/sysv/linux/clock_nanosleep.c
36419         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
36420         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36421         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
36422         Make code unconditional.
36423         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
36424         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
36425         (__libc_missing_posix_timers): Remove.
36426
36427 2012-08-15  Roland McGrath  <roland@hack.frob.com>
36428
36429         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
36430         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
36431
36432         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
36433
36434         * elf/dl-sym.c: Include <stdlib.h>.
36435
36436         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
36437         constants, which avoids warnings in 32-bit builds.
36438
36439         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
36440         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
36441
36442         * misc/lseek.c: File moved to ...
36443         * io/lseek.c: ... here.
36444
36445         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
36446
36447         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
36448         shifting LEN more than 31 bits at once.
36449
36450 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
36451
36452         [BZ #14195]
36453         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
36454         segmentation fault for a case of two empty input strings.
36455         * string/test-strncasecmp.c (check1): Renamed to...
36456         (bz12205): ...this.
36457         (bz14195): Add new testcase for two empty input strings and N > 0.
36458         (test_main): Call new testcase, adapt for renamed function.
36459
36460 2012-08-15  Andreas Jaeger  <aj@suse.de>
36461
36462         [BZ #14090]
36463         * crypt/md5test2.c: New test, based on test supplied by Serge
36464         Belyshev <belyshev@depni.sinp.msu.ru>.
36465         * crypt/Makefile (xtests): Add md5test-giant..
36466         * crypt/Makefile ($(objpfx)md5test-giant): Add.
36467
36468 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
36469
36470         [BZ #14090]
36471         * crypt/md5.c (md5_process_block): Don't assume the buffer
36472         length is less than 2**32.
36473         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
36474         length is less than 2**64.
36475
36476 2012-08-15  Roland McGrath  <roland@hack.frob.com>
36477
36478         * string/str-two-way.h: Include <sys/param.h>.
36479         (MAX): Macro removed.
36480
36481         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
36482         Move #define and #undef of memmove to just before and after
36483         including <string.h>.
36484
36485         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
36486         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
36487         and after including <string.h>.  Move declarations of
36488         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
36489         to before #include "string/memmove.c".
36490
36491         * include/dirent.h: Declare __getdirentries.
36492
36493         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
36494         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
36495
36496 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
36497
36498         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
36499         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
36500         * sysdeps/i386/configure: Regenerated.
36501         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
36502         STABS_CURRENT_FILE, and STABS_FUN.
36503         (END): Remove call to STABS_FUN_END.
36504         (STABS_CURRENT_FILE1): Delete.
36505         (STABS_CURRENT_FILE): Likewise.
36506         (STABS_FUN): Likewise.
36507         (STABS_FUN_END): Likewise.
36508         (STABS_FUN2): Likewise.
36509         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
36510         * sysdeps/x86_64/configure: Regenerated.
36511
36512 2012-08-14  Roland McGrath  <roland@hack.frob.com>
36513
36514         * elf/dl-open.c: Include <atomic.h>.
36515         * elf/dl-lookup.c: Likewise.
36516
36517 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
36518
36519         * sysdeps/unix/sysv/linux/kernel-features.h
36520         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
36521         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
36522         unconditionally.
36523         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
36524         unconditionally.
36525         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
36526         condition on __ASSUME_CLONE_THREAD_FLAGS.
36527
36528 2012-08-14  Andreas Jaeger  <aj@suse.de>
36529
36530         * sysdeps/i386/fpu/libm-test-ulps: Update.
36531
36532 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
36533
36534         * include/atomic.h (atomic_exchange_and_add): Split into ...
36535         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
36536         New atomic macros.
36537
36538 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
36539
36540         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
36541
36542 2012-08-13  Jeff Law <law@redhat.com>
36543
36544         * manual/stdio.texi (snprintf): Clarify handling of the trailing
36545         null byte in the output string.
36546
36547 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
36548
36549         * sysdeps/unix/sysv/linux/kernel-features.h
36550         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
36551         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
36552         (__ASSUME_ARG_MAX_STACK_BASED): Define.
36553         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
36554         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
36555         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
36556         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
36557
36558 2012-08-09  Jeff Law <law@redhat.com>
36559
36560         [BZ #13939]
36561         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
36562         When avoid_arena is set, don't retry in the that arena.  Pick the
36563         next one, whatever it might be.
36564         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
36565         (arena_lock): Pass in new parameter to arena_get2.
36566         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
36567         arena_get2.
36568         (__libc_malloc): Unify retrying after main arena failure with
36569         __libc_memalign version.
36570         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
36571
36572 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
36573
36574         [BZ #14166]
36575         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
36576         to __redirect_strstr.
36577         (__strstr_sse42): Use typeof __redirect_strstr.
36578         (__strstr_ia32): Likewise.
36579         (__libc_strstr): New prototype.
36580         (strstr): Renamed to ...
36581         (__libc_strstr): This.
36582         (strstr): New strong alias of __libc_strstr.
36583         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
36584         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
36585         __redirect_time.
36586         Include <time.h>.
36587         (__libc_time): New prototype.
36588         (time_ifunc): Replace time with __libc_time.
36589         (time): New strong alias and hidden definition of __libc_time.
36590         (__GI_time): Remove strong alias.
36591         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
36592         Include <stddef.h>.
36593         (memmove): Redefined to __redirect_memmove.
36594         (__memmove_sse2): Use typeof __redirect_memmove.
36595         (__memmove_ssse3): Likewise.
36596         (__memmove_ssse3_back): Likewise.
36597         (__libc_memmove): New prototype.
36598         (memmove): Renamed to ...
36599         (__libc_memmove): This.
36600         (memmove): New strong alias of __libc_memmove.
36601
36602 2012-08-08  Mark Salter  <msalter@redhat.com>
36603
36604         * elf/elf.h
36605         (R_MN10300_TLS_GD): Define.
36606         (R_MN10300_TLS_LD): Likewise.
36607         (R_MN10300_TLS_LDO): Likewise.
36608         (R_MN10300_TLS_GOTIE): Likewise.
36609         (R_MN10300_TLS_IE): Likewise.
36610         (R_MN10300_TLS_LE): Likewise.
36611         (R_MN10300_TLS_DTPMOD): Likewise.
36612         (R_MN10300_TLS_DTPOFF): Likewise.
36613         (R_MN10300_TLS_TPOFF): Likewise.
36614         (R_MN10300_SYM_DIFF): Likewise.
36615         (R_MN10300_ALIGN): Likewise.
36616         (R_MN10300_NUM): Update.
36617
36618 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
36619
36620         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
36621         Remove.
36622
36623 2012-08-08  Roland McGrath  <roland@hack.frob.com>
36624
36625         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
36626
36627         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
36628         sysdeps/unix -> sysdeps/posix move.
36629         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
36630
36631 2012-08-07      Allan McRae     <allan@archlinux.org>
36632
36633         [BZ #14303]
36634         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
36635         (SUNOS_CPP): Likewise.
36636         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
36637         not found.
36638         (open_input): Call CPP using execvp.
36639
36640 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
36641
36642         * sysdeps/unix/sysv/linux/kernel-features.h
36643         (__ASSUME_PROT_GROWSUPDOWN): Remove.
36644         (__ASSUME_NO_CLONE_DETACHED): Likewise.
36645         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36646         (__ASSUME_WAITID_SYSCALL): Likewise.
36647         * sysdeps/unix/sysv/linux/dl-execstack.c
36648         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
36649         code unconditional.
36650         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
36651         conditional code.
36652         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
36653         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
36654         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
36655         code.
36656         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
36657         unconditional.
36658         [__ASSUME_WAITID_SYSCALL]: Likewise.
36659         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
36660
36661 2012-08-07  Roland McGrath  <roland@hack.frob.com>
36662
36663         * sysdeps/unix/closedir.c: Renamed to ...
36664         * sysdeps/posix/closedir.c: ... here.
36665         * sysdeps/unix/dirfd.c: Renamed to ...
36666         * sysdeps/posix/dirfd.c: ... here.
36667         * sysdeps/unix/dirstream.h: Renamed to ...
36668         * sysdeps/posix/dirstream.h: ... here.
36669         * sysdeps/unix/fdopendir.c: Renamed to ...
36670         * sysdeps/posix/fdopendir.c: ... here.
36671         * sysdeps/unix/opendir.c: Renamed to ...
36672         * sysdeps/posix/opendir.c: ... here.
36673         * sysdeps/unix/readdir.c: Renamed to ...
36674         * sysdeps/posix/readdir.c: ... here.
36675         * sysdeps/unix/readdir_r.c: Renamed to ...
36676         * sysdeps/posix/readdir_r.c: ... here.
36677         * sysdeps/unix/rewinddir.c: Renamed to ...
36678         * sysdeps/posix/rewinddir.c: ... here.
36679         * sysdeps/unix/seekdir.c: Renamed to ...
36680         * sysdeps/posix/seekdir.c: ... here.
36681         * sysdeps/unix/telldir.c: Renamed to ...
36682         * sysdeps/posix/telldir.c: ... here.
36683         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
36684         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
36685         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
36686         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
36687
36688         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
36689         * bits/fcntl.h: ... here.
36690
36691         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
36692         not 0.
36693         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
36694         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
36695         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
36696         (struct flock): Move l_start, l_len to the beginning.
36697         Use __pid_t for l_pid.
36698         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
36699         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
36700         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
36701         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
36702         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
36703         [__USE_LARGEFILE64] (struct flock64): New type.
36704         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
36705
36706         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
36707         * bits/dirent.h: ... here.
36708
36709         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
36710         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
36711
36712 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
36713
36714         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36715         Change from 2.6.0 to 2.6.16.
36716         * sysdeps/unix/sysv/linux/configure: Regenerated.
36717         * sysdeps/unix/sysv/linux/kernel-features.h
36718         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
36719         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
36720         version.
36721         (__ASSUME_UTIMES): Likewise.
36722         (__ASSUME_CLONE_STOPPED): Remove.
36723         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
36724         architectures, not kernel version.
36725         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
36726         (__ASSUME_NO_CLONE_DETACHED): Likewise.
36727         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
36728         (__ASSUME_WAITID_SYSCALL): Likewise.
36729         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
36730         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
36731         * README: State 2.6.16 as minimum Linux kernel version.  Do not
36732         refer to older versions.
36733
36734 2012-08-06  Roland McGrath  <roland@hack.frob.com>
36735
36736         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
36737         Define alphasort64 as an alias.
36738         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
36739         Define versionsort64 as an alias.
36740         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
36741         Define scandir64 as an alias.
36742         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
36743         Define scandirat64 as an alias.
36744         * dirent/alphasort64.c (alphasort64):
36745         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
36746         * dirent/versionsort64.c: Likewise.
36747         * dirent/scandir64.c: Likewise.
36748         * dirent/scandirat64.c: Likewise.
36749         * sysdeps/wordsize-64/alphasort.c: File removed.
36750         * sysdeps/wordsize-64/alphasort64.c: File removed.
36751         * sysdeps/wordsize-64/scandir.c: File removed.
36752         * sysdeps/wordsize-64/scandir64.c: File removed.
36753         * sysdeps/wordsize-64/scandirat.c: File removed.
36754         * sysdeps/wordsize-64/scandirat64.c: File removed.
36755         * sysdeps/wordsize-64/versionsort.c: File removed.
36756         * sysdeps/wordsize-64/versionsort64.c: File removed.
36757         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
36758         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
36759         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
36760         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
36761         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
36762         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
36763         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
36764         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
36765
36766         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
36767         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36768         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
36769         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36770         [defined __arch64__ || defined __sparcv9]
36771         (__INO_T_MATCHES_INO64_T): New macro.
36772         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36773         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
36774         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
36775         * sysdeps/unix/sysv/linux/bits/dirent.h
36776         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
36777         (_DIRENT_MATCHES_DIRENT64): New macro.
36778
36779         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
36780         Define lockf64 as an alias.
36781         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
36782         Define fseeko64 as an alias.
36783         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
36784         Define ftello64 as an alias.
36785         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
36786         Define _IO_fgetpos64 and fgetpos64 as aliases.
36787         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
36788         Define _IO_fsetpos64 and fsetpos64 as aliases.
36789         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
36790         Conditionalize body on this.
36791         * libio/fseeko64.c: Likewise.
36792         * libio/ftello64.c: Likewise.
36793         * libio/iofgetpos64.c: Likewise.
36794         * libio/iofsetpos64.c: Likewise.
36795         * sysdeps/wordsize-64/lockf.c: File removed.
36796         * sysdeps/wordsize-64/lockf64.c: File removed.
36797         * sysdeps/wordsize-64/fseeko.c: File removed.
36798         * sysdeps/wordsize-64/fseeko64.c: File removed.
36799         * sysdeps/wordsize-64/ftello.c: File removed.
36800         * sysdeps/wordsize-64/ftello64.c: File removed.
36801         * sysdeps/wordsize-64/iofgetpos.c: File removed.
36802         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
36803         * sysdeps/wordsize-64/iofsetpos.c: File removed.
36804         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
36805         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
36806         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
36807         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
36808         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
36809         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
36810         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
36811         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
36812         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
36813         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
36814         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
36815
36816         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36817         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
36818         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
36819         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
36820         [defined __arch64__ || defined __sparcv9]
36821         (__OFF_T_MATCHES_OFF64_T): New macro.
36822         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
36823         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
36824         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
36825         (__OFF_T_MATCHES_OFF64_T): New macro.
36826
36827 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
36828
36829         * stdlib/secure-getenv.c (__secure_getenv): Replace
36830         GLIBC_2_16 with GLIBC_2_17.
36831
36832 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
36833
36834         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
36835         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
36836
36837 2012-08-03  David S. Miller  <davem@davemloft.net>
36838
36839         * sysdeps/sparc/fpu/libm-test-ulps: Update.
36840
36841 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
36842
36843         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
36844         Remove.
36845         (__ASSUME_CORRECT_SI_PID): Likewise.
36846         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
36847         (__ASSUME_TMPFS_NAME): Likewise.
36848         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
36849         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
36850         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
36851         (HAVE_AUX_SECURE): Make definition unconditional.
36852         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
36853         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
36854
36855 2012-08-03  Roland McGrath  <roland@hack.frob.com>
36856
36857         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
36858         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
36859         * sysdeps/mach/hurd/eloop-threshold.h: New file.
36860         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
36861         __eloop_threshold instead of SYMLOOP_MAX.
36862
36863         * sysdeps/generic/eloop-threshold.h: New file.
36864         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
36865         of MAXSYMLINKS.
36866         * elf/chroot_canon.c (chroot_canon): Likewise.
36867
36868 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
36869
36870         [BZ #13717]
36871         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
36872         Change to 2.6.0 everywhere.
36873         * sysdeps/unix/sysv/linux/configure: Regenerated.
36874         * sysdeps/unix/sysv/linux/kernel-features.h
36875         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
36876         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
36877         kernel versions.
36878         (__ASSUME_POSIX_TIMERS): Define unconditionally.
36879         (__ASSUME_FUTEX_REQUEUE): Remove.
36880         (__ASSUME_STATFS64): Define unconditionally.
36881         (__ASSUME_AT_SECURE): Likewise.
36882         (__ASSUME_CORRECT_SI_PID): Likewise.
36883         (__ASSUME_TGKILL): Define without depending on kernel version for
36884         i386.
36885         (__ASSUME_UTIMES): Likewise.
36886         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
36887         kernel version.
36888         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
36889         (__ASSUME_TMPFS_NAME): Likewise.
36890         * README: Update reference to Linux kernel versions.
36891
36892 2012-08-02  Marek Polacek  <polacek@redhat.com>
36893
36894         [BZ# 14150]
36895         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
36896         libc_cv_asm_type_prefix with %.
36897         * configure: Regenerated.
36898         * include/libc-symbols.h: Remove comment about
36899         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36900         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
36901         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
36902         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
36903         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
36904         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
36905         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
36906         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
36907         * elf/tst-unique2mod1.c: Likewise.
36908         * elf/tst-unique1mod2.c: Likewise.
36909         * elf/tst-unique1mod1.c: Likewise.
36910         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
36911         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
36912         Replace ASM_TYPE_DIRECTIVE with .type.
36913         * sysdeps/s390/s390-64/sysdep.h: Likewise.
36914         * sysdeps/i386/sysdep.h: Likewise.
36915         * sysdeps/x86_64/sysdep.h: Likewise.
36916         * sysdeps/sh/sysdep.h: Likewise.
36917         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
36918         Do not define ASM_TYPE_DIRECTIVE.
36919         * sysdeps/powerpc/sysdep.h: Likewise.
36920         * sysdeps/powerpc/powerpc32/sysdep.h:
36921         Replace ASM_TYPE_DIRECTIVE with .type.
36922         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
36923         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
36924         * sysdeps/i386/fpu/e_powf.S: Likewise.
36925         * sysdeps/i386/fpu/e_expl.S: Likewise.
36926         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
36927         * sysdeps/i386/fpu/e_acosh.S: Likewise.
36928         * sysdeps/i386/fpu/e_pow.S: Likewise.
36929         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
36930         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
36931         * sysdeps/i386/fpu/s_expm1.S: Likewise.
36932         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
36933         * sysdeps/i386/fpu/e_log2.S: Likewise.
36934         * sysdeps/i386/fpu/e_log2l.S: Likewise.
36935         * sysdeps/i386/fpu/e_scalb.S: Likewise.
36936         * sysdeps/i386/fpu/e_powl.S: Likewise.
36937         * sysdeps/i386/fpu/e_log10f.S: Likewise.
36938         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
36939         * sysdeps/i386/fpu/e_logl.S: Likewise.
36940         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
36941         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
36942         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
36943         * sysdeps/i386/fpu/e_log2f.S: Likewise.
36944         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
36945         * sysdeps/i386/fpu/e_log.S: Likewise.
36946         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
36947         * sysdeps/i386/fpu/e_logf.S: Likewise.
36948         * sysdeps/i386/fpu/e_log10l.S: Likewise.
36949         * sysdeps/i386/fpu/e_atanh.S: Likewise.
36950         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
36951         * sysdeps/i386/fpu/e_log10.S: Likewise.
36952         * sysdeps/i386/fpu/s_frexp.S: Likewise.
36953         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
36954         * sysdeps/i386/fpu/s_asinh.S: Likewise.
36955         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
36956         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
36957         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
36958         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
36959         * sysdeps/i386/i686/strtok.S: Likewise.
36960         * sysdeps/i386/i386-mcount.S: Likewise.
36961         * sysdeps/i386/strtok.S: Likewise.
36962         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
36963         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
36964         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
36965         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
36966         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
36967         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
36968         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
36969         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
36970         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
36971         * sysdeps/x86_64/_mcount.S: Likewise.
36972         * sysdeps/x86_64/strtok.S: Likewise.
36973         * sysdeps/sh/_mcount.S: Likewise.
36974
36975 2012-08-01  Roland McGrath  <roland@hack.frob.com>
36976
36977         * libio/iofopen.c: Include <fcntl.h>.
36978         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
36979         (_IO_fopen64, fopen64): Define as aliases.
36980         * libio/iofopen64.c: Include <fcntl.h>.
36981         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
36982         Conditionalize body on this.
36983         * sysdeps/wordsize-64/iofopen.c: File removed.
36984         * sysdeps/wordsize-64/iofopen64.c: File removed.
36985
36986 2012-08-01  Marek Polacek  <polacek@redhat.com>
36987
36988         * libc/Makeconfig: Use elf in place of binfmt-subdir.
36989         Use dlfcn directly instead of a variable.
36990         (binfmt-subdir): Do not define.
36991         (dlfcn): Likewise.
36992
36993 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
36994
36995         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
36996         Remove all definitions.
36997         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
36998         <kernel-features.h>.
36999         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37000         (miss_F_GETOWN_EX): Remove all definitions.
37001         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
37002         macro definition.
37003         [!__ASSUME_FCNTL64]: Remove conditional code.
37004         [__ASSUME_FCNTL64]: Make code unconditional.
37005         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
37006         <kernel-features.h>.
37007         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
37008         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
37009         (lockf64) [__NR_fcntl64]: Make code unconditional.
37010         (lockf64) [__ASSUME_FCNTL64]: Likewise.
37011
37012         * sysdeps/unix/sysv/linux/kernel-features.h
37013         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
37014         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
37015         Make code unconditional.
37016         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37017         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
37019         [__NR_vfork]: Make code unconditional.
37020         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37021         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
37023         [__NR_vfork]: Make code unconditional.
37024         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
37025         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
37026
37027 2012-08-01  Roland McGrath  <roland@hack.frob.com>
37028
37029         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
37030         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
37031
37032         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37033         Define mkstemp64 as an alias.
37034         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37035         Define mkstemps64 as an alias.
37036         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37037         Define mkostemp64 as an alias.
37038         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
37039         Define mkostemps64 as an alias.
37040         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
37041         Conditionalize body on this.
37042         * misc/mkostemp64.c: Likewise.
37043         * misc/mkostemps64.c: Likewise.
37044         * misc/mkstemps64.c: Likewise.
37045         * sysdeps/wordsize-64/mkstemp64.c: File removed.
37046         * sysdeps/wordsize-64/mkostemp64.c: File removed.
37047         * sysdeps/wordsize-64/mkostemp.c: File removed.
37048         * sysdeps/wordsize-64/mkstemp.c: File removed.
37049         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
37050         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
37051         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
37052         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
37053
37054         [BZ #14138]
37055         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
37056         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
37057         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
37058         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
37059
37060         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
37061         compat_symbol macros from <shlib-compat.h> rather than the underlying
37062         default_symbol_version and symbol_version macros, so that DEFAULT
37063         lines in shlib-versions are respected.
37064         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
37065
37066 2012-08-01  Florian Weimer  <fweimer@redhat.com>
37067
37068         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
37069         Declare with warn_unused_result.
37070         (setgid, setregid, setegid, setresgid): Likewise.
37071         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
37072         Likewise.
37073         * WUR-REPORT: Remove set*id functions.
37074
37075 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
37076
37077         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
37078
37079 2012-07-31  Roland McGrath  <roland@hack.frob.com>
37080
37081         [BZ #10191]
37082         * include/sys/socket.h (__libc_accept, __libc_accept4):
37083         Add attribute_hidden.
37084         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
37085
37086         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
37087         use of PTR_MANGLE.
37088         * inet/getnetgrent_r.c (setup): Likewise.
37089
37090         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
37091
37092 2012-07-31  David S. Miller  <davem@davemloft.net>
37093
37094         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37095
37096 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
37097
37098         [BZ #13629]
37099         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
37100         value between 1.0 and 2.0 and smaller part has absolute value less
37101         than 1.0.
37102         * math/s_clog10.c (__clog10): Likewise.
37103         * math/s_clog10f.c (__clog10f): Likewise.
37104         * math/s_clog10l.c (__clog10l): Likewise.
37105         * math/s_clogf.c (__clogf): Likewise.
37106         * math/s_clogl.c (__clogl): Likewise.
37107         * math/libm-test.inc (clog_test): Add more tests.
37108         (clog10_test): Likewise.
37109         * sysdeps/i386/fpu/libm-test-ulps: Update.
37110         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37111
37112 2012-07-31  Florian Weimer  <fweimer@redhat.com>
37113
37114         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
37115         Exit with zero in case no suitable GID is found, and write a
37116         message to standard error.
37117
37118 2012-07-30  Roland McGrath  <roland@hack.frob.com>
37119
37120         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
37121         rather than to 1.
37122         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
37123         (MAXPATHLEN): Removed.
37124         (NOGROUP, NODEV): New macros.
37125         (setbit, clrbit, isset, isclr): New macros.
37126         (howmany, roundup, powerof2): New macros.
37127         (DEV_BSIZE): New macro.
37128
37129         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
37130         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
37131
37132         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
37133         definition on [!__NO_LONG_DOUBLE_MATH].
37134
37135         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
37136         PTR_MANGLE and PTR_DEMANGLE.
37137
37138         * socket/accept4.c (accept4): Rename to __libc_accept4.
37139         Define accept4 as a weak alias.
37140
37141         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
37142         on [_DIRENT_HAVE_D_TYPE].
37143         * io/ftw.c (ftw_dir): Likewise.
37144
37145         * io/xmknod.c (__xmknod): Don't check PATH for being null.
37146
37147         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
37148
37149         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
37150         Use the BSD numbers rather than the arbitrary ones we had.
37151         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
37152         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
37153         (SIGXCPU, SIGXFSZ): New macros.
37154         (_NSIG): Now 32.
37155
37156         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
37157         initializer on [_LIBC_REENTRANT].
37158
37159         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
37160         definitions inside [_POSIX_MAPPED_FILES].
37161
37162         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
37163
37164         * dirent/opendir.c: Include <fcntl.h>.
37165
37166         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
37167         (__libc_getspecific): Likewise.
37168         (__libc_key_create): Likewise.
37169
37170         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
37171         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
37172         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
37173         (tmpfile64): Define as alias.
37174         * sysdeps/wordsize-64/tmpfile.c: File removed.
37175         * sysdeps/wordsize-64/tmpfile64.c: File removed.
37176         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
37177         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
37178
37179         * stdio-common/vfscanf.c: Include <stdbool.h>.
37180         * nss/makedb.c: Likewise.
37181         * stdio-common/_i18n_number.h: Likewise.
37182         * argp/argp-help.c: Likewise.
37183         * posix/wordexp.c: Likewise.
37184         * sysdeps/posix/spawni.c: Likewise.
37185         * nss/nss_files/files-initgroups.c: Likewise.
37186         * stdio-common/reg-modifier.c: Include <stdlib.h>.
37187         * nss/nss_files/files-initgroups.c: Likewise.
37188         * nss/nss_db/db-netgrp.c: Likewise.
37189         * nss/nss_db/db-initgroups.c: Likewise.
37190         * io/fchmodat.c: Include <sys/stat.h>.
37191
37192         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
37193         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
37194
37195         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
37196         [HAVE_MMAP].
37197
37198         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
37199         Add multiple inclusion protection.
37200
37201 2012-07-27  David S. Miller  <davem@davemloft.net>
37202
37203         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37204
37205 2012-07-27  Gary Benson  <gbenson@redhat.com>
37206
37207         [BZ #14298]
37208         * elf/rtld.c: Include <stap-probe.h>.
37209         (dl_main): Added static probes "init_start" and "init_complete".
37210         * elf/dl-load.c: Include <stap-probe.h>.
37211         (lose): Take new parameter "nsid".
37212         Added static probe "map_failed".
37213         (_dl_map_object_from_fd): Pass namespace id to lose.
37214         Added static probe "map_start".
37215         (open_verify): Pass namespace id to lose.
37216         * elf/dl-open.c: Include <stap-probe.h>.
37217         (dl_open_worker) Added static probes "map_complete", "reloc_start"
37218         and "reloc_complete".
37219         * elf/dl-close.c: Include <stap-probe.h>.
37220         (_dl_close_worker): Added static probes "unmap_start" and
37221         "unmap_complete".
37222         * elf/rtld-debugger-interface.txt: New file documenting the above.
37223
37224 2012-07-26  Roland McGrath  <roland@hack.frob.com>
37225
37226         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
37227         rather than a string variable.
37228         * sunrpc/rpc_main.c (h_output): Likewise.
37229         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
37230
37231 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
37232
37233         * inet/check_native.c: New file.
37234
37235 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
37236
37237         [BZ #13629]
37238         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
37239         if larger part has absolute value 1.0.
37240         * math/s_clog10.c (__clog10): Likewise.
37241         * math/s_clog10f.c (__clog10f): Likewise.
37242         * math/s_clog10l.c (__clog10l): Likewise.
37243         * math/s_clogf.c (__clogf): Likewise.
37244         * math/s_clogl.c (__clogl): Likewise.
37245         * math/libm-test.inc (clog_test): Add more tests.
37246         (clog10_test): Likewise.
37247         * sysdeps/i386/fpu/libm-test-ulps: Update.
37248         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37249
37250         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
37251         (pltexit): Likewise.
37252         (La_regs): Likewise.
37253         (La_retval): Likewise.
37254         (int_retval): Likewise.
37255         Update #error for removed macros to refer only to definitions in
37256         tst-audit.h.
37257         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
37258         macro.
37259         (pltexit): Likewise.
37260         (La_regs): Likewise.
37261         (La_retval): Likewise.
37262         (int_retval): Likewise.
37263         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
37264         macro.
37265         (pltexit): Likewise.
37266         (La_regs): Likewise.
37267         (La_retval): Likewise.
37268         (int_retval): Likewise.
37269         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
37270         macro.
37271         (pltexit): Likewise.
37272         (La_regs): Likewise.
37273         (La_retval): Likewise.
37274         (int_retval): Likewise.
37275         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
37276         macro.
37277         (pltexit): Likewise.
37278         (La_regs): Likewise.
37279         (La_retval): Likewise.
37280         (int_retval): Likewise.
37281         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
37282         macro.
37283         (pltexit): Likewise.
37284         (La_regs): Likewise.
37285         (La_retval): Likewise.
37286         (int_retval): Likewise.
37287         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
37288         macro.
37289         (pltexit): Likewise.
37290         (La_regs): Likewise.
37291         (La_retval): Likewise.
37292         (int_retval): Likewise.
37293         * sysdeps/generic/tst-audit.h: Update comment to refer only to
37294         macro definitions in tst-audit.h.
37295         * sysdeps/i386/tst-audit.h: New file.
37296         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
37297         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
37298         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
37299         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
37300         * sysdeps/sh/tst-audit.h: Likewise.
37301         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
37302         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
37303         * sysdeps/x86_64/tst-audit.h: Likewise.
37304
37305 2012-07-26  Andreas Jaeger  <aj@suse.de>
37306
37307         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
37308         ptrace.
37309
37310         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
37311         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
37312         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
37313         PTRACE_O_MASK.
37314         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
37315         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
37316         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
37317
37318         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
37319         value.
37320
37321         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
37322         _sigsys.
37323         (si_call_addr, si_syscall, si_arch): Define new macro.
37324         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
37325         _sigsys.
37326         (si_call_addr, si_syscall, si_arch): Define new marcro.
37327         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
37328         _sigsys.
37329         (si_call_addr, si_syscall, si_arch): Define new macro.
37330         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
37331         _sigsys.
37332         (si_call_addr, si_syscall, si_arch): Define new macro.
37333
37334 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
37335
37336         [BZ #13717]
37337         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37338         Change to 2.4.21 where previously 2.4.1.
37339         * sysdeps/unix/sysv/linux/configure: Regenerated.
37340         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
37341         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
37342         Linux kernel version.
37343         (__ASSUME_STD_AUXV): Remove.
37344         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
37345         kernel version.
37346         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
37347         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
37348         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
37349         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
37350         (__ASSUME_NETLINK_SUPPORT): Likewise.
37351         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
37352         (__no_netlink_support): Remove conditional definition.
37353         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
37354         Remove.
37355         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37356         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
37357         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
37358         (if_nameindex_ioctl): Remove.
37359         (if_nameindex_netlink): Do not handle __no_netlink_support.
37360         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37361         code.
37362         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
37363         Remove conditional code.
37364         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
37365         code.
37366         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
37367         unconditional.
37368         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
37369         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
37370         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
37371         Remove.
37372         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
37373         [!__ASSUME_STD_AUXV]: Remove conditional code.
37374         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
37375         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
37376         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
37377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
37378         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
37379         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37380         code.
37381         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37382         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
37383         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
37384         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37385         conditional code.
37386         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
37387         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
37388         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
37389         code.
37390         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
37391         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
37392         conditional code.
37393         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
37394         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37395         code unconditional.
37396         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37397         conditional code.
37398         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37399         unconditional.
37400         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37401         conditional code.
37402         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
37403         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37404         unconditional.
37405         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37406         conditional code.
37407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
37408         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37409         code unconditional.
37410         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37411         conditional code.
37412         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37413         unconditional.
37414         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37415         conditional code.
37416         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
37417         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
37418         code unconditional.
37419         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37420         conditional code.
37421         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
37422         unconditional.
37423         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
37424         conditional code.
37425
37426 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
37427
37428         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
37429         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
37430         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
37431         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
37432         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
37433         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
37434         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
37435         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
37436         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
37437         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
37438         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
37439         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
37440         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
37441         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
37442         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
37443         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
37444         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
37445         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
37446         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
37447         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
37448         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
37449         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
37450         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
37451
37452 2012-07-25  Florian Weimer  <fweimer@redhat.com>
37453
37454         * Versions.def: Add GLIBC_2.17.
37455         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
37456         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
37457         Introduce __libc_secure_getenv.
37458         * stdlib/Versions (2.17): Add secure_getenv
37459         (GLIBC_PRIVATE): Add __libc_secure_getenv.
37460         * stdlib/secure-getenv.c: Rename __secure_getenv to
37461         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
37462         symbol __secure_getenv for GLIBC_2.0.
37463         * stdlib/tst-secure-getenv.c: New.
37464         * stdlib/Makefile (tests): Add testcase.
37465         * manual/startup.texi (Environment Access): Document
37466         secure_getenv.
37467         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
37468         __libc_secure_getenv.
37469         * inet/ruserpass.c (ruserpass): Likewise.
37470         * malloc/mtrace.c (mtrace): Likewise.
37471         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
37472         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
37473         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
37474         * sysdeps/posix/tempname.c: Likewise.  Evaluate
37475         HAVE_SECURE_GETENV.
37476         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
37477         __secure_getenv to __libc_secure_getenv.
37478         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
37479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
37480         Likewise.
37481         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
37482         Likewise.
37483         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
37484         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
37485         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
37486         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
37487         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
37488         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
37489         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
37490
37491 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
37492
37493         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
37494         (struct La_i86_retval): Likewise.
37495         (struct La_x86_64_regs): Likewise.
37496         (struct La_x86_64_retval): Likewise.
37497         (struct La_x32_regs): Likewise.
37498         (struct La_x32_retval): Likewise.
37499         (struct La_ppc32_regs): Likewise.
37500         (struct La_ppc32_retval): Likewise.
37501         (struct La_ppc64_regs): Likewise.
37502         (struct La_ppc64_retval): Likewise.
37503         (struct La_sh_regs): Likewise.
37504         (struct La_sh_retval): Likewise.
37505         (struct La_s390_32_regs): Likewise.
37506         (struct La_s390_32_retval): Likewise.
37507         (struct La_s390_64_regs): Likewise.
37508         (struct La_s390_64_retval): Likewise.
37509         (struct La_sparc32_regs): Likewise.
37510         (struct La_sparc32_retval): Likewise.
37511         (struct La_sparc64_regs): Likewise.
37512         (struct La_sparc64_retval): Likewise.
37513         (struct audit_ifaces): Remove architecture-specific pltenter and
37514         pltexit members.
37515         * sysdeps/i386/ldsodefs.h: New file.
37516         * sysdeps/powerpc/ldsodefs.h: Likewise.
37517         * sysdeps/s390/ldsodefs.h: Likewise.
37518         * sysdeps/sh/ldsodefs.h: Likewise.
37519         * sysdeps/sparc/ldsodefs.h: Likewise.
37520         * sysdeps/x86_64/ldsodefs.h: Likewise.
37521
37522 2012-07-25  Marek Polacek  <polacek@redhat.com>
37523
37524         [BZ #6808]
37525         * math/libm-test.inc (yn_test): Add another test.
37526         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
37527         to ERANGE when the result is +-Inf.
37528         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
37529         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
37530         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
37531         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
37532
37533 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
37534
37535         * conform/data/time.h-data (NULL): Use macro-constant.  Require
37536         equal to 0.
37537         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
37538         clock_t.
37539         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
37540
37541 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
37542
37543         * configure.in <sysdeps resolving>: Correct printing
37544         Implies_before.
37545         * configure: Regenerate.
37546
37547 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
37548
37549         * math/w_ilogb.c: Include <limits.h>.
37550         * math/w_ilogbl.c: Likewise.
37551
37552 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
37553
37554         * manual/lang.texi (__va_copy): Document primarily as ISO C99
37555         va_copy.  Document allowing for unavailable va_copy only as
37556         pre-C99 compatibility.
37557         * manual/string.texi (Copying and Concatenation): Use va_copy
37558         instead of __va_copy in concat example.
37559
37560 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
37561
37562         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
37563         (__sendto): Use create_address_port.  Initialize APORT and deallocate
37564         it if not null.
37565
37566         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
37567         with O_NOLINK passed to __file_name_lookup.
37568
37569         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
37570         with O_NOLINK passed to __file_name_lookup.
37571
37572         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
37573         negative N or less than NGIDS.
37574
37575         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
37576         type to string_t.  Set ERANGE as errno and return it if NAME is not big
37577         enough.  Use memcpy instead of strncpy.
37578
37579 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
37580
37581         * elf/Makefile (check-data): Remove.
37582         (localplt.data): New vpath directive.
37583         ($(objpfx)check-localplt.out): Use localplt.data from vpath
37584         instead of $(check-data).
37585         * scripts/data/localplt-generic.data: Move to ...
37586         * sysdeps/generic/localplt.data: ... here.
37587         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
37588         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
37589         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
37590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
37591         ... here.
37592         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
37593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
37594         ... here.
37595         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
37596         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
37597         ... here.
37598         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
37599         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
37600         ... here.
37601         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
37602         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
37603         ... here.
37604         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
37605         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
37606         ... here.
37607
37608 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37609
37610         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
37611         PPC32 and PPC64 files.
37612         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
37613         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
37614
37615 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37616
37617         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
37618         __makecontext_ret to ...
37619         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
37620         ... here and call exit if uc_link is NULL.  New file.
37621         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
37622         __makecontext_ret.S.
37623         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
37624         __makecontext_ret to ...
37625         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
37626         ... here and call exit if uc_link is NULL.  New file.
37627         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
37628         __makecontext_ret.S.
37629
37630 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37631
37632         * elf/elf.h (R_390_IRELATIVE): New definition.
37633         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
37634         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
37635         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
37636         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
37637         (elf_machine_lazy_rel): Likewise.
37638         * sysdeps/s390/dl-irel.h: New file.
37639         * sysdeps/s390/s390-64/memcpy.S: New asm code.
37640         * sysdeps/s390/s390-64/memset.S: New asm code.
37641         * sysdeps/s390/s390-64/memcmp.S: New asm code.
37642         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
37643         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
37644         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
37645         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
37646         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
37647         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
37648         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
37649         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
37650         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
37651         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
37652         * sysdeps/s390/s390-32/memcpy.S: New asm code.
37653         * sysdeps/s390/s390-32/memset.S: New asm code.
37654         * sysdeps/s390/s390-32/memcmp.S: New asm code.
37655
37656 2012-07-17  Marek Polacek  <polacek@redhat.com>
37657
37658         [BZ #14349]
37659         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
37660         * sysdeps/s390/s390-64/configure.in: Likewise.
37661         * sysdeps/sparc/configure.in: Likewise.
37662         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
37663         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
37664         * sysdeps/i386/configure.in: Likewise.
37665         * sysdeps/x86_64/configure.in: Likewise.
37666         * sysdeps/sh/configure.in: Likewise.
37667         * sysdeps/s390/s390-32/configure: Regenerated.
37668         * sysdeps/s390/s390-64/configure: Likewise.
37669         * sysdeps/x86_64/configure: Likewise.
37670         * sysdeps/sh/configure: Likewise.
37671         * sysdeps/powerpc/powerpc64/configure: Likewise.
37672         * sysdeps/powerpc/powerpc32/configure: Likewise.
37673         * sysdeps/sparc/configure: Likwise.
37674         * sysdeps/i386/configure: Likewise.
37675
37676         * elf/dl-open.c: Comment fixes.
37677
37678 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
37679
37680         * Makefile [CXX] (check-data): Remove.
37681         [CXX] (c++-types.data): New vpath directive.
37682         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
37683         vpath.  Do not allow for C++ type data being missing.
37684         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
37685         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
37686         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
37687         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
37688         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
37689         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
37690         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
37691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
37692         ... here.
37693         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
37694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
37695         ... here.
37696         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
37697         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
37698         ... here.
37699         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
37700         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
37701         ... here.
37702         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
37703         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
37704         ... here.
37705         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
37706         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
37707         ... here.
37708         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
37709         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
37710         ... here.
37711         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
37712         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
37713
37714         * elf/tls-macros.h (TLS_LE): Move architecture-specific
37715         definitions to architecture-specific files.
37716         (TLS_IE): Likewise.
37717         (TLS_LD): Likewise.
37718         (TLS_GD): Likewise.
37719         * sysdeps/i386/tls-macros.h: New file.
37720         * sysdeps/powerpc/tls-macros.h: Likewise.
37721         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
37722         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
37723         * sysdeps/sh/tls-macros.h: Likewise.
37724         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
37725         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
37726         * sysdeps/x86_64/tls-macros.h: Likewise.
37727
37728 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
37729
37730         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
37731         zero value for regular exit case.
37732
37733         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
37734         (__start_context): Preserve zero value for regular exit case.
37735
37736 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
37737             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37738
37739         * manual/setjmp.texi (setcontext): Clarify normal process
37740         termination when uc_link is the null pointer.
37741         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
37742         exit call.
37743
37744 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
37745
37746         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
37747         preprocessor.  Test for each exception mask separately.
37748
37749 2012-07-16  Andreas Jaeger  <aj@suse.de>
37750
37751         * po/ru.po: Update from translation team.
37752
37753 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
37754
37755         * conform/data/string.h-data (NULL): Use macro-constant.  Require
37756         equal to 0.
37757         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
37758         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
37759         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
37760         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
37761         [ISO || ISO99 || ISO11] (*_t): Do not allow.
37762
37763 2012-07-13  Andreas Jaeger  <aj@suse.de>
37764
37765         * po/fr.po: Update from translation team.
37766
37767 2012-07-12  Marek Polacek  <polacek@redhat.com>
37768
37769         [BZ #14173]
37770         * math/libm-test.inc (yn_test): Add test for BZ #14173.
37771         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
37772         loop condition.
37773
37774 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
37775
37776         [BZ #13717]
37777         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
37778         Change to 2.4.1 where previously 2.4.0.
37779         * sysdeps/unix/sysv/linux/configure: Regenerated.
37780         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
37781         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
37782         version.
37783         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
37784         (__ASSUME_AT_CLKTCK): Remove.
37785         (__ASSUME_AT_PAGESIZE): Likewise.
37786         (__ASSUME_AT_XID): Likewise.
37787         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
37788         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
37789         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
37790         unconditionally.
37791         (HAVE_AUX_PAGESIZE): Likewise.
37792         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
37793         [__ASSUME_AT_CLKTCK]: Make code unconditional.
37794         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
37795
37796 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
37797
37798         [BZ #14307]
37799         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
37800         the temporary buffer used to invoke __gethostbyname2_r,
37801         __gethostbyaddr_r and gethostbyname4_r to make room for struct
37802         host_data / struct gaih_addrtuple.
37803         * resolv/nss_dns/dns-host.c (global scope): Move definition of
37804         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
37805         header file nss/nsswitch.h.
37806         * nss/nsswitch.h (global scope): Add definition of implementation
37807         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
37808         resolv/nss_dns/dns-host.c).
37809
37810 2012-07-11  Andreas Jaeger  <aj@suse.de>
37811
37812         * po/fr.po: Update from translation team.
37813
37814         * po/sv.po: Update from translation team
37815         * po/fr.po: Another update from translation team.
37816
37817 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37818
37819         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
37820         for subnormals or multiply small sinh result by itself.
37821         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
37822         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37823
37824 2012-07-11  David S. Miller  <davem@davemloft.net>
37825
37826         * sysdeps/sparc/fpu/libm-test-ulps: Update.
37827
37828 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
37829
37830         [BZ #14347]
37831         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
37832         (INTERNAL_MARK): Shift it here.
37833
37834 2012-07-10  Marek Polacek  <polacek@redhat.com>
37835
37836         [BZ #14151]
37837         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
37838         libc_cv_asm_global_directive with .globl.
37839         * configure: Regenerated.
37840         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
37841         with .globl.
37842         * sysdeps/i386/configure: Regenerated.
37843         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
37844         with .globl.
37845         * sysdeps/x86_64/configure: Regenerated.
37846         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
37847         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
37848         * elf/tst-unique2mod2.c: Likewise.
37849         * elf/tst-unique2mod1.c: Likewise.
37850         * elf/tst-unique1mod2.c: Likewise.
37851         * elf/tst-unique1mod1.c: Likewise.
37852         * sysdeps/s390/s390-32/sysdep.h: Likewise.
37853         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
37854         * sysdeps/s390/s390-64/sysdep.h: Likewise.
37855         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
37856         * sysdeps/mach/sysdep.h: Likewise.
37857         * sysdeps/i386/sysdep.h: Likewise.
37858         * sysdeps/i386/i386-mcount.S: Likewise.
37859         * sysdeps/x86_64/_mcount.S: Likewise.
37860         * sysdeps/x86_64/sysdep.h: Likewise.
37861         * sysdeps/sh/_mcount.S: Likewise.
37862         * sysdeps/sh/sysdep.h: Likewise.
37863         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
37864         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
37865         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
37866         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
37867         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
37868         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
37869         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
37870         * locale/localeinfo.h: Likewise.
37871         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
37872         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
37873
37874 2012-07-09  Roland McGrath  <roland@hack.frob.com>
37875
37876         [BZ #14336]
37877         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
37878         system".
37879         * manual/message.texi (The Uniforum approach): Likewise.
37880         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
37881         (glibc iconv Implementation): Likewise.
37882
37883 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
37884
37885         [BZ #14337]
37886         * math/s_clog.c (__clog): Avoid scaling a value down where that
37887         could result in underflow.
37888         * math/s_clog10.c (__clog10): Likewise.
37889         * math/s_clog10f.c (__clog10f): Likewise.
37890         * math/s_clog10l.c (__clog10l): Likewise.
37891         * math/s_clogf.c (__clogf): Likewise.
37892         * math/s_clogl.c (__clogl): Likewise.
37893         * math/libm-test.inc (clog_test): Add more tests.
37894         (clog10_test): Likewise.
37895         * sysdeps/i386/fpu/libm-test-ulps: Update.
37896         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37897
37898 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
37899
37900         [BZ #14283]
37901         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
37902         by 7 not 8 to examine high bit of fractional part.
37903
37904         [BZ #14042]
37905         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
37906         for call to __mcount_internal.
37907         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
37908         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
37909         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
37910
37911 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
37912
37913         [BZ #14154]
37914         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
37915         approximation for values within 0x1p-13f of an odd multiple of
37916         pi/4.
37917         * math/libm-test.inc (tan_test): Do not allow spurious underflow
37918         exception.  Add more tests.
37919         * sysdeps/i386/fpu/libm-test-ulps: Update.
37920
37921         [BZ #6778]
37922         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
37923         inputs and return -1 for them.  Do not check for +Inf in case not
37924         reachable for +Inf.
37925         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
37926         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
37927         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37928         and return -1 for them.  Do not check for +Inf in case not
37929         reachable for +Inf.
37930         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
37931         define.
37932         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
37933         and return -1 for them.  Do not check for +Inf in case not
37934         reachable for +Inf.
37935         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
37936         spurious underflow.
37937         * sysdeps/i386/fpu/libm-test-ulps: Update.
37938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37939
37940 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
37941
37942         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
37943
37944 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
37945
37946         [BZ #14157]
37947         [BZ #14331]
37948         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
37949         could result in spurious underflow.  Scale down values above
37950         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
37951         * math/s_csqrtf.c (__csqrtf): Likewise.
37952         * math/s_csqrtl.c (__csqrtl): Likewise.
37953         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
37954         spurious underflow.
37955         * sysdeps/i386/fpu/libm-test-ulps: Update.
37956         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37957
37958 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
37959
37960         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
37961         xopen-msg.sed.
37962         * catgets/xopen-msg.awk: New file.
37963         * catgets/xopen-msg.sed: Removed.
37964
37965         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
37966         po2text.sed.
37967         * intl/po2test.awk: New file.
37968         * intl/po2test.sed: Removed.
37969
37970 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
37971
37972         [BZ #14328]
37973         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
37974         or multiply small sinh result by itself.
37975         * math/s_ctanf.c (__ctanf): Likewise.
37976         * math/s_ctanh.c (__ctanh): Likewise.
37977         * math/s_ctanhf.c (__ctanhf): Likewise.
37978         * math/s_ctanhl.c (__ctanhl): Likewise.
37979         * math/s_ctanl.c (__ctanl): Likewise.
37980         * math/libm-test.inc (ctan_test_tonearest): New function.
37981         (ctan_test_towardzero): Likewise.
37982         (ctan_test_downward): Likewise.
37983         (ctan_test_upward): Likewise.
37984         (ctanh_test_tonearest): Likewise.
37985         (ctanh_test_towardzero): Likewise.
37986         (ctanh_test_downward): Likewise.
37987         (ctanh_test_upward): Likewise.
37988         (main): Call these new functions.
37989         * sysdeps/i386/fpu/libm-test-ulps: Update.
37990         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
37991
37992 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
37993
37994         * .gitignore: Delete /ports entry.
37995
37996 2012-07-03  Andreas Jaeger  <aj@suse.de>
37997
37998         * po/bg.po: Update from translation team.
37999         * po/cs.po: Likewise.
38000         * po/de.po: Likewise.
38001         * po/hr.po: Likewise.
38002         * po/nl.pl: Likewise.
38003         * po/pl.po: Likewise.
38004         * po/vi.po: Likewise.
38005
38006 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
38007
38008         * Makeconfig [!+link] (+link-before-libc): New variable.
38009         [!+link] (+link-after-libc): Likewise.
38010         [!+link] (+link-tests): Likewise.
38011         [!+link] (+link): Define in terms of $(+link-before-libc) and
38012         $(+link-after-libc).
38013         [!+link-static] (+link-static-before-libc): New variable.
38014         [!+link-static] (+link-static-after-libc): Likewise.
38015         [!+link-static] (+link-static-tests): Likewise.
38016         [!+link-static] (+link-static): Define in terms of
38017         $(+link-static-before-libc) and $(+link-static-after-libc).
38018         [build-shared] (link-libc-before-gnulib): New variable.
38019         [build-shared] (link-libc-tests): Likewise.
38020         [build-shared] (link-libc): Define in terms of
38021         $(link-libc-before-gnulib).
38022         [!build-shared] (link-libc-tests): New variable.
38023         (link-libc-static-tests): New variable.
38024         [!gnulib] (gnulib-arch): New variable.
38025         [!gnulib] (gnulib-tests): Likewise.
38026         [!gnulib] (static-gnulib-arch): Likewise.
38027         [!gnulib] (static-gnulib-tests): Likewise.
38028         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
38029         Define with "=" instead of ":=".
38030         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
38031         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
38032         * Rules (binaries-all-notests): New variable.
38033         (binaries-all-tests): Likewise.
38034         (binaries-static-notests): Likewise.
38035         (binaries-static-tests): Likewise.
38036         (binaries-all): Define using $(binaries-all-notests) and
38037         $(binaries-all-tests).
38038         (binaries-static): Define using $(binaries-static-notests) and
38039         $(binaries-static-tests).
38040         (binaries-shared-tests): New variable.
38041         (binaries-shared-notests): Likewise.
38042         (binaries-shared): Remove variable.
38043         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
38044         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
38045         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
38046         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
38047         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
38048         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
38049         * elf/Makefile (sln-modules): New variable.
38050         (extra-objs): Add $(sln-modules:=.o).
38051         (ldconfig-modules): Add static-stubs.
38052         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
38053         * elf/static-stubs.c: New file.
38054
38055         [BZ #14283]
38056         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
38057         by 7 not 8 to examine high bit of fractional part.  Use volatile
38058         variables when splitting into final array of floats if
38059         __FLT_EVAL_METHOD__ != 0.
38060         * math/libm-test.inc (cos_test): Add another test.
38061         (sin_test): Likewise.
38062         * sysdeps/i386/fpu/libm-test-ulps: Update.
38063
38064         [BZ #14273]
38065         * math/libm-test.inc (cosh_test): Add more tests.
38066
38067         * version.h (RELEASE): Set to "development".
38068         (VERSION): Set to "2.16.90".
38069
38070 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
38071
38072         * NEWS: Update copyright. Remove last-updated date.
38073         Mention math library bug fixes and timezone data changes.
38074         * README: Mention GNU/Hurd, x32, and HPPA support status.
38075
38076 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
38077
38078         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
38079
38080 2012-06-27  Andreas Jaeger  <aj@suse.de>
38081
38082         * manual/contrib.texi (Contributors): Add Samuel Thibault.
38083
38084 2012-06-25  Andreas Jaeger  <aj@suse.de>
38085
38086         * sysdeps/s390/fpu/libm-test-ulps: Update.
38087
38088 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
38089             Thomas Schwinge  <thomas@codesourcery.com>
38090
38091         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
38092         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
38093         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
38094         fanotify_mark.
38095
38096 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
38097
38098         * sysdeps/mach/start.c: Remove file.
38099         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
38100         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
38101         * sysdeps/sh/init-first.c: Likewise.
38102
38103         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
38104         registers for frame unwinding purposes, add CFI directives.
38105         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38106         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
38107         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
38108         Likewise.
38109
38110         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
38111         __fortify_fail returning.
38112         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
38113
38114         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
38115         sysdeps/sh/____longjmp_chk.S.
38116         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
38117         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
38118         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
38119         (gen-as-const-headers): Append sigaltstack-offsets.sym.
38120
38121         * sysdeps/sh/abort-instr.h: New file.
38122         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
38123         process in case exit returns.
38124
38125         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
38126         initialize the GOT register before use.
38127
38128         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
38129         calculation of ARGC > 4.
38130
38131         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
38132         meaningful names to some local labels.
38133
38134 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
38135             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38136
38137         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
38138         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
38139         (__arch_compare_and_exchange_val_16_acq): Likewise.
38140         (__arch_compare_and_exchange_val_32_acq): Likewise.
38141         (atomic_exchange_and_add): Fix gUSA sequence.
38142         (atomic_add): Likewise.
38143         (atomic_add_negative): Likewise.
38144         (atomic_add_zero): Likewise.
38145         (atomic_bit_test_set): Likewise.
38146
38147 2012-06-22  Andreas Schwab  <schwab@redhat.com>
38148
38149         [BZ #13579]
38150         * include/link.h (struct link_map): Add l_free_initfini.
38151         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
38152         l_initfini.
38153         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
38154         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
38155         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
38156         set.
38157
38158 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
38159
38160         * configure.in: Use AC_LANG_SOURCE.
38161         * configure: Regenerate.
38162
38163 2012-06-22  Roland McGrath  <roland@hack.frob.com>
38164
38165         * configure.in (libc_cv_localstatedir): New substituted variable.
38166         * configure: Regenerated.
38167         * config.make.in (localstatedir): New variable, substituted from
38168         libc_cv_localstatedir.
38169         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
38170         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
38171         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
38172         * sysdeps/gnu/configure: Regenerated.
38173
38174 2012-06-21  Jeff Law  <law@redhat.com>
38175
38176         [BZ #14277]
38177         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
38178         free.  Simplify list management for _LIBC case.
38179
38180 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
38181
38182         [BZ #14273]
38183         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
38184         Clear sign bit of 64-bit integer value before comparing against
38185         overflow value.
38186
38187         * sysdeps/mach/configure: Regenerated.
38188
38189 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
38190
38191         [BZ #14278]
38192         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
38193
38194 2012-06-21  Jeff Law  <law@redhat.com>
38195
38196         [BZ #13882]
38197         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
38198         uint16_t for elements in the "seen" array to avoid char overflows.
38199         * elf/dl-fini.c (_dl_sort_fini): Likewise.
38200         * elf/dl-open.c (dl_open_worker): Likewise.
38201
38202 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
38203
38204         * scripts/list-sources.sh: Scan PORTS for translations.
38205         * po/libc.pot: Regenerated.
38206
38207 2012-06-21  Andreas Jaeger  <aj@suse.de>
38208
38209         [BZ #12194]
38210         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
38211         warning.
38212         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
38213         * bits/byteswap-16.h (__bswap_16): Likewise.
38214         * bits/byteswap.h (__bswap_constant_16): Likewise.
38215
38216 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
38217
38218         [BZ #14117]
38219         * sysdeps/i386/fpu_control.h: Removed.
38220         * sysdeps/x86_64/fpu_control.h: Moved to ...
38221         * sysdeps/x86/fpu_control.h: Here.
38222
38223         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
38224         (_FPU_SETCW): Likewise.
38225
38226 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
38227
38228         [BZ #14117]
38229         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
38230         * sysdeps/x86/fpu/bits/mathinline.h: This.
38231         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
38232
38233         [BZ #14050]
38234         [BZ #14117]
38235         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
38236         functions if __x86_64__ is defined.
38237
38238 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
38239
38240         * string/endian.h: Add !__ASSEMBLER__ condition for including
38241         conversion interfaces.
38242
38243 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
38244
38245         [BZ #14241]
38246         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
38247         of ABS(x) in calculating zero to negative powers other than odd
38248         integers.
38249         * math/libm-test.inc (pow_test): Add more tests.
38250
38251 2012-06-15  Andreas Jaeger  <aj@suse.de>
38252
38253         * manual/contrib.texi (Contributors): Update entry of Liubov
38254         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
38255         Machado Filho.
38256
38257 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
38258
38259         * string/string.h: Add __wur to GNU version of strerror_r.
38260
38261 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
38262
38263         [BZ #14229]
38264         * string/Makefile (tests): Add tst-strtok_r.
38265         * string/tst-strtok_r.c: New file.
38266         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
38267         RAX_LP/RDX_LP on SAVE_PTR.
38268
38269 2012-06-14  Roland McGrath  <roland@hack.frob.com>
38270
38271         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
38272
38273 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
38274
38275         * libm_test.inc (csqrt_test): Allow more spurious underflow
38276         exceptions.
38277         (j0_test): Likewise.
38278         (j1_test): Likewise.
38279         (y0_test): Likewise.
38280         (y1_test): Likewise.
38281
38282 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
38283
38284         * po/Makefile (libc.pot): Use UTF-8 charset.
38285
38286 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
38287
38288         [BZ #14210]
38289         Suppress sign-conversion warning from FD_SET.
38290         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
38291         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
38292         not unsigned long int.
38293         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
38294
38295 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
38296
38297         [BZ #14050]
38298         [BZ #14117]
38299         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
38300         __extern_always_inline instead of __extern_inline.
38301         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
38302         (__signbit): Likewise.
38303         (__signbitl): Support C++ namespace.
38304         (lrintf): New inline function.
38305         (lrint): Likewise.
38306         (llrintf): Likewise.
38307         (llrint): Likewise.
38308         (fmaxf): Likewise.
38309         (fmax): Likewise.
38310         (fminf): Likewise.
38311         (fmin): Likewise.
38312         (rint): Likewise.
38313         (rintf): Likewise.
38314         (ceil): Likewise.
38315         (ceilf): Likewise.
38316         (floor): Likewise.
38317         (floorf): Likewise.
38318         (nearbyint): Likewise.
38319         (nearbyintf): Likewise.
38320
38321 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
38322
38323         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
38324         non-default versions.
38325
38326 2012-06-11  Roland McGrath  <roland@hack.frob.com>
38327
38328         [BZ #14218]
38329         * manual/argp.texi (Argp): Reword argp_parse description slightly.
38330
38331 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
38332
38333         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
38334         (FE_UPWARD, FE_DOWNWARD): Don't define.
38335         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
38336         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38337
38338         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
38339         reading it.
38340         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38341         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38342
38343 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38344
38345         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
38346         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
38347         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
38348         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
38349
38350 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
38351
38352         [BZ #14117]
38353         * sysdeps/i386/fpu/bits/fenv.h: Removed.
38354         * sysdeps/i386/fpu/Implies: New file.
38355         * sysdeps/x86_64/fpu/Implies: Likewise.
38356         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
38357         * sysdeps/x86/fpu/bits/fenv.h: This.
38358
38359         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
38360         __SSE_MATH__.
38361
38362 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
38363
38364         [BZ #14134]
38365         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
38366         character 0xffff that matches the last element of the
38367         conversion table.
38368
38369 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38370
38371         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
38372         fmodl commit.
38373
38374 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38375
38376         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
38377         values higher than 25.6283.
38378
38379 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38380
38381         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
38382         subnormal exponent extraction and add some __builtin_expect.
38383         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
38384         Fix for subnormal mantissa calculation.
38385
38386 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
38387
38388         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
38389         cpu2 is -1 and errno is not ENOSYS.
38390
38391 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
38392
38393         [BZ #14117]
38394         * sysdeps/i386/i486/bits/string.h: Renamed to ...
38395         * sysdeps/x86/bits/string.h: This.
38396         * sysdeps/x86_64/bits/string.h: Removed.
38397
38398         * sysdeps/i386/i486/bits/string.h: Define inline functions only
38399         if not compiling for x86-64, but compiling for >= i486.
38400
38401         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
38402         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
38403
38404         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
38405         New macro from Linux kernel 3.4.0.
38406         (FP_XSTATE_MAGIC2): Likewise.
38407         (FP_XSTATE_MAGIC2_SIZE): Likewise.
38408         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
38409         (struct _fpx_sw_bytes): New struct.
38410         (struct _xsave_hdr): Likewise.
38411         (struct _ymmh_state): Likewise.
38412         (struct _xstate): Likewise.
38413
38414         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
38415         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
38416         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
38417         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
38418         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
38419         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
38420
38421         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
38422         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
38423         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
38424         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
38425         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
38426         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
38427
38428 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
38429
38430         [BZ #13743]
38431         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
38432         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
38433         (sysdep_headers): Include sys/platform/ppc.h.
38434         * sysdeps/powerpc/test-gettimebase.c: Test for
38435         __ppc_get_timebase() to catch future ISA opcode/insn changes.
38436         * manual/Makefile (appendices): Include platform.texi.
38437         * manual/contrib.texi (Contributors): Update @node pointers.
38438         * manual/maint.texi (Maintenance): Likewise.
38439         (Platform): New node.
38440         * manual/platform.texi: New file.  Document the new features.
38441
38442 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
38443             Jakub Jelinek  <jakub@redhat.com>
38444
38445         [BZ #14188]
38446         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
38447         where __builtin_expect is unavailable.
38448
38449 2012-06-03  David S. Miller  <davem@davemloft.net>
38450
38451         * stdlib/longlong.h: Updated from GCC.
38452
38453 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
38454
38455         [BZ #14042]
38456         * sysdeps/powerpc/powerpc32/mcount.c: New file.
38457         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
38458         __mcount_internal.
38459         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
38460         (GLIBC_2.16): Likewise.
38461
38462 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38463
38464         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
38465
38466 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
38467
38468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
38469         (default-abi): New variable.
38470         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
38471         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
38472         variable.
38473         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
38474         Likewise.
38475         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
38476         Likewise.
38477         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
38478         Likewise.
38479
38480         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
38481         definition.  Document in comment.
38482
38483 2012-06-01  David S. Miller  <davem@davemloft.net>
38484
38485         * stdlib/longlong.h: Updated from GCC.
38486
38487 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38488
38489         [BZ #14117]
38490         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
38491         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
38492         sys/debugreg.h sys/io.h here.
38493         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
38494         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
38495         sys/io.h.
38496         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
38497         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
38498         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
38499         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
38500         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
38501         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
38502
38503         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
38504         Define only if __x86_64__ is defined.
38505
38506 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
38507
38508         [BZ #14048]
38509         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
38510         Use int64_t for variable i.
38511         * math/libm-test.inc (fmod_test): Add more tests.
38512
38513         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
38514         z computation is not scheduled after fetestexcept.
38515         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
38516         Use math_force_eval instead of asm to ensure calculation scheduled
38517         before exception test.
38518         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
38519         Ensure a1 + u.d computation is not scheduled after fetestexcept.
38520
38521 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
38522
38523         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
38524         computation is not scheduled after fetestexcept.
38525
38526 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
38527
38528         [BZ #14117]
38529         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
38530         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
38531
38532 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38533
38534         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
38535         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
38536
38537 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
38538
38539         [BZ #14117]
38540         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
38541         <bits/wordsize.h>.
38542         (__WCHAR_MIN): Support __WORDSIZE == 64.
38543         (__WCHAR_MAX): Likewise.
38544
38545         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
38546         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
38547
38548         [BZ #14183]
38549         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
38550         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
38551
38552         [BZ #14117]
38553         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
38554         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
38555
38556         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
38557         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
38558
38559         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
38560         Defined to 1 if __x86_64__ isn't defined.
38561         (_STAT_VER_LINUX_OLD): New.
38562         (st_atime): Remove duplicate.
38563         (st_mtime): Likewise.
38564         (st_ctime): Likewise.
38565
38566 2012-05-31  David S. Miller  <davem@davemloft.net>
38567
38568         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
38569         entries.
38570
38571 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
38572
38573         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
38574         gen-libm-test.pl.
38575
38576         [BZ #14132]
38577         * elf/dl-reloc.c: Include <_itoa.h>.
38578         (_dl_reloc_bad_type): Remove use of INTUSE.
38579         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
38580         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
38581         * stdio-common/psiginfo.c (psiginfo): Likewise.
38582         * stdio-common/psignal.c (psignal): Likewise.
38583         * string/strsignal.c (strsignal): Likewise.
38584         * include/signal.h (_sys_siglist): Declare hidden proto.
38585         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
38586         INTVARDEF with libc_hidden_data_def.
38587         * stdio-common/itoa-udigits.c: Likewise.
38588         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
38589         (_itoa_lower_digits_internal): Remove declaration.
38590         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
38591         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
38592         (_sys_sigabbrev_internal): Remove aliases.
38593         (_sys_siglist): Define hidden alias.
38594
38595 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
38596
38597         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
38598         bits/sysctl.h.
38599
38600 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
38601
38602         [BZ #14117]
38603         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
38604         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
38605
38606         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
38607         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
38608         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
38609         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
38610         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
38611         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
38612
38613         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
38614         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
38615         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
38616
38617         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
38618         with __addr.
38619         (insw): Likewise.
38620         (insl): Likewise.
38621         (outsb): Likewise.
38622         (outsw): Likewise.
38623         (outsl): Likewise.
38624
38625         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
38626         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
38627         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
38628
38629         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
38630         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
38631         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
38632         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
38633         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
38634         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
38635
38636         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
38637         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
38638
38639         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
38640         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
38641
38642         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
38643         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
38644         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
38645
38646         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
38647         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
38648         to ...
38649         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
38650
38651         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
38652         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
38653         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
38654
38655         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
38656         for x86-64.
38657         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
38658
38659 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
38660
38661         * math/math.h (M_El): Use two more decimal places.
38662         (M_LOG2El): Likewise.
38663         (M_LOG10El): Likewise.
38664         (M_LN2l): Likewise.
38665         (M_LN10l): Likewise.
38666         (M_PIl): Likewise.
38667         (M_PI_2l): Likewise.
38668         (M_PI_4l): Likewise.
38669         (M_1_PIl): Likewise.
38670         (M_2_PIl): Likewise.
38671         (M_2_SQRTPIl): Likewise.
38672         (M_SQRT2l): Likewise.
38673         (M_SQRT1_2l): Likewise.
38674
38675 2012-05-31  David S. Miller  <davem@davemloft.net>
38676
38677         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
38678         values between float registers.
38679         * sysdeps/sparc/sparc64/memset.S: Likewise.
38680         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
38681
38682 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
38683
38684         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
38685         -D_FORTIFY_SOURCE=1.
38686         (CPPFLAGS-tst-longjmp_chk.c): Define.
38687         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
38688         (CPPFLAGS-tst-longjmp_chk2.c): Define.
38689         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
38690         CFLAGS-tst-wchar-h.c.
38691
38692 2012-05-31  Marek Polacek  <polacek@redhat.com>
38693
38694         [BZ #14132]
38695         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
38696         __endmntent_internal): Remove declaration.
38697         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
38698         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
38699         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
38700
38701 2012-05-30  David S. Miller  <davem@davemloft.net>
38702
38703         * sysdeps/sparc/sparc32/soft-fp/q_util.c
38704         (___Q_simulate_exceptions): Use real FP ops rather than writing
38705         into the %fsr.
38706         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
38707         Likewise.
38708
38709 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38710
38711         [BZ #14117]
38712         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
38713         * sysdeps/x86/bits/xtitypes.h: This.
38714
38715         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
38716         * sysdeps/x86/bits/wordsize.h: This.
38717
38718         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
38719         * sysdeps/x86/bits/huge_vall.h: This.
38720
38721         * sysdeps/i386/bits/select.h: Removed.
38722         * sysdeps/x86_64/bits/select.h: Renamed to ...
38723         * sysdeps/x86/bits/select.h: This.
38724
38725         * sysdeps/i386/bits/setjmp.h: Removed.
38726         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
38727         * sysdeps/x86/bits/setjmp.h: This.
38728
38729         * sysdeps/i386/bits/mathdef.h: Removed.
38730         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
38731         * sysdeps/x86/bits/mathdef.h: This.
38732
38733 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
38734
38735         [BZ #14132]
38736         * include/sys/socket.h (__connect_internal)
38737         (__libc_sa_len_internal): Remove declaration.
38738         (__connect, __libc_sa_len): Declare hidden_proto.
38739         (SA_LEN): Remove use of INTUSE.
38740         * socket/connect.c: Add libc_hidden_def.
38741         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
38742         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
38743         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
38744         alias.
38745         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
38746         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
38747         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
38748         of adding _internal alias.
38749
38750 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38751
38752         [BZ #14117]
38753         * sysdeps/i386/bits/link.h: Removed.
38754         * sysdeps/i386/bits/linkmap.h: Likewise.
38755         * sysdeps/x86_64/bits/link.h: Renamed to ...
38756         * sysdeps/x86/bits/link.h: This.
38757         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
38758         * sysdeps/x86/bits/linkmap.h: This.
38759
38760         * sysdeps/i386/bits/endian.h: Removed.
38761         * sysdeps/x86_64/bits/endian.h: Renamed to ...
38762         * sysdeps/x86/bits/endian.h: This.
38763
38764         * sysdeps/i386/bits/byteswap.h: Removed.
38765         * sysdeps/i386/bits/byteswap-16.h: Likewise.
38766         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
38767         * sysdeps/x86/bits/byteswap.h: This.
38768         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
38769         * sysdeps/x86/bits/byteswap-16.h: This.
38770         * sysdeps/i386/Implies: Add x86.
38771         * sysdeps/x86_64/Implies: Likewise.
38772
38773 2012-05-30  David S. Miller  <davem@davemloft.net>
38774
38775         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
38776         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
38777         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
38778         (FP_TRAPPING_EXCEPTIONS): Define.
38779         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
38780         (FP_TRAPPING_EXCEPTIONS): Define.
38781         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
38782         subnormals only when inexact has been signalled or underflow
38783         exceptions are enabled.
38784         (_FP_PACK_CANONICAL): Likewise.
38785
38786 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38787
38788         [BZ #14183]
38789         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
38790         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
38791
38792 2012-05-30  Richard Henderson  <rth@twiddle.net>
38793
38794         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
38795         with #ifndef NOT_IN_libc.
38796
38797         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
38798         marked to avoid plt entry.
38799
38800 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
38801
38802         [BZ #14112]
38803         * Makeconfig (default-abi): New macro.
38804         (abi-includes): Likewise.
38805         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
38806         $(abi-$(default-abi)-lib-soname) for soname if defined.
38807         ($(common-objpfx)gnu/lib-names.stmp): Generate from
38808         abi-variants.
38809         * Makefile (installed-stubs): Likewise.
38810         * include/stubs-biarch.h: Removed.
38811         * scripts/lib-names.awk: Only handle one library at a time.
38812         * scripts/soversions.awk: Remove WORDSIZE support.
38813         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
38814         entries.
38815         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
38816         Removed.
38817         (syscall-list-default-condition): Likewise.
38818         (syscall-list-default-condition): Likewise.
38819         (syscall-list-includes): Likewise.
38820         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
38821         syscall-list-* with abi-*.  Handle undefined abi-variants.
38822         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
38823         * sysdeps/unix/sysv/linux/i386/Implies: New file.
38824         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
38825         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
38826         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
38827         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
38828         Removed.
38829         (syscall-list-32-options): Likewise.
38830         (syscall-list-32-condition): Likewise.
38831         (syscall-list-64-options): Likewise.
38832         (syscall-list-64-condition): Likewise.
38833         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
38834         macro.
38835         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
38836         Renamed to ...
38837         (abi-*): This.
38838         (abi-64-ld-soname): New macro.
38839         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
38840         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
38841         Renamed to ...
38842         (abi-*): This.
38843         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
38844         * sysdeps/x86_64/x32/shlib-versions: Likewise.
38845
38846 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
38847
38848         * sysdeps/unix/sysv/linux/kernel-features.h
38849         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
38850         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
38851         include <kernel-features.h>.
38852         [!__NR_ftruncate64]: Remove conditional code.
38853         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38854         [__NR_ftruncate64]: Make code unconditional.
38855         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38856         * sysdeps/unix/sysv/linux/truncate64.c: Do not
38857         include <kernel-features.h>.
38858         [!__NR_ftruncate64]: Remove conditional code.
38859         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38860         [__NR_ftruncate64]: Make code unconditional.
38861         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38862         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
38863         include <kernel-features.h>.
38864         [!__NR_ftruncate64]: Remove conditional code.
38865         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38866         [__NR_ftruncate64]: Make code unconditional.
38867         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38868         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
38869         include <kernel-features.h>.
38870         [!__NR_ftruncate64]: Remove conditional code.
38871         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38872         [__NR_ftruncate64]: Make code unconditional.
38873         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
38874
38875         * configure.in (libc_cv_fpie): Weaken to a compile test using
38876         LIBC_TRY_CC_OPTION.
38877         * configure: Regenerated.
38878
38879 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
38880
38881         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
38882         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
38883         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
38884         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38885         Refreshed.
38886         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
38887         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
38888         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
38889         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
38890         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
38891         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38892         Refreshed.
38893
38894 2012-05-27  David S. Miller  <davem@davemloft.net>
38895
38896         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
38897         (___Q_zero): New.
38898         (__Q_simulate_exceptions): Return void.  Change to simulate
38899         exceptions by writing into the %fsr.
38900         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
38901         (__Qp_handle_exceptions): Likewise.
38902         (numbers): Delete.
38903         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
38904         __Qp_handle_exceptions.
38905         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
38906         __Qp_handle_exceptions.
38907         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38908         as unused and give dummy FP_RND_NEAREST initializer.
38909         (FP_INHIBIT_RESULTS): Define.
38910         (___Q_simulate_exceptions): Update declaration.
38911         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
38912         formatting.
38913         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
38914         as unused and give dummy FP_RND_NEAREST initializer.
38915         (__Qp_handle_exceptions): Update declaration.
38916         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
38917         formatting.
38918
38919 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
38920
38921         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
38922         the temporary FPU control word.
38923         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
38924         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
38925         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
38926         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
38927         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38928         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
38929         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
38930         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38931         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38932         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
38933         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
38934
38935 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
38936
38937         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
38938         fields.
38939
38940 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
38941
38942         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
38943         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
38944         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
38945         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
38946         Likewise.
38947         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
38948         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
38949         Likewise.
38950
38951 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
38952
38953         * po/h.po: Update from translation team.
38954
38955 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
38956
38957         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
38958
38959         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
38960         handling of denormals.
38961         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
38962         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
38963         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
38964         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
38965         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
38966         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
38967         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
38968         Likewise.
38969
38970 2012-05-26  Marek Polacek  <polacek@redhat.com>
38971
38972         [BZ #14152]
38973         * math/libm-test.inc (fma_test): Don't always expect underflow
38974         exception.
38975
38976 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
38977
38978         [BZ #12416]
38979         * elf/tst-execstack.c: Include stackinfo.h.
38980         (do_test): Adjust test case to ensure that pthread_getattr_np
38981         behaviour remains the same after marking stack executable.
38982
38983 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
38984
38985         * sysdeps/unix/sysv/linux/kernel-features.h
38986         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
38987         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
38988         kernel-features.h.
38989         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38990         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38991         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
38992         kernel-features.h.
38993         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
38994         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
38995
38996 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
38997
38998         * configure.in: Define the default includes to being none.
38999         * configure: Regenerated.
39000
39001 2012-05-25  Roland McGrath  <roland@hack.frob.com>
39002
39003         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
39004         * sysdeps/x86_64/setjmp.S: Likewise.
39005         * sysdeps/i386/bsd-setjmp.S: Likewise.
39006         * sysdeps/i386/bsd-_setjmp.S: Likewise.
39007         * sysdeps/i386/setjmp.S: Likewise.
39008         * sysdeps/i386/__longjmp.S: Likewise.
39009         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39010         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
39011
39012         * include/stap-probe.h: New file.
39013         * configure.in: Handle --enable-systemtap.
39014         * configure: Regenerated.
39015         * config.h.in (USE_STAP_PROBE): New #undef.
39016         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
39017         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
39018         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
39019
39020 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
39021
39022         [BZ #13717]
39023         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
39024         to 2.4.0 where earlier.
39025         * sysdeps/unix/sysv/linux/configure: Regenerated.
39026         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
39027         <kernel-features.h>.
39028         [__ASSUME_32BITUIDS]: Make code unconditional.
39029         [!__ASSUME_32BITUIDS]: Remove conditional code.
39030         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
39031         <kernel-features.h>.
39032         [__ASSUME_32BITUIDS]: Make code unconditional.
39033         [!__ASSUME_32BITUIDS]: Remove conditional code.
39034         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
39035         [__ASSUME_32BITUIDS]: Make code unconditional.
39036         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
39037         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
39038         <kernel-features.h>.
39039         [__ASSUME_32BITUIDS]: Make code unconditional.
39040         [!__ASSUME_32BITUIDS]: Remove conditional code.
39041         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
39042         <kernel-features.h>.
39043         [__ASSUME_32BITUIDS]: Make code unconditional.
39044         [!__ASSUME_32BITUIDS]: Remove conditional code.
39045         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
39046         <kernel-features.h>.
39047         [__ASSUME_32BITUIDS]: Make code unconditional.
39048         [!__ASSUME_32BITUIDS]: Remove conditional code.
39049         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
39050         <kernel-features.h>.
39051         [__ASSUME_32BITUIDS]: Make code unconditional.
39052         [!__ASSUME_32BITUIDS]: Remove conditional code.
39053         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
39054         <kernel-features.h>.
39055         [__ASSUME_32BITUIDS]: Make code unconditional.
39056         [!__ASSUME_32BITUIDS]: Remove conditional code.
39057         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
39058         <kernel-features.h>.
39059         [__ASSUME_32BITUIDS]: Make code unconditional.
39060         [!__ASSUME_32BITUIDS]: Remove conditional code.
39061         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
39062         <kernel-features.h>.
39063         [__ASSUME_32BITUIDS]: Make code unconditional.
39064         [!__ASSUME_32BITUIDS]: Remove conditional code.
39065         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
39066         <kernel-features.h>.
39067         [__ASSUME_32BITUIDS]: Make code unconditional.
39068         [!__ASSUME_32BITUIDS]: Remove conditional code.
39069         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
39070         <kernel-features.h>.
39071         [__ASSUME_32BITUIDS]: Make code unconditional.
39072         [!__ASSUME_32BITUIDS]: Remove conditional code.
39073         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
39074         <kernel-features.h>.
39075         [__ASSUME_32BITUIDS]: Make code unconditional.
39076         [!__ASSUME_32BITUIDS]: Remove conditional code.
39077         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
39078         <kernel-features.h>.
39079         [__NR_setresgid] (__setresgid): Do not declare.
39080         [__ASSUME_32BITUIDS]: Make code unconditional.
39081         [!__ASSUME_32BITUIDS]: Remove conditional code.
39082         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
39083         <kernel-features.h>.
39084         [__NR_setresuid] (__setresuid): Do not declare.
39085         [__ASSUME_32BITUIDS]: Make code unconditional.
39086         [!__ASSUME_32BITUIDS]: Remove conditional code.
39087         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
39088         <kernel-features.h>.
39089         [__ASSUME_32BITUIDS]: Make code unconditional.
39090         [!__ASSUME_32BITUIDS]: Remove conditional code.
39091         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
39092         <kernel-features.h>.
39093         [__ASSUME_32BITUIDS]: Make code unconditional.
39094         [!__ASSUME_32BITUIDS]: Remove conditional code.
39095         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
39096         <kernel-features.h>.
39097         [__ASSUME_32BITUIDS]: Make code unconditional.
39098         [!__ASSUME_32BITUIDS]: Remove conditional code.
39099         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
39100         <kernel-features.h>.
39101         [__ASSUME_32BITUIDS]: Make code unconditional.
39102         [!__ASSUME_32BITUIDS]: Remove conditional code.
39103         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
39104         <kernel-features.h>.
39105         [__ASSUME_32BITUIDS]: Make code unconditional.
39106         [!__ASSUME_32BITUIDS]: Remove conditional code.
39107         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
39108         <kernel-features.h>.
39109         [__ASSUME_32BITUIDS]: Make code unconditional.
39110         [!__ASSUME_32BITUIDS]: Remove conditional code.
39111         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
39112         <kernel-features.h>.
39113         [__ASSUME_32BITUIDS]: Make code unconditional.
39114         [!__ASSUME_32BITUIDS]: Remove conditional code.
39115         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
39116         <kernel-features.h>.
39117         [__ASSUME_32BITUIDS]: Make code unconditional.
39118         [!__ASSUME_32BITUIDS]: Remove conditional code.
39119         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
39120         <kernel-features.h>.
39121         [__ASSUME_32BITUIDS]: Make code unconditional.
39122         [!__ASSUME_32BITUIDS]: Remove conditional code.
39123         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
39124         <kernel-features.h>.
39125         [__ASSUME_32BITUIDS]: Make code unconditional.
39126         [!__ASSUME_32BITUIDS]: Remove conditional code.
39127         * sysdeps/unix/sysv/linux/kernel-features.h
39128         (__ASSUME_SETRESUID_SYSCALL): Remove.
39129         (__ASSUME_SETRESGID_SYSCALL): Likewise.
39130         (__ASSUME_32BITUIDS): Likewise.
39131         (__ASSUME_LDT_WORKS): Likewise.
39132         (__ASSUME_O_DIRECTORY): Likewise.
39133         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
39134         architecture but not kernel version.
39135         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
39136         (__ASSUME_MMAP2_SYSCALL): Likewise.
39137         (__ASSUME_STAT64_SYSCALL): Likewise.
39138         (__ASSUME_IPC64): Likewise.
39139         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
39140         <kernel-features.h>.
39141         [__ASSUME_32BITUIDS]: Make code unconditional.
39142         [!__ASSUME_32BITUIDS]: Remove conditional code.
39143         * sysdeps/unix/sysv/linux/opendir.c: Do not include
39144         <kernel-features.h>.
39145         [__ASSUME_O_DIRECTORY]: Make code unconditional.
39146         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
39147         132096]: Remove conditional code.
39148         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
39149         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
39150         <kernel-features.h>.
39151         [__ASSUME_32BITUIDS]: Make code unconditional.
39152         [!__ASSUME_32BITUIDS]: Remove conditional code.
39153         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
39154         <kernel-features.h>.
39155         [__ASSUME_32BITUIDS]: Make code unconditional.
39156         [!__ASSUME_32BITUIDS]: Remove conditional code.
39157         * sysdeps/unix/sysv/linux/setegid.c: Do not include
39158         <kernel-features.h>.
39159         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
39160         unconditional.
39161         (__setresgid): Do not declare.
39162         [__ASSUME_32BITUIDS]: Make code unconditional.
39163         [!__ASSUME_32BITUIDS]: Remove conditional code.
39164         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
39165         <kernel-features.h>.
39166         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
39167         unconditional.
39168         (__setresuid): Do not declare.
39169         [__ASSUME_32BITUIDS]: Make code unconditional.
39170         [!__ASSUME_32BITUIDS]: Remove conditional code.
39171         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
39172         <kernel-features.h>.
39173         [__ASSUME_32BITUIDS]: Make code unconditional.
39174         [!__ASSUME_32BITUIDS]: Remove conditional code.
39175         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
39176         <kernel-features.h>.
39177         [__ASSUME_32BITUIDS]: Make code unconditional.
39178         [!__ASSUME_32BITUIDS]: Remove conditional code.
39179
39180 2012-05-25  Richard Henderson  <rth@twiddle.net>
39181
39182         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
39183         dl_hwcap to ifunc resolver.
39184         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
39185         elf_ifunc_invoke.
39186         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
39187         dl_hwcap to ifunc resolver.
39188         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
39189
39190 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
39191
39192         [BZ #14153]
39193         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
39194         for |x| <= 2**-26, not 2**-57.
39195         * math/libm-test.inc (acos_test): Do not allow spurious underflow
39196         exception.
39197
39198 2012-05-24  Jeff Law  <law@redhat.com>
39199
39200         * stdio-common/Makefile (tests): Add bug25.
39201         * stdio-common/bug25.c: New test.
39202
39203 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
39204
39205         [BZ #13576]
39206         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
39207         multiple of MALLOC_ALIGNMENT in size.
39208         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
39209
39210 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
39211
39212         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
39213         Require >= 256.
39214         (FILENAME_MAX): Use macro-int-constant.
39215         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
39216         (_IOFBF): Use macro-int-constant.
39217         (_IOLBF): Likewise.
39218         (_IONBF): Likewise.
39219         (SEEK_CUR): Likewise.
39220         (SEEK_END): Likewise.
39221         (SEEK_SET): Likewise.
39222         (TMP_MAX): Likewise.
39223         (EOF): Use macro-int-constant.  Require < 0.
39224         (NULL): Use macro-constant.  Require == 0.
39225         (stdin): Require type to be FILE *.
39226         (stdout): Likewise.
39227         (stderr): Likewise.
39228         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
39229         macro-int-constant.
39230         (EXIT_SUCCESS): Likewise.
39231         (NULL): Use macro-constant.  Require == 0.
39232         (RAND_MAX): Use macro-int-constant.
39233         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
39234         [C99-based standards] (strtof): Require function.
39235         [C99-based standards] (strtold): Likewise.
39236         [C99-based standards] (strtoll): Likewise.
39237         [C99-based standards] (strtoull): Likewise.
39238         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
39239         [ISO || ISO99 || ISO11] (limits.h): Likewise.
39240         [ISO || ISO99 || ISO11] (math.h): Likewise.
39241         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
39242         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
39243         [ISO || ISO99 || ISO11] (*_t): Do not allow.
39244
39245 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
39246
39247         [BZ #14132]
39248         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
39249         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
39250         * intl/dgettext.c (DCGETTEXT): Likewise.
39251         * intl/gettext.c (DCGETTEXT): Likewise.
39252         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
39253         * posix/regex_internal.h (gettext): Likewise.
39254         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
39255         Remove declaration.
39256         * include/argz.h (__argz_count_internal)
39257         (__argz_stringify_internal): Remove declaration.
39258         (__argz_count, __argz_stringify): Declare hidden proto.
39259         * intl/dcgettext.c: Remove use of INTDEF.
39260         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
39261         * string/argz-stringify.c: Likewise.
39262         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39263         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39264         Declare hidden proto.
39265         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
39266         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
39267         Declare hidden proto.
39268         * include/stdio.h (__asprintf_internal): Don't declare.
39269         (__asprintf): Don't define as macro.  Declare hidden proto.
39270         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
39271         (__fsetlocking): Declare hidden proto.
39272         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
39273         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
39274         hidden proto.
39275         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
39276         (_IO_setlinebuf): Remove use of INTUSE.
39277         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
39278         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
39279         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
39280         Remove declaration.
39281         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
39282         (_IO_do_flush): Remove use of INTUSE.
39283         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
39284         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
39285         (_IO_adjust_column, _IO_least_wmarker)
39286         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
39287         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
39288         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
39289         (_IO_default_doallocate, _IO_wdefault_doallocate)
39290         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
39291         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
39292         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
39293         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
39294         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
39295         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
39296         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
39297         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
39298         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
39299         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
39300         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
39301         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
39302         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
39303         proto.
39304         (_IO_flush_all_internal, _IO_adjust_column_internal)
39305         (_IO_default_uflow_internal, _IO_default_finish_internal)
39306         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
39307         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
39308         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
39309         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
39310         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
39311         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
39312         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
39313         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
39314         (_IO_file_close_internal, _IO_file_close_it_internal)
39315         (_IO_file_underflow_internal, _IO_file_overflow_internal)
39316         (_IO_file_init_internal, _IO_file_attach_internal)
39317         (_IO_file_fopen_internal, _IO_file_read_internal)
39318         (_IO_file_sync_internal, _IO_file_seek_internal)
39319         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
39320         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
39321         (_IO_str_underflow_internal, _IO_str_overflow_internal)
39322         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
39323         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
39324         (_IO_list_all_internal, _IO_link_in_internal)
39325         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
39326         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
39327         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
39328         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
39329         (_IO_do_write_internal, _IO_padn_internal)
39330         (_IO_getline_info_internal, _IO_getline_internal)
39331         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
39332         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
39333         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
39334         (_IO_vfscanf_internal, _IO_vfprintf_internal)
39335         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
39336         (_IO_init_internal, _IO_un_link_internal): Don't declare.
39337         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
39338         with libc_hidden_ver, remove use of INTUSE.
39339         * libio/genops.c: Likewise.
39340         * libio/freopen.c: Likewise.
39341         * libio/freopen64.c: Likewise.
39342         * libio/iofclose.c: Likewise.
39343         * libio/iofdopen.c: Likewise.
39344         * libio/iofflush.c: Likewise.
39345         * libio/iofflush_u.c: Likewise.
39346         * libio/iofgets.c: Likewise.
39347         * libio/iofgets_u.c: Likewise.
39348         * libio/iofopen.c: Likewise.
39349         * libio/iofopncook.c: Likewise.
39350         * libio/iofread.c: Likewise.
39351         * libio/iofread_u.c: Likewise.
39352         * libio/ioftell.c: Likewise.
39353         * libio/iofwrite.c: Likewise.
39354         * libio/iogetline.c: Likewise.
39355         * libio/iogets.c: Likewise.
39356         * libio/iogetwline.c: Likewise.
39357         * libio/iopadn.c: Likewise.
39358         * libio/iopopen.c: Likewise.
39359         * libio/ioseekoff.c: Likewise.
39360         * libio/ioseekpos.c: Likewise.
39361         * libio/iosetbuffer.c: Likewise.
39362         * libio/iosetvbuf.c: Likewise.
39363         * libio/ioungetc.c: Likewise.
39364         * libio/ioungetwc.c: Likewise.
39365         * libio/iovdprintf.c: Likewise.
39366         * libio/iovsprintf.c: Likewise.
39367         * libio/iovsscanf.c: Likewise.
39368         * libio/memstream.c: Likewise.
39369         * libio/obprintf.c: Likewise.
39370         * libio/oldfileops.c: Likewise.
39371         * libio/oldiofclose.c: Likewise.
39372         * libio/oldiofdopen.c: Likewise.
39373         * libio/oldiofopen.c: Likewise.
39374         * libio/oldiopopen.c: Likewise.
39375         * libio/oldstdfiles.c: Likewise.
39376         * libio/putc.c: Likewise.
39377         * libio/setbuf.c: Likewise.
39378         * libio/setlinebuf.c: Likewise.
39379         * libio/stdfiles.c: Likewise.
39380         * libio/strops.c: Likewise.
39381         * libio/vasprintf.c: Likewise.
39382         * libio/vscanf.c: Likewise.
39383         * libio/vsnprintf.c: Likewise.
39384         * libio/vswprintf.c: Likewise.
39385         * libio/wfiledoalloc.c: Likewise.
39386         * libio/wfileops.c: Likewise.
39387         * libio/wgenops.c: Likewise.
39388         * libio/wmemstream.c: Likewise.
39389         * libio/wstrops.c: Likewise.
39390         * libio/__fpurge.c: Likewise.
39391         * libio/__fsetlocking.c: Likewise.
39392         * assert/assert.c: Likewise.
39393         * debug/fgets_chk.c: Likewise.
39394         * debug/fgets_u_chk.c: Likewise.
39395         * debug/fread_chk.c: Likewise.
39396         * debug/fread_u_chk.c: Likewise.
39397         * debug/gets_chk.c: Likewise.
39398         * debug/obprintf_chk.c: Likewise.
39399         * debug/vasprintf_chk.c: Likewise.
39400         * debug/vdprintf_chk.c: Likewise.
39401         * debug/vsnprintf_chk.c: Likewise.
39402         * debug/vsprintf_chk.c: Likewise.
39403         * malloc/mtrace.c: Likewise.
39404         * misc/error.c: Likewise.
39405         * misc/syslog.c: Likewise.
39406         * stdio-common/asprintf.c: Likewise.
39407         * stdio-common/fxprintf.c: Likewise.
39408         * stdio-common/getw.c: Likewise.
39409         * stdio-common/isoc99_fscanf.c: Likewise.
39410         * stdio-common/isoc99_scanf.c: Likewise.
39411         * stdio-common/isoc99_vfscanf.c: Likewise.
39412         * stdio-common/isoc99_vscanf.c: Likewise.
39413         * stdio-common/isoc99_vsscanf.c: Likewise.
39414         * stdio-common/printf-prs.c: Likewise.
39415         * stdio-common/printf_fp.c: Likewise.
39416         * stdio-common/printf_fphex.c: Likewise.
39417         * stdio-common/printf_size.c: Likewise.
39418         * stdio-common/putw.c: Likewise.
39419         * stdio-common/scanf.c: Likewise.
39420         * stdio-common/sprintf.c: Likewise.
39421         * stdio-common/tmpfile.c: Likewise.
39422         * stdio-common/vfprintf.c: Likewise.
39423         * stdio-common/vfscanf.c: Likewise.
39424         * stdlib/strfmon_l.c: Likewise.
39425         * sunrpc/openchild.c: Likewise.
39426         * sunrpc/xdr_stdio.c: Likewise.
39427         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
39428         * sysdeps/mach/hurd/tmpfile.c: Likewise.
39429
39430 2012-05-24  Roland McGrath  <roland@hack.frob.com>
39431
39432         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39433
39434         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
39435         in the third column, to generate for the shared library an IFUNC
39436         that uses _dl_vdso_vsym.
39437         * Makerules (COMPILE.c, compile-stdin.c): New variables.
39438         * Makeconfig (object-suffixes-noshared): New variable.
39439
39440         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
39441         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
39442         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
39443         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
39444
39445         [BZ #14132]
39446         * include/sys/time.h (__gettimeofday): Remove macro.
39447         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
39448         * time/gettimeofday.c (__gettimeofday): Remove #undef.
39449         Remove INTDEF.
39450         (__gettimeofday): Add libc_hidden_def.
39451         (gettimeofday): Add libc_hidden_weak.
39452         * sysdeps/mach/gettimeofday.c: Likewise.
39453         * sysdeps/posix/gettimeofday.c: Likewise.
39454         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
39455         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
39456         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
39457         (__gettimeofday_internal): Remove strong_alias.
39458         (__gettimeofday): Add libc_hidden_def.
39459         (gettimeofday): Add libc_hidden_weak.
39460         * sysdeps/unix/syscalls.list (gettimeofday):
39461         Remove __gettimeofday_internal alias.
39462
39463 2012-05-24  Daniel Jacobowitz  <drow@false.org>
39464             H.J. Lu  <hongjiu.lu@intel.com>
39465
39466         [BZ #12495]
39467         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
39468         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
39469         (largebin_index_32_big): New.
39470         (largebin_index): Use it for 16-byte alignment.
39471         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
39472         correction with front_misalign.
39473
39474 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
39475
39476         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
39477         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
39478         Likewise.
39479         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
39480         Likewise.
39481         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
39482         Likewise.
39483         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
39484         Likewise.
39485         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
39486         Likewise.
39487         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
39488         Likewise.
39489         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
39490         Likewise.
39491         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
39492         Likewise.
39493         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
39494         Likewise.
39495         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
39496         Likewise.
39497         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
39498         Likewise.
39499         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
39500         Likewise.
39501
39502         * scripts/data/c++-types-x32-linux-gnu.data: New file.
39503         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
39504
39505 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
39506
39507         [BZ #10846]
39508         [BZ #14036]
39509         * math/libm-test.inc (exp_test): Add test from bug 14036.
39510         (pow_test): Add test from bug 10846.
39511
39512         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
39513         and other flags.
39514         (special_function): Do not include flags in test name.
39515         (parse_args): Likewise.
39516         * sysdeps/i386/fpu/libm-test-ulps: Update.
39517         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
39518         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
39519         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
39520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39521
39522         * math/gen-libm-test.pl (%beautify): Add entries for underflow
39523         exceptions.
39524         * math/libm-test.inc ("Philosophy"): Update comment about
39525         exception testing.
39526         (UNDERFLOW_EXCEPTION): New macro.
39527         (UNDERFLOW_EXCEPTION_OK): Likewise.
39528         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
39529         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
39530         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
39531         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
39532         (INVALID_EXCEPTION_OK): Update value.
39533         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
39534         (OVERFLOW_EXCEPTION_OK): Likewise.
39535         (IGNORE_ZERO_INF_SIGN): Likewise.
39536         (test_exceptions): Handle underflow exceptions.
39537         (acos_test): Update for underflow exception expectations.
39538         (cexp_test): Likewise.
39539         (clog_test): Likewise.
39540         (clog10_test): Likewise.
39541         (csqrt_test): Likewise.
39542         (ctan_test): Likewise.
39543         (ctanh_test): Likewise.
39544         (exp_test): Likewise.
39545         (exp10_test): Likewise.
39546         (exp2_test): Likewise.
39547         (expm1_test): Likewise.
39548         (fma_test): Likewise.
39549         (j0_test): Likewise.
39550         (jn_test): Likewise.
39551         (nexttoward_test): Likewise.
39552         (pow_test): Likewise.
39553         (scalbn_test): Likewise.
39554         (scalbln_test): Likewise.
39555         (tan_test): Likewise.
39556         (y1_test): Likewise.
39557         * sysdeps/i386/fpu/libm-test-ulps: Update.
39558         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39559
39560 2012-05-23  David S. Miller  <davem@davemloft.net>
39561
39562         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
39563         (__libc_sigaction): Remove unused local variables.
39564
39565 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39566
39567         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
39568
39569 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
39570
39571         mktime: avoid signed integer overflow
39572         * time/mktime.c (__mktime_internal): Do not mishandle the case
39573         where diff == INT_MIN.
39574
39575         mktime: simplify computation of average
39576         * time/mktime.c (ranged_convert): Use new time_t_avg function
39577         instead of rolling our own (probably-slower) code.
39578
39579         mktime: do not assume signed right shift propagates sign bit
39580         * time/mktime.c (isdst_differ): New static function.
39581         (__mktime_internal): No need to normalize tm_isdst now.
39582         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
39583         tm_isdst values.
39584
39585         mktime: merge another wrapv change from gnulib
39586         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
39587         from some compilers.
39588
39589         mktime: remove incorrect attempt at unusual arithmetics
39590         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
39591         The code didn't really work on such machines anyway.
39592         (TYPE_MINIMUM): Assume two's complement.
39593         (twos_complement_arithmetic): Verify that long_int and time_t
39594         are two's complement (or unsigned, in the latter case).
39595
39596         mktime: check signed shifts on long_int and time_t, too
39597         * time/mktime.c (SHR): Check that shifts work as desired
39598         on the types long_int and time_t too, as SHR is used on
39599         such types.
39600
39601         mktime: do not assume 'long' is wide enough
39602         * time/mktime.c (verify): Move decl up.
39603         (long_int): New type.
39604         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
39605         to remove assumption in the code that 'long' is wide enough to
39606         store year values.  This assumption is not true on x32 and on
39607         some non-glibc platforms.
39608
39609         mktime: merge wrapv change from gnulib
39610         * time/mktime.c (WRAPV): New macro.
39611         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
39612         (guess_time_tm, __mktime_internal): Do not assume that signed
39613         integer overflow wraps around; modern compilers generate code
39614         where this assumption is no longer valid.
39615
39616 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39617
39618         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39619         Replace "jmp L(pseudo_end)" with "ret".
39620         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
39621         Likewise.
39622
39623 2012-05-23  Andreas Jaeger  <aj@suse.de>
39624
39625         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
39626         * sysdeps/unix/sysv/linux/poll.c: Remove file.
39627
39628 2012-05-23  Andreas Jaeger  <aj@suse.de>
39629             Maximilian Attems  <max@stro.at>
39630
39631         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
39632         New macros.
39633
39634 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
39635
39636         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
39637         code so that pseudo_end is just ret and the stack pointer is
39638         correct also for static library in error case.
39639
39640 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
39641
39642         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
39643         move to syscalls.list.
39644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
39645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
39646         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
39647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
39648
39649         * manual/install.texi (Running make install): Do not mention Linux
39650         kernel version for which pt_chown is not needed.
39651         (Linux): Do not mention problems with nscd with 2.0 kernels.
39652         * INSTALL: Regenerated.
39653
39654 2012-05-23  Andreas Jaeger  <aj@suse.de>
39655
39656         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
39657         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
39658         macro.
39659         * sysdeps/unix/sysv/linux/s390/bits/mman.h
39660         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39661         * sysdeps/unix/sysv/linux/sh/bits/mman.h
39662         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39663         * sysdeps/unix/sysv/linux/i386/bits/mman.h
39664         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39665         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
39666         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39667         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
39668         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
39669         * sysdeps/unix/sysv/linux/bits/in.h
39670         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
39671
39672 2012-05-22  Roland McGrath  <roland@hack.frob.com>
39673
39674         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
39675         (PREPARE_VERSION): Just use assert instead, it will be elided
39676         under [NDEBUG] anyway.
39677
39678 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39679
39680         * sysdeps/unix/sysv/linux/Makefile: Include
39681         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
39682         (sysdep_routines): Remove sysctl.
39683         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
39684         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
39685         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
39686         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
39687         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
39688
39689 2012-05-22  Andreas Jaeger  <aj@suse.de>
39690
39691         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
39692         that pseudo_end is just ret and the stack pointer is correct also
39693         for static library in error case.
39694
39695 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
39696
39697         [BZ #14122]
39698         * nss/nsswitch.c (defconfig_entries): New variable.
39699         (__nss_database_lookup): Don't leak defconfig entries.
39700         (nss_parse_service_list): Don't leak on error paths.
39701         (free_database_entries): New function.
39702         (free_defconfig): New function.
39703         (free_mem): Move common code to free_database_entries.
39704
39705 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39706
39707         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
39708         Add arch_prctl.
39709         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
39710
39711         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
39712         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
39713         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
39714         New macro.
39715         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
39716         (INTERNAL_SYSCALL_TYPES): Likewise.
39717         (LOAD_ARGS_TYPES_[1-6]): Likewise.
39718         (LOAD_REGS_TYPES_[1-6]): Likewise.
39719         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
39720         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
39721
39722 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39723
39724         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
39725         copysignl for GLIBC_2_0.
39726         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
39727         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
39728         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
39729         logbl for GLIBC_2_0.
39730         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
39731         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
39732
39733 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39734
39735         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
39736         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
39737
39738         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
39739         Use "neg %eax".
39740
39741         * time/mktime.c: Update copyright years.
39742
39743 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
39744
39745         mktime: merge comment-quoting-style change from gnulib
39746         * time/mktime.c: Quote 'like this' in comments.
39747         The GNU coding standards suggest that we no longer quote `like this',
39748         as "`" and "'" are typically rendered asymmetrically nowadays.
39749         The typical gnulib style is to quote 'like this' when quoting
39750         code, and "like this" when quoting English.
39751
39752         * time/mktime.c (compile-command): Add "-I.".
39753
39754         mktime: merge mktime-internal.h change from gnulib
39755         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
39756
39757         mktime: merge time_r change from gnulib
39758         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
39759
39760         mktime: merge DEBUG change from gnulib
39761         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
39762         case system <time.h> has a #define.
39763
39764         mktime: merge <sys/types.h> change from gnulib
39765         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
39766         since <time.t> is now guaranteed to define time_t.
39767
39768         mktime: merge HAVE_CONFIG_H change from gnulib
39769         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
39770
39771 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
39772
39773         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39774         Use "neg %eax".
39775
39776         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
39777         __rlim_t cast.
39778         (struct rusage): Use anonymous union to pad each field to
39779         __syscall_slong_t.
39780
39781 2012-05-21  David S. Miller  <davem@davemloft.net>
39782
39783         * Makefules (o-iterator): Remove .s cases.
39784         (compile-command.s): Delete.
39785         (COMPILE.s): Delete.
39786         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
39787
39788 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
39789
39790         * configure.in (libc_cv_predef_stack_protector): Only consider
39791         "foobar" and "__stack_chk_fail" lines in libc_undefs.
39792         * configure: Regenerated.
39793
39794 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39795
39796         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
39797         New macro.  Use R*LP on int and pointer.
39798         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
39799         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
39800         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
39801         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
39802
39803         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
39804         [__WORDSIZE_TIME64_COMPAT32] instead of
39805         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
39806         (struct utmp): Likewise.
39807         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
39808         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
39809         Renamed to ...
39810         (__WORDSIZE_TIME64_COMPAT32): This.
39811         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
39812         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
39813         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
39814         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
39815         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
39816         (__WORDSIZE_TIME64_COMPAT32): New macro.
39817
39818 2012-05-21  Andreas Jaeger  <aj@suse.de>
39819
39820         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
39821         only if [SHARED]. Add prototype for __wcschr_ia32.
39822
39823 2012-05-21  Roland McGrath  <roland@hack.frob.com>
39824
39825         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
39826         of %rbp unmolested in the jmp_buf while mangling the low bits.
39827         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
39828         unmolested high bits of %rbp while demangling the low bits.
39829         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
39830
39831 2012-05-21  Andreas Jaeger  <aj@suse.de>
39832
39833         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
39834         * sunrpc/svc_simple.c: Use it for registerrpc.
39835         * sunrpc/xcrypt.c: Use it for passwd2des.
39836
39837         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
39838
39839 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39840
39841         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
39842         Don't define if [__SYSCALL_WORDSIZE != 32].
39843         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
39844         New macro.
39845
39846 2012-05-21  Bruno Haible  <bruno@clisp.org>
39847             Andreas Jaeger  <aj@suse.de>
39848
39849         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
39850         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
39851         inptr and inend for must_buffer_ch.
39852         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
39853         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
39854         * stdio-common/Makefile (tests): Remove bug15.
39855         (bug15-ENV): Remove macro.
39856         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
39857         anymore.
39858
39859 2012-05-19  Andreas Jaeger  <aj@suse.de>
39860             Roland McGrath  <roland@hack.frob.com>
39861
39862         * manual/contrib.texi: Completely rewritten. It contains now an
39863         alphabetical list of contributors and their contributions.
39864
39865 2012-05-21  Richard Henderson  <rth@twiddle.net>
39866
39867         * misc/getauxval.c (__getauxval): Use unsigned long int.
39868         * misc/sys/auxv.h: Include <sys/cdefs.h>.
39869         (getauxval): Use unsigned long int.
39870
39871 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
39872
39873         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
39874
39875 2012-05-21  Roland McGrath  <roland@hack.frob.com>
39876
39877         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
39878         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
39879         __alignof__ (long double).
39880
39881 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39882
39883         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39884
39885 2012-05-20  Richard Henderson  <rth@twiddle.net>
39886
39887         * misc/getauxval.c: New file.
39888         * misc/sys/auxv.h: New file.
39889         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
39890         (routines): Add getauxval.
39891         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
39892         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
39893         * elf/dl-sysdep.c (_dl_auxv): Remove.
39894         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
39895         * elf/dl-support.c (_dl_auxv): New variable.
39896         (_dl_aux_init): Initialize it.
39897         * manual/startup.texi (Auxiliary Vector): New node.
39898         * sysdeps/generic/bits/hwcap.h: New file.
39899         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
39900         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
39901         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
39902         * sysdeps/sparc/sysdep.h: ... here.  Include it.
39903         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
39904         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
39905         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39906         Update.
39907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
39908         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
39909         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
39910         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
39911         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39912         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
39913         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
39914         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
39915
39916 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39917
39918         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
39919
39920 2012-05-19  David S. Miller  <davem@davemloft.net>
39921
39922         * sysdeps/sparc/fpu/libm-test-ulps: Update.
39923
39924 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
39925
39926         [BZ #14123]
39927         * math/s_ccosh.c: Include <float.h>
39928         (__ccosh): Avoid internal overflow calculating sinh and cosh
39929         values before multiplying by sin and cos values.
39930         * math/s_ccoshf.c: Likewise.
39931         * math/s_ccoshl.c: Likewise.
39932         * math/s_csin.c: Likewise.
39933         * math/s_csinf.c: Likewise.
39934         * math/s_csinl.c: Likewise.
39935         * math/s_csinh.c: Likewise.
39936         * math/s_csinhf.c: Likewise.
39937         * math/s_csinhl.c: Likewise.
39938         * math/libm-test.inc (ccos_test): Add more tests.
39939         (ccosh_test): Likewise.
39940         (csin_test): Likewise.
39941         (csinh_test): Likewise.
39942         * sysdeps/i386/fpu/libm-test-ulps: Update.
39943         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39944
39945 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
39946
39947         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
39948         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
39949
39950         * sysdeps/x86_64/x32/_itoa.h: Add comment.
39951
39952 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
39953
39954         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
39955         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
39956         * sysdeps/powerpc/soft-fp/Versions: Likewise.
39957         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
39958         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
39959         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
39960         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
39961         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
39962         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
39963         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
39964         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
39965         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
39966         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
39967         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
39968         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
39969         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
39970         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
39971         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
39972         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
39973         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
39974         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
39975         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
39976         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
39977         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
39978         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
39979         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
39980         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
39981         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
39982         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
39983         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
39984         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
39985
39986 2012-05-18  Andreas Jaeger  <aj@suse.de>
39987
39988         * csu/.gitignore: Delete.
39989
39990 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
39991
39992         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
39993         (timex): Use __syscall_slong_t.
39994
39995 2012-05-18  Andreas Jaeger  <aj@suse.de>
39996             Carlos O'Donell  <carlos_odonell@mentor.com>
39997
39998         * manual/install.texi (Configuring and compiling): Update
39999         description about files modified in the source directory.
40000         * INSTALL: Regenerated.
40001
40002 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
40003
40004         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
40005         value.  Use "or" to set return value to -1.
40006         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
40007         negate return value.
40008
40009 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
40010
40011         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
40012         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
40013         failure if the compiler has Graphite support disabled.
40014         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
40015         Likewise.
40016         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
40017         (CFLAGS-memmove.c): Likewise.
40018         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
40019         Likewise.
40020
40021 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
40022
40023         * sysdeps/x86_64/x32/_itoa.h: New file.
40024
40025         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
40026         getdents system call only if kernel and user dirents have the
40027         same d_ino and d_off.
40028
40029         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
40030         LLONG_MAX != LONG_MAX.
40031         (_itoa_word): Use _ITOA_WORD_TYPE on value.
40032         (_fitoa_word): Likewise.
40033
40034         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
40035         years.
40036         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
40037         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
40038         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
40039
40040         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
40041         include <bits/wordsize.h>.  Check __x86_64__ instead of
40042         __WORDSIZE.
40043         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
40044         if __x86_64__ is defined.  Use anonymous union on fpstate.
40045
40046         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
40047         anonymous union.
40048
40049 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
40050
40051         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
40052         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
40053         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
40054         Refer to _rtld_local_ro instead of _rtld_global_ro.
40055         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
40056         Likewise.
40057         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
40058         Likewise.
40059         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
40060         Likewise.
40061         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
40062         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
40063         of _rtld_global, and rtld_progname instead of _dl_argv[0].
40064
40065         * sysdeps/powerpc/powerpc32/dl-machine.c
40066         (__elf_machine_runtime_setup) [PROF]: Don't reference
40067         _dl_prof_resolve.
40068
40069 2012-05-18  Andreas Jaeger  <aj@suse.de>
40070
40071         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
40072         function only available for GCCs before 3.4 since GCC 3.4
40073         introduced a builtin.
40074         (lrint): Likewise.
40075         (llrintf): Likewise.
40076         (llrint): Likewise.
40077         (fmaxf): Likewise.
40078         (fmax): Likewise.
40079         (fminf): Likewise.
40080         (fmin): Likewise.
40081         (rint): Likewise.
40082         (rintf): Likewise.
40083         (nearbyint): Likewise.
40084         (nearbyintf): Likewise.
40085         (ceil): Likewise.
40086         (ceilf): Likewise.
40087         (floor): Likewise.
40088         (floorf): Likewise.
40089
40090 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
40091
40092         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
40093         on both fields and cast pointer to __syscall_ulong_t.
40094
40095         * bits/types.h (__fsword_t): New type.
40096         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
40097         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
40098         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40099         (__FSWORD_T_TYPE): Likewise.
40100         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40101         (__FSWORD_T_TYPE): Likewise.
40102         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40103         (__FSWORD_T_TYPE): Likewise.
40104         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
40105         (__FSWORD_T_TYPE): Likewise.
40106         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
40107         __SWORD_TYPE with __fsword_t.
40108         (statfs64): Likewise.
40109
40110 2012-05-17  David S. Miller  <davem@davemloft.net>
40111
40112         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
40113
40114 2012-05-17  Andreas Jaeger  <aj@suse.de>
40115
40116         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
40117         warning.
40118
40119 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
40120
40121         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
40122
40123 2012-05-17  Andreas Jaeger  <aj@suse.de>
40124
40125         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
40126         when it is used.
40127
40128 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
40129
40130         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
40131
40132 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
40133
40134         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
40135         * sysdeps/x86_64/tst-mallocalign1.c: New file.
40136
40137 2012-05-17  Andreas Jaeger  <aj@suse.de>
40138             Carlos O'Donell  <carlos_odonell@mentor.com>
40139
40140         [BZ #14059]
40141         * sysdeps/x86_64/multiarch/init-arch.h
40142         (bit_YMM_Usable): Rename to...
40143         (bit_AVX_Usable): ... this.
40144         (bit_FMA4_Usable): New macro.
40145         (bit_XMM_state): New macro.
40146         (bit_YMM_state): New macro.
40147         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
40148         [__ASSEMBLER__] (index_AVX_Usable): ... this.
40149         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
40150         (CPUID_OSXSAVE): New macro.
40151         (CPUID_AVX): New macro.
40152         (CPUID_FMA4): New macro.
40153         (index_YMM_Usable): Rename to...
40154         (index_AVX_Usable): ... this.
40155         (HAS_AVX): Use HAS_ARCH_FEATURE.
40156         (HAS_FMA4): Likewise.
40157         (HAS_YMM_USABLE): Remove.
40158         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
40159         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
40160         are present.
40161         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
40162         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
40163         * sysdeps/x86_64/multiarch/Makefile: Likewise.
40164         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
40165         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
40166
40167 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
40168
40169         * math/libm-test.c: Support platforms without multiple rounding modes.
40170         * math/bug-nextafter.c: Support platforms without FP exceptions.
40171         * math/bug-nexttoward.c: Likewise.
40172         * math/test-fenv.c: Likewise.
40173         * math/test-misc.c: Likewise.
40174         * stdlib/bug-getcontext.c: Likewise.
40175
40176 2012-05-17  Andreas Jaeger  <aj@suse.de>
40177
40178         * manual/examples/search.c (critter_cmp): Change signature to
40179         avoid warnings.
40180         * manual/string.texi (Collation Functions): Likewise.
40181
40182 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40183
40184         * bits/types.h: Fold copyright years.
40185         * bits/typesizes.h: Likewise.
40186         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
40187         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
40188         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
40189         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
40190         * time/time.h: Likewise.
40191
40192 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
40193
40194         [BZ #208]
40195         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
40196         in instead of returning them.  Return void.
40197         (__libc_mallinfo): Accumulate over all arenas.
40198         (__malloc_stats): Adjust for change in int_mallinfo interface.
40199
40200 2012-05-16  Roland McGrath  <roland@hack.frob.com>
40201
40202         [BZ #10375]
40203         * configure.in (NM): Add AC_CHECK_TOOL for it.
40204         (libc_extra_cflags): New substituted variable.
40205         Check for -fstack-protector being used implicitly.
40206         * configure: Regenerated.
40207         * config.make.in (config-extra-cflags): New variable,
40208         gets @libc_extra_cflags@.
40209         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
40210
40211         [BZ #10375]
40212         * configure.in: Check for _FORTIFY_SOURCE being predefined.
40213         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
40214         * configure: Regenerated.
40215         * config.make.in (CPPUNDEFS): New substituted variable.
40216         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
40217         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
40218         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
40219
40220 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40221
40222         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
40223         (mq_attr): Use __syscall_slong_t.
40224
40225 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40226
40227         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
40228         Check __x86_64__ instead of __WORDSIZE.
40229         (_STAT_VER_LINUX): Likewise.
40230         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
40231         __syscall_ulong_t and __syscall_slong_t.
40232         (stat64): Likewise.
40233
40234 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40235
40236         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
40237
40238 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40239
40240         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
40241
40242 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40243
40244         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
40245         __syscall_ulong_t.
40246
40247         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
40248         include <bits/wordsize.h>.  Check __x86_64__ instead of
40249         __WORDSIZE.
40250         (greg_t): Use "__extension__ long long int" if __x86_64__ is
40251         defined.
40252         (mcontext_t): Replace "unsigned long" with "unsigned long long".
40253
40254         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
40255         include <bits/wordsize.h>.  Check __x86_64__ instead of
40256         __WORDSIZE.
40257         (user_regs_struct): Use "__extension__ unsigned long long"
40258         instead of "unsigned long" if __x86_64__ is defined.
40259         (user): Likewise.  Pad after pointer field if __ILP32__ is
40260         defined.
40261
40262 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
40263
40264         * configure.in (makeinfo): Require version 4.5 or later.  Allow
40265         versions 5 to 9.
40266         * configure: Regenerated.
40267         * manual/install.texi (texinfo): Increase version requirement to
40268         4.5 or later.
40269         * INSTALL: Regenerated.
40270
40271         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
40272
40273 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
40274
40275         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
40276
40277         * sysdeps/x86_64/x32/ffs.c: New file.
40278
40279         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
40280         __syscall_ulong_t.
40281         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
40282         defined.  Use __syscall_ulong_t.
40283         (shminfo): Use __syscall_ulong_t.
40284         (shm_info): Likewise.
40285
40286         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
40287         __syscall_ulong_t.
40288
40289         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
40290         <bits/wordsize.h>.
40291         (msgqnum_t): Use __syscall_ulong_t.
40292         (msglen_t): Likewise.
40293         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
40294         __syscall_ulong_t.
40295
40296         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
40297         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
40298
40299         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
40300
40301         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
40302         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
40303
40304         * sysvipc/sys/msg.h (msgbuf): Replace long int with
40305         __syscall_slong_t.
40306
40307         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
40308         include <bits/wordsize.h>.  Check __x86_64__ instead of
40309         __WORDSIZE.
40310
40311         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
40312         "unsigned long long int" if __x86_64__ is defined.
40313         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
40314
40315         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
40316         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
40317         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
40318
40319         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
40320         <stdint.h>.
40321         (GET_PC): Cast to uintptr_t first.
40322         (GET_FRAME): Likewise.
40323         (GET_STACK): Likewise.
40324
40325         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
40326         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
40327         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
40328         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
40329         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
40330         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
40331         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
40332         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
40333         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
40334         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
40335         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
40336         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
40337         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
40338         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
40339         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
40340         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
40341         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
40342         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
40343         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
40344         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
40345         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
40346         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
40347         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
40348         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
40349         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
40350         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
40351         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
40352         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
40353         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
40354
40355 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
40356
40357         * Makerules (+depfiles): Also collect depfiles from .oS in
40358         $(extra-objs).
40359         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
40360         .oS, $(libnldbl-routines)).
40361
40362         * Makerules (native-compile-mkdep-flags): Define.
40363         * sunrpc/Makefile (extra-objs): Add $(addprefix
40364         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
40365         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
40366         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
40367         calling $(make-target-directory).
40368
40369 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40370
40371         * bits/types.h (__snseconds_t): Removed.
40372         * time/time.h (struct timespec): Replace __snseconds_t with
40373         __syscall_slong_t.
40374         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
40375         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
40376         Likewise.
40377         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40378         (__SNSECONDS_T_TYPE): Likewise.
40379         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40380         (__SNSECONDS_T_TYPE): Likewise.
40381         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40382         (__SNSECONDS_T_TYPE): Likewise.
40383
40384 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40385
40386         * sysdeps/mach/hurd/bits/typesizes.h
40387         (__SYSCALL_SLONG_TYPE): New macro.
40388         (__SYSCALL_ULONG_TYPE): Likewise.
40389
40390 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40391
40392         * bits/types.h (__syscall_slong_t): New type.
40393         (__syscall_ulong_t): Likewise.
40394
40395         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
40396         (__SYSCALL_ULONG_TYPE): Likewise.
40397         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
40398         (__SYSCALL_SLONG_TYPE): Likewise.
40399         (__SYSCALL_ULONG_TYPE): Likewise.
40400         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
40401         (__SYSCALL_SLONG_TYPE): Likewise.
40402         (__SYSCALL_ULONG_TYPE): Likewise.
40403         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
40404         (__SYSCALL_SLONG_TYPE): Likewise.
40405         (__SYSCALL_ULONG_TYPE): Likewise.
40406
40407 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40408
40409         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
40410         Add sigaltstack-offsets.sym.
40411         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
40412         <sigaltstack-offsets.h>.
40413         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
40414         longjmp_msg pointer.
40415         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
40416         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
40417         signal stack.
40418         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
40419
40420 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
40421
40422         * elf/stackguard-macros.h: Remove file.
40423         * sysdeps/generic/stackguard-macros.h: New file.
40424         * sysdeps/i386/stackguard-macros.h: Likewise.
40425         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
40426         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
40427         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
40428         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
40429         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
40430         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
40431         * sysdeps/x86_64/stackguard-macros.h: Likewise.
40432         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
40433         <elf/stackguard-macros.h>.
40434
40435         [BZ #14109]
40436         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
40437         __aligned__ in attribute.
40438         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
40439         (gregset_t): Likewise.
40440
40441 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40442
40443         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
40444         * sysdeps/x86_64/64/Implies-after: Here.  New file.
40445         * sysdeps/x86_64/x32/Implies-after: New file.
40446
40447 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40448
40449         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
40450         and access return value for _dl_profile_fixup.  Use R10_LP to
40451         load frame size.
40452
40453 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40454
40455         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
40456
40457 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40458
40459         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
40460         * sysdeps/x86_64/x32/sysdep.h: New file.
40461
40462 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40463
40464         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
40465         * sysdeps/x86_64/setjmp.S: Likewise.
40466
40467 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40468
40469         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
40470         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
40471         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
40472         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
40473         remove unused global constant.
40474
40475 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
40476
40477         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
40478         include of <not-cancel.h>.
40479
40480 2012-05-15  Roland McGrath  <roland@hack.frob.com>
40481
40482         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
40483
40484 2012-05-15  Jeff Law  <law@redhat.com>
40485             Andreas Jaeger  <aj@suse.de>
40486
40487         [BZ #13594]
40488         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
40489         out from...
40490         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
40491         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
40492         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
40493         code changing __hst_map_handle.map.
40494
40495 2012-05-15  Roland McGrath  <roland@hack.frob.com>
40496
40497         * configure.in (sysnames): Look for Implies-before and Implies-after
40498         files.
40499         * configure: Regenerated.
40500
40501 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40502
40503         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
40504         8-byte data alignment with LP_SIZE alignment.
40505
40506 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40507
40508         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
40509         into R10_LP.
40510
40511 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40512
40513         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
40514
40515 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40516
40517         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
40518         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
40519         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
40520         Likewise.
40521         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
40522
40523 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40524
40525         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
40526         (stackinfo_sub_sp): Likewise.
40527
40528 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40529
40530         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
40531         RAX_LP.
40532
40533 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40534
40535         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
40536         into R*_LP.
40537
40538 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40539
40540         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
40541         sizes into R*_LP.
40542
40543 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40544
40545         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
40546
40547 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40548
40549         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
40550         into R11_LP and load __x86_64_shared_cache_size_half into
40551         R8_LP.
40552
40553 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
40554
40555         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
40556         R8_LP.
40557
40558 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
40559
40560         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
40561         logb for POWER7.
40562         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
40563         logbf for POWER7.
40564         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
40565         logbl for POWER7.
40566         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
40567         powerpc32/power7/fpu/s_logb.c via #include.
40568         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
40569         powerpc32/power7/fpu/s_logbf.c via #include.
40570         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
40571         powerpc32/power7/fpu/s_logbl.c via #include.
40572
40573 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
40574
40575         * README.libm: Remove file.
40576
40577 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40578
40579         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
40580         count for x32.  Use R*_LP and omit operand-size suffix.
40581
40582 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40583
40584         * shlib-versions: Move x86_64-.*-linux.* entries to ...
40585         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
40586         * sysdeps/x86_64/x32/shlib-versions: New file.
40587
40588 2012-05-14  Roland McGrath  <roland@hack.frob.com>
40589
40590         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
40591         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
40592         Use _dl_fatal_printf instead.
40593
40594 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
40595
40596         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
40597         set if not set by the user.  Do not allow for being unset.
40598         * sysdeps/unix/sysv/linux/configure: Regenerated.
40599
40600 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40601
40602         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
40603         the `q' suffix from lea and replace .quad with ASM_ADDR.
40604
40605 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40606
40607         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
40608         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
40609         instead of $17.
40610         (PTR_DEMANGLE): Likewise.
40611
40612 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40613
40614         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
40615         (LP_OP): Likewise.
40616         (ASM_ADDR): Likewise.
40617         (RAX_LP): Likewise.
40618         (RBP_LP): Likewise.
40619         (RBX_LP): Likewise.
40620         (RCX_LP): Likewise.
40621         (RDI_LP): Likewise.
40622         (RSI_LP): Likewise.
40623         (RSP_LP): Likewise.
40624         (R8_LP): Likewise.
40625         (R9_LP): Likewise.
40626         (R10_LP): Likewise.
40627         (R10_LP): Likewise.
40628         (R11_LP): Likewise.
40629         (R12_LP): Likewise.
40630         (R13_LP): Likewise.
40631         (R14_LP): Likewise.
40632         (R15_LP): Likewise.
40633
40634 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40635
40636         * sysdeps/x86_64/x32/dl-machine.h: New file.
40637
40638 2012-05-14  Andreas Jaeger  <aj@suse.de>
40639
40640         * manual/Makefile (subdir): Remove export of subdir.
40641         (all): Remove target.
40642         (.PHONY): Remove all from list.
40643         (mkinstalldirs): Remove.
40644         (.PHONY): Remove installdirs from list.
40645         ($(inst_infodir)/libc.info): Use make-target-directory.
40646         (installdirs): Remove.
40647         (subdir_%): Remove.
40648         (glibc-targets): Remove.
40649         (lib): Remove.
40650         (stubs): Remove.
40651         ($(objpfx)stubs ../po/manual.pot): Remove.
40652         ($(objpfx)stamp%): Remove.
40653         (make-target-directory): Remove.
40654         (subdir_install): Remove.
40655         (routines): Remove.
40656         (aux): Remove.
40657         (sources): Remove.
40658         (objects): Remove.
40659         (headers): Remove.
40660
40661         [BZ #13750]
40662         * manual/.gitignore: Remove, it's not needed anymore.
40663         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
40664         all files in it.
40665         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
40666         directory.
40667         (texis): Renamed to $(objpfx)texis.
40668         (texis-path): New, contains path to generated files.
40669         (chapters.%): Use texis-path for complete path, add extra argument
40670         libc-texinfo.sh.
40671         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
40672         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
40673         (summary,texi, stamp-summary): Use complete path of
40674         files. Generate files in build dir.
40675         (dir-add.texi): Build in build dir.
40676         (libm-err.texi,stamp-libm-err): Likewise.
40677         (version.texi, stamp-version): Likewise.
40678         (.%c.texi): Likewise.
40679         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
40680         (mostlyclean): Remove target.
40681         (realclean): Remove target.
40682         (generated): Add new variable with contents from mostlyclean and
40683         realclean, remove entries duplicated in common-mostlyclean, add
40684         stamp-libm-err and stamp-version.
40685         (generated-dirs): Add libc directory.
40686         ($(inst_infodir)/libc.info): Install files from build dir.
40687
40688         * manual/install.texi (Configuring and compiling): Adjust since
40689         the info files are not part of the tar ball anymore.
40690
40691 2012-05-14  Andreas Jaeger  <aj@suse.de>
40692
40693         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
40694         variable.
40695
40696 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
40697
40698         [BZ #13717]
40699         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
40700         to 2.2.0 where earlier.
40701         * sysdeps/unix/sysv/linux/configure: Regenerated.
40702         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
40703         Remove conditional code.
40704         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
40705         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
40706         Remove conditional code.
40707         [!__NR_lchown]: Likewise.
40708         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40709         [__NR_lchown]: Likewise.
40710         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
40711         comment referencing __ASSUME_LCHOWN_SYSCALL.
40712         * sysdeps/unix/sysv/linux/i386/sigaction.c
40713         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40714         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40715         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
40716         Remove conditional code.
40717         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
40718         (__protocol_available): Remove #if 0 code.
40719         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
40720         conditional code.
40721         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
40722         * sysdeps/unix/sysv/linux/kernel-features.h
40723         (__ASSUME_GETCWD_SYSCALL): Don't define.
40724         (__ASSUME_REALTIME_SIGNALS): Likewise.
40725         (__ASSUME_PREAD_SYSCALL): Likewise.
40726         (__ASSUME_PWRITE_SYSCALL): Likewise.
40727         (__ASSUME_POLL_SYSCALL): Likewise.
40728         (__ASSUME_LCHOWN_SYSCALL): Likewise.
40729         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
40730         non-SPARC.
40731         (__ASSUME_SIOCGIFNAME): Don't define.
40732         (__ASSUME_MSG_NOSIGNAL): Likewise.
40733         (__ASSUME_SENDFILE): Define unconditionally.
40734         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
40735         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
40736         conditional code.
40737         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
40738         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
40739         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40740         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40741         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
40742         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
40743         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
40744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
40745         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40746         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40747         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
40748         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40749         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
40751         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40752         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
40754         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40755         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40756         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
40757         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40758         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
40760         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
40761         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
40763         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40764         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40765         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
40766         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40767         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40768         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
40769         Remove conditional code.
40770         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40771         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40772         Remove conditional code.
40773         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40774         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
40775         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
40776         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40777         Remove conditional code.
40778         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40779         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
40780         Remove conditional code.
40781         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40782         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
40783         Remove conditional code.
40784         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40785         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
40786         Remove conditional code.
40787         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
40788         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
40789         Remove conditional code.
40790         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40791         * sysdeps/unix/sysv/linux/sh/pwrite64.c
40792         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
40793         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
40794         * sysdeps/unix/sysv/linux/sigaction.c
40795         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40796         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40797         * sysdeps/unix/sysv/linux/sigpending.c
40798         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40799         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40800         * sysdeps/unix/sysv/linux/sigprocmask.c
40801         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40802         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40803         * sysdeps/unix/sysv/linux/sigsuspend.c
40804         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
40805         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
40806         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
40807         (__libc_missing_rt_sigs): Remove.
40808         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
40809         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
40810         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
40811         Remove conditional code.
40812         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
40813         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
40814         return 1.
40815         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
40816         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
40817         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
40818         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
40819
40820 2012-05-14  Andreas Jaeger  <aj@suse.de>
40821
40822         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
40823         it's not used in glibc.
40824         (__coshm1): Likewise.
40825         (__acosh1p): Likewise.
40826         (__sgn): Likewise.
40827
40828         * manual/string.texi (Copying and Concatenation): Add missing
40829         variable in concat example.
40830         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
40831
40832 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40833
40834         [BZ #14103]
40835         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
40836         __builtin_clzl with __builtin_clzll.
40837
40838 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
40839
40840         [BZ #14104]
40841         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
40842         libc_freeres_ptr.
40843
40844 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
40845
40846         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
40847         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
40848         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
40849         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
40850
40851 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
40852
40853         * NEWS: Update ia64 info.
40854
40855 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
40856
40857         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
40858         used as bcopy.
40859
40860 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
40861
40862         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
40863         * sysdeps/unix/syscalls.list (dup3): Likewise.
40864         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
40865         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
40866
40867 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
40868
40869         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
40870         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
40871
40872 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
40873
40874         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
40875         thread pointer.
40876         (TLS_IE): Use mov/add instead of movq/addq to load thread
40877         pointer.
40878         (TLS_GD_PREFIX): New.
40879         (TLS_GD): Use it.
40880
40881 2012-05-11  David S. Miller  <davem@davemloft.net>
40882
40883         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
40884         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
40885         (_FPU_SETCW): Likewise.
40886
40887 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40888
40889         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
40890         is 32-byte aligned.
40891
40892 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
40893
40894         [BZ #11837]
40895         * iconvdata/gb18030.c: Update tables.
40896         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
40897         characters specially.
40898         (BODY for TO_LOOP): Add encoding of missing ranges.
40899
40900 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
40901
40902         [BZ #13673]
40903         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
40904         * sysdeps/mach/hurd/dup3.c: Likewise.
40905         * sysdeps/mach/hurd/readlinkat.c: Likewise.
40906         * sysdeps/powerpc/memmove.c:: Likewise.
40907
40908 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40909
40910         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
40911         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
40912
40913 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
40914
40915         * elf/elf.h (R_X86_64_RELATIVE64): New.
40916         (R_X86_64_NUM): Updated.
40917         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
40918         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
40919         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
40920         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
40921         tst-quad1pie tst-quad2pie
40922         (modules-names): Add tst-quadmod1 tst-quadmod2.
40923         ($(objpfx)tst-quad1): New dependency.
40924         ($(objpfx)tst-quad2): Likewise.
40925         ($(objpfx)tst-quad1pie): Likewise.
40926         ($(objpfx)tst-quad2pie): Likewise.
40927         * sysdeps/x86_64/tst-quad1.c: New file.
40928         * sysdeps/x86_64/tst-quad1pie.c: New file.
40929         * sysdeps/x86_64/tst-quad2.c: Likewise.
40930         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
40931         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
40932         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
40933         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
40934         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
40935
40936 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40937
40938         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
40939         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
40940         * streams/stropts.h (t_scalar_t): Define type.
40941
40942         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
40943         (_PATH_PRESERVE): Set to "/var/lib".
40944         (_PATH_RWHODIR): Set to "/var/spool/rwho".
40945
40946         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
40947         instead of int.
40948
40949         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
40950         if __dir_mkfile succeeded.
40951
40952         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
40953         checking for _hurd_dtablesize.  Unlock it right after having
40954         finished _hurd_dtable allocation.
40955
40956 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
40957
40958         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
40959         * sysdeps/mach/hurd/configure: Regenerated.
40960         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
40961         special-casing to...
40962         * sysdeps/gnu/configure.in: ... this new file.
40963         * sysdeps/unix/sysv/linux/configure: Regenerated.
40964         * sysdeps/gnu/configure: New generated file.
40965
40966         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
40967         for Linux: use nsec instead of usec, as well as:
40968         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
40969         members of type struct timespec.
40970         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
40971         New macros.
40972         (struct stat64): Likewise.
40973         (_STATBUF_ST_NSEC): New macro.
40974         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
40975
40976         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
40977         __strtoul_internal rather than strtoul.
40978
40979 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40980
40981         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
40982         and reject them.
40983
40984 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40985
40986         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
40987         which preserves existing values.
40988         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
40989
40990 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
40991
40992         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
40993         TIMEOUT values.  Return EINVAL for NFDS values either negative or
40994         greater than FD_SETSIZE.
40995
40996 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40997
40998         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
40999         allocated, call __vm_protect to finish enabling the existing space, and
41000         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
41001         allocate the remainder.
41002
41003 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41004
41005         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
41006         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
41007
41008 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41009
41010         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
41011         sysdeps/mach/hurd/readlink.c.
41012
41013         * posix/tst-sysconf.c (posix_options): Only use
41014         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
41015         _POSIX_SYNCHRONIZED_IO when they are defined
41016         * sysdeps/mach/hurd/bits/posix_opt.h:
41017         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
41018         (_XOPEN_REALTIME): Undefine macro.
41019         (_XOPEN_REALTIME_THREADS): Undefine macro.
41020         (_XOPEN_SHM): Undefine macro.
41021         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
41022         macro to -1.
41023         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
41024         macro to -1.
41025         (_POSIX_ASYNC_IO): Undefine macro.
41026         (_POSIX_PRIORITIZED_IO): Undefine macro.
41027         (_POSIX_SPIN_LOCKS): Define macro to -1.
41028
41029         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
41030         SA_NODEFER, SA_RESETHAND.
41031         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
41032         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
41033         F_DUPFD_CLOEXEC.
41034
41035 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41036
41037         * elf/Makefile (pldd-modules): Define unconditionally.
41038
41039 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41040
41041         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
41042
41043 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41044
41045         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
41046         Return ENOENT when name is empty.
41047         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
41048
41049 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41050
41051         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
41052
41053         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
41054
41055 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41056
41057         Fix mlock in all cases except non-readable pages.
41058         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
41059         instead of VM_PROT_ALL as parameter to __vm_wire function.
41060
41061         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
41062         (__mkdir): When path is `/', just fail with EEXIST.
41063         * sysdeps/mach/hurd/mkdirat.c: Likewise.
41064
41065 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41066
41067         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
41068         <sys/uio.h> (for writev).
41069         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
41070         and <sys/param.h> (for MIN).
41071
41072 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
41073
41074         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
41075         REQUESTED_TIME.  Properly set the remaining time and return EINTR
41076         if interrupted.
41077
41078 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41079
41080         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
41081         Depend on against $(link-rpcuserlibs).
41082
41083 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41084
41085         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
41086         (__libc_stack_end): Do not use attribute_relro.
41087         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
41088         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
41089         to libthread-provided value.
41090         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
41091         attribute_relro.
41092
41093 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41094
41095         [BZ #3748]
41096         * bits/libc-lock.h (__libc_once_get): New macro.
41097         * sysdeps/mach/bits/libc-lock.h: Likewise.
41098         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
41099         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
41100         instead of using implementation details.
41101
41102         * libio/fileops.c: Unconditionally include <kernel-features.h>.
41103         * libio/freopen.c: Likewise.
41104         * libio/freopen64.c: Likewise.
41105         * misc/syslog.c: Likewise.
41106         * nscd/connections.c: Likewise.
41107         * nscd/netgroupcache.c: Likewise.
41108         * sysdeps/posix/getcwd.c: Likewise.
41109
41110 2012-05-10  Roland McGrath  <roland@hack.frob.com>
41111
41112         * math/w_ilogbf.c: Add #include <limits.h>.
41113
41114 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41115
41116         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
41117         path instead of returning without unlocking.
41118
41119         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
41120         immediate-write ioctls.
41121         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
41122
41123 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41124
41125         * sysdeps/mach/hurd/i386/init-first.c (init): Use
41126         __builtin_frame_address instead of making assumptions about the
41127         location of the return address relative to DATA.  Force early load of
41128         the return address.
41129         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
41130         __builtin_frame_address.
41131
41132         dup3 for GNU Hurd.
41133         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
41134         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
41135         implement dup3 and do some further code clean-ups.
41136         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
41137         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
41138
41139 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41140
41141         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
41142
41143         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
41144         HURD_CRITICAL_END around holding _hurd_dtable_lock.
41145         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
41146         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
41147         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
41148         d->port.lock.
41149
41150         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
41151         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
41152         when handler == SIG_ERR, not when handler != SIG_ERR.
41153
41154 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41155
41156         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
41157         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
41158         definitions.
41159
41160         accept4 for GNU Hurd.
41161         * include/sys/socket.h (__libc_accept4): New prototype.
41162         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
41163         to implement __libc_accept4.
41164         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
41165         __libc_accept4.
41166         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
41167
41168         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
41169         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
41170         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
41171         signal-defines.sym.
41172
41173 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41174
41175         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
41176
41177 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
41178
41179         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
41180         assertion on O_CLOEXEC flag.
41181         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
41182         * hurd/intern-fd.c: Likewise.
41183         * hurd/port2fd.c: Likewise.
41184
41185 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
41186
41187         [BZ #3906]
41188         * bits/in.h (IPV6_PKTINFO): Define new macro.
41189         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
41190
41191 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41192
41193         [BZ #13954]
41194         [BZ #13955]
41195         [BZ #13956]
41196         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
41197         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
41198         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
41199         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
41200         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
41201         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
41202         * math/libm-test.inc (logb_test) : Additional logb tests.
41203
41204 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
41205             Andreas Jaeger  <aj@suse.de>
41206
41207         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
41208         * configure: Regenerated.
41209         * config.h.in (LINK_OBSOLETE_RPC): New macro.
41210         * config.make.in (link-obsolete-rpc): New substituted variable.
41211         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
41212         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
41213         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41214         (shared-only-routines): Don't set it under [link-obsolete-rpc],
41215         so that libc.a contains the symbols.
41216         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
41217         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
41218         * sunrpc/auth_none.c: Likewise.
41219         * sunrpc/auth_unix.c: Likewise.
41220         * sunrpc/authdes_prot.c: Likewise.
41221         * sunrpc/authuxprot.c: Likewise.
41222         * sunrpc/clnt_gen.c: Likewise.
41223         * sunrpc/clnt_perr.c: Likewise.
41224         * sunrpc/clnt_raw.c: Likewise.
41225         * sunrpc/clnt_simp.c: Likewise.
41226         * sunrpc/clnt_tcp.c: Likewise.
41227         * sunrpc/clnt_udp.c: Likewise.
41228         * sunrpc/clnt_unix.c: Likewise.
41229         * sunrpc/des_crypt.c: Likewise.
41230         * sunrpc/des_soft.c: Likewise.
41231         * sunrpc/get_myaddr.c: Likewise.
41232         * sunrpc/key_call.c: Likewise.
41233         * sunrpc/key_prot.c: Likewise.
41234         * sunrpc/netname.c: Likewise.
41235         * sunrpc/pm_getmaps.c: Likewise.
41236         * sunrpc/pm_getport.c: Likewise.
41237         * sunrpc/pmap_clnt.c: Likewise.
41238         * sunrpc/pmap_prot.c: Likewise.
41239         * sunrpc/pmap_prot2.c: Likewise.
41240         * sunrpc/pmap_rmt.c: Likewise.
41241         * sunrpc/publickey.c: Likewise.
41242         * sunrpc/rpc_cmsg.c: Likewise.
41243         * sunrpc/rpc_common.c: Likewise.
41244         * sunrpc/rpc_dtable.c: Likewise.
41245         * sunrpc/rpc_prot.c: Likewise.
41246         * sunrpc/rpc_thread.c: Likewise.
41247         * sunrpc/rtime.c: Likewise.
41248         * sunrpc/svc.c: Likewise.
41249         * sunrpc/svc_auth.c: Likewise.
41250         * sunrpc/svc_raw.c: Likewise.
41251         * sunrpc/svc_run.c: Likewise.
41252         * sunrpc/svc_tcp.c: Likewise.
41253         * sunrpc/svc_udp.c: Likewise.
41254         * sunrpc/svc_unix.c: Likewise.
41255         * sunrpc/svcauth_des.c: Likewise.
41256         * sunrpc/xcrypt.c: Likewise.
41257         * sunrpc/xdr.c: Likewise.
41258         * sunrpc/xdr_array.c: Likewise.
41259         * sunrpc/xdr_float.c: Likewise.
41260         * sunrpc/xdr_intXX_t.c: Likewise.
41261         * sunrpc/xdr_mem.c: Likewise.
41262         * sunrpc/xdr_rec.c: Likewise.
41263         * sunrpc/xdr_ref.c: Likewise.
41264         * sunrpc/xdr_sizeof.c: Likewise.
41265         * sunrpc/xdr_stdio.c: Likewise.
41266
41267 2012-05-10  Roland McGrath  <roland@hack.frob.com>
41268
41269         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
41270         change.  Update copyright years.
41271
41272 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
41273
41274         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
41275
41276 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
41277             Joseph Myers  <joseph@codesourcery.com>
41278             Paul Pluzhnikov  <ppluzhnikov@google.com>
41279
41280         [BZ #14012]
41281         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
41282         requiring rpcgen.
41283         [cross-compiling] (extra-libs): Likewise.
41284         [cross-compiling] (extra-libs-others): Likewise.
41285         [cross-compiling] (librpcsvc-routines): Likewise.
41286         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
41287         [cross-compiling] (omit-deps): Likewise.
41288         (sunrpc-CPPFLAGS): New variable.
41289         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
41290         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
41291         (cross-rpcgen-objs): New variable.
41292         (extra-objs): Append $(cross-rpcgen-objs).
41293         ($(cross-rpcgen-objs)): New rule.
41294         ($(objpfx)cross-rpcgen): Likewise.
41295         (rpcgen-cmd): Define to use $(built-program-file).  Expand
41296         comment.
41297         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
41298         ($(objpfx)x%.stmp): Likewise.
41299         * sunrpc/proto.h [IS_IN_build] (_): Define.
41300         [IS_IN_build] (_libc_intl_domainname): Likewise.
41301
41302 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
41303
41304         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
41305         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
41306         and R_X86_64_TPOFF64.
41307
41308 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
41309
41310         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
41311         sysdeps/unix/sysv/syscalls.list.
41312         (stime): Likewise.
41313         (utime): Likewise.
41314         * sysdeps/unix/sysv/syscalls.list: Remove file.
41315
41316 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
41317
41318         [BZ #3440]
41319         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
41320         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
41321         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
41322         (__LC_IDENTIFICATION): Make these macros useful in #if
41323         expressions, as required by C99.
41324
41325 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
41326
41327         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
41328         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
41329         after this.
41330
41331 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
41332
41333         * stdlib/longlong.h: Updated from GCC.
41334
41335 2012-05-09  Andreas Jaeger  <aj@suse.de>
41336
41337         * nscd/nscd.c (run_modes): Make named enum, reorder so that
41338         default is first entry.
41339         (run_mode): Set type.
41340         (main): Remove informal message about syslog.
41341         (options): Fix typo.
41342
41343         [BZ #14053]
41344         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
41345         to asm.
41346         (lrint): Likewise.
41347         (llrintf): Likewise.
41348         (llrint): Likewise.
41349         (rint): Likewise.
41350         (rintf): Likewise.
41351         (nearbyint): Likewise.
41352         (nearbyintf): Likewise.
41353
41354 2012-05-09  Andreas Jaeger  <aj@suse.de>
41355             Pedro Alves  <palves@redhat.com>
41356
41357         * nscd/nscd.c (run_mode): Use enum.
41358         (main): Cleanup coding style issue.
41359
41360 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
41361             Andreas Jaeger  <aj@suse.de>
41362
41363         * nscd/nscd.c (go_background): Replaced with...
41364         (run_mode): ... this.
41365         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
41366         (options): Add -F --foreground.
41367         (main): Implement it.
41368         (parse_opt): Parse it.
41369
41370 2012-05-09  Andreas Jaeger  <aj@suse.de>
41371
41372         [BZ #14083]
41373         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
41374         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
41375         -Wconversion warning.
41376         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
41377         Likewise.
41378
41379 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
41380
41381         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
41382         == 0.
41383         (LC_ALL): Use macro-int-constant.
41384         (LC_COLLATE): Likewise.
41385         (LC_CTYPE): Likewise.
41386         (LC_MESSAGES): Likewise.
41387         (LC_MONETARY): Likewise.
41388         (LC_NUMERIC): Likewise.
41389         (LC_TIME): Likewise.
41390         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
41391         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41392         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41393         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
41394         Specify type.
41395         [C99-based standards] (float_t): Expect type.
41396         [C99-based standards] (double_t): Expect type.
41397         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
41398         type.
41399         [C99-based standards] (HUGE_VALL): Likewise.
41400         [C99-based standards] (INFINITY): Likewise.
41401         [C99-based standards] (NAN): Likewise.
41402         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
41403         [C99-based standards] (FP_NAN): Likewise.
41404         [C99-based standards] (FP_NORMAL): Likewise.
41405         [C99-based standards] (FP_SUBNORMAL): Likewise.
41406         [C99-based standards] (FP_ZERO): Likewise.
41407         [C99-based standards] (FP_FAST_FMA): Use
41408         optional-macro-int-constant.  Specify type.  Require == 1.
41409         [C99-based standards] (FP_FAST_FMAF): Likewise.
41410         [C99-based standards] (FP_FAST_FMAL): Likewise.
41411         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
41412         [C99-based standards] (FP_ILOGBNAN): Likewise.
41413         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
41414         Specify type.
41415         [C99-based standards] (MATH_ERREXCEPT): Likewise.
41416         [C99-based standards] (math_errhandling): Specify type.
41417         [ISO99 || ISO11] (signgam): Do not allow.
41418         [non-C99-based standards] (copysignf): Do not allow.
41419         [non-C99-based standards] (exp2f): Likewise.
41420         [non-C99-based standards] (log2f): Likewise.
41421         [non-C99-based standards] (modff): Allow.
41422         [non-C99-based standards] (erff): Do not allow.
41423         [non-C99-based standards] (erfcf): Likewise.
41424         [non-C99-based standards] (gammaf): Likewise.
41425         [non-C99-based standards] (hypotf): Likewise.
41426         [non-C99-based standards] (j0f): Likewise.
41427         [non-C99-based standards] (j1f): Likewise.
41428         [non-C99-based standards] (jnf): Likewise.
41429         [non-C99-based standards] (lgammaf): Likewise.
41430         [non-C99-based standards] (tgammaf): Likewise.
41431         [non-C99-based standards] (y0f): Likewise.
41432         [non-C99-based standards] (y1f): Likewise.
41433         [non-C99-based standards] (ynf): Likewise.
41434         [non-C99-based standards] (isnanf): Likewise.
41435         [non-C99-based standards] (acoshf): Likewise.
41436         [non-C99-based standards] (asinhf): Likewise.
41437         [non-C99-based standards] (atanhf): Likewise.
41438         [non-C99-based standards] (cbrtf): Likewise.
41439         [non-C99-based standards] (expm1f): Likewise.
41440         [non-C99-based standards] (ilogbf): Likewise.
41441         [non-C99-based standards] (log1pf): Likewise.
41442         [non-C99-based standards] (logbf): Likewise.
41443         [non-C99-based standards] (nextafterf): Likewise.
41444         [non-C99-based standards] (remainderf): Likewise.
41445         [non-C99-based standards] (rintf): Likewise.
41446         [non-C99-based standards] (scalbf): Likewise.
41447         [non-C99-based standards] (copysignl): Likewise.
41448         [non-C99-based standards] (exp2l): Likewise.
41449         [non-C99-based standards] (log2l): Likewise.
41450         [non-C99-based standards] (modfl): Allow.
41451         [non-C99-based standards] (erfl): Do not allow.
41452         [non-C99-based standards] (erfcl): Likewise.
41453         [non-C99-based standards] (gammal): Likewise.
41454         [non-C99-based standards] (hypotl): Likewise.
41455         [non-C99-based standards] (j0l): Likewise.
41456         [non-C99-based standards] (j1l): Likewise.
41457         [non-C99-based standards] (jnl): Likewise.
41458         [non-C99-based standards] (lgammal): Likewise.
41459         [non-C99-based standards] (tgammal): Likewise.
41460         [non-C99-based standards] (y0l): Likewise.
41461         [non-C99-based standards] (y1l): Likewise.
41462         [non-C99-based standards] (ynl): Likewise.
41463         [non-C99-based standards] (isnanl): Likewise.
41464         [non-C99-based standards] (acoshl): Likewise.
41465         [non-C99-based standards] (asinhl): Likewise.
41466         [non-C99-based standards] (atanhl): Likewise.
41467         [non-C99-based standards] (cbrtl): Likewise.
41468         [non-C99-based standards] (expm1l): Likewise.
41469         [non-C99-based standards] (ilogbl): Likewise.
41470         [non-C99-based standards] (log1pl): Likewise.
41471         [non-C99-based standards] (logbl): Likewise.
41472         [non-C99-based standards] (nextafterl): Likewise.
41473         [non-C99-based standards] (remainderl): Likewise.
41474         [non-C99-based standards] (rintl): Likewise.
41475         [non-C99-based standards] (scalbl): Likewise.
41476         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41477         [non-C99-based standards] (FP_*): Do not allow.
41478         [C99-based standards] (FP_*): Change to
41479         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
41480         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41481         allow.
41482         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
41483         (SIG_ERR): Likewise.
41484         [X/Open-based standards] (SIG_HOLD): Likewise.
41485         (SIG_IGN): Likewise.
41486         (SIGABRT): Use macro-int-constant.  Specify type.  Require
41487         positive value.
41488         (SIGFPE): Likewise.
41489         (SIGILL): Likewise.
41490         (SIGINT): Likewise.
41491         (SIGSEGV): Likewise.
41492         (SIGTER): Likewise.
41493         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
41494         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
41495         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
41496         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
41497         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
41498         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
41499         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
41500         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
41501         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
41502         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
41503         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
41504         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
41505         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
41506         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
41507         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
41508         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
41509         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
41510         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
41511         [X/Open-based standards] (SIGTRAP): Likewise.
41512         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
41513         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
41514         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
41515         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
41516         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41517         allow.
41518
41519 2012-05-08  Ian Wienand  <ianw@vmware.com>
41520
41521         [BZ #14080]
41522         * time/tzset.c (__tzset_parse_tz): Update default rules for
41523         daylight time changes in the Energy Policy Act of 2005.
41524
41525 2012-05-09  Andreas Jaeger  <aj@suse.de>
41526
41527         [BZ #13983]
41528         * elf/ldconfig.c (parse_conf): Change string to make clear that
41529         ldconfig only issued a warning if ld.so.conf does not exist.
41530
41531 2012-05-08  David S. Miller  <davem@davemloft.net>
41532
41533         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
41534         movxtod instead of popping the value on the stack.
41535
41536         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41537
41538 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
41539
41540         * config.h.in: Add HAVE_ARM_PCS_VFP.
41541
41542 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
41543
41544         [BZ #13979]
41545         * include/features.h: Warn if user requests __FORTIFY_SOURCE
41546         checking but the checks are disabled for any reason.
41547
41548 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
41549
41550         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
41551         and ELF64_R_TYPE with ELFW(R_TYPE).
41552
41553 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
41554
41555         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
41556         (ulimit): Likewise.
41557
41558         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
41559         (settimeofday): Likewise.
41560
41561 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
41562
41563         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
41564         a struct th_u2 inside the union, and move tu_block/tu_code into
41565         a new th_u3 union of tu_block/tu_code inside of that.  Move
41566         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
41567         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
41568         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
41569         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
41570         (th_stuff): Change to th_u1.tu_stuff.
41571         (th_data): Define.
41572         (th_msg): Change to th_u1.th_u2.tu_data.
41573
41574 2012-05-07  David S. Miller  <davem@davemloft.net>
41575
41576         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41577
41578         [BZ #14074]
41579         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
41580         (SETUP_PIC_REG): Use it.
41581         (SETUP_PIC_REG_LEAF): Use it.
41582
41583 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
41584
41585         [BZ #13885]
41586         [BZ #13923]
41587         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41588         USE_AS_EXPM1L.
41589         (EXPL_FINITE): Likewise.
41590         (FLDLOG): Likewise.
41591         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41592         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41593         e_expl.S.
41594         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41595         USE_AS_EXPM1L.
41596         (EXPL_FINITE): Likewise.
41597         (FLDLOG): Likewise.
41598         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
41599         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
41600         e_expl.S.
41601         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
41602         test of -max_value argument for long double.
41603         * sysdeps/i386/fpu/libm-test-ulps: Update.
41604         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41605
41606 2012-05-06  David S. Miller  <davem@davemloft.net>
41607
41608         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
41609         quad soft-float symbols whose references which are compiler
41610         generated.
41611         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
41612
41613 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
41614
41615         [BZ #13884]
41616         [BZ #13914]
41617         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41618         USE_AS_EXP10L.
41619         (EXPL_FINITE): Likewise.
41620         (FLDLOG): Likewise.
41621         (c0): Likewise.
41622         (c1): Likewise.
41623         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
41624         Adjust comments for base varying.
41625         (__expl_finite): Change alias to EXPL_FINITE.
41626         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
41627         e_expl.S.
41628         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
41629         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
41630         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
41631         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
41632         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
41633         USE_AS_EXP10L.
41634         (EXPL_FINITE): Likewise.
41635         (FLDLOG): Likewise.
41636         (c0): Likewise.
41637         (c1): Likewise.
41638         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
41639         Adjust comments for base varying.
41640         (__expl_finite): Change alias to EXPL_FINITE.
41641         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
41642         tests for bugs.
41643         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
41644
41645         [BZ #14064]
41646         * math/libm-test.inc (check_float_internal): Correct ulp
41647         calculation for subnormal expected results.
41648
41649 2012-05-06  Andreas Jaeger  <aj@suse.de>
41650
41651         * Makeconfig (+math-flags): New, set to -frounding-math.
41652         (+cflags): Add +math-flags so that all of glibc gets compiled with
41653         it.
41654
41655         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
41656
41657 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
41658
41659         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
41660         Disable one test.
41661
41662         [BZ #13787]
41663         [BZ #13922]
41664         [BZ #14036]
41665         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
41666         (__ieee754_expl): Allow for and saturate large arguments.
41667         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
41668         (u_threshold): Likewise.
41669         (__exp): Call __ieee754_exp before checking for overflow and
41670         underflow.
41671         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
41672         (u_threshold): Likewise.
41673         (__expf): Call __ieee754_expf before checking for overflow and
41674         underflow.
41675         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
41676         (u_threshold): Likewise.
41677         (__expl): Call __ieee754_expl before checking for overflow and
41678         underflow.
41679         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
41680         (__ieee754_expl): Allow for and saturate large arguments.
41681         * math/libm-test.inc (exp_test): Add another test.  Do not allow
41682         missing overflow exception on overflow.
41683         (expm1_test): Do not allow missing overflow exception on overflow.
41684
41685         * sysdeps/i386/fpu/e_expl.c: Move to ...
41686         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
41687         rather than using inline asm.
41688         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
41689         * sysdeps/x86_64/fpu/e_expl.S: Copy from
41690         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
41691
41692         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
41693         (nice): Likewise.
41694         (poll): Likewise.
41695         (signal): Likewise.
41696         (time): Likewise.
41697         (times): Likewise.
41698
41699 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41700
41701         * sysdeps/unix/syscalls.list (adjtime): Add entry from
41702         sysdeps/unix/common/syscalls.list.
41703         (fchmod): Likewise.
41704         (fchown): Likewise.
41705         (ftruncate): Likewise.
41706         (getrusage): Likewise.
41707         (gettimeofday): Likewise.
41708         (setpgid): Likewise.
41709         (setregid): Likewise.
41710         (setreuid): Likewise.
41711         (sigaction): Likewise.
41712         (truncate): Likewise.
41713         (vhangup): Likewise.
41714         * sysdeps/unix/common/syscalls.list: Remove file.
41715         * sysdeps/unix/bsd/Implies: Don't include unix/common.
41716         * sysdeps/unix/sysv/linux/Implies: Likewise.
41717
41718 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
41719
41720         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
41721         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
41722         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
41723         Moved to ...
41724         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
41725         Here.
41726         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
41727         to ...
41728         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
41729         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
41730         to ...
41731         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
41732         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
41733         to ...
41734         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
41735         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
41736         to ...
41737         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
41738         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
41739         to ...
41740         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
41741         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
41742         to ...
41743         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
41744         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
41745         to ...
41746         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
41747         Here.
41748         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
41749         to ...
41750         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
41751         Here.
41752         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
41753         to ...
41754         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
41755         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
41756         Moved to ...
41757         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
41758         Here.
41759         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
41760         to ...
41761         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
41762
41763 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41764
41765         * sysdeps/unix/common/bits/dirent.h: Remove file.
41766         * sysdeps/unix/common/bits/fcntl.h: Likewise.
41767
41768         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
41769         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
41770         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
41771         * sysdeps/unix/bsd/isatty.c: Likewise.
41772         * sysdeps/unix/bsd/tcdrain.c: Likewise.
41773         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
41774         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
41775
41776 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41777
41778         [BZ #13563]
41779         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
41780         long double comparison inaccuracies.
41781         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
41782         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41783
41784 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
41785
41786         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
41787         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
41788
41789 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
41790
41791         [BZ #14049]
41792         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
41793         nonzero digits before rounding a hex value.
41794         * stdlib/tst-strtod.c (tests): Add another test.
41795
41796 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
41797
41798         * sysdeps/s390/fpu/libm-test-ulps: Update.
41799
41800 2012-05-03  Andreas Jaeger  <aj@suse.de>
41801
41802         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
41803         does not get optimized out.
41804         (malloc_opt_barrier): New.
41805
41806 2012-05-03  Andreas Jaeger  <aj@suse.de>
41807             Roland McGrath  <roland@hack.frob.com>
41808
41809         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
41810         intermediate file deletion.
41811         (generated): Add .symlist files.
41812
41813 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
41814
41815         [BZ #13775]
41816         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
41817         Redirect under this condition.
41818         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41819         [__USE_GNU] (__dprintf_chk): Not under this condition.
41820         [__USE_GNU] (__vdprintf_chk): Likewise.
41821         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
41822         under this condition.
41823         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
41824         [__USE_XOPEN2K8] (dprintf): Define under this condition.
41825         [__USE_XOPEN2K8] (vdprintf): Likewise.
41826         [__USE_GNU] (__dprintf_chk): Not under this condition.
41827         [__USE_GNU] (__vdprintf_chk): Likewise.
41828         [__USE_GNU] (dprintf): Likewise.
41829         [__USE_GNU] (vdprintf): Likewise.
41830
41831 2012-05-03  Roland McGrath  <roland@hack.frob.com>
41832
41833         * elf/Makefile (common-generated): Set this instead of generated for
41834         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
41835         $(all-built-dso)-derived lists.
41836
41837 2012-05-03  Andreas Jaeger  <aj@suse.de>
41838
41839         * sysdeps/i386/fpu/libm-test-ulps: Update.
41840
41841         * FAQ: Removed.
41842         * FAQ.in: Likewise.
41843         * scripts/gen-FAQ.pl: Likewise.
41844         * manual/install.texi (Installation): Point to online location of
41845         FAQ.
41846         * Makefile (files-for-dist): Remove FAQ.
41847         (FAQ): Remove.
41848
41849 2012-05-02  Allan McRae  <allan@archlinux.org>
41850
41851         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
41852         (LDFLAGS-reldepmod5.so): Likewise.
41853         (LDFLAGS-reldep6mod1.so): Likewise.
41854         (LDFLAGS-reldep6mod4.so): Likewise.
41855         (LDFLAGS-reldep8mod3.so): Likewise.
41856         (LDFLAGS-unload4mod1.so): Likewise.
41857         (LDFLAGS-unload4mod2.so): Likewise.
41858         (LDFLAGS-tst-initorder): Likewise.
41859         (LDFLAGS-tst-initordera2.so): Likewise.
41860         (LDFLAGS-tst-initordera3.so): Likewise.
41861         (LDFLAGS-tst-initordera4.so): Likewise.
41862         (LDFLAGS-tst-initorderb2.so): Likewise.
41863         (LDFLAGS-noload): Likewise.
41864         (LDFLAGS-next): Likewise.
41865         (LDFLAGS-order2mod1.so): Likewise.
41866         (LDFLAGS-order2mod2.so): Likewise.
41867         (LDFLAGS-tst-initorder2): Likewise.
41868         (LDFLAGS-tst-initorder2a.so): Likewise.
41869         (LDFLAGS-tst-initorder2b.so): Likewise.
41870         (LDFLAGS-tst-initorder2c.so): Likewise.
41871         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
41872
41873 2012-05-02  David S. Miller  <davem@davemloft.net>
41874
41875         * sysdeps/sparc/fpu/libm-test-ulps: Update.
41876
41877 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
41878
41879         [BZ #14055]
41880         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
41881
41882 2012-05-02  Andreas Jaeger  <aj@suse.de>
41883
41884         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
41885         since we manipulate rounding mode.
41886         (CPPFLAGS-test-idouble.c): Likewise.
41887         (CPPFLAGS-test-ifloat.c): Likewise.
41888         (CFLAGS-test-ldouble.c): Likewise.
41889         (CFLAGS-test-double.c): Likewise.
41890         (CFLAGS-test-float.c): Likewise.
41891         (CFLAGS-test-misc.c): Likewise.
41892         (CFLAGS-test-test-fenv.c): Likewise.
41893
41894 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41895
41896         [BZ #2550]
41897         [BZ #2570]
41898         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
41899         comparisons to determine direction to adjust input.
41900
41901 2012-05-01  Roland McGrath  <roland@hack.frob.com>
41902
41903         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
41904         output to the target.
41905
41906         * scripts/localplt.awk: New file.
41907         * elf/Makefile ($(objpfx)check-localplt): Target removed.
41908         (check-localplt-CFLAGS): Variable removed.
41909         ($(all-built-dso:=.jmprel)): New static pattern rule.
41910         (generated): Add those targets.
41911         (localplt-built-dso): New variable.
41912         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
41913
41914         * elf/check-localplt.c: File removed.
41915
41916         * scripts/check-execstack.awk: New file.
41917         * elf/Makefile ($(objpfx)check-execstack): Target removed.
41918         (check-execstack-CFLAGS): Variable removed.
41919         ($(objpfx)check-execstack.h): Target removed.
41920         ($(objpfx)execstack-default): New target.
41921         (generated): Add that instead of check-execstack.h.
41922         ($(all-built-dso:=.phdr)): New static pattern rule.
41923         (generated): Add those targets.
41924         * elf/check-execstack.c: File removed.
41925
41926         * scripts/check-textrel.awk: New file.
41927         * elf/Makefile ($(objpfx)check-textrel): Target removed.
41928         (check-textrel-CFLAGS): Variable removed.
41929         (all-built-dso): Use := to define.o
41930         ($(all-built-dso:=.dyn)): New static pattern rule.
41931         (generated): Add those targets.
41932         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
41933         * config.make.in (READELF): New substituted variable.
41934         * elf/check-textrel.c: File removed.
41935
41936 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
41937
41938         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
41939         allow.
41940         * conform/data/ctype.h-data [C99-based standards] (isblank):
41941         Expect function.
41942         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
41943         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
41944         [ISO || ISO99 || ISO11] (*_t): Do not allow.
41945         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
41946         Specify type.  Require positive value.
41947         (EILSEQ): Likewise.
41948         (ERANGE): Likewise.
41949         [ISO || POSIX] (EILSEQ): Do not expect.
41950         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
41951         Specify type.  Require positive value.
41952         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
41953         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
41954         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
41955         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
41956         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
41957         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
41958         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
41959         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
41960         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
41961         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
41962         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
41963         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
41964         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
41965         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
41966         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
41967         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
41968         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
41969         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
41970         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
41971         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
41972         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
41973         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
41974         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
41975         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
41976         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
41977         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
41978         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
41979         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
41980         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
41981         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
41982         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
41983         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
41984         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
41985         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
41986         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
41987         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
41988         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
41989         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
41990         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
41991         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
41992         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
41993         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
41994         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
41995         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
41996         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
41997         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
41998         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
41999         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
42000         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
42001         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
42002         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
42003         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
42004         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
42005         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
42006         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
42007         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
42008         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
42009         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
42010         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
42011         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
42012         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
42013         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
42014         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
42015         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
42016         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
42017         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
42018         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
42019         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
42020         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
42021         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
42022         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
42023         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
42024         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
42025         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
42026         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
42027         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
42028         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
42029         Require >= 2.
42030         (FLT_ROUNDS): Expect as macro, not constant.
42031         (FLT_MANT_DIG): Use macro-int-constant.
42032         (DBL_MANT_DIG): Likewise.
42033         (LDBL_MANT_DIG): Likewise.
42034         (FLT_DIG): Likewise.
42035         (DBL_DIG): Likewise.
42036         (LDBL_DIG): Likewise.
42037         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
42038         (DBL_MIN_EXP): Likewise.
42039         (LDBL_MIN_EXP): Likewise.
42040         (FLT_MAX_EXP): Use macro-int-constant.
42041         (DBL_MAX_EXP): Likewise.
42042         (LDBL_MAX_EXP): Likewise.
42043         (FLT_MAX_10_EXP): Likewise.
42044         (DBL_MAX_10_EXP): Likewise.
42045         (LDBL_MAX_10_EXP): Likewise.
42046         (FLT_MAX): Use macro-constant.
42047         (DBL_MAX): Likewise.
42048         (LDBL_MAX): Likewise.
42049         (FLT_EPSILON): Use macro-constant.  Give upper bound.
42050         (DBL_EPSILON): Likewise.
42051         (LDBL_EPSILON): Likewise.
42052         (FLT_MIN): Likewise.
42053         (DBL_MIN): Likewise.
42054         (LDBL_MIN): Likewise.
42055         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
42056         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
42057         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
42058         [ISO11] (FLT_HAS_SUBNORM): Likewise.
42059         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
42060         [ISO11] (DBL_DECIMAL_DIG): Likewise.
42061         [ISO11] (FLT_DECIMAL_DIG): Likewise.
42062         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
42063         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
42064         [ISO11] (FLT_TRUE_MIN): Likewise.
42065         [ISO11] (LDBL_TRUE_MIN): Likewise.
42066         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42067         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
42068         (SCHAR_MIN): Use macro-int-constant.  Specify type.
42069         (SCHAR_MAX): Likewise.
42070         (UCHAR_MAX): Likewise.
42071         (CHAR_MIN): Likewise.
42072         (CHAR_MAX): Likewise.
42073         (MB_LEN_MAX): Use macro-int-constant.
42074         (SHRT_MIN): Use macro-int-constant.  Specify type.
42075         (SHRT_MAX): Likewise.
42076         (USHRT_MAX): Likewise.
42077         (INT_MAX): Likewise.
42078         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
42079         bound negative.
42080         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
42081         bound with "U".
42082         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
42083         bound with "L".
42084         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
42085         bound negative.  Suffix upper bound with "L".
42086         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
42087         bound with "UL".
42088         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
42089         Specify type.
42090         [C99-based standards] (LLONG_MAX): Likewise.
42091         [C99-based standards] (ULLONG_MAX): Likewise.
42092         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
42093         == 0.
42094         [ISO11] (max_align_t): Require type.
42095         [ISO || ISO99 || ISO11] (*_t): Do not allow.
42096
42097         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
42098         from $CFLAGS, without defining away __attribute__ calls.
42099         (checknamespace): Use $CFLAGS_namespace.
42100
42101         * conform/conformtest.pl (@keywords): Only include C99 keywords
42102         for standards based on C99 or C11.
42103
42104         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
42105         Disable tests.
42106         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
42107         UNIX98]: Likewise.
42108
42109         * conform/conformtest.pl: Handle "macro-int-constant" and test for
42110         usability of symbols in #if.
42111
42112         * conform/conformtest.pl: If macro or constant types start
42113         "promoted:", expect the symbol to be of the following type
42114         promoted by the integer promotions.
42115
42116         * conform/conformtest.pl: Parse all "constant" and "macro" lines
42117         in one place.  Also handle "macro-constant".
42118
42119         * conform/conformtest.pl: Only accept expected macro values with
42120         "==".  Parse all "macro" lines in one place.
42121         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
42122
42123         * conform/conformtest.pl: Handle braced types on "constant" lines
42124         instead of handling "typed-constant".
42125         * conform/data/signal.h-data: Use "constant" instead of
42126         "typed-constant".
42127
42128         * conform/conformtest.pl: Handle "optional-" at start of lines in
42129         one place rather than duplicating several cases.  Handle each
42130         format of "macro" line with initial "optional-".
42131
42132         * conform/conformtest.pl: Only accept expected constant or
42133         optional-constant values with "==".  Parse all "constant" lines in
42134         one place.  Parse all "optional-constant" lines in one place.
42135         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
42136         * conform/data/fmtmsg.h-data: Likewise.
42137         * conform/data/netinet/in.h-data: Likewise.
42138         * conform/data/tar.h-data: Likewise.
42139         * conform/data/limits.h-data: Use "==" form on "constant" and
42140         "optional-constant" lines.
42141
42142         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
42143         Use -std=c99 for XOPEN2K.
42144         (@knownproblems): Remove.
42145         (newtoken): Don't check %isknown.
42146
42147         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
42148         Do not expect macro.
42149         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
42150         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
42151         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
42152         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
42153         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
42154         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
42155         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
42156         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
42157         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
42158         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
42159         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
42160         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
42161         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
42162         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
42163         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
42164         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
42165         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
42166         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
42167         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
42168         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
42169         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
42170         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
42171         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
42172         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
42173         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
42174         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
42175         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
42176         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
42177         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
42178         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
42179         [XPG3] (acosh): Likewise.
42180         [XPG3] (asinh): Likewise.
42181         [XPG3] (atanh): Likewise.
42182         [XPG3] (cbrt): Likewise.
42183         [XPG3] (expm1): Likewise.
42184         [XPG3] (ilogb): Likewise.
42185         [XPG3] (log1p): Likewise.
42186         [XPG3] (logb): Likewise.
42187         [XPG3] (nextafter): Likewise.
42188         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
42189         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
42190         [XPG3] (remainder): Likewise.
42191         [XPG3] (rint): Likewise.
42192         [XPG3 || XPG4 || UNIX98] (round): Likewise.
42193         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
42194         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
42195         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
42196         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
42197         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
42198         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
42199         [UNIX98 || XOPEN2K] (scalb): Expect.
42200         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
42201         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
42202         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
42203         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
42204         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
42205         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
42206         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
42207         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
42208         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
42209         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
42210         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
42211         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
42212         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
42213         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
42214         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
42215         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
42216         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
42217         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
42218         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
42219         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
42220         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
42221         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
42222         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
42223         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
42224         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
42225         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
42226         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
42227         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
42228         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
42229         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
42230         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
42231         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
42232         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
42233         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
42234         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
42235         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
42236         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
42237         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
42238         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
42239         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
42240         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
42241         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
42242         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
42243         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
42244         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
42245         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
42246         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
42247         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
42248         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
42249         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
42250         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
42251         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
42252         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
42253         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
42254         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
42255         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
42256         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
42257         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
42258         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
42259         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
42260         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
42261         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
42262         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
42263         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
42264         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
42265         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
42266         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
42267         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
42268         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
42269         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
42270         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
42271         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
42272         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
42273         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
42274         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
42275         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
42276         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
42277         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
42278         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
42279         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
42280         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
42281         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
42282         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
42283         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
42284         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
42285         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
42286         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
42287         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
42288         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
42289         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
42290         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
42291         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
42292         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
42293         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
42294         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
42295         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
42296         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
42297         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
42298         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
42299         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
42300         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
42301         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
42302         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
42303         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
42304         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
42305         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
42306         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
42307         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
42308         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
42309         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
42310         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
42311         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
42312         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
42313         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
42314         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
42315         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
42316         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
42317         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
42318         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
42319         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
42320         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
42321         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
42322         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
42323         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
42324         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
42325         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
42326         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
42327         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
42328         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
42329         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
42330         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
42331         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
42332         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
42333         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
42334         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
42335         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
42336         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
42337
42338         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
42339         _XOPEN_SOURCE_EXTENDED for XPG4.
42340
42341         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
42342
42343         * Makeconfig (localtime): Remove variable.
42344         (inst_localtime-file): Likewise.
42345
42346 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42347
42348         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
42349         Update.
42350         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
42351         Update.
42352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
42353         Update.
42354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
42355         Update.
42356         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
42357         Update.
42358         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
42359         Update.
42360         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
42361         Update.
42362         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
42363         Update.
42364         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42365         Update.
42366
42367 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
42368
42369         [BZ #2550]
42370         [BZ #2570]
42371         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
42372         comparisons to determine direction to adjust input.
42373         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
42374         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
42375         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
42376         Likewise.
42377         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
42378         Likewise.
42379         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
42380         Likewise.
42381         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
42382         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
42383         Likewise.
42384         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
42385         Likewise.
42386         * math/libm-test.inc (nexttoward_test): Add more tests.
42387
42388 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
42389
42390         [BZ #14040]
42391         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
42392         in version GLIBC_2.1, not GLIBC_2.0.
42393         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
42394         Likewise.
42395
42396 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
42397
42398         [BZ #13942]
42399         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
42400         (1 - x) * (1 + x).
42401         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42402         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
42403         * math/libm-test.inc (acos_test): Add more tests.
42404         (asin_test): Likewise.
42405         * sysdeps/i386/fpu/libm-test-ulps: Update.
42406         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42407
42408         [BZ #14034]
42409         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
42410         of square root.
42411         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
42412         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
42413         * math/libm-test.inc (acos_test_tonearest): New function.
42414         (acos_test_towardzero): Likewise.
42415         (acos_test_downward): Likewise.
42416         (acos_test_upward): Likewise.
42417         (asin_test_tonearest): Likewise.
42418         (asin_test_towardzero): Likewise.
42419         (asin_test_downward): Likewise.
42420         (asin_test_upward): Likewise.
42421         (main): Call the new functions.
42422         * sysdeps/i386/fpu/libm-test-ulps: Update.
42423         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
42424
42425         [BZ #13884]
42426         [BZ #13924]
42427         * math/e_exp10.c: Include <float.h>.
42428         (__ieee754_exp10): Handle underflow here rather than multiplying
42429         large negative argument by M_LN10.
42430         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
42431         of __ieee754_expf.
42432         * math/e_exp10l.c: Include <float.h>.
42433         (__ieee754_exp10l): Handle underflow here rather than multiplying
42434         large negative argument by M_LN10l.
42435         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
42436         spurious overflow exception on underflow.
42437
42438 2012-04-29  Marek Polacek  <polacek@redhat.com>
42439
42440         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
42441         (__fortify_function): New macro.
42442         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
42443         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
42444         __extern_always_inline.
42445         * libio/bits/stdio2.h: Likewise.
42446         * libio/bits/stdio.h: Likewise.
42447         * string/string.h: Likewise.
42448         * string/bits/string3.h: Likewise.
42449         * include/stdio.h: Likewise.
42450         * stdlib/bits/stdlib.h: Likewise.
42451         * stdlib/stdlib.h: Likewise.
42452         * rt/bits/mqueue2.h: Likewise.
42453         * rt/mqueue.h: Likewise.
42454         * posix/bits/unistd.h: Likewise.
42455         * posix/unistd.h: Likewise.
42456         * io/bits/poll2.h: Likewise.
42457         * io/bits/fcntl2.h: Likewise.
42458         * io/fcntl.h: Likewise.
42459         * io/sys/poll.h: Likewise.
42460         * misc/bits/syslog.h: Likewise.
42461         * misc/bits/syslog-ldbl.h: Likewise.
42462         * misc/sys/syslog.h: Likewise.
42463         * socket/bits/socket2.h: Likewise.
42464         * socket/sys/socket.h: Likewise.
42465         * debug/tst-chk1.c: Likewise.
42466         * wcsmbs/bits/wchar2.h: Likewise.
42467         * wcsmbs/bits/wchar-ldbl.h: Likewise.
42468         * wcsmbs/wchar.h: Likewise.
42469
42470 2012-04-29  Andreas Jaeger  <aj@suse.de>
42471
42472         * Makerules (tests): Remove enable-check-abi protection.
42473         (check-abi-warn): Remove.
42474         (check-abi-%): Remove check-abi-warn usage.
42475
42476         * configure.in: Remove check-abi configure option.
42477         * configure: Regenerated.
42478         * config.make.in (enable-check-abi): Remove.
42479
42480 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
42481
42482         [BZ #14033]
42483         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
42484         double functions to double *_finite functions.
42485
42486         [BZ #13941]
42487         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
42488         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
42489         LDBL_MIN_EXP.
42490         * stdio-common/Makefile (tests): Add tst-sprintf3.
42491         * stdio-common/tst-sprintf3.c: New file.
42492
42493         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
42494         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
42495
42496 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
42497
42498         * conform/conformtest.pl: Remove duplicate typed-constant
42499         handling.
42500
42501 2012-04-28  David S. Miller  <davem@davemloft.net>
42502
42503         * Makerules (%.abilist): Add vpath on sysdep_dirs.
42504         (check-abi-%): Remove AWK script prerequisite and explicit
42505         abilist directory.
42506         (check-abi): Rewrite to just diff the symlist with the abilist.
42507         (config-tls, config-abi-config): Delete, no longer used.
42508         (update-abi-%): Remove AWK script and explicit abilist directory.
42509         (update-abi): Rewrite to simply compare and conditionally copy the
42510         symlist and the sysdep abilist file.  Remove update-abi-config
42511         checks.
42512         * abilist/ld.abilist: Remove.
42513         * abilist/libBrokenLocale.abilist: Remove.
42514         * abilist/libanl.abilist: Remove.
42515         * abilist/libcrypt.abilist: Remove.
42516         * abilist/libdl.abilist: Remove.
42517         * abilist/librt.abilist: Remove.
42518         * abilist/libthread_db.abilist: Remove.
42519         * abilist/libutil.abilist: Remove.
42520         * scripts/extract-abilist.awk: Remove.
42521         * scripts/merge-abilist.awk: Remove.
42522         * sysdeps/generic/libcidn.abilist: New file.
42523         * sysdeps/generic/libnss_compat.abilist: New file.
42524         * sysdeps/generic/libnss_db.abilist: New file.
42525         * sysdeps/generic/libnss_dns.abilist: New file.
42526         * sysdeps/generic/libnss_files.abilist: New file.
42527         * sysdeps/generic/libnss_hesiod.abilist: New file.
42528         * sysdeps/generic/libnss_nis.abilist: New file.
42529         * sysdeps/generic/libnss_nisplus.abilist: New file.
42530         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
42531         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
42532         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
42533         file.
42534         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
42535         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
42536         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
42537         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
42538         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
42539         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
42540         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
42541         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
42542         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
42543         file.
42544         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
42545         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
42546         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
42547         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
42548         file.
42549         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
42550         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
42551         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
42552         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
42553         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
42554         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
42555         file.
42556         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
42557         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
42558         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
42559         file.
42560         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
42561         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
42562         New file.
42563         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
42564         New file.
42565         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
42566         New file.
42567         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
42568         New file.
42569         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
42570         New file.
42571         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
42572         New file.
42573         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
42574         New file.
42575         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
42576         New file.
42577         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
42578         New file.
42579         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
42580         New file.
42581         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
42582         New file.
42583         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
42584         New file.
42585         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
42586         New file.
42587         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
42588         file.
42589         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
42590         New file.
42591         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
42592         New file.
42593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
42594         file.
42595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
42596         New file.
42597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
42598         New file.
42599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
42600         file.
42601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
42602         New file.
42603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
42604         New file.
42605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
42606         New file.
42607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
42608         New file.
42609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
42610         New file.
42611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
42612         New file.
42613         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
42614         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
42615         file.
42616         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
42617         New file.
42618         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
42619         file.
42620         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
42621         file.
42622         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
42623         file.
42624         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
42625         file.
42626         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
42627         file.
42628         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
42629         New file.
42630         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
42631         file.
42632         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
42633         file.
42634         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
42635         New file.
42636         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
42637         file.
42638         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
42639         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
42640         file.
42641         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
42642         New file.
42643         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
42644         file.
42645         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
42646         file.
42647         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
42648         file.
42649         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
42650         file.
42651         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
42652         file.
42653         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
42654         New file.
42655         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
42656         file.
42657         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
42658         file.
42659         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
42660         New file.
42661         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
42662         file.
42663         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
42664         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
42665         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
42666         file.
42667         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
42668         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
42669         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
42670         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
42671         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
42672         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
42673         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
42674         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
42675         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
42676         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
42677         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
42678         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
42679         file.
42680         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
42681         New file.
42682         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
42683         file.
42684         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
42685         file.
42686         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
42687         file.
42688         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
42689         file.
42690         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
42691         file.
42692         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
42693         New file.
42694         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
42695         New file.
42696         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
42697         file.
42698         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
42699         New file.
42700         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
42701         file.
42702         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
42703         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
42704         file.
42705         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
42706         New file.
42707         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
42708         file.
42709         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
42710         file.
42711         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
42712         file.
42713         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
42714         file.
42715         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
42716         file.
42717         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
42718         New file.
42719         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
42720         New file.
42721         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
42722         file.
42723         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
42724         New file.
42725         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
42726         file.
42727
42728 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
42729
42730         * conform/conformtest.pl: Fix typo in handling typed-constant from
42731         allow-header.
42732
42733 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
42734
42735         * README: Cut down references to pre-2.6 Linux kernels and
42736         Linuxthreads.  Update lists of configurations in libc and ports
42737         and sort alphabetically.  Say "or newer" with Linux kernel version
42738         requirements.
42739
42740         * config.h.in [IS_IN_build]: Allow compiling without optimization.
42741
42742 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
42743
42744         [BZ #887]
42745         * math/libm-test.inc (logb_test_downward): New test to expose
42746         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
42747         rounding mode.
42748
42749 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
42750
42751         [BZ #14027]
42752         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
42753         to be done.
42754         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
42755         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
42756
42757 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
42758
42759         * sysdeps/unix/i386/brk.S: Remove file.
42760         * sysdeps/unix/i386/dl-brk.S: Likewise.
42761         * sysdeps/unix/i386/pipe.S: Likewise.
42762         * sysdeps/unix/i386/sigreturn.S: Likewise.
42763         * sysdeps/unix/i386/syscall.S: Likewise.
42764         * sysdeps/unix/i386/vfork.S: Likewise.
42765         * sysdeps/unix/i386/wait.S: Likewise.
42766
42767         * sysdeps/unix/common/tcsendbrk.c: Move to ...
42768         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
42769
42770         * configure.in (arm*-none*): Do not allow without
42771         --enable-hacker-mode.
42772         (netbsd*): Remove case setting base_os.
42773         (386bsd*): Likewise.
42774         (freebsd*): Likewise.
42775         (bsdi*): Likewise.
42776         (osf*): Likewise.
42777         (sunos*): Likewise.
42778         (ultrix*): Likewise.
42779         (newsos*): Likewise.
42780         (dynix*): Likewise.
42781         (*bsd*): Likewise.
42782         (sysv*): Likewise.
42783         (isc*): Likewise.
42784         (esix*): Likewise.
42785         (sco*): Likewise.
42786         (minix*): Likewise.
42787         (irix4*): Likewise.
42788         (irix6*): Likewise.
42789         (solaris[2-9]*): Likewise.
42790         (none): Likewise.
42791         * configure: Regenerated.
42792
42793 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42794
42795         [BZ #11521]
42796         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
42797         overflow or cancellation in calculating denominator.
42798         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
42799         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
42800         down expression to avoid unexpected rounding in newer GCCs.
42801         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
42802
42803 2012-04-26  David S. Miller  <davem@davemloft.net>
42804
42805         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
42806         long-double compat symbols.
42807         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
42808         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
42809         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
42810         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
42811         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
42812         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
42813         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
42814         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
42815         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
42816         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
42817         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
42818         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
42819         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
42820
42821 2012-04-25  David S. Miller  <davem@davemloft.net>
42822
42823         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
42824         HWCAP_* values only after the memory barriers have been defined.
42825         (atomic_full_barrier): Define.
42826         (atomic_read_barrier): Define.
42827         (atomic_write_barrier): Define.
42828
42829 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
42830
42831         * shlib-versions: Add libgcc_s version information.
42832         * sysdeps/generic/libgcc_s.h: Remove.
42833         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
42834         libgcc_s.h.
42835         * sysdeps/gnu/unwind-resume.c: Likewise.
42836         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
42837
42838 2012-04-25  David S. Miller  <davem@davemloft.net>
42839
42840         * sysdeps/unix/sparc/brk.S: Delete.
42841         * sysdeps/unix/sparc/dl-brk.S: Delete.
42842         * sysdeps/unix/sparc/pipe.S: Delete.
42843         * sysdeps/unix/sparc/sysdep.S: Delete.
42844         * sysdeps/unix/sparc/sysdep.h: Delete.
42845         * sysdeps/unix/sparc/vfork.S: Delete.
42846         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
42847         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
42848         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
42849         (ret_ERRVAL, r0, r1, MOVE): Define.
42850         (JUMPTARGET): Remove.
42851         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
42852         sysdeps/unix/sparc/sysdep.h
42853         (ENTRY, END): Remove.
42854         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
42855
42856 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
42857
42858         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
42859         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
42860         -DIS_IN_build.
42861
42862         * timezone/README: Update upstream location and email address for
42863         tzcode and tzdata.
42864         * timezone/zdump.c: Update from tzcode 2012b.
42865         * timezone/zic.c: Likewise.
42866
42867         * configure.in (libc_cv_as_needed): Remove test.
42868         * configure: Regenerated.
42869         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
42870         conditional definition.
42871         [$(have-as-needed) != yes] (no-as-needed): Likewise.
42872         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
42873         * config.make.in (have-as-needed): Remove variable.
42874
42875 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
42876             Paul Pluzhnikov  <ppluzhnikov@google.com>
42877
42878         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
42879         strings correctly.
42880
42881 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
42882
42883         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
42884         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
42885         * sysdeps/sh/strlen.S: Likewise.
42886
42887 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
42888
42889         * sysdeps/unix/fork.S: Remove file.
42890         * sysdeps/unix/i386/fork.S: Likewise.
42891         * sysdeps/unix/sparc/fork.S: Likewise.
42892
42893         * sysdeps/unix/system.c: Remove file.
42894         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
42895
42896         * sysdeps/unix/getegid.S: Remove file.
42897         * sysdeps/unix/geteuid.S: Likewise.
42898
42899 2012-04-24  Roland McGrath  <roland@hack.frob.com>
42900
42901         * scripts/check-localplt.awk: New file.
42902         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
42903         of diff.
42904         * scripts/data/localplt-generic.data: Add a comment.
42905
42906         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
42907         NODE when __dir_mkfile failed.
42908         * sysdeps/mach/hurd/symlinkat.c: Likewise.
42909         Reported by Ludovic Courtès <ludo@gnu.org>.
42910
42911 2012-04-24  Andreas Jaeger  <aj@suse.de>
42912
42913         * Makerules (common-clean): Also remove gen-as-const-headers
42914         files.
42915
42916 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
42917
42918         * Makerules (native-compile): Do not change working directory for
42919         build.  Use $(OUTPUT_OPTION) in command.
42920         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
42921
42922 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42923
42924         [BZ #13886]
42925         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
42926         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
42927         * math/libm-test.inc (floor_test): Add more tests.
42928         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
42929
42930 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
42931
42932         * sysdeps/unix/getdents.c: Remove file.
42933         * sysdeps/unix/sysv/getdents.c: Likewise.
42934         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
42935
42936         * sysdeps/unix/syscalls.list (madvise): Add syscall from
42937         sysdeps/unix/mman/syscalls.list.
42938         (mmap): Likewise.
42939         (mprotect): Likewise.
42940         (msync): Likewise.
42941         (munmap): Likewise.
42942         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
42943         * sysdeps/unix/mman/syscalls.list: Remove.
42944         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
42945
42946         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
42947         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
42948         * configure: Regenerated.
42949         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
42950         $(libgcc_s_suffix).
42951         * config.make.in (libgcc_s_suffix): Remove variable.
42952
42953 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
42954
42955         * sysdeps/unix/sysv/gethostname.c: Move to ...
42956         * sysdeps/posix/gethostname.c: ... here.
42957
42958         * sysdeps/unix/execve.S: Remove file.
42959
42960         * sysdeps/unix/_exit.S: Remove file.
42961
42962 2012-04-23  Andreas Jaeger  <aj@suse.de>
42963
42964         [BZ #13739]
42965         * manual/Makefile: Remove make dist support, there's no
42966         need for a stand-alone documentation tar ball.
42967         (TEXI2DVI): Define always, it's not in Makeconfig.
42968         (dist): Removed.
42969         (tar-it): Removed.
42970         (edition): Removed.
42971         (glibc-doc-$(edition).tar): Removed
42972         (%.Z): Removed.
42973         (%.gz): Removed.
42974         (%.uu): Removed.
42975         (ETAGS): Remove, it's in Makeconfig.
42976         (move-if-change): Remove, it's in Makeconfig.
42977
42978 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
42979
42980         [BZ #13970]
42981         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
42982         (strtod, strtof, strtold, strtol, strtoul, strtoq)
42983         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
42984         (strtod_l, strtof_l, strtold_l): Remove __wur.
42985         It is not necessarily an error to ignore strtol's return value.
42986         One can reliably look at the stored endptr to decide whether
42987         the number had valid syntax.
42988
42989 2012-04-21  Andreas Jaeger  <aj@suse.de>
42990
42991         [BZ #13739]
42992         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
42993
42994 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
42995
42996         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
42997         * sysdeps/unix/sysv/Versions: Remove file.
42998
42999 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
43000
43001         [BZ #13927]
43002         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43003
43004 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
43005
43006         [BZ #7064]
43007         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
43008         version from __vm86.
43009
43010 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
43011
43012         * sysdeps/unix/common/lxstat.c: Remove file.
43013         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
43014
43015         * sysdeps/unix/sysv/Makefile: Remove file.
43016
43017         * sysdeps/unix/sysv/direct.h: Remove file.
43018
43019         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
43020         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
43021         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
43022         * sysdeps/unix/sysv/bits/signum.h: Likewise.
43023         * sysdeps/unix/sysv/bits/stat.h: Likewise.
43024         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
43025         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
43026
43027         * sysdeps/unix/sysv/setrlimit.c: Remove file.
43028
43029         * sysdeps/unix/xmknod.c: Remove file.
43030         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
43031
43032         * sysdeps/unix/sysv/settimeofday.c: Remove file.
43033
43034         * sysdeps/unix/sysv/i386/time.S: Remove file.
43035
43036         * sysdeps/unix/fxstat.c: Remove file.
43037         * sysdeps/unix/xstat.c: Likewise.
43038         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
43039
43040         * sysdeps/unix/sysv/sigaction.c: Remove file.
43041
43042         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
43043         (sysdep_headers): Remove variable.
43044         [termio.h not in sysdep_headers] (generated): Likewise.
43045         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
43046         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
43047         * sysdeps/unix/sysv/tcdrain.c: Likewise.
43048         * sysdeps/unix/sysv/tcflow.c: Likewise.
43049         * sysdeps/unix/sysv/tcflush.c: Likewise.
43050         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
43051         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
43052         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
43053         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
43054         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
43055
43056         * sysdeps/unix/siglist.c: Remove file.
43057
43058         * sysdeps/unix/getppid.S: Remove file.
43059
43060         * sysdeps/unix/mkdir.c: Remove file.
43061         * sysdeps/unix/rmdir.c: Likewise.
43062
43063 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
43064
43065         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
43066         ERR_MAX value.
43067         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
43068         errlist-compat value.
43069
43070 2012-04-18  David S. Miller  <davem@davemloft.net>
43071
43072         * sysdeps/generic/memcopy.h (reg_char): Delete.
43073         * debug/strcat_chk.c: Use char, not reg_char.
43074         * debug/strcpy_chk.c: Likewise.
43075         * debug/strncat_chk.c: Likewise.
43076         * debug/strncpy_chk.c: Likewise.
43077         * string/memchr.c: Likewise.
43078         * string/memrchr.c: Likewise.
43079         * string/rawmemchr.c: Likewise.
43080         * string/strcat.c: Likewise.
43081         * string/strchr.c: Likewise.
43082         * string/strchrnul.c: Likewise.
43083         * string/strcmp.c: Likewise.
43084         * string/strcpy.c: Likewise.
43085         * string/strncat.c: Likewise.
43086         * string/strncmp.c: Likewise.
43087         * string/strncpy.c: Likewise.
43088
43089 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
43090
43091         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
43092         __builtin_memcopy is called when src and dest ranges are known to not
43093         overlap.
43094
43095 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
43096
43097         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
43098         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
43099         fwd_align_merge macro call.
43100         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
43101         bwd_align_merge macro call.
43102         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43103
43104 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
43105
43106         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
43107         bwd_align_merge macros.
43108         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
43109         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
43110         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
43111
43112 2012-04-18  David S. Miller  <davem@davemloft.net>
43113
43114         * sysdeps/sparc/sparc64/memcopy.h: Delete.
43115
43116 2012-04-18  Andreas Jaeger  <aj@suse.de>
43117
43118         [BZ# 6794]
43119         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
43120         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
43121         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43122
43123         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
43124         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
43125         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43126
43127         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
43128         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
43129         Adjust for changed ldbl-128 files.
43130
43131         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
43132         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
43133         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
43134
43135 2012-04-17  David S. Miller  <davem@davemloft.net>
43136
43137         * sysdeps/sparc/sparc32/memcopy.h: Delete.
43138
43139 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
43140
43141         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
43142         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
43143         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
43144         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
43145         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
43146         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
43147
43148 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43149
43150         [BZ #6794]
43151         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
43152         * math/libm-test.inc: Add ilogb errno and exception tests.
43153         * math/w_ilogb.c: New file: ilogb wrapper.
43154         * math/w_ilogbf.c: New file: ilogbf wrapper.
43155         * math/w_ilogbl.c: New file: ilogbl wrapper.
43156         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
43157         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
43158         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
43159         exception being thrown with 0.0 as argument.
43160         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
43161         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
43162         exception being thrown with 0.0 as argument.
43163         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
43164         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43165         exception being thrown with 0.0 as argument.
43166         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
43167         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
43168         exception being thrown with 0.0 as argument.
43169         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
43170         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
43171         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
43172         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
43173         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
43174         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
43175         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
43176         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
43177         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
43178
43179 2012-04-17  Petr Baudis  <pasky@ucw.cz>
43180
43181         * include/sys/uio.h: Change __vector to __iovec to avoid clash
43182         with altivec.
43183
43184 2012-04-16  Marek Polacek  <polacek@redhat.com>
43185
43186         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
43187
43188 2012-04-16  Marek Polacek  <polacek@redhat.com>
43189
43190         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
43191         operands of fdivp instruction.
43192
43193 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
43194
43195         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
43196         * elf/tst-auditmod3b.c: Likewise.
43197         * elf/tst-auditmod4b.c: Likewise.
43198         * elf/tst-auditmod5b.c: Likewise.
43199         * elf/tst-auditmod6b.c: Likewise.
43200         * elf/tst-auditmod6c.c: Likewise.
43201         * elf/tst-auditmod7b.c: Likewise.
43202         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
43203         * sysdeps/x86_64/preconfigure.in: Likewise.
43204         * sysdeps/x86_64/preconfigure: Regenerated.
43205
43206 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
43207
43208         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
43209         __ILP32__.
43210
43211 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
43212
43213         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
43214         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
43215
43216 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
43217
43218         [BZ #13973]
43219         * locale/iso-639.def: Fix gl language name. Spotted by
43220         Yaron Shahrabani.
43221
43222 2012-04-12  Roland McGrath  <roland@hack.frob.com>
43223
43224         [BZ #2074]
43225         * libio/libio.h (__io_write_fn): Update comment.
43226
43227 2012-04-12  Petr Baudis  <pasky@ucw.cz>
43228
43229         [BZ #2074]
43230         * stdio.texi (Hook Functions): The user provided writer function
43231         is not allowed to return -1.
43232
43233 2012-04-11  David S. Miller  <davem@davemloft.net>
43234
43235         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43236
43237 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
43238
43239         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
43240         Add a leading slash to rtkaio.
43241
43242 2012-04-11  Jim Meyering  <meyering@redhat.com>
43243
43244         [BZ #11959]
43245         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
43246         It is not necessarily an error to ignore fwrite's return
43247         value.  One can reliably use ferror to test for errors after
43248         the fact.
43249
43250 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
43251
43252         * bits/types.h (__snseconds_t): New type.
43253         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
43254
43255         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
43256         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
43257         (__SNSECONDS_T_TYPE): Likewise.
43258         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
43259         (__SNSECONDS_T_TYPE): Likewise.
43260         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
43261         (__SNSECONDS_T_TYPE): Likewise.
43262
43263 2012-04-10  Andreas Jaeger  <aj@suse.de>
43264
43265         [BZ #2636]
43266         * manual/time.texi (Processor Time): Return type of times is
43267         elapsed real time since an arbitrary point in the past.
43268         (CPU Time): Move CLK_TCK from here...
43269         (Processor Time): ...to here.  Correct description.
43270         * manual/conf.texi (Constants for Sysconf): Correct description of
43271         _SC_CLK_TCK.
43272
43273 2012-04-10  David S. Miller  <davem@davemloft.net>
43274
43275         [BZ #13967]
43276         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
43277         where the is a gap between DT_REL(A) and DT_JMPREL.
43278
43279 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
43280
43281         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
43282         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43283         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43284
43285 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43286
43287         * elf/dl-support.c (_dl_inhibit_cache): New variable.
43288         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
43289         (dl_main): Handle --inhibit-cache.
43290         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
43291         _dl_inhibit_cache.
43292         * elf/dl-load.c (_dl_map_object): Use it.
43293         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
43294
43295 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
43296
43297         [BZ #13872]
43298         * sysdeps/i386/fpu/e_powl.S (p78): New object.
43299         (__ieee754_powl): Saturate large exponents rather than testing for
43300         overflow of y*log2(x).
43301         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
43302         * math/libm-test.inc (pow_test): Do not permit spurious overflow
43303         exceptions.
43304
43305         [BZ #11521]
43306         * math/s_ctan.c: Include <float.h>.
43307         (__ctan): Avoid internal overflow or cancellation in calculating
43308         denominator.
43309         * math/s_ctanf.c: Likewise.
43310         * math/s_ctanl.c: Likewise.
43311         * math/s_ctanh.c: Likewise.
43312         * math/s_ctanhf.c: Likewise.
43313         * math/s_ctanhl.c: Likewise.
43314         * math/libm-test.inc (ctan_test): Add more tests.
43315         (ctanh_test): Likewise.
43316         * sysdeps/i386/fpu/libm-test-ulps: Update.
43317         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43318
43319 2012-04-09  Andreas Jaeger  <aj@suse.de>
43320
43321         [BZ #6894]
43322         * manual/filesys.texi (Directory Entries): Mention that d_namlen
43323         is an optional BSD extension.
43324
43325         [BZ #10254]
43326         * manual/stdio.texi (Opening Streams): Document additional fopen
43327         parameters.
43328
43329 2012-04-09  Roland McGrath  <roland@hack.frob.com>
43330
43331         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
43332         %eax without telling the compiler.
43333
43334 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
43335
43336         [BZ # 13963]
43337         * manual/install.texi: Use sourceware.org.
43338
43339 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
43340
43341         [BZ #13873]
43342         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
43343         (__ieee754_pow): Generate overflow and underflow using huge*huge
43344         and tiny*tiny rather than just returning constant infinity or zero
43345         for large exponents.
43346         * math/libm-test.inc (pow_test): Require overflow exceptions for
43347         applicable cases of large exponents.
43348
43349         [BZ #706]
43350         * sysdeps/i386/fpu/e_pow.S (p10): New object.
43351         (__ieee754_pow): Use iterative multiplication algorithm only for
43352         integer exponents with absolute value below 1024.  Check for odd
43353         integer exponents when using algorithm for real exponents.
43354         * math/libm-test.inc (pow_test): Add more tests.
43355         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
43356
43357 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
43358
43359         [BZ #13705]
43360         * math/libm-test.inc (exp_test): Do not allow overflow exception
43361         on underflow test.
43362
43363 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
43364
43365         [BZ #13705]
43366         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
43367         instead of __kernel_standard_f.
43368
43369 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
43370
43371         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
43372         * sysdeps/x86_64/memset_chk.S: Likewise.
43373
43374 2012-04-08  Andreas Jaeger  <aj@suse.de>
43375
43376         [BZ #10153]
43377         * manual/startup.texi (Environment Access): Describe return value
43378         for putenv and setenv.
43379
43380         [BZ #6895]
43381         * manual/filesys.texi (Directory Entries): Add description for
43382         DT_LNK.
43383
43384         [BZ #6890]
43385         * manual/filesys.texi (Directory Entries): Clarify that it's file
43386         system not operating system in the description of DT_UNKNOWN.
43387
43388         [BZ #6578]
43389         * manual/syslog.texi (closelog): Fix reference, it's openlog.
43390
43391 2012-04-08  Stephen Compall  <s11@member.fsf.org>
43392
43393         [BZ #6649]
43394         * manual/llio.texi (Opening and Closing Files): Add cross
43395         reference to explain mode argument.
43396
43397 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
43398
43399         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
43400         * sysdeps/x86_64/memset_chk.S: Likewise.
43401
43402 2012-04-07  David S. Miller  <davem@davemloft.net>
43403
43404         * elf/elf.h (R_SPARC_WDISP10): Define.
43405         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
43406         R_SPARC_SIZE32.
43407         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
43408         R_SPARC_SIZE64 and R_SPARC_H34.
43409
43410 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
43411
43412         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
43413         conditions and remove no longer applicable assertion.
43414
43415 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
43416
43417         * bits/byteswap.h: Include <features.h>.
43418         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
43419         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
43420
43421 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
43422
43423         * bits/byteswap.h (__bswap_16): Removed.
43424         Include <bits/byteswap-16.h> to get __bswap_16.
43425         * sysdeps/i386/bits/byteswap.h: Likewise.
43426         * sysdeps/s390/bits/byteswap.h: Likewise.
43427         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43428         * bits/byteswap-16.h: New file.
43429         * sysdeps/i386/bits/byteswap-16.h: Likewise.
43430         * sysdeps/s390/bits/byteswap-16.h: Likewise.
43431         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
43432         * string/Makefile (headers): Add bits/byteswap-16.h.
43433
43434 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
43435
43436         [BZ #13895]
43437         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
43438         extra indirection.
43439         * nss/Makefile (tests-static, tests): Add tst-nss-static.
43440         * nss/tst-nss-static.c: New.
43441
43442 2012-04-06  Robert Millan  <rmh@gnu.org>
43443
43444         [BZ #6486]
43445         * manual/llio.texi (File Position Primitive): lseek
43446         refers to WHENCE when it really means OFFSET.
43447
43448 2012-04-06  Andreas Jaeger  <aj@suse.de>
43449
43450         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
43451         strncmp declarations.
43452
43453         * abilist/libc.abilist: Add __poll and __ppoll.
43454
43455 2012-04-05  David S. Miller  <davem@davemloft.net>
43456
43457         * scripts/check-local-headers.sh: Accept a host triplet in the
43458         path matched by the exclude regexp.
43459
43460         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
43461         definition.
43462         * sysdeps/powerpc/powerpc32/dl-machine.h
43463         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
43464         * sysdeps/s390/s390-32/dl-machine.h
43465         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43466         * sysdeps/sparc/sparc32/dl-machine.h
43467         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43468         * sysdeps/sparc/sparc64/dl-machine.h
43469         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
43470
43471         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
43472         lazy binding.
43473         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
43474         undefined symbol errors.
43475
43476         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
43477         DT_NEEDED entries.
43478
43479 2012-04-05  Michael Matz  <matz@suse.de>
43480
43481         [BZ #13592]
43482         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
43483
43484 2012-04-05  Andreas Jaeger  <aj@suse.de>
43485
43486         [BZ #13908]
43487         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
43488         comment.
43489
43490 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43491
43492         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
43493         which ROUND is no valid rounding mode.
43494
43495 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43496
43497         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
43498         read again.
43499         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
43500
43501 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43502
43503         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
43504         an exception using FPU order intentionally.
43505
43506 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
43507
43508         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
43509         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
43510         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
43511         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
43512
43513 2012-04-05  Simon Josefsson  <simon@josefsson.org>
43514
43515         [BZ #12340]
43516         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
43517         EINVAL when BUFLEN is too smal.
43518
43519 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
43520
43521         [BZ #13553]
43522         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
43523         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
43524
43525 2012-04-03  Andreas Jaeger  <aj@suse.de>
43526
43527         [BZ #13938]
43528         * manual/setjmp.texi (System V contexts): Fix sentence.
43529
43530         [BZ #13926]
43531         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
43532         New macro for this case.
43533         [!__GNUC__] (__bswap_64): New inline function for this case.
43534         * sysdeps/x86_64/bits/byteswap.h: Likewise.
43535         * bits/byteswap.h: Likewise.
43536         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
43537         ull, guard with __GLIBC_HAVE_LONG_LONG.
43538
43539         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
43540         __GLIBC_HAVE_LONG_LONG.
43541
43542         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
43543         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
43544
43545 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
43546
43547         [BZ #13691]
43548         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
43549         inptr and inend, rather than using last_ch.
43550
43551 2012-04-02  David S. Miller  <davem@davemloft.net>
43552
43553         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
43554         * stdio-common/printf-parse.h (read_int): Change return type to
43555         'int', return -1 on INT_MAX overflow.
43556         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
43557         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
43558         overflows INT_MAX.  Check for overflow of in-format-string precision
43559         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
43560         SIZE_MAX not INT_MAX for integer overflow test.
43561         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
43562         skip the construct in the format string but do not record anything.
43563         * stdio-common/bug22.c: Adjust to test both width/prevision
43564         INT_MAX overflow as well as total length INT_MAX overflow.  Check
43565         explicitly for proper errno values.
43566
43567 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
43568
43569         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
43570         CHAR_MAX.
43571         * string/test-strcmp.c [! WIDE]: Likewise.
43572         * time/tst-mktime2.c: Likewise for INT_MAX.
43573         * string/test-string.h: #include <sys/param.h> for MIN.
43574
43575         * csu/init-first.c (__libc_init_first): Call __ctype_init.
43576         * sysdeps/i386/init-first.c (init): Likewise.
43577         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
43578         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
43579         * sysdeps/sh/init-first.c (init): Likewise.
43580
43581 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
43582
43583         * po/ru.po: Update from translation team.
43584         * po/vi.po: Likewise.
43585
43586 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
43587
43588         * resolv/nss_dns/dns-host.c: Merge copyright years.
43589
43590 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
43591
43592         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
43593         Optimize memcpy with prefetch if
43594         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
43595         src, dst pointers have unequal 16 byte alignments.
43596
43597 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
43598
43599         [BZ #13928]
43600         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
43601         from a CNAME entry and return the minimum ttl for the query.
43602         (gaih_getanswer_slice): Likewise.
43603
43604 2012-03-30  Jeff Law  <law@redhat.com>
43605
43606         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
43607         due to long keys.
43608         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
43609         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
43610
43611         * resolv/nss_dns/dns-host.c: Update copyright year.
43612
43613 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
43614
43615         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
43616         requests to save a system call.  Fix check that all bytes are sent.
43617
43618         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
43619         comments for sendmmsg.
43620
43621 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
43622
43623         [BZ #13691]
43624         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
43625         with only 1 character between 0x0041 and 0x01b0.
43626         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
43627         * wcsmbs/tst-mbsnrtowcs.c: New file.
43628
43629 2012-03-29  David S. Miller  <davem@davemloft.net>
43630
43631         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
43632         small copies by hand.
43633
43634 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
43635
43636         [BZ #13761]
43637         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
43638         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
43639         group memberships.
43640
43641 2012-03-28  David S. Miller  <davem@davemloft.net>
43642
43643         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
43644         that branches into memcpy.
43645         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
43646         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
43647         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
43648         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
43649         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
43650         bits.
43651         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
43652         implementation too.
43653         * sysdeps/sparc/mempcpy.S: New file.
43654
43655         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
43656         the IFUNC routine in the libc case.
43657         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
43658
43659         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
43660         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
43661         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
43662         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
43663         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
43664         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
43665         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
43666         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
43667
43668         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
43669         loop to 256 bytes instead of 64 bytes and fix test signedness.
43670
43671         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
43672         * sysdeps/sparc/sparc32/Makefile: rather than here...
43673         * sysdeps/sparc/sparc64/Makefile: and here.
43674
43675 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
43676
43677         * malloc/mallocbug.c: Avoid warnings about unused variables.
43678
43679 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
43680
43681         [BZ #13760]
43682         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
43683         in the right place. Discard and retry query if response is
43684         larger than input buffer size.
43685
43686 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
43687
43688         [BZ #369]
43689         [BZ #2678]
43690         [BZ #3866]
43691         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
43692         x for large integer exponent.
43693         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
43694         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
43695         sign of result as needed afterwards.
43696         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
43697         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
43698         result for underflowing pow the same as for overflow.
43699         (__kernel_standard_l): Handle powl overflow and underflow here
43700         rather than calling __kernel_standard.
43701         * math/libm-test.inc (pow_test): Add more tests.
43702
43703         [BZ #3868]
43704         [BZ #13879]
43705         [BZ #13910]
43706         [BZ #13911]
43707         [BZ #13912]
43708         [BZ #13913]
43709         [BZ #13915]
43710         [BZ #13916]
43711         [BZ #13917]
43712         [BZ #13918]
43713         [BZ #13919]
43714         [BZ #13920]
43715         [BZ #13921]
43716         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
43717         * sysdeps/ieee754/k_standard.c: Include <float.h>.
43718         (__kernel_standard_l): New function.
43719         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
43720         __kernel_standard.
43721         * math/w_acosl.c (__acosl): Likewise.
43722         * math/w_asinl.c (__asinl): Likewise.
43723         * math/w_atan2l.c (__atan2l): Likewise.
43724         * math/w_atanhl.c (__atanhl): Likewise.
43725         * math/w_coshl.c (__coshl): Likewise.
43726         * math/w_exp10l.c (__exp10l): Likewise.
43727         * math/w_exp2l.c (__exp2l): Likewise.
43728         * math/w_fmodl.c (__fmodl): Likewise.
43729         * math/w_hypotl.c (__hypotl): Likewise.
43730         * math/w_j0l.c (__j0l, __y0l): Likewise.
43731         * math/w_j1l.c (__j1l, __y1l): Likewise.
43732         * math/w_jnl.c (__jnl, __ynl): Likewise.
43733         * math/w_lgammal.c (__lgammal): Likewise.
43734         * math/w_log10l.c (__log10l): Likewise.
43735         * math/w_log2l.c (__log2l): Likewise.
43736         * math/w_logl.c (__logl): Likewise.
43737         * math/w_powl.c (__powl): Likewise.
43738         * math/w_remainderl.c (__remainderl): Likewise.
43739         * math/w_scalbl.c (sysv_scalbl): Likewise.
43740         * math/w_sinhl.c (__sinhl): Likewise.
43741         * math/w_sqrtl.c (__sqrtl): Likewise.
43742         * math/w_tgammal.c (__tgammal): Likewise.
43743         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
43744         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
43745         * math/libm-test.inc (acos_test): Add more tests.
43746         (acosh_test): Likewise.
43747         (asin_test): Likewise.
43748         (atanh_test): Likewise.
43749         (exp_test): Likewise.
43750         (exp10_test): Likewise.
43751         (exp2_test): Likewise.
43752         (expm1_test): Likewise.
43753         (lgamma_test): Likewise.
43754         (log_test): Likewise.
43755         (log10_test): Likewise.
43756         (log1p_test): Likewise.
43757         (log2_test): Likewise.
43758         (pow_test): Do not allow some spurious overflow exceptions.
43759         (sqrt_test): Add more tests.
43760         (tgamma_test): Likewise.
43761         (y0_test): Likewise.
43762         (y1_test): Likewise.
43763         (yn_test): Likewise.
43764
43765 2012-03-27  Anton Blanchard  <anton@samba.org>
43766
43767         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
43768         MAP_HUGETLB.
43769         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
43770         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
43771         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
43772
43773 2012-03-27  David S. Miller  <davem@davemloft.net>
43774
43775         * conform/Makefile: Run run-conformtest.sh using $(BASH).
43776
43777         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
43778         have-as-vis3 check.
43779
43780 2012-03-27  Andreas Jaeger  <aj@suse.de>
43781
43782         * sysdeps/x86_64/elf/configure.in: Moved to ...
43783         * sysdeps/x86_64/configure.in: ... here.
43784         * sysdeps/x86_64/elf/start.S: Moved to ...
43785         * sysdeps/x86_64/start.S: ... here.
43786         * sysdeps/x86_64/elf/configure: Delete.
43787
43788         * sysdeps/x86_64/configure.in: Merge contents from
43789         sysdeps/i386/configure.in (without i686 check).
43790
43791         * sysdeps/i386/elf/Versions: Merge into ...
43792         * sysdeps/i386/Versions: ... this.
43793         * sysdeps/i386/elf/Versions: Delete file.
43794         * sysdeps/i386/elf/start.S: Moved to ...
43795         * sysdeps/i386/start.S: ...here.
43796         * sysdeps/i386/elf/configure.in: Merge into...
43797         * sysdeps/i386/configure.in: ...here.
43798         * sysdeps/i386/elf/configure.in: Delete file.
43799         * sysdeps/i386/elf/configure: Delete file.
43800
43801         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
43802         * debug/backtracesyms.c: ... here.
43803         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
43804         * debug/backtracesymsfd.c: ... here.
43805         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
43806         * sysdeps/generic/ifunc-sel.h: ... here.
43807
43808         * sysdeps/unix/i386/start.c: Delete file.
43809         * sysdeps/unix/sparc/start.c: Delete file.
43810         * sysdeps/unix/start.c: Delete file.
43811
43812         * sysdeps/sh/elf/configure.in: Moved to ...
43813         * sysdeps/sh/configure.in: ... here.
43814         * sysdeps/sh/elf/start.S: Moved to ...
43815         * sysdeps/sh/start.S: ... here.
43816         * sysdeps/sh/elf/configure: Delete file.
43817
43818         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
43819         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
43820         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
43821         * sysdeps/powerpc/powerpc64/entry.h: ... here.
43822         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
43823         * sysdeps/powerpc/powerpc64/start.S: here.
43824         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
43825         * sysdeps/powerpc/powerpc64/Makefile: ... this.
43826         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
43827         * sysdeps/powerpc/powerpc64/configure.in: ... this.
43828         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
43829
43830         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
43831         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
43832         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
43833         * sysdeps/powerpc/powerpc32/start.S: ... here.
43834         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
43835         * sysdeps/powerpc/powerpc32/configure.in: ... this.
43836         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
43837
43838         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
43839         * sysdeps/powerpc/ifunc-sel.h: ... here.
43840         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
43841         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
43842
43843         * sysdeps/sparc/elf/configure.in: Moved to ...
43844         * sysdeps/sparc/configure.in: ... here.
43845         * sysdeps/sparc/elf/configure: Delete file.
43846         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
43847         * sysdeps/sparc/sparc32/start.S: ... here.
43848         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
43849         * sysdeps/sparc/sparc64/start.S: ... here.
43850         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
43851         * sysdeps/sparc/sparc32/Makefile: ... this.
43852         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
43853         * sysdeps/sparc/sparc64/Makefile: ... this.
43854
43855         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
43856         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
43857         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
43858         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
43859         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
43860         * sysdeps/s390/s390-32/setjmp.S: ... here.
43861         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
43862         * sysdeps/s390/s390-32/configure.in: ... here.
43863         * sysdeps/s390/s390-32/elf/configure: Delete file.
43864         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
43865         * sysdeps/s390/s390-32/start.S: ... here.
43866
43867         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
43868         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
43869         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
43870         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
43871         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
43872         * sysdeps/s390/s390-64/setjmp.S: ... here.
43873         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
43874         * sysdeps/s390/s390-64/configure.in: ... here
43875         * sysdeps/s390/s390-64/elf/configure: Delete file.
43876         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
43877         * sysdeps/s390/s390-64/start.S: ... here.
43878         * sysdeps/s390/s390-64/elf/configure: Delete.
43879
43880         * configure.in: Remove support for elf directories in sysdeps.
43881
43882         * configure: Regenerated.
43883         * sysdeps/i386/configure: Regenerated.
43884         * sysdeps/powerpc/powerpc32/configure: Regenerated.
43885         * sysdeps/powerpc/powerpc64/configure: Regenerated.
43886         * sysdeps/s390/s390-32/configure: Regenerated.
43887         * sysdeps/s390/s390-64/configure: Regenerated.
43888         * sysdeps/sh/configure: Regenerated.
43889         * sysdeps/sparc/configure: Regenerated.
43890         * sysdeps/x86_64/configure: Regenerated.
43891
43892 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
43893
43894         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43895
43896         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
43897         denormal result into account.
43898
43899 2012-03-25  Roland McGrath  <roland@hack.frob.com>
43900
43901         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
43902         Reported by Allan McRae <allan@archlinux.org>.
43903
43904 2012-03-23  Jeff Law  <law@redhat.com>
43905
43906         * nss/getnssent.c (__nss_getent): Fix typo.
43907
43908 2012-03-23  David S. Miller  <davem@davemloft.net>
43909
43910         * sysdeps/sparc/fpu/libm-test-ulps: Update.
43911
43912 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
43913
43914         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
43915         to pad to uint64_t for each field.
43916         (dl_tls_index): Replace unsigned long with uint64_t.
43917
43918 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
43919         Paul Pluzhnikov  <ppluzhnikov@google.com>
43920
43921         [BZ #6528]
43922         * grp/Makefile (otherlibs): Don't set it.
43923         * inet/Makefile (otherlibs): Likewise.
43924         * login/Makefile (otherlibs): Likewise.
43925         * nscd/Makefile (otherlibs): Likewise.
43926         * posix/Makefile (otherlibs): Likewise.
43927         * pwd/Makefile (otherlibs): Likewise.
43928         * rt/Makefile (otherlibs): Likewise.
43929         * sunrpc/Makefile (otherlibs): Likewise.
43930         * nss/Makefile (otherlibs): Likewise.
43931         Add libnss_files to routines and static-only-routines.
43932         ($(objpfx)getent): Remove rule.
43933         * resolv/Makefile: Add libnss_dns and libresolv to routines and
43934         static-only-routines.
43935
43936 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
43937
43938         [BZ #13892]
43939         * math/s_cexp.c: Include <float.h>.
43940         (__cexp): Handle exp result overflowing not necessarily
43941         overflowing both real and imaginary parts of result.
43942         * math/s_cexpf.c: Likewise.
43943         * math/s_cexpl.c: Likewise.
43944         * math/libm-test.inc (cexp_test): Add more tests.
43945         * sysdeps/i386/fpu/libm-test-ulps: Update.
43946         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43947
43948 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43949
43950         * include/link.h (ELFW): New macro.
43951         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
43952         Replace ELF64_R_TYPE with ELFW(R_TYPE).
43953
43954 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43955
43956         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
43957         with uint64_t.
43958
43959 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43960
43961         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
43962         declaration.
43963         (struct La_x32_retval): Likewise.
43964
43965 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
43966
43967         * sysdeps/x86_64/preconfigure.in: New file.
43968         * sysdeps/x86_64/preconfigure: New generated file.
43969
43970 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
43971
43972         [BZ #13824]
43973         * math/e_exp2l.c: Include <float.h>.
43974         (__ieee754_exp2l): Handle overflow and underflow cases
43975         separately.  Only pass fractional part of argument to
43976         __ieee754_expl.
43977         * math/libm-test.inc (exp2_test): Add more tests.
43978
43979         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
43980         negating x to take absolute value.
43981         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
43982         Likewise.
43983         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
43984         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
43985         Likewise.
43986         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
43987         computing low part if x was negated.
43988         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
43989
43990 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
43991
43992         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
43993         la_x32_gnu_pltexit.
43994         (pltexit): Cast int_retval to ptrdiff_t.
43995         * elf/tst-auditmod3b.c: Likewise.
43996         * elf/tst-auditmod4b.c: Likewise.
43997         * elf/tst-auditmod5b.c: Likewise.
43998         * elf/tst-auditmod6b.c: Likewise.
43999         * elf/tst-auditmod6c.c: Likewise.
44000         * elf/tst-auditmod7b.c: Likewise.
44001
44002         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
44003         and x32_gnu_pltexit.
44004
44005         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
44006         __ELF_NATIVE_CLASS.
44007         (La_x32_regs): New macro.
44008         (La_x32_retval): Likewise.
44009         (la_x32_gnu_pltenter): New function prototype.
44010         (la_x32_gnu_pltexit): Likewise.
44011
44012 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
44013
44014         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
44015         exponent.
44016
44017         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44018
44019         * configure.in (libc_cv_cc_nofma): Check for option to disable
44020         generation of FMA instructions.
44021         * configure: Regenerate.
44022         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
44023         * sysdeps/ieee754/dbl-64/Makefile: New file.
44024         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
44025         Remove brandred-fma4.
44026         (CFLAGS-brandred-fma4.c): Remove.
44027         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
44028         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
44029         define.
44030         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
44031         define.
44032
44033 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
44034
44035         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
44036         LLONG_MAX != LONG_MAX.
44037         (_itoa_word): Use _ITOA_WORD_TYPE on value.
44038         (_fitoa_word): Likewise.
44039         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
44040         LLONG_MAX != LONG_MAX.
44041         * stdio-common/_itowa.h: Include <_itoa.h>.
44042         (_itowa_word): Use _ITOA_WORD_TYPE on value.
44043         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
44044         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
44045         only if not defined.
44046         (_ITOA_WORD_TYPE): Likewise.
44047         (_itoa_word): Use _ITOA_WORD_TYPE on value.
44048         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
44049
44050 2012-03-21  David S. Miller  <davem@davemloft.net>
44051
44052         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44053
44054 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
44055
44056         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
44057         of x86_64 when setting libc_cv_slibdir, libdir and
44058         libc_cv_localedir.
44059         * sysdeps/unix/sysv/linux/configure: Regenerated.
44060
44061 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
44062
44063         * manual/lang.texi (Old Varargs): Remove section.
44064         (How Variadic): Update menu.
44065         (va_start): Do not mention varargs.h.
44066
44067 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
44068             Joseph Myers  <joseph@codesourcery.com>
44069
44070         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
44071         link test.
44072         * configure: Regenerated.
44073
44074 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
44075
44076         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
44077         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
44078         conformtest.pl
44079
44080 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
44081
44082         * NOTES: Remove.
44083         * Makefile (files-for-dist): Remove NOTES.
44084         (NOTES): Remove rule.
44085         * README: Don't refer to NOTES.
44086         * manual/creature.texi: Don't include macros.texi.
44087         * manual/intro.texi (creature.texi): Remove comment referring to
44088         NOTES.
44089
44090         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
44091         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
44092         * configure: Regenerated.
44093         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
44094         LIBC_TRY_CC_OPTION.
44095         (libc_cv_as_i686): Likewise.
44096         (libc_cv_cc_avx): Likewise.
44097         (libc_cv_cc_sse2avx): Likewise.
44098         (libc_cv_cc_fma4): Likewise.
44099         (libc_cv_cc_novzeroupper): Likewise.
44100         * sysdeps/i386/configure: Regenerated.
44101
44102         [BZ #13883]
44103         * sysdeps/i386/fpu/s_cexp.S: Remove.
44104         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
44105         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
44106         * math/libm-test.inc (cexp_test): Add more tests.
44107         * sysdeps/i386/fpu/libm-test-ulps: Update.
44108         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44109
44110 2012-03-21  Allan McRae  <allan@archlinux.org>
44111
44112         * timezone/Makefile: Do not install iso3166.tab and zone.tab
44113
44114 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
44115
44116         [BZ #13871]
44117         * math/w_exp2.c: Do not include <float.h>.
44118         (o_threshold, u_threshold): Remove.
44119         (__exp2): Calculate result before checking finiteness and calling
44120         __kernel_standard.
44121         * math/w_exp2f.c: Likewise.
44122         * math/w_exp2l.c: Likewise.
44123         * math/libm-test.inc (exp2_test): Require overflow exception for
44124         1e6 input.
44125
44126         [BZ #3866]
44127         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
44128         range of signed 64-bit integers before using fistpll.  Remove
44129         checks for whether integers fit in mantissa bits.
44130         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
44131         the range of signed 32-bit integers before using fistpl.  Remove
44132         checks for whether integers fit in mantissa bits.
44133         * sysdeps/i386/fpu/e_powl.S (p64): New object.
44134         (__ieee754_powl): Test for y outside the range of signed 64-bit
44135         integers before using fistpll.  Reduce 64-bit values to 63-bit
44136         ones as needed.
44137         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
44138         divide-by-zero is raised for zero to large negative powers.
44139         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
44140         (__ieee754_powl): Test for y outside the range of signed 64-bit
44141         integers before using fistpll.  Reduce 64-bit values to 63-bit
44142         ones as needed.
44143         * math/libm-test.inc (pow_test): Add more tests.
44144
44145 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44146
44147         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
44148         <stdio-common/_itoa.h>.
44149         * debug/segfault.c: Likewise.
44150         * elf/dl-cache.c: Likewise.
44151         * elf/dl-minimal.c: Likewise.
44152         * elf/dl-misc.c: Likewise.
44153         * elf/dl-sysdep.c: Likewise.
44154         * elf/dl-version.c: Likewise.
44155         * elf/rtld.c: Likewise.
44156         * hurd/hurdsock.c: Likewise.
44157         * hurd/lookup-retry.c: Likewise.
44158         * malloc/malloc.c: Likewise.
44159         * malloc/mtrace.c: Likewise.
44160         * nscd/nscd_getgr_r.c: Likewise.
44161         * nscd/nscd_getpw_r.c: Likewise.
44162         * nscd/nscd_getserv_r.c: Likewise.
44163         * posix/getopt_init.c: Likewise.
44164         * posix/wordexp.c: Likewise.
44165         * stdio-common/_itoa.c: Likewise.
44166         * stdio-common/printf_fphex.c: Likewise.
44167         * stdio-common/vfprintf.c: Likewise.
44168         * string/_strerror.c: Likewise.
44169         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
44170         * sysdeps/i386/i686/hp-timing.h: Likewise.
44171         * sysdeps/mach/_strerror.c: Likewise.
44172         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
44173         * sysdeps/mach/hurd/sethostid.c: Likewise.
44174         * sysdeps/mach/hurd/xmknodat.c: Likewise.
44175         * sysdeps/mach/xpg-strerror.c: Likewise.
44176         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
44177         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44178         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
44179         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
44180         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44181         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
44182         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
44183         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
44184         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
44185         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
44186         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
44187         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
44188         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
44189         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
44190         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
44191         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
44192         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
44193         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
44194         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
44195         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
44196         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
44197
44198         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
44199
44200         * stdio-common/_itoa.h: Moved to ...
44201         * sysdeps/generic/_itoa.h: Here.
44202
44203         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
44204
44205         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
44206         instead of "_itoa.h" and "_itowa.h".
44207         * stdio-common/vfprintf.: Likewise.
44208
44209 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44210
44211         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
44212         <bits/wordsize.h>.
44213         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
44214         (__signbit): Likwise.
44215         (llrintf): Likwise.
44216         (llrint): Likwise.
44217
44218 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
44219
44220         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
44221         __WORDSIZE != 64.
44222
44223 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
44224
44225         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
44226         OVERFLOW_EXCEPTION_OK.
44227         * math/libm-test.inc ("Philosophy"): Update comment about
44228         exception testing.
44229         (OVERFLOW_EXCEPTION): Define.
44230         (OVERFLOW_EXCEPTION_OK): Likewise.
44231         (INVALID_EXCEPTION_OK): Renumber.
44232         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
44233         (IGNORE_ZERO_INF_SIGN): Likewise.
44234         (test_exceptions): Handle FE_OVERFLOW.
44235         (exp10_test): Expect overflow exceptions.
44236         (exp2_test): Likewise.
44237         (expm1_test): Likewise.
44238         (nextafter_test): Likewise.
44239         (pow_test): Likewise.
44240         (scalbn_test): Likewise.
44241         (scalbln_test): Likewise.
44242
44243 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44244
44245         * sysdeps/x86_64/bits/atomic.h
44246         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
44247         64bit integer.
44248         (atomic_exchange_acq): Likewise.
44249         (__arch_exchange_and_add_body): Likewise.
44250         (__arch_add_body): Likewise.
44251         (atomic_add_negative): Likewise.
44252         (atomic_add_zero): Likewise.
44253
44254 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44255
44256         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
44257         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
44258
44259 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44260
44261         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
44262         Check __x86_64__ instead of __WORDSIZE.
44263
44264 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44265
44266         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
44267
44268 2012-03-19  David S. Miller  <davem@davemloft.net>
44269
44270         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44271
44272         * sysdeps/sparc/fpu/fenv_private.h: New file.
44273         * sysdeps/sparc/fpu/math_private.h: Use it.
44274         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
44275         Remove.
44276         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
44277         (libc_feholdexcept_setroundl): Remove.
44278         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
44279         Remove.
44280         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
44281         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
44282
44283 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44284
44285         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
44286         int64_t instead of long int.
44287         (INSERT_WORDS64): Likwise.
44288
44289 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
44290
44291         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
44292         _Unwind_GetCFA return to _Unwind_Ptr first.
44293
44294 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
44295
44296         [BZ #13629]
44297         * math/s_clog.c: Include <float.h>.
44298         (__clog): Scale large or subnormal inputs.
44299         * math/s_clogf.c: Likewise.
44300         * math/s_clogl.c: Likewise.
44301         * math/s_clog10.c: Include <float.h>.
44302         (M_LOG10_2): Define.
44303         (__clog10): Scale large or subnormal inputs.
44304         * math/s_clog10f.c: Likewise.
44305         * math/s_clog10l.c: Likewise.
44306         * math/libm-test.inc (clog_test): Add more tests.
44307         (clog10_test): Likewise.
44308         * sysdeps/i386/fpu/libm-test-ulps: Update.
44309         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44310
44311         [BZ #11451]
44312         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
44313         x and y.
44314         * math/libm-test.inc (atan2_test): Add another test.
44315
44316         * Makerules (common-objdir-compile): Remove.
44317         * sysdeps/unix/Makefile (config-generated): Do not add
44318         $(unix-generated) to variable.
44319         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
44320         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
44321         Remove rule.
44322         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
44323         Likewise.
44324         [generic bits/local_lim.h] (before-compile): Do not append to
44325         variable.
44326         [generic bits/local_lim.h] (common-generated): Likewise.
44327         [generic sys/param.h] (before-compile): Do not append to variable.
44328         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
44329         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
44330         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
44331         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
44332         include.
44333         [generic sys/param.h] (sys/param.h-includes): Remove variable.
44334         [generic sys/param.h] (sys/param.h-includes): Remove rule.
44335         [generic sys/param.h] ($(addprefix
44336         $(common-objpfx),$(sys/param.h-includes))): Likewise.
44337         [generic sys/param.h] (common-generated): Do not append to
44338         variable.
44339         [generic sys/param.h] (sysdep_headers): Likewise.
44340         [generic bits/errno.h] (before-compile): Do not append to
44341         variable.
44342         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
44343         rule.
44344         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
44345         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
44346         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
44347         [generic bits/errno.h] (common-generated): Do not append to
44348         variable.
44349         [generic bits/ioctls.h] (before-compile): Do not append to
44350         variable.
44351         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
44352         rule.
44353         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
44354         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
44355         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
44356         rule.
44357         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
44358         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
44359         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
44360         [generic bits/ioctls.h] (common-generated): Do not append to
44361         variable.
44362         [generic sys/syscall.h] (syscall.h): Remove variable.
44363         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
44364         rule.
44365         [generic sys/syscall.h] (before-compile): Do not append to
44366         variable.
44367         [generic sys/syscall.h] (common-generated): Likewise.
44368         * sysdeps/unix/errnos-tmpl.c: Remove file.
44369         * sysdeps/unix/errnos.awk: Likewise.
44370         * sysdeps/unix/ioctls-tmpl.c: Likewise.
44371         * sysdeps/unix/ioctls.awk: Likewise.
44372         * sysdeps/unix/mk-local_lim.c: Likewise.
44373         * sysdeps/unix/snarf-ioctls: Likewise.
44374
44375 2012-03-19  Richard Henderson  <rth@twiddle.net>
44376
44377         * sysdeps/i386/fpu/fenv_private.h: New file.
44378         * sysdeps/i386/fpu/math_private.h: Use it.
44379         (math_opt_barrier, math_force_eval): Remove.
44380         (libc_feholdexcept_setround_53bit): Remove.
44381         (libc_feupdateenv_53bit): Remove.
44382         * sysdeps/x86_64/fpu/math_private.h: Likewise.
44383         (math_opt_barrier, math_force_eval): Remove.
44384         (libc_feholdexcept): Remove.
44385         (libc_feholdexcept_setround): Remove.
44386         (libc_fetestexcept, libc_fesetenv): Remove.
44387         (libc_feupdateenv_test): Remove.
44388         (libc_feupdateenv, libc_feholdsetround): Remove.
44389         (libc_feresetround): Remove.
44390
44391         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
44392         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
44393
44394         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
44395         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
44396         (libc_feupdateenv_testl): New.
44397         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
44398         (libc_feupdateenv_testf): New.
44399         (libc_feupdateenv): Use libc_feupdateenv_test.
44400         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
44401         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
44402
44403         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
44404         (libc_feholdsetroundf, libc_feholdsetroundl): New.
44405         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
44406         (libc_feresetround_noex): New.
44407         (libc_feresetround_noexf): New.
44408         (libc_feresetround_noexl): New.
44409         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
44410         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
44411         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
44412         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
44413         SET_RESTORE_ROUND.
44414         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
44415         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
44416         (__cos): Likewise.
44417         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
44418         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
44419         SET_RESTORE_ROUND_NOEX.
44420         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
44421         SET_RESTORE_ROUND_NOEXF.
44422         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
44423         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
44424         (libc_feholdsetroundf): New.
44425         (libc_feresetround, libc_feresetroundf): New.
44426
44427         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
44428         (libc_feholdexcept_setround_53bit): Convert from macro to function.
44429         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
44430
44431         * sysdeps/generic/math_private.h: Include <fenv.h>.
44432         (default_libc_feholdexcept): New.
44433         (default_libc_feholdexcept_setround): New.
44434         (default_libc_fesetenv, default_libc_feupdateenv): New.
44435         (libc_feholdexcept): Only define if undefined.
44436         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
44437         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
44438         (libc_feholdexcept_setroundl): Likewise.
44439         (libc_feholdexcept_setround_53bit): Likewise.
44440         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
44441         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
44442         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
44443         (libc_feupdateenv_53bit): Likewise.
44444         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
44445         (libc_feholdexcept): Convert from macro to inline function.
44446         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
44447         (libc_fesetenv, libc_feupdateenv): Likewise.
44448
44449         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
44450         not previously defined.
44451         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
44452         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
44453         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
44454         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
44455         * sysdeps/ieee754/flt-32/math_private.h: New file.
44456         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
44457         math_private.h below SET_FLOAT_WORD.
44458         (__isnan, __isinf_ns, __finite): Remove.
44459         (__isnanf, __isinf_nsf, __finitef): Remove.
44460
44461 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
44462
44463         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44464
44465 2012-03-17  David S. Miller  <davem@davemloft.net>
44466
44467         [BZ #6471]
44468         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
44469         for 2.16.
44470
44471 2012-03-16  David S. Miller  <davem@davemloft.net>
44472
44473         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
44474         warnings.
44475
44476         [BZ #6471]
44477         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
44478         properly.
44479         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
44480         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
44481         sysdep_routines when subdir is sysvipc.
44482         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
44483         __getshmlba helper.
44484
44485         * sysdeps/sparc/fpu/libm-test/ulps: Update.
44486
44487 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44488
44489         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
44490         [__LP64__].
44491
44492 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44493
44494         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
44495         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
44496         (__lround): Renamed to ...
44497         (__llround): This.  Replace long int with long long int.
44498         Define lround functions as aliases of llround functions.
44499         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
44500
44501 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44502
44503         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
44504         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
44505         adresses to uintptr_t.  Replace "long int" and "unsigned long
44506         int" with "greg_t" on va_arg.
44507
44508 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44509
44510         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
44511         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
44512
44513         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
44514         Move e_machine check before EI_CLASS check.  Handle x32
44515         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
44516         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
44517         SKIP_EM_IA_64 and include
44518         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
44519
44520         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
44521         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
44522         (add_system_dir): New macro.
44523
44524         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
44525         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
44526
44527 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
44528
44529         [BZ #2551]
44530         [BZ #2552]
44531         [BZ #2553]
44532         [BZ #2554]
44533         [BZ #2562]
44534         [BZ #2563]
44535         [BZ #2565]
44536         [BZ #2566]
44537         [BZ #2576]
44538         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
44539         (y0): Likewise.
44540         * math/w_j0f.c (j0f): Likewise.
44541         (y0f): Likewise.
44542         * math/w_j0l.c (__j0l): Likewise.
44543         (__y0l): Likewise.
44544         * math/w_j1.c (j1): Likewise.
44545         (y1): Likewise.
44546         * math/w_j1f.c (j1f): Likewise.
44547         (y1f): Likewise.
44548         * math/w_j1l.c (__j1l): Likewise.
44549         (__y1l): Likewise.
44550         * math/w_jn.c (jn): Likewise.
44551         (yn): Likewise.
44552         * math/w_jnf.c (jnf): Likewise.
44553         (ynf): Likewise.
44554         * math/w_jnl.c (__jnl): Likewise.
44555         (__ynl): Likewise.
44556         * math/libm-test.inc (j0_test): Add more tests.
44557         (j1_test): Likewise.
44558         (jn_test): Likewise.  Add trailing semicolon to existing test.
44559         (y0_test): Likewise.
44560         (y1_test): Likewise.
44561         * sysdeps/i386/fpu/libm-test-ulps: Update.
44562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44563
44564         [BZ #13851]
44565         [BZ #13854]
44566         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
44567         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
44568         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
44569         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
44570         (__tanl): Set errno for infinite argument.
44571         * sysdeps/i386/fpu/mptan.c: Remove.
44572         * sysdeps/i386/fpu/s_tan.S: Likewise.
44573         * sysdeps/i386/fpu/s_tanl.S: Likewise.
44574         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
44575         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
44576         * math/libm-test.inc (tan_test): Add more tests and enable more
44577         tests for double and long double.
44578         * sysdeps/i386/fpu/libm-test-ulps: Update.
44579         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44580
44581 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
44582
44583         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
44584         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
44585
44586 2012-03-16  Roland McGrath  <roland@hack.frob.com>
44587
44588         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
44589         * configure.in: Use it for both main tree and add-ons.
44590         * configure: Regenerated.
44591
44592 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
44593
44594         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
44595
44596 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
44597
44598         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
44599         in comment.
44600
44601         [BZ #13851]
44602         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
44603         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
44604         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
44605         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
44606         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
44607         infinite argument.
44608         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
44609         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
44610         != 0 for prec == 2.
44611         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
44612         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
44613         * sysdeps/i386/fpu/s_cosl.S: Likewise.
44614         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
44615         * sysdeps/i386/fpu/s_sinl.S: Likewise.
44616         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
44617         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
44618         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
44619         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
44620         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
44621         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
44622         * math/libm-test.inc (cos_test): Add more tests and enable more
44623         tests for long double.
44624         (sin_test): Likewise.
44625         (sincos_test): Likewise.
44626         * sysdeps/i386/fpu/libm-test-ulps: Update.
44627         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44628
44629 2012-03-16  David S. Miller  <davem@davemloft.net>
44630
44631         * sysdeps/sparc/fpu/math_private.h: New file.
44632
44633 2012-03-15  David S. Miller  <davem@davemloft.net>
44634
44635         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
44636         file.
44637         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
44638         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
44639         file.
44640         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
44641         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
44642         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
44643         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
44644         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
44645         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
44646         sysdep routines.
44647         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44648
44649         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
44650         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
44651
44652         * sysdeps/sparc/sparc-ifunc.h: New file.
44653         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
44654         sparc-ifunc.h
44655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
44656         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
44657         Likewise.
44658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
44659         Likewise.
44660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
44661         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
44662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
44663         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
44664         Likewise.
44665         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
44666         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
44667         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
44668         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
44669         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
44670         Likewise.
44671         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
44672         Likewise.
44673         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
44674         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
44675         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
44676         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
44677         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
44678         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
44679         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
44680         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
44681         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
44682         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
44683         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
44684         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
44685         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
44686         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
44687         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
44688         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
44689         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
44690         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
44691         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
44692         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
44693         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
44694         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
44695         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
44696         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
44697
44698 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
44699
44700         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
44701         scaling.
44702         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44703
44704 2012-03-15  Andreas Jaeger  <aj@suse.de>
44705
44706         [BZ #13852]
44707         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
44708         ieee754/flt-32 implementation for sin, cos and sincos.
44709         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
44710         * sysdeps/i386/fpu/s_cosf.S: Likewise.
44711         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
44712         * sysdeps/i386/fpu/s_sinf.S: Likewise.
44713         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
44714         ieee754/flt-32 implementation for tan.
44715
44716         * math/libm-test.inc (cos_test): Enable some large input tests for
44717         float as well
44718         (sin_test): Likewise.
44719         (sincos_test): Likewise.
44720         (tan_test): Add tests for large input.
44721
44722         * sysdeps/i386/fpu/libm-test-ulps: Update.
44723
44724 2012-03-15  Andreas Jaeger  <aj@suse.de>
44725
44726         [BZ #13658]
44727         * math/libm-test.inc (cos_test): Add more test cases.
44728         (sin_test): Likewise.
44729         (sincos_test): Likewise.
44730
44731 2012-03-15  Andreas Jaeger  <aj@suse.de>
44732
44733         [BZ #13837]
44734         * math/libm-test.inc (cos_test): Add a test case for large input
44735         value.
44736         (sin_test): Likewise.
44737         (sincos_test): Likewise.
44738
44739 2012-03-15  Andreas Jaeger  <aj@suse.de>
44740             Joseph Myers  <joseph@codesourcery.com>
44741
44742         [BZ #13658]
44743         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
44744         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
44745         * sysdeps/i386/fpu/branred.c: Likewise.
44746         * sysdeps/i386/fpu/dosincos.c: Likewise.
44747         * sysdeps/i386/fpu/mpa.c: Likewise.
44748         * sysdeps/i386/fpu/s_cos.S: Likewise.
44749         * sysdeps/i386/fpu/s_sin.S: Likewise.
44750         * sysdeps/i386/fpu/s_sincos.S: Likewise.
44751         * sysdeps/i386/fpu/sincos32.c: Likewise.
44752
44753         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
44754         Define.
44755         (libc_feupdateenv_53bit): Define.
44756         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
44757         Define.
44758         (libc_feupdateenv_53bit): Define.
44759
44760         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
44761         53 bit (without extend i386 double precision).
44762
44763         * math/libm-test.inc (sincos_test): Add tests for large input.
44764         (sin): Likewise.
44765         (cos): Likewise.
44766
44767         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
44768
44769 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
44770
44771         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
44772
44773 2012-03-15  David S. Miller  <davem@davemloft.net>
44774
44775         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
44776         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
44777         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
44778         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
44779         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
44780         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
44781         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
44782         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
44783         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
44784         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
44785         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
44786         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
44787         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
44788         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
44789         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
44790         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
44791         file.
44792         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
44793         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
44794         file.
44795         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
44796         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
44797         file.
44798         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
44799         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
44800         file.
44801         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
44802         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
44803         fmin/fmax sysdep routines.
44804         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
44805
44806 2012-03-14  David S. Miller  <davem@davemloft.net>
44807
44808         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
44809         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
44810         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
44811         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
44812         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
44813         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
44814         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
44815         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
44816         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
44817         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
44818         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
44819         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
44820         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
44821         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
44822         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
44823         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
44824         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
44825         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
44826         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
44827         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
44828         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
44829         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
44830         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
44831         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
44832         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
44833         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
44834         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
44835         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
44836         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
44837         routines.
44838         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
44839         file.
44840         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
44841         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
44842         file.
44843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
44844         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
44845         file.
44846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
44847         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
44848         file.
44849         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
44850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
44851         file.
44852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
44853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
44854         file.
44855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
44856         file.
44857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
44858         file.
44859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
44860         file.
44861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
44862         New file.
44863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
44864         file.
44865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
44866         file.
44867         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
44868         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
44869         file.
44870         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
44871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
44872         file.
44873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
44874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
44875         file.
44876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
44877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
44878         VIS3 routines.
44879
44880         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
44881         New file.
44882
44883         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44884
44885         * sysdeps/sparc/configure.in: New file.
44886         * sysdeps/sparc/configure: Generate.
44887         * configure.in (libc_cv_sparc_as_vis3): Substitute.
44888         * configure: Regenerate.
44889         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
44890         * config.make.in (have-as-vis3): New.
44891         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
44892         available use -Av9d instead of -Av9a.
44893         * sysdeps/sparc/sparc64/Makefile: Likewise.
44894         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
44895         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
44896         New file.
44897         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
44898         file.
44899         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
44900         New file.
44901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
44902         file.
44903         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
44904         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
44905         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
44906         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
44907         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
44908
44909         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
44910         fzeros/fnegs to load 0x80000000 into a float register instead of
44911         using the stack.
44912         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
44913
44914 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
44915
44916         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
44917         bits/syscall.h.
44918         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
44919         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
44920         ($(inst_includedir)/bits/syscall.h): Remove rule.
44921         ($(objpfx)bits/syscall.d): Include instead of
44922         $(objpfx)syscall-list.d.
44923         (generated): Change syscall-list.h and syscall-list.d to
44924         bits/syscall.h and bits/syscall.d.
44925
44926 2012-03-14  Roland McGrath  <roland@hack.frob.com>
44927
44928         [BZ #13846]
44929         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
44930
44931 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
44932
44933         [BZ #13841]
44934         * math/s_csqrt.c: Include <float.h>.
44935         (__csqrt): Scale large or subnormal inputs.
44936         * math/s_csqrtf.c: Likewise.
44937         * math/s_csqrtl.c: Likewise.
44938         * math/libm-test.inc (csqrt_test): Add more tests.
44939         * sysdeps/i386/fpu/libm-test-ulps: Update.
44940         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44941
44942         [BZ #13840]
44943         * math/libm-test.inc (hypot_test): Add more tests.
44944
44945 2012-03-13  David S. Miller  <davem@davemloft.net>
44946
44947         [BZ #13840]
44948         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
44949         double-precision for the calculation instead of scaling.
44950
44951 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
44952
44953         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
44954         manipulate bits before adding and subtracting TWO52[sx].
44955         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
44956         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
44957         Likewise.
44958         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
44959
44960 2012-03-13  David S. Miller  <davem@davemloft.net>
44961
44962         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
44963         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
44964         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
44965         rtld-global-offsets.h
44966         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
44967
44968         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
44969         large parameters.
44970
44971         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
44972
44973         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
44974         'err' in the ifdef scope in which it is actually used.
44975
44976         * nss/nss_db/db-init.c: Include string.h
44977
44978 2012-03-12  David S. Miller  <davem@davemloft.net>
44979
44980         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
44981         masking out of the most significant byte of random value used.
44982         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
44983         Fix coding style in previous change.
44984
44985         * sysdeps/unix/sysv/linux/kernel-features.h
44986         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
44987         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
44988         expression.
44989         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
44990         later.
44991
44992 2012-03-11  David S. Miller  <davem@davemloft.net>
44993
44994         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
44995         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
44996         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
44997         for 'resultvar' otherwise things get truncated on 64-bit.
44998
44999         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
45000         Fix masking out of the most significant byte of random value used.
45001
45002         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45003
45004 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
45005
45006         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45007
45008 2012-03-09  David S. Miller  <davem@davemloft.net>
45009
45010         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
45011         variables with appropriate CPP guards.
45012         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
45013         from the frame pointer, not the stack pointer.  Correct layout
45014         comments.  Fix test on resulting framesize and the management of
45015         the outregs buffer for pltexit.  Preserve floating point return
45016         values across _dl_call_pltexit call.
45017         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
45018         framesize and the management of the outregs buffer for pltexit.
45019         Preserve floating point return values across _dl_call_pltexit
45020         call.
45021         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
45022         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
45023         (la_sparc64_gnu_pltexit): New functions.
45024         (print_exit): Fix format string for return register value.
45025
45026 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
45027
45028         * sunrpc/Makefile (others): Add rpcgen.
45029         ($(objpfx)rpcgen): Remove special build rule and dependency on
45030         libc.
45031         * sunrpc/rpcgen.c: New file.
45032
45033 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
45034
45035         [BZ #13673]
45036         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
45037         * stdio-common/bug-vfprintf-nargs.c: Likewise.
45038         * sysdeps/i386/crti.S: Likewise.
45039         * sysdeps/i386/crtn.S: Likewise.
45040         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
45041         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
45042         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
45043         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
45044         * sysdeps/sh/crti.S: Likewise.
45045         * sysdeps/sh/crtn.S: Likewise.
45046         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
45047
45048         [BZ #13673]
45049         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
45050         with URL.
45051         * locale/programs/locfile-kw.gperf: Likewise.
45052         * locale/programs/charmap-kw.h: Regenerated.
45053         * locale/programs/locfile-kw.h: Likewise.
45054
45055         [BZ #13673]
45056         * intl/plural.y: Replace FSF snail mail address with URL.
45057         * intl/plural.c: Regenerated.
45058
45059 2012-03-09  Richard Henderson  <rth@twiddle.net>
45060
45061         * include/math_private.h: Remove file.
45062         * math/math_private.h: Move file ...
45063         * sysdeps/generic/math_private.h: ... here.
45064
45065         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
45066         * sysdeps/powerpc/fpu/math_private.h: Likewise.
45067         * sysdeps/x86_64/fpu/math_private.h: Likewise.
45068
45069         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
45070         and <math_private.h>.
45071         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
45072         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
45073         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
45074         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
45075         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
45076         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
45077         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
45078         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
45079         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
45080         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
45081         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
45082         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
45083         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
45084         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
45085         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
45086         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
45087         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
45088         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
45089         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
45090         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
45091         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
45092         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
45093         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
45094         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
45095         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
45096         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
45097         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
45098         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
45099         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
45100         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
45101         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
45102         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
45103         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
45104         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
45105         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
45106         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
45107         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
45108         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
45109         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
45110         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
45111         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
45112         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
45113         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
45114         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
45115         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
45116         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
45117         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
45118         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
45119         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
45120         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
45121         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
45122         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
45123         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
45124         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
45125         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
45126         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
45127         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
45128         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
45129         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
45130         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
45131         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
45132         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
45133         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
45134         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
45135         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
45136         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
45137         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
45138         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
45139         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
45140         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
45141         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
45142         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
45143         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
45144         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
45145         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
45146         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
45147         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
45148         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
45149         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
45150         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
45151         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
45152         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
45153         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
45154         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
45155         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
45156         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
45157         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
45158         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
45159         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
45160         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
45161         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
45162         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
45163         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
45164         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
45165         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
45166         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
45167         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
45168         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
45169         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
45170         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
45171         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
45172         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
45173         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
45174         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
45175         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
45176         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
45177         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
45178         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
45179         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
45180         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
45181         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
45182         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
45183         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
45184         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
45185         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
45186         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
45187         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
45188         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
45189         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
45190         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
45191         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
45192         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
45193         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
45194         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
45195         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
45196         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
45197         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
45198         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
45199         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
45200         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
45201         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
45202         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
45203         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
45204         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
45205         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
45206         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
45207         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
45208         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
45209         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
45210         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
45211         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
45212         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
45213         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
45214         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
45215         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
45216         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
45217         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
45218         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
45219         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
45220         * sysdeps/ieee754/k_standard.c: Likewise.
45221         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
45222         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
45223         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
45224         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
45225         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
45226         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
45227         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
45228         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
45229         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
45230         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
45231         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
45232         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
45233         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
45234         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
45235         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
45236         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
45237         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
45238         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
45239         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
45240         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
45241         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
45242         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
45243         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
45244         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
45245         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
45246         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
45247         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
45248         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
45249         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
45250         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
45251         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
45252         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
45253         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
45254         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
45255         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
45256         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
45257         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
45258         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
45259         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
45260         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
45261         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
45262         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
45263         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
45264         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
45265         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
45266         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
45267         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
45268         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
45269         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
45270         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
45271         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
45272         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
45273         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
45274         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
45275         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
45276         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
45277         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
45278         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
45279         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
45280         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
45281         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
45282         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
45283         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
45284         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
45285         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
45286         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
45287         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
45288         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
45289         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
45290         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
45291         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
45292         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
45293         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
45294         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
45295         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
45296         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
45297         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
45298         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
45299         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45300         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
45301         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
45302         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
45303         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
45304         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
45305         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
45306         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
45307         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
45308         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
45309         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
45310         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
45311         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
45312         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
45313         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
45314         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
45315         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
45316         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
45317         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
45318         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
45319         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
45320         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
45321         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
45322         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
45323         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
45324         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
45325         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
45326         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
45327         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
45328         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
45329         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
45330         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
45331         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
45332         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
45333         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
45334         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
45335         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
45336         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
45337         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
45338         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
45339         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
45340         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
45341         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
45342         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
45343         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
45344         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
45345         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
45346         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
45347         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
45348         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
45349         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
45350         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
45351         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
45352         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
45353         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
45354         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
45355         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
45356         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
45357         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
45358         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
45359         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
45360         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
45361         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
45362         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
45363         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
45364         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
45365         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
45366         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
45367         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
45368         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
45369         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
45370         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
45371         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
45372         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
45373         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
45374         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
45375         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
45376         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
45377         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
45378         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
45379         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
45380         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
45381         * sysdeps/ieee754/s_lib_version.c: Likewise.
45382         * sysdeps/ieee754/s_matherr.c: Likewise.
45383         * sysdeps/ieee754/s_signgam.c: Likewise.
45384         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
45385         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
45386         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
45387         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
45388         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
45389         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
45390         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
45391         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
45392         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
45393         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
45394         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
45395         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
45396         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
45397         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
45398         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
45399         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
45400         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
45401         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
45402         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
45403         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
45404         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
45405
45406 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
45407
45408         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
45409         * sunrpc/rpc_main.c: Likewise.
45410         * sunrpc/rpc_svcout.c: Likewise.
45411
45412 2012-03-09  David S. Miller  <davem@davemloft.net>
45413
45414         * include/math_private.h: New file.
45415
45416 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
45417
45418         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
45419         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
45420         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
45421         from <bits/socket_type.h>.
45422         (enum __socket_type): Don't define here.
45423         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
45424         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
45425         bits/socket_type.h.
45426
45427         [BZ #13566]
45428         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
45429         checking __USE_GNU.
45430
45431         * Makerules ($(inst_includedir)/%.h): New rule.
45432         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
45433         (install-others): Remove variable setting.
45434         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
45435
45436 2012-03-08  Richard Henderson  <rth@twiddle.net>
45437
45438         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
45439         from macro to inline function; merge with the
45440         !__LIBC_INTERNAL_MATH_INLINES version.
45441         (__ieee754_sqrtf): Likewise.
45442
45443         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
45444         to inline function.
45445         (__rintf, __floor, __floorf): Likewise.
45446
45447         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
45448         macro to inline function.
45449         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
45450
45451         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
45452         not <math/math_private.h>.
45453
45454 2012-03-08  David S. Miller  <davem@davemloft.net>
45455
45456         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
45457         copyright year.
45458         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
45459
45460 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
45461
45462         * resolv/gai_misc.c (handle_requests): Fix struct timespec
45463         normalization.
45464         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
45465         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
45466
45467 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
45468
45469         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
45470         be defined individually, they must be defined as a block.  Define
45471         S for printing a string instead of hidint the different by using a
45472         macro for adding the 'l'.
45473         * stdio-common/tst-fphex-wide.c: Adjust.
45474
45475 2012-03-07  Marek Polacek  <polacek@redhat.com>
45476
45477         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
45478
45479 2012-03-08  Marek Polacek  <polacek@redhat.com>
45480
45481         [BZ #13806]
45482         * stdio-common/Makefile (tests): Add tst-fphex-wide.
45483         * stdio-common/tst-fphex.c: Define a few macros to make the
45484         test reusable.  Use them.
45485         * stdio-common/tst-fphex-wide.c: New file.
45486
45487 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
45488
45489         [BZ #6911]
45490         * manual/macros.texi (gnusystems): New macro.
45491         (nongnusystems): Likewise.
45492         (gnulinuxhurdsystems): Likewise.
45493         (gnuhurdsystems): Likewise..
45494         (gnulinuxsystems): Likewise.
45495         * manual/charset.texi: Use new macros or @theglibc{} to refer to
45496         variants of the GNU system, not "GNU system".
45497         * manual/conf.texi: Likewise.
45498         * manual/errno.texi: Likewise.  Update example of errno macro
45499         expansion.
45500         * manual/filesys.texi: Likewise.
45501         (getumask): Document as specific to GNU/Hurd.
45502         * manual/install.texi: Likewise.  Reword some references to
45503         GNU/Linux.
45504         * manual/intro.texi: Likewise.
45505         * manual/io.texi: Likewise.
45506         (File Name Portability): Detail which constraints are inapplicable
45507         to all GNU systems and which are only inapplicable to GNU/Hurd.
45508         * manual/job.texi: Likewise.
45509         * manual/llio.texi: Likewise.
45510         (O_NOCTTY): Document as present on GNU/Linux.
45511         * manual/maint.texi: Likewise.
45512         * manual/memory.texi: Likewise.
45513         * manual/pattern.texi: Likewise.
45514         * manual/pipe.texi: Likewise.
45515         * manual/process.texi: Likewise.
45516         * manual/resource.texi: Likewise.
45517         (RUSAGE_CHILDREN): Remove statement about specifying a particular
45518         child on GNU/Hurd.
45519         * manual/setjmp.texi: Likewise.
45520         * manual/signal.texi: Likewise.
45521         * manual/startup.texi: Likewise.
45522         * manual/stdio.texi: Likewise.
45523         * manual/terminal.texi: Likewise.
45524         (ONLCR): Document as POSIX.
45525         (OXTABS): Document availability on GNU/Linux as XTABS.
45526         (ONOEOT): Document availability separately from other bits.
45527         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
45528         * manual/time.texi: Likewise.
45529         * manual/users.texi: Likewise.
45530         * INSTALL: Regenerated.
45531         * sysdeps/gnu/errlist.c: Regenerated.
45532
45533         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
45534         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
45535         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
45536         puts.
45537         * configure: Regenerated.
45538
45539 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
45540
45541         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
45542         default includes instead of AC_HEADER_CHECK.
45543         * sysdeps/i386/configure: Regenerated.
45544
45545         [BZ #10716]
45546         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
45547         * math/s_cacoshf.c (__cacoshf): Likewise.
45548         * math/s_cacoshl.c (__cacoshl): Likewise.
45549         * math/s_casinh.c (__casinh): Set signs of result from argument.
45550         * math/s_casinhf.c (__casinhf): Likewise.
45551         * math/s_casinhl.c (__casinhl): Likewise.
45552         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
45553         (casinh_test): Add more tests.
45554         * sysdeps/i386/fpu/libm-test-ulps: Update.
45555         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45556
45557 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
45558
45559         * po/zh_TW.po: Update from translation team.
45560
45561         * login/Makefile (distribute): Remove variable.
45562         * catgets/Makefile: Likewise.
45563         * mach/Makefile: Likewise.
45564         * malloc/Makefile: Likewise.
45565         * misc/Makefile: Likewise.
45566         * iconv/Makefile: Likewise.
45567         * nscd/Makefile: Likewise.
45568         * hurd/Makefile: Likewise.
45569         * manual/Makefile: Likewise.
45570         * locale/Makefile: Likewise.
45571         * intl/Makefile: Likewise.
45572         * conform/Makefile: Likewise.
45573         * nss/Makefile: Likewise.
45574         * time/Makefile: Likewise.
45575         * soft-fp/Makefile: Likewise.
45576         * dirent/Makefile: Likewise.
45577         * gmon/Makefile: Likewise.
45578         * po/Makefile: Likewise.
45579         * rt/Makefile: Likewise.
45580         * socket/Makefile: Likewise.
45581         * math/Makefile: Likewise.
45582         * signal/Makefile: Likewise.
45583         * debug/Makefile: Likewise.
45584         * elf/Makefile: Likewise.
45585         * timezone/Makefile: Likewise.
45586         * stdlib/Makefile: Likewise.
45587         * iconvdata/Makefile: Likewise.
45588         * sunrpc/Makefile: Likewise.
45589         * io/Makefile: Likewise.
45590         * argp/Makefile: Likewise.
45591         * inet/Makefile: Likewise.
45592         * hesiod/Makefile: Likewise.
45593         * grp/Makefile: Likewise.
45594         * csu/Makefile: Likewise.
45595         * wctype/Makefile: Likewise.
45596         * crypt/Makefile: Likewise.
45597         * libio/Makefile: Likewise.
45598         * string/Makefile: Likewise.
45599         * nis/Makefile: Likewise.
45600         * resolv/Makefile: Likewise.
45601         * stdio-common/Makefile: Likewise.
45602         * wcsmbs/Makefile: Likewise.
45603         * dlfcn/Makefile: Likewise.
45604         * posix/Makefile: Likewise.
45605
45606         [BZ #6959]
45607         * timezone/Makefile: Don't install timezone files, just the programs
45608         and scripts.
45609
45610 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
45611
45612         * nss/databases.def: Add missing gshadow entry.
45613
45614         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
45615
45616 2012-03-06  Marek Polacek  <polacek@redhat.com>
45617
45618         [BZ #13726]
45619         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
45620         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
45621         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
45622         * stdio-common/tst-long-dbl-fphex.c: New file.
45623
45624 2012-03-06  David S. Miller  <davem@davemloft.net>
45625
45626         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
45627         (set_obp_int): New function.
45628         (get_obp_int): New function.
45629         (__get_clockfreq_via_dev_openprom): Likewise.
45630         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
45631         Avoid unused variable warnings on 'val' and use builtin_expect.
45632         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
45633         __builtin_expect.
45634         (INLINE_CLONE_SYSCALL): Likewise.
45635
45636 2012-03-05  David S. Miller  <davem@davemloft.net>
45637
45638         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45639
45640 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
45641
45642         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45643
45644         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
45645         only for |x| >= 40.
45646         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
45647
45648 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
45649
45650         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
45651         Replace gettimeofday with __vdso_gettimeofday.
45652
45653         * sysdeps/unix/sysv/linux/x86_64/init-first.c
45654         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
45655         __vdso_clock_gettime and __vdso_getcpu.
45656
45657         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
45658         time with __vdso_time.
45659
45660 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
45661
45662         * manual/lang.texi (size_t): Note types to which size_t may be
45663         equivalent with the GNU C Library, but do not describe when
45664         differences between them are significant.
45665
45666 2012-03-05  Andreas Jaeger  <aj@suse.de>
45667
45668         * sysdeps/i386/fpu/libm-test-ulps: Update.
45669
45670 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
45671
45672         [BZ #3976]
45673         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
45674         (__ieee754_pow): Save and restore rounding mode and use
45675         round-to-nearest for main computations.
45676         * math/libm-test.inc (pow_test_tonearest): New function.
45677         (pow_test_towardzero): Likewise.
45678         (pow_test_downward): Likewise.
45679         (pow_test_upward): Likewise.
45680         (main): Call the new functions.
45681         * sysdeps/i386/fpu/libm-test-ulps: Update.
45682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45683
45684         [BZ #3976]
45685         * math/libm-test.inc (cosh_test_tonearest): New function.
45686         (cosh_test_towardzero): Likewise.
45687         (cosh_test_downward): Likewise.
45688         (cosh_test_upward): Likewise.
45689         (sinh_test_tonearest): Likewise.
45690         (sinh_test_towardzero): Likewise.
45691         (sinh_test_downward): Likewise.
45692         (sinh_test_upward): Likewise.
45693         (main): Call the new functions.
45694         * sysdeps/i386/fpu/libm-test-ulps: Update.
45695         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45696
45697 2012-03-05  Tom de Vries  <tom@codesourcery.com>
45698
45699         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
45700         default stack guard is set in last bytes.
45701         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
45702
45703 2012-03-05  Kees Cook  <keescook@chromium.org>
45704
45705         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
45706
45707         [BZ #13656]
45708         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
45709         possibly allocate from heap instead of stack.
45710         * stdio-common/bug-vfprintf-nargs.c: New file.
45711         * stdio-common/Makefile (tests): Add nargs overflow test.
45712
45713 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
45714
45715         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45716
45717 2012-03-03  Marek Polacek  <polacek@redhat.com>
45718
45719         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
45720         * math/math_private.h: Likewise.
45721         * stdlib/tst-strtod.c: Likewise.
45722         * sysdeps/i386/i486/bits/atomic.h: Likewise.
45723         * sysdeps/x86_64/bits/atomic.h: Likewise.
45724
45725 2012-03-02  David S. Miller  <davem@davemloft.net>
45726
45727         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
45728         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
45729         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
45730         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
45731         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
45732         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
45733         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
45734         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
45735
45736 2012-03-02  Roland McGrath  <roland@hack.frob.com>
45737
45738         [BZ #13792]
45739         * manual/examples/README: New file, says the example source files
45740         can be used under GPL>=2.
45741         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
45742         line containing just "*/".
45743         * manual/examples/add.c: Add copyright header (GPL>=2).
45744         * manual/examples/argp-ex1.c: Likewise.
45745         * manual/examples/argp-ex2.c: Likewise.
45746         * manual/examples/argp-ex3.c: Likewise.
45747         * manual/examples/argp-ex4.c: Likewise.
45748         * manual/examples/atexit.c: Likewise.
45749         * manual/examples/db.c: Likewise.
45750         * manual/examples/dir.c: Likewise.
45751         * manual/examples/dir2.c: Likewise.
45752         * manual/examples/execinfo.c: Likewise.
45753         * manual/examples/filecli.c: Likewise.
45754         * manual/examples/filesrv.c: Likewise.
45755         * manual/examples/fmtmsgexpl.c: Likewise.
45756         * manual/examples/genpass.c: Likewise.
45757         * manual/examples/inetcli.c: Likewise.
45758         * manual/examples/inetsrv.c: Likewise.
45759         * manual/examples/isockad.c: Likewise.
45760         * manual/examples/longopt.c: Likewise.
45761         * manual/examples/memopen.c: Likewise.
45762         * manual/examples/memstrm.c: Likewise.
45763         * manual/examples/mkfsock.c: Likewise.
45764         * manual/examples/mkisock.c: Likewise.
45765         * manual/examples/mygetpass.c: Likewise.
45766         * manual/examples/pipe.c: Likewise.
45767         * manual/examples/popen.c: Likewise.
45768         * manual/examples/rprintf.c: Likewise.
45769         * manual/examples/search.c: Likewise.
45770         * manual/examples/select.c: Likewise.
45771         * manual/examples/setjmp.c: Likewise.
45772         * manual/examples/sigh1.c: Likewise.
45773         * manual/examples/sigusr.c: Likewise.
45774         * manual/examples/stpcpy.c: Likewise.
45775         * manual/examples/strdupa.c: Likewise.
45776         * manual/examples/strftim.c: Likewise.
45777         * manual/examples/strncat.c: Likewise.
45778         * manual/examples/subopt.c: Likewise.
45779         * manual/examples/swapcontext.c: Likewise.
45780         * manual/examples/termios.c: Likewise.
45781         * manual/examples/testopt.c: Likewise.
45782         * manual/examples/testpass.c: Likewise.
45783         * manual/examples/timeval_subtract.c: Likewise.
45784
45785         [BZ #13792]
45786         * manual/time.texi (Elapsed Time): Move timeval_subtract example
45787         function to ...
45788         * manual/timeval_subtract.c.texi: ... here, new file.
45789
45790 2012-03-02  David S. Miller  <davem@davemloft.net>
45791
45792         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
45793
45794 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
45795
45796         [BZ #3976]
45797         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
45798         (__sin): Save and restore rounding mode and use round-to-nearest
45799         for all computations.
45800         (__cos): Save and restore rounding mode and use round-to-nearest
45801         for all computations.
45802         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
45803         <fenv.h>.
45804         (tan): Save and restore rounding mode and use round-to-nearest for
45805         all computations.
45806         * math/libm-test.inc (cos_test_tonearest): New function.
45807         (cos_test_towardzero): Likewise.
45808         (cos_test_downward): Likewise.
45809         (cos_test_upward): Likewise.
45810         (sin_test_tonearest): Likewise.
45811         (sin_test_towardzero): Likewise.
45812         (sin_test_downward): Likewise.
45813         (sin_test_upward): Likewise.
45814         (tan_test_tonearest): Likewise.
45815         (tan_test_towardzero): Likewise.
45816         (tan_test_downward): Likewise.
45817         (tan_test_upward): Likewise.
45818         (main): Call the new functions.
45819         * sysdeps/i386/fpu/libm-test-ulps: Update.
45820         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45821
45822         [BZ #10135]
45823         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
45824         small n, then large n, before computing and testing k+n.
45825         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
45826         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
45827         Likewise.
45828         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
45829         Likewise.
45830         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
45831         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
45832         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
45833         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
45834         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
45835         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
45836         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
45837         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
45838         * math/libm-test.inc (scalbn_test): Add more tests.
45839         (scalbln_test): Likewise.
45840
45841         * manual/filesys.texi (mode_t): Describe constraints on size and
45842         signedness, not exact equivalence to a particular type.
45843         (ino_t): Likewise.
45844         (ino64_t): Likewise.
45845         (dev_t): Likewise.
45846         (nlink_t): Likewise.
45847         (blkcnt_t): Likewise.
45848         (blkcnt64_t): Likewise.
45849         * manual/llio.texi (off_t): Likewise.
45850
45851         [BZ #3976]
45852         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
45853         (__ieee754_exp): Save and restore rounding mode and use
45854         round-to-nearest for all computations.
45855         * math/libm-test.inc (exp_test_tonearest): New function.
45856         (exp_test_towardzero): Likewise.
45857         (exp_test_downward): Likewise.
45858         (exp_test_upward): Likewise.
45859         (main): Call the new functions.
45860         * sysdeps/i386/fpu/libm-test-ulps: Update.
45861         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45862
45863 2012-03-01  Chris Demetriou  <cgd@google.com>
45864
45865         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
45866         have predictable order.
45867
45868 2012-03-01  David S. Miller  <davem@davemloft.net>
45869
45870         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
45871
45872         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
45873         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
45874         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
45875         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
45876
45877         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
45878         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
45879         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
45880         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
45881         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
45882         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
45883         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
45884         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
45885         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
45886
45887         * sysdeps/sparc/fpu/libm-test-ulps: Update.
45888
45889         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
45890         * sysdeps/sparc/fpu/libm-test-ulps: to here.
45891         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
45892
45893         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
45894         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45895         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
45896         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
45897         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
45898         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
45899         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
45900         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45901         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
45902         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
45903         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
45904         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
45905         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
45906         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
45907         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
45908         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
45909         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
45910         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
45911         * sysdeps/sparc/elf/configure: Regenerated.
45912
45913 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
45914
45915         * configure.in (AS, LD): Require binutils 2.20 or later.
45916         * configure: Regenerated.
45917         * manual/install.texi (Tools for Compilation): Give binutils 2.20
45918         as required minimum version.
45919         * INSTALL: Regenerated.
45920
45921         [BZ #2541]
45922         [BZ #4108]
45923         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
45924         before squaring exponent.
45925         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
45926         bottom long double and 27 bits of top long double before squaring
45927         exponent.
45928         * math/libm-test.inc (erfc_test): Add more tests.
45929         * sysdeps/i386/fpu/libm-test-ulps: Update.
45930         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45931         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45932
45933 2012-03-01  Kai Tietz  <ktietz@redhat.com>
45934
45935         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
45936         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
45937         containing bit-fields.
45938         * soft-fp/extended.h (_FP_UNION_E): Likewise.
45939         * soft-fp/single.h (_FP_UNION_S): Likewise.
45940         * soft-fp/double.h (_FP_UNION_D): Likewise.
45941
45942 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
45943
45944         [BZ #13786]
45945         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
45946         not include ../strcmp.S.
45947         [USE_AS_STRNCASECMP_L]: Likewise.
45948         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
45949         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
45950         * sysdeps/i386/i686/multiarch/strncase_l-c.c
45951         (__strncasecmp_l_ia32): Define as alias to
45952         __strncasecmp_l_nonascii.
45953
45954         [BZ #5794]
45955         * math/libm-test.inc (expm1_test): Add test for bug 5794.
45956         * sysdeps/i386/fpu/libm-test-ulps: Update.
45957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45958
45959         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
45960         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45961
45962 2012-02-29  Jeff Law  <law@redhat.com>
45963
45964         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
45965         out of bounds read.
45966
45967 2012-02-29  Marek Polacek  <polacek@redhat.com>
45968
45969         [BZ #13706]
45970         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
45971         * elf/Makefile: Add rules to run tst-unused-dep.out.
45972
45973 2012-02-28  David S. Miller  <davem@davemloft.net>
45974
45975         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
45976         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
45977         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
45978         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
45979         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
45980         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
45981
45982 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
45983
45984         * math/libm-test.inc (llround_test): Move one test from
45985         lround_test.  Use TEST_f_L in moved test.
45986         (lround_test): Move misplaced test to llround_test.  Add testcase
45987         from bug 2561.
45988
45989 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
45990
45991         * sysdeps/x86_64/fpu/e_expf.S: New file.
45992         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
45993
45994 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
45995
45996         [BZ #13637]
45997         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
45998         of remain_len that may cause incomplete multi-byte character and
45999         false match.
46000         * posix/bug-regex33.c: New file.
46001         * posix/Makefile (tests): Add bug-regex33.
46002
46003 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
46004
46005         * manual/macros.texi: New file.
46006         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
46007         * manual/libc.texinfo: Include macros.texi.
46008         * manual/creatute.texi: Likewise.
46009         * manual/install.texi: Likewise.
46010         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
46011         @glibcadj{} in references to the GNU C Library.
46012         * manual/charset.texi: Likewise.
46013         * manual/conf.texi: Likewise.
46014         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
46015         when not using those macros.
46016         * manual/creature.texi: Likewise.
46017         * manual/crypt.texi: Likewise.
46018         * manual/errno.texi: Likewise.
46019         * manual/filesys.texi: Likewise.
46020         * manual/header.texi: Likewise.
46021         * manual/install.texi: Likewise.
46022         * manual/intro.texi: Likewise.
46023         * manual/io.texi: Likewise.
46024         * manual/job.texi: Likewise.
46025         * manual/lang.texi: Likewise.
46026         * manual/libc.texiinfo: Likewise.
46027         * manual/llio.texi: Likewise.
46028         * manual/locale.texi: Likewise.
46029         * manual/maint.texi: Likewise.
46030         * manual/math.texi: Likewise.
46031         * manual/memory.texi: Likewise.
46032         * manual/message.texi: Likewise.
46033         * manual/nss.texi: Likewise.
46034         * manual/pattern.texi: Likewise.
46035         * manual/process.texi: Likewise.
46036         * manual/resource.texi: Likewise.
46037         * manual/search.texi: Likewise.
46038         * manual/setjmp.texi: Likewise.
46039         * manual/signal.texi: Likewise.
46040         * manual/socket.texi: Likewise.
46041         * manual/startup.texi: Likewise.
46042         * manual/stdio.texi: Likewise.
46043         * manual/string.texi: Likewise.
46044         * manual/sysinfo.texi: Likewise.
46045         * manual/syslog.texi: Likewise.
46046         * manual/terminal.texi: Likewise.
46047         * manual/time.texi: Likewise.
46048         * manual/users.texi: Likewise.
46049         * INSTALL: Regenerated.
46050         * NOTES: Regenerated.
46051         * sysdeps/gnu/errlist.c: Regenerated.
46052
46053 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
46054
46055         * include/dirent.h: Include <dirstream.h> before
46056         <dirent/dirent.h>.
46057
46058 2012-02-28  David S. Miller  <davem@davemloft.net>
46059
46060         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
46061         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
46062         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
46063         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
46064
46065 2012-02-27  David S. Miller  <davem@davemloft.net>
46066
46067         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
46068         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
46069         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
46070         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
46071
46072         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
46073         frame pointer instead of stack pointer relative arg slot.
46074         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46075         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46076         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46077
46078 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
46079
46080         [BZ #3992]
46081         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
46082
46083 2012-02-27  David S. Miller  <davem@davemloft.net>
46084
46085         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
46086         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
46087         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
46088         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
46089         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
46090         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
46091         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
46092         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
46093
46094 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
46095
46096         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
46097         later.  Allow versions 5-9.
46098         * configure: Regenerated.
46099         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
46100         required minimum version and 4.6 as recommended version.  Do not
46101         mention bugs in GCC 2.7 and 2.8.
46102         * INSTALL: Regenerated.
46103
46104 2012-02-27  David S. Miller  <davem@davemloft.net>
46105
46106         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
46107         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
46108         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
46109         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
46110         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
46111         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
46112         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
46113         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
46114
46115         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
46116         manipulate bits before adding and subtracting TWO112[sx].
46117         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
46118
46119 2012-02-27  Roland McGrath  <roland@hack.frob.com>
46120
46121         [BZ #13775]
46122         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
46123         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
46124         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
46125         being in POSIX, because they are in 1003.1-2008.
46126
46127         * rt/tst-aio.c: Include <fcntl.h>.
46128         * rt/tst-aio7.c: Likewise.
46129         * rt/tst-aio64.c: Likewise.
46130
46131         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
46132
46133 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
46134
46135         * manual/install.texi (--with-headers): Describe headers as
46136         interface headers, not private headers.
46137         (Specific advice for GNU/Linux systems): Describe use of headers
46138         from "make headers_install", not private headers from older
46139         kernels.
46140         * INSTALL: Regenerated.
46141         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
46142         Change to 2.6.19.
46143         * sysdeps/unix/sysv/linux/configure: Regenerated.
46144
46145         * manual/llio.texi (fclean): Remove documentation.
46146
46147         * manual/Makefile (libc-texi-generated): New variable.  Include
46148         version.texi.
46149         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
46150         $(libc-texi-generated), not duplicated list of files.
46151         (version.texi, stamp-version): New rules.
46152         (realclean): Remove $(libc-texi-generated), not individual files
46153         from that list.  Do not remove dir-add.texinfo.
46154         * manual/libc.texinfo: Comment out uses of edition numbers and
46155         references to printed manual.  Remove last-updated dates.
46156         (EDITION): Comment out.
46157         (ISBN): Likewise.
46158         (VERSION, UPDATED): Remove.
46159         (version.texi): Include.
46160
46161 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
46162
46163         * sysdeps/posix/spawni.c: Include <signal.h>.
46164         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
46165         * sysdeps/pthread/aio_fsync.c: Likewise.
46166
46167 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
46168
46169         * conform/Makefile (tests): Run only when not cross-compiling and
46170         when fast-check is not defined.
46171
46172         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
46173         * conform/data/limits.h-data: Fixes for POSIX2008.
46174         * conform/run-conformtest.sh: Run all tests.
46175         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
46176         headers.
46177         * include/bits/dlfcn.h: Likewise.
46178         * include/langinfo.h: Likewise.
46179         * include/monetary.h: Likewise.
46180         * include/sys/poll.h: Likewise.
46181
46182         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
46183         for __USE_GNU.
46184         * posix/spawn.h: Define __need_sigset_t.
46185         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
46186         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
46187         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
46188         to get sigevent_t only.
46189         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
46190         only for __USE_GNU.
46191         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
46192         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
46193         process_vm_writev only for __USE_GNU.
46194         * termios/termios.h: Declare tcgetsid also for POSIX2008.
46195
46196         * conform/Makefile: For now ignore errors from run-conformtest.
46197         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
46198         POSIX to avoid namespace pollution.  Don't prepend headers.
46199         * conform/data/aio.h-data: Fixes for POSIX testing.
46200         * conform/data/fcntl.h-data: Likewise.
46201         * conform/data/glob.h-data: Likewise.
46202         * conform/data/grp.h-data: Likewise.
46203         * conform/data/pthread.h-data: Likewise.
46204         * conform/data/pwd.h-data: Likewise.
46205         * conform/data/signal.h-data: Likewise.
46206         * conform/data/spawn.h-data: Likewise.
46207         * conform/data/stdio.h-data: Likewise.
46208         * conform/data/stdlib.h-data: Likewise.
46209         * conform/data/stropts.h-data: Likewise.
46210         * conform/data/sys/mman.h-data: Likewise.
46211         * conform/data/sys/stat.h-data: Likewise.
46212         * conform/data/sys/types.h-data: Likewise.
46213         * conform/data/sys/wait.h-data: Likewise.
46214         * conform/data/time.h-data: Likewise.
46215         * conform/data/unistd.h-data: Likewise.
46216         * conform/data/utime.h-data: Likewise.
46217
46218         * io/sys/stat.h: fchmod was always in POSIX.
46219         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
46220         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
46221         * rt/aio.h: Define __need_timespec before including <time.h>.
46222         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
46223         struct.  Add forward declaration of pthread_attr_t and use it in
46224         sigevent.
46225         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
46226         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
46227         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
46228         always remove CLK_TCK definition.
46229
46230 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
46231
46232         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
46233
46234 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
46235
46236         * conform/run-conformtest.sh: New file.
46237         * conform/Makefile: Run run-conformtest for tests.
46238         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
46239         support.
46240
46241         * conform/data/uchar.h-data: New file.
46242         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
46243         * conform/data/arpa/inet.h-data: Likewise.
46244         * conform/data/assert.h-data: Likewise.
46245         * conform/data/complex.h-data: Likewise.
46246         * conform/data/cpio.h-data: Likewise.
46247         * conform/data/ctype.h-data: Likewise.
46248         * conform/data/dirent.h-data: Likewise.
46249         * conform/data/dlfcn.h-data: Likewise.
46250         * conform/data/errno.h-data: Likewise.
46251         * conform/data/fcntl.h-data: Likewise.
46252         * conform/data/float.h-data: Likewise.
46253         * conform/data/fmtmsg.h-data: Likewise.
46254         * conform/data/fnmatch.h-data: Likewise.
46255         * conform/data/ftw.h-data: Likewise.
46256         * conform/data/glob.h-data: Likewise.
46257         * conform/data/grp.h-data: Likewise.
46258         * conform/data/iconv.h-data: Likewise.
46259         * conform/data/inttypes.h-data: Likewise.
46260         * conform/data/langinfo.h-data: Likewise.
46261         * conform/data/libgen.h-data: Likewise.
46262         * conform/data/limits.h-data: Likewise.
46263         * conform/data/locale.h-data: Likewise.
46264         * conform/data/math.h-data: Likewise.
46265         * conform/data/monetary.h-data: Likewise.
46266         * conform/data/mqueue.h-data: Likewise.
46267         * conform/data/ndbm.h-data: Likewise.
46268         * conform/data/net/if.h-data: Likewise.
46269         * conform/data/netdb.h-data: Likewise.
46270         * conform/data/netinet/in.h-data: Likewise.
46271         * conform/data/nl_types.h-data: Likewise.
46272         * conform/data/poll.h-data: Likewise.
46273         * conform/data/pthread.h-data: Likewise.
46274         * conform/data/pwd.h-data: Likewise.
46275         * conform/data/regex.h-data: Likewise.
46276         * conform/data/sched.h-data: Likewise.
46277         * conform/data/search.h-data: Likewise.
46278         * conform/data/semaphore.h-data: Likewise.
46279         * conform/data/setjmp.h-data: Likewise.
46280         * conform/data/signal.h-data: Likewise.
46281         * conform/data/spawn.h-data: Likewise.
46282         * conform/data/stdarg.h-data: Likewise.
46283         * conform/data/stdio.h-data: Likewise.
46284         * conform/data/stdlib.h-data: Likewise.
46285         * conform/data/string.h-data: Likewise.
46286         * conform/data/strings.h-data: Likewise.
46287         * conform/data/stropts.h-data: Likewise.
46288         * conform/data/sys/ipc.h-data: Likewise.
46289         * conform/data/sys/mman.h-data: Likewise.
46290         * conform/data/sys/msg.h-data: Likewise.
46291         * conform/data/sys/resource.h-data: Likewise.
46292         * conform/data/sys/select.h-data: Likewise.
46293         * conform/data/sys/sem.h-data: Likewise.
46294         * conform/data/sys/shm.h-data: Likewise.
46295         * conform/data/sys/socket.h-data: Likewise.
46296         * conform/data/sys/stat.h-data: Likewise.
46297         * conform/data/sys/statvfs.h-data: Likewise.
46298         * conform/data/sys/time.h-data: Likewise.
46299         * conform/data/sys/timeb.h-data: Likewise.
46300         * conform/data/sys/times.h-data: Likewise.
46301         * conform/data/sys/types.h-data: Likewise.
46302         * conform/data/sys/uio.h-data: Likewise.
46303         * conform/data/sys/un.h-data: Likewise.
46304         * conform/data/sys/utsname.h-data: Likewise.
46305         * conform/data/sys/wait.h-data: Likewise.
46306         * conform/data/syslog.h-data: Likewise.
46307         * conform/data/tar.h-data: Likewise.
46308         * conform/data/termios.h-data: Likewise.
46309         * conform/data/utime.h-data: Likewise.
46310         * conform/data/utmpx.h-data: Likewise.
46311         * conform/data/varargs.h-data: Likewise.
46312         * conform/data/wchar.h-data: Likewise.
46313         * conform/data/wctype.h-data: Likewise.
46314         * conform/data/wordexp.h-data: Likewise.
46315
46316         * include/stropts.h: New file.
46317         * include/uchar.h: New file.
46318         * include/aio.h: Changes to allow conformtest.pl to use the headers.
46319         * include/assert.h: Likewise.
46320         * include/ctype.h: Likewise.
46321         * include/dirent.h: Likewise.
46322         * include/dlfcn.h: Likewise.
46323         * include/fcntl.h: Likewise.
46324         * include/fnmatch.h: Likewise.
46325         * include/glob.h: Likewise.
46326         * include/grp.h: Likewise.
46327         * include/libio.h: Likewise.
46328         * include/locale.h: Likewise.
46329         * include/math.h: Likewise.
46330         * include/net/if.h: Likewise.
46331         * include/netdb.h: Likewise.
46332         * include/netinet/in.h: Likewise.
46333         * include/pthread.h: Likewise.
46334         * include/pwd.h: Likewise.
46335         * include/regex.h: Likewise.
46336         * include/sched.h: Likewise.
46337         * include/search.h: Likewise.
46338         * include/setjmp.h: Likewise.
46339         * include/signal.h: Likewise.
46340         * include/stdio.h: Likewise.
46341         * include/stdlib.h: Likewise.
46342         * include/string.h: Likewise.
46343         * include/sys/cdefs.h: Likewise.
46344         * include/sys/mman.h: Likewise.
46345         * include/sys/msg.h: Likewise.
46346         * include/sys/resource.h: Likewise.
46347         * include/sys/select.h: Likewise.
46348         * include/sys/socket.h: Likewise.
46349         * include/sys/stat.h: Likewise.
46350         * include/sys/statvfs.h: Likewise.
46351         * include/sys/time.h: Likewise.
46352         * include/sys/times.h: Likewise.
46353         * include/sys/uio.h: Likewise.
46354         * include/sys/utsname.h: Likewise.
46355         * include/sys/wait.h: Likewise.
46356         * include/termios.h: Likewise.
46357         * include/time.h: Likewise.
46358         * include/ulimit.h: Likewise.
46359         * include/unistd.h: Likewise.
46360         * include/utime.h: Likewise.
46361         * include/wchar.h: Likewise.
46362         * include/wctype.h: Likewise.
46363         * include/wordexp.h: Likewise.
46364
46365         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
46366
46367         * time/time.h: TIME_UTC must be a macro.
46368         Make timespec_get available for ISO C11 only as well.
46369
46370 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
46371
46372         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
46373         Reported by Peng Haitao <penght@cn.fujitsu.com>.
46374
46375 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46376
46377         * configure.in: Use -o not -a in test for unsupported multi-arch.
46378
46379 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46380
46381         * manual/texinfo.tex: Update to version 2012-01-19.16.
46382
46383 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
46384
46385         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
46386
46387 2012-02-24  Roland McGrath  <roland@hack.frob.com>
46388
46389         [BZ #13738]
46390         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
46391         * manual/fdl-1.3.texi: New file.
46392         * manual/fdl-1.1.texi: File removed.
46393
46394         [BZ #13738]
46395         * manual/libc.texinfo (FDL_VERSION): New @set.
46396         Use it for mention of FDL in cover text.
46397         (Documentation License): Use it in @include file name.
46398
46399 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46400             Roland McGrath  <roland@hack.frob.com>
46401
46402         [BZ #5461]
46403         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
46404         (not LONG_LONG_MAX and LONG_LONG_MIN.
46405         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
46406         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
46407         name.
46408         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
46409
46410 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46411
46412         [BZ #2547]
46413         [BZ #11365]
46414         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
46415         manipulate bits before adding and subtracting TWO23[sx].
46416         * math/libm-test.inc (nearbyint_test): Add more tests.
46417
46418 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46419
46420         [BZ #2548]
46421         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
46422         bits before adding and subtracting TWO23[sx].
46423         * math/libm-test.inc (rint_test): Add more tests.
46424         (rint_test_tonearest): Likewise.
46425         (rint_test_towardzero): Likewise.
46426         (rint_test_downward): Likewise.
46427         (rint_test_upward: Likewise.
46428
46429 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46430
46431         [BZ #10110]
46432         * include/stdc-predef.h: New file.  Extracted from features.h.
46433         * include/features.h: Include stdc-predef.h.
46434         * Makefile (headers): Add stdc-predef.h.
46435         * CONFORMANCE (Compiler limitations): Update.
46436
46437 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
46438
46439         * manual/libc.texinfo (VERSION, UPDATED): Revert.
46440
46441 2012-02-21  David S. Miller  <davem@davemloft.net>
46442
46443         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
46444         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46445
46446 2012-02-20  David S. Miller  <davem@davemloft.net>
46447
46448         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
46449         using a normal save/restore sequence, rather than allocating a
46450         dummy stack frame just to store a frame pointer and restore.
46451         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46452
46453 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46454
46455         * manual/install.texi: Fix stray word in line-wrapped comment.
46456
46457 2012-02-20  David S. Miller  <davem@davemloft.net>
46458
46459         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
46460         both binutils and gcc support GOTDATA.
46461
46462         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
46463         "rd %pc" in the PIC register setup sequences.
46464
46465         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
46466         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
46467         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
46468         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
46469         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
46470         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
46471         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
46472         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
46473         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
46474         (SYSCALL_ERROR_HANDLER): Likewise.
46475         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
46476         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
46477         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
46478         (SYSCALL_ERROR_HANDLER): Likewise.
46479
46480         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
46481         (HAVE_GCC_GOTDATA): New.
46482         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
46483         relocation support in both binutils and gcc.
46484         * sysdeps/sparc/elf/configure: Regenerate.
46485
46486         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
46487         * sysdeps/sparc/sparc32/elf/configure: Delete.
46488         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
46489         * sysdeps/sparc/sparc64/elf/configure: Delete.
46490         * sysdeps/sparc/elf/configure.in: New file.
46491         * sysdeps/sparc/elf/configure: Generate.
46492
46493         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
46494         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
46495         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
46496         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
46497         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
46498
46499 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46500
46501         * manual/install.texi: Do not mention specific glibc version
46502         numbers.
46503         * manual/libc.texinfo (VERSION, UPDATED): Update.
46504         (@copying): Use @copyright{} and range of years.
46505
46506 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
46507
46508         [BZ #13695]
46509         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
46510         [crti.S not in sysdirs] (generated): Do not append.
46511         [crti.S not in sysdirs] (omit-deps): Likewise.
46512         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
46513         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
46514         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
46515         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
46516         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
46517         Likewise.
46518         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
46519         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
46520         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
46521         * csu/defs.awk: Remove file.
46522         * sysdeps/generic/initfini.c: Likewise.
46523         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
46524         variable.
46525         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
46526         Likewise.
46527
46528 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46529
46530         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
46531         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
46532         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
46533         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
46534         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
46535         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
46536         <bits/epoll.h>.
46537         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
46538         (__EPOLL_PACKED): Define to empty if not defined by
46539         <bits/epoll.h>.
46540         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
46541         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46542         bits/epoll.h.
46543
46544 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46545
46546         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
46547         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
46548         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
46549         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
46550         <bits/timerfd.h>.
46551         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
46552         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46553         bits/timerfd.h.
46554
46555 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
46556
46557         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
46558         in C locale.
46559         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
46560         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
46561         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
46562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46563
46564 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
46565
46566         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46567         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
46568
46569 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
46570
46571         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
46572         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
46573         defined.
46574         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
46575         Likewise.
46576         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
46577         entry for 2.16.
46578
46579 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
46580
46581         * math/w_acos.c: Use non-signaling floating-point comparisons.
46582         * math/w_acosf.c: Likewise.
46583         * math/w_acosh.c: Likewise.
46584         * math/w_acoshf.c: Likewise.
46585         * math/w_acoshl.c: Likewise.
46586         * math/w_acosl.c: Likewise.
46587         * math/w_asin.c: Likewise.
46588         * math/w_asinf.c: Likewise.
46589         * math/w_asinl.c: Likewise.
46590         * math/w_atanh.c: Likewise.
46591         * math/w_atanhf.c: Likewise.
46592         * math/w_atanhl.c: Likewise.
46593         * math/w_exp2.c: Likewise.
46594         * math/w_exp2f.c: Likewise.
46595         * math/w_exp2l.c: Likewise.
46596         * math/w_j0.c: Likewise.
46597         * math/w_j0f.c: Likewise.
46598         * math/w_j0l.c: Likewise.
46599         * math/w_j1.c: Likewise.
46600         * math/w_j1f.c: Likewise.
46601         * math/w_j1l.c: Likewise.
46602         * math/w_jn.c: Likewise.
46603         * math/w_jnf.c: Likewise.
46604         * math/w_log.c: Likewise.
46605         * math/w_log10.c: Likewise.
46606         * math/w_log10f.c: Likewise.
46607         * math/w_log10l.c: Likewise.
46608         * math/w_log2.c: Likewise.
46609         * math/w_log2f.c: Likewise.
46610         * math/w_log2l.c: Likewise.
46611         * math/w_logf.c: Likewise.
46612         * math/w_logl.c: Likewise.
46613         * math/w_sqrt.c: Likewise.
46614         * math/w_sqrtf.c: Likewise.
46615         * math/w_sqrtl.c: Likewise.
46616         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
46617         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
46618         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
46619         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
46620         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
46621
46622 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46623
46624         [BZ #9739]
46625         * manual/string.texi (strnlen): Use correct parameter name in
46626         equivalent expression.
46627
46628 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46629
46630         [BZ #11174]
46631         * manual/users.texi (seteuid): Consistently use neweuid for
46632         argument name.
46633
46634 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
46635
46636         [BZ #13704]
46637         * manual/nss.texi (Services in the NSS configuration): Correct
46638         list of services in example configuration file.
46639
46640 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
46641
46642         [BZ #11322]
46643         * manual/arith.texi: Remove statements about negative zero
46644         behaving identically to zero.
46645
46646 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
46647
46648         [BZ #5993]
46649         * manual/install.texi: Do not document upgrading from libc5.
46650
46651 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
46652
46653         [BZ #4596]
46654         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
46655
46656 2012-02-18  David S. Miller  <davem@davemloft.net>
46657
46658         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
46659         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
46660         %o7 across the call.
46661         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
46662         instead.
46663         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
46664         SETUP_PIC_REG_LEAF.
46665         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
46666         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
46667         * sysdeps/sparc/crtn.S: Likewise.
46668
46669 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
46670
46671         * aout/Makefile: Remove.
46672
46673 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
46674
46675         [BZ #13058]
46676         * manual/examples/argp-ex1.c (main): Format definition in GNU
46677         style.
46678         * manual/examples/argp-ex2.c (main): Likewise.
46679         * manual/examples/argp-ex3.c (main): Likewise.
46680         * manual/examples/argp-ex4.c (main): Likewise.
46681         * manual/examples/longopt.c (main): Use new-style prototype
46682         definition.
46683         * manual/examples/strncat.c (main): Specify return type and use
46684         (void) for arguments.
46685         * manual/examples/subopt.c (main): Use char **argv argument.
46686
46687 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46688
46689         [BZ #5077]
46690         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
46691         rounding modes.
46692
46693 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
46694
46695         [BZ #6907]
46696         * manual/string.texi (strchr): Change when strchrnul is
46697         recommended.
46698
46699 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
46700
46701         [BZ #174]
46702         * manual/locale.texi (setlocale): Document LOCPATH.
46703
46704 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46705
46706         [BZ #10210]
46707         * manual/process.texi (execle): Move @dots{} before last argument.
46708
46709 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
46710
46711         [BZ #12047]
46712         * manual/charset.texi (Generic Charset Conversion): Fix typo
46713         (LC_TYPE -> LC_CTYPE).
46714
46715 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
46716
46717         [BZ #5805]
46718         * manual/arith.texi (scalbn): Use @var{} on parameter names.
46719         (scalbnf): Likewise.
46720         (scalbnl): Likewise.
46721         (scalbln): Likewise.
46722         (scalblnf): Likewise.
46723         (scalblnl): Likewise.
46724         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
46725         (vwarnx): Likewise.
46726         (verr): Likewise.
46727         (verrx): Likewise.
46728         * manual/filesys.texi (telldir): Use braces around return type.
46729         * manual/llio.texi (mmap): Add space after comma.
46730         (mmap64): Likewise.
46731         * manual/math.texi (jn): Use @var{} on parameter names.
46732         (jnf): Likewise.
46733         (jnl): Likewise.
46734         (yn): Likewise.
46735         (ynf): Likewise.
46736         (ynl): Likewise.
46737         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
46738         line.
46739         * manual/resource.texi (ulimit): Use @dots{} instead of literal
46740         "...".
46741         (sched_get_priority_min): Remove semicolon on @deftypefun line.
46742         (sched_get_priority_max): Likewise.
46743         * manual/signal.texi (sigvec): Add space after comma.
46744         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
46745         names.
46746         (if_indextoname): Likewise.
46747         (if_freenameindex): Likewise.
46748         (sendto): Use ',' instead of '.' in prototype.
46749         * manual/startup.texi (syscall): Use @dots{} instead of literal
46750         "...".
46751         * manual/stdio.texi (__fpending): Separate initial words of
46752         paragraph from @deftypefun line.
46753         * manual/syslog.texi (syslog): Use @dots{} instead of literal
46754         "...".
46755         (vsyslog): Use @var{} on parameter names.
46756         * manual/terminal.texi (stty): Use @var{} on parameter names.
46757         * manual/users.texi (getutmp): Use @var{} on parameter names.
46758         (getutmpx): Likewise.
46759
46760 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46761
46762         [BZ #6884]
46763         * manual/stdio.texi (fopen): Fix typos in description of
46764         ",ccs=STRING".
46765
46766 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
46767
46768         [BZ #4026]
46769         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
46770         get clock_id definition.
46771
46772 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
46773
46774         [BZ #4822]
46775         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
46776         (madvise): Cast every argument to void on its own.
46777
46778 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46779
46780         [BZ #9902]
46781         * manual/startup.texi (Exit Status): Fix typo.
46782
46783 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
46784
46785         [BZ #10140]
46786         * manual/examples/argp-ex1.c: Include <stdlib.h>.
46787         * manual/examples/argp-ex2.c: Likewise.
46788         * manual/examples/argp-ex3.c: Likewise.
46789
46790 2012-02-16  Richard Henderson  <rth@redhat.com>
46791
46792         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
46793         * sysdeps/s390/s390-32/initfini.c: Remove.
46794         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
46795         * sysdeps/s390/s390-64/initfini.c: Remove.
46796
46797 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
46798
46799         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
46800         compiler output for sysdeps/generic/initfini.c.
46801         * sysdeps/sh/elf/initfini.c: Remove file.
46802
46803 2012-02-16  David S. Miller  <davem@davemloft.net>
46804
46805         [BZ #11494]
46806         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
46807
46808         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
46809         * sysdeps/sparc/crti.S: New file.
46810         * sysdeps/sparc/crtn.S: New file.
46811         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
46812         * sysdeps/sparc/sparc64/Makefile: Likewise.
46813
46814 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
46815
46816         [BZ #3335]
46817         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
46818
46819 2012-02-15  Roland McGrath  <roland@hack.frob.com>
46820
46821         [BZ #4822]
46822         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
46823
46824         * mach/devstream.c (cookie_io_functions_t): Macro removed.
46825         (write, read, close): Likewise.
46826         Patch by Aurelien Jarno <aurelien@aurel32.net>.
46827
46828 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
46829
46830         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
46831         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
46832         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
46833         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
46834         <bits/signalfd.h>.
46835         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
46836         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46837         bits/signalfd.h.
46838
46839 2012-02-14  Marek Polacek  <polacek@redhat.com>
46840
46841         * sysdeps/x86_64/crti.S: New file.
46842         * sysdeps/x86_64/crtn.S: New file.
46843         * sysdeps/x86_64/elf/initfini.c: Remove file.
46844
46845 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
46846
46847         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
46848         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
46849         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
46850         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
46851         <bits/inotify.h>.
46852         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
46853         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46854         bits/inotify.h.
46855
46856 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
46857
46858         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
46859         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
46860         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
46861         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
46862         <bits/eventfd.h>.
46863         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
46864         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
46865         bits/eventfd.h.
46866
46867 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
46868
46869         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
46870         __feraiseexcept instead of feraiseexcept.
46871
46872         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
46873         nanosleep invocations.
46874         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
46875         strings, and add error checking for a nanosleep invocations.
46876
46877 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
46878
46879         Replace FSF snail mail address with URLs, as per GNU coding standards.
46880         Most of the snail mail addresses were wrong anyway, and omitting
46881         them makes the source code easier to maintain.  Almost all of the
46882         changes are to license notices and to locale LC_IDENTIFICATION
46883         addresses, except for this one:
46884         * manual/libc.texinfo: In "Published by", give the FSF's URL,
46885         not its snail mail address.
46886
46887 2012-02-09  Richard Henderson  <rth@twiddle.net>
46888
46889         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
46890         of kernel-features.h.
46891
46892         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
46893
46894 2012-02-08  Marek Polacek  <polacek@redhat.com>
46895
46896         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
46897         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
46898         * sysdeps/gnu/_G_config.h: Likewise.
46899         * sysdeps/generic/_G_config.h: Likewise.
46900
46901 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
46902
46903         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
46904         tests.
46905         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46906
46907         * sysdeps/powerpc/powerpc32/crti.S: New file.
46908         * sysdeps/powerpc/powerpc32/crtn.S: New file.
46909         * sysdeps/powerpc/powerpc64/crti.S: New file.
46910         * sysdeps/powerpc/powerpc64/crtn.S: New file.
46911
46912         * Makeconfig (have-initfini): Don't set.
46913         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
46914         * configure.in (nopic_initfini): Don't substitute.
46915         * config.h.in (HAVE_INITFINI): Don't #undef.
46916         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
46917         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
46918
46919 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
46920
46921         Support crti.S and crtn.S provided directly by architectures.
46922         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
46923         [crti.S in sysdirs] (omit-deps): Likewise.
46924         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
46925         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
46926         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
46927         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
46928         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
46929         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
46930         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
46931         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
46932         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
46933         compiler output for sysdeps/generic/initfini.c.
46934         * sysdeps/i386/elf/Makefile: Remove file.
46935         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
46936
46937 2012-02-07  Marek Polacek  <polacek@redhat.com>
46938
46939         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
46940         * sysdeps/gnu/_G_config.h: Likewise.
46941         * sysdeps/mach/hurd/_G_config.h: Likewise.
46942
46943 2012-02-07  Marek Polacek  <polacek@redhat.com>
46944
46945         * math/Makefile (tests): Add tst-CMPLX2.
46946         * math/tst-CMPLX2.c: New file.
46947
46948 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
46949
46950         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
46951
46952         * math/libm-test.inc (jn_test): Add missing L suffix.
46953
46954 2012-02-06  Marek Polacek  <polacek@redhat.com>
46955
46956         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
46957         * sysdeps/i386/fpu/e_powf.S: Likewise.
46958         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
46959         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
46960         * sysdeps/i386/fpu/e_acosh.S: Likewise.
46961         * sysdeps/i386/fpu/e_pow.S: Likewise.
46962         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
46963         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
46964         * sysdeps/i386/fpu/s_expm1.S: Likewise.
46965         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
46966         * sysdeps/i386/fpu/e_log2.S: Likewise.
46967         * sysdeps/i386/fpu/e_log2l.S: Likewise.
46968         * sysdeps/i386/fpu/e_scalb.S: Likewise.
46969         * sysdeps/i386/fpu/e_powl.S: Likewise.
46970         * sysdeps/i386/fpu/s_log1p.S: Likewise.
46971         * sysdeps/i386/fpu/e_log10f.S: Likewise.
46972         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
46973         * sysdeps/i386/fpu/e_logl.S: Likewise.
46974         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
46975         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
46976         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
46977         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
46978         * sysdeps/i386/fpu/e_log2f.S: Likewise.
46979         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
46980         * sysdeps/i386/fpu/e_log.S: Likewise.
46981         * sysdeps/i386/fpu/s_cexp.S: Likewise.
46982         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
46983         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
46984         * sysdeps/i386/fpu/e_logf.S: Likewise.
46985         * sysdeps/i386/fpu/e_log10l.S: Likewise.
46986         * sysdeps/i386/fpu/e_atanh.S: Likewise.
46987         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
46988         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
46989         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
46990         * sysdeps/i386/fpu/e_log10.S: Likewise.
46991         * sysdeps/i386/fpu/s_frexp.S: Likewise.
46992         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
46993         * sysdeps/i386/fpu/s_asinh.S: Likewise.
46994         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
46995         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
46996         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
46997         * sysdeps/i386/asm-syntax.h: Likewise.
46998         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
46999         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
47000         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
47001         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
47002         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
47003         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
47004         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
47005         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
47006         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
47007         * sysdeps/powerpc/sysdep.h: Likewise.
47008         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
47009         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
47010
47011 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
47012
47013         [BZ #411]
47014         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
47015
47016 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
47017
47018         * sysdeps/i386/sysdep.h: Include <features.h>.
47019         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
47020         version.
47021
47022 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
47023
47024         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
47025         Define.
47026         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
47027         LOAD_PIC_REG_STR.
47028
47029 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
47030
47031         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
47032         (SETUP_PIC_REG): Use GET_PC_THUNK.
47033         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
47034         macro.
47035
47036 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
47037
47038         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
47039         for non-PIC compilation.
47040         (SETUP_PIC_REG): Add .p2align directive.
47041         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
47042         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
47043         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
47044         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
47045         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
47046         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
47047         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
47048         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
47049         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
47050         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
47051         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
47052         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
47053         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
47054         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
47055         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
47056         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
47057         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
47058         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
47059         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
47060         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
47061         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
47062         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
47063         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
47064         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
47065         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
47066         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
47067         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
47068         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
47069         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
47070         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
47071         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
47072         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
47073         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
47074         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
47075         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
47076         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
47077         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
47078         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
47079         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
47080         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
47081         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
47082
47083 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
47084
47085         * math/tst-CMPLX.c: Include <stdio.h>.
47086
47087 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
47088
47089         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
47090         float.
47091         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47092         * sysdeps/sparc/bits/mathdef.h: Likewise.
47093
47094 2012-01-31  Marek Polacek  <polacek@redhat.com>
47095
47096         * libio/libio.h: Don't define _PARAMS.
47097         * locale/programs/config.h: Don't define PARAMS.
47098         * stdlib/strtol_l.c: Likewise.
47099         (__strtol_l): Remove PARAMS from the prototype.
47100
47101 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
47102
47103         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
47104         names.  Just use the correct names.  Remove unnecessary wrapper
47105         functions.
47106         * malloc/arena.c: Likewise.
47107         * malloc/hooks.c: Likewise.
47108
47109         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
47110         ARENA_TEST says not to.  Simplify test for creation of a new arena.
47111         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
47112
47113 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
47114
47115         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
47116         into tail calls.
47117         (update_get_addr): New function.
47118         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
47119         GET_ADDR_MODULE parameter.
47120
47121 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
47122
47123         * crypt/cert.c: Remove __STDC__ conditionals.
47124         * crypt/crypt-entry.c: Likewise.
47125         * crypt/crypt_util.c: Likewise.
47126         * libio/filedoalloc.c: Likewise.
47127         * libio/fileops.c: Likewise.
47128         * libio/genops.c: Likewise.
47129         * libio/iofclose.c: Likewise.
47130         * libio/iofdopen.c: Likewise.
47131         * libio/iofopen.c: Likewise.
47132         * libio/iofopen64.c: Likewise.
47133         * libio/iogetdelim.c: Likewise.
47134         * libio/iopopen.c: Likewise.
47135         * libio/obprintf.c: Likewise.
47136         * libio/oldfileops.c: Likewise.
47137         * libio/oldiofclose.c: Likewise.
47138         * libio/oldiofdopen.c: Likewise.
47139         * libio/oldiofopen.c: Likewise.
47140         * libio/oldiopopen.c: Likewise.
47141         * libio/wfiledoalloc.c: Likewise.
47142         * libio/wgenops.c: Likewise.
47143         * locale/programs/xmalloc.c: Likewise.
47144         * misc/syslog.c: Likewise.
47145         * stdio-common/xbug.c: Likewise.
47146         * string/memchr.c: Likewise.
47147         * string/memcmp.c: Likewise.
47148         * string/memrchr.c: Likewise.
47149         * string/rawmemchr.c: Likewise.
47150         * sysdeps/posix/getcwd.c: Likewise.
47151         * time/strftime_l.c: Likewise.
47152
47153 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
47154
47155         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
47156         * config.make.in (config-cflags-sse2avx): Define.
47157         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
47158         Fix typo.
47159
47160 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
47161
47162         * scripts/config.guess: Update from upstream config git repository.
47163         * scripts/config.sub: Likewise.
47164
47165 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
47166
47167         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
47168         (EM_NUM): Update.
47169         (R_TILEPRO_*, R_TILEGX_*): New macros.
47170
47171         * scripts/firstversions.awk: Fix bug in version range handling.
47172
47173         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
47174
47175         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
47176
47177         * include/sys/epoll.h: New file.
47178         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
47179         libc_hidden_def.
47180
47181 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
47182
47183         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
47184         Avoid unnecessary __WORDSIZE == 64 test.
47185         (fmaxf): Use VEX format if possible.
47186         (fmax): Likewise.
47187         (fminf): Likewise.
47188         (fmin): Likewise.
47189
47190         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
47191         * math/math_private.h: Remove libc_fegetround* and
47192         libc_fesetround*.
47193         * sysdeps/i386/configure.in: Check for -msse2avx.
47194         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
47195         also if SSE2AVX is defined.
47196         Remove libc_fegetround* and libc_fesetround*.
47197         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
47198         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
47199         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
47200         of HAS_YMM_USABLE.
47201         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47202         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47203         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47204         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47205         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47206
47207         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
47208
47209 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47210
47211         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
47212         size is not set.
47213         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
47214
47215 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
47216
47217         [BZ #13618]
47218         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
47219         relocation.
47220         * Makeconfig (libm): Define.
47221         * elf/Makefile: Add rules to build and run tst-relsort1.
47222         * elf/tst-relsort1.c: New file.
47223         * elf/tst-relsort1mod1.c: New file.
47224         * elf/tst-relsort1mod2.c: New file.
47225
47226 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
47227
47228         * math/s_ldexp.c: Remove __STDC__ conditionals.
47229         * math/s_ldexpf.c: Likewise.
47230         * math/s_ldexpl.c: Likewise.
47231         * math/s_nextafter.c: Likewise.
47232         * math/s_nexttowardf.c: Likewise.
47233         * math/s_significand.c: Likewise.
47234         * math/s_significandf.c: Likewise.
47235         * math/s_significandl.c: Likewise.
47236         * math/w_jnl.c: Likewise.
47237         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
47238         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
47239         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
47240         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
47241         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
47242         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
47243         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
47244         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
47245         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
47246         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
47247         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
47248         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
47249         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
47250         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
47251         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
47252         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
47253         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
47254         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
47255         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
47256         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
47257         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
47258         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
47259         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
47260         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
47261         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
47262         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
47263         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
47264         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
47265         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
47266         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
47267         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
47268         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
47269         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
47270         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
47271         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
47272         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
47273         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
47274         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
47275         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
47276         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
47277         * sysdeps/ieee754/k_standard.c: Likewise.
47278         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
47279         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
47280         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
47281         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
47282         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
47283         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
47284         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
47285         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
47286         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
47287         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
47288         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
47289         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
47290         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
47291         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
47292         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
47293         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
47294         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
47295         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
47296         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
47297         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
47298         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47299         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
47300         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
47301         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
47302         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
47303         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
47304         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
47305         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
47306         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
47307         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
47308         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
47309         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
47310         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
47311         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
47312         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
47313         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
47314         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
47315         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
47316         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
47317         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
47318         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
47319         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
47320         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
47321         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
47322         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
47323         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
47324         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
47325         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
47326         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
47327         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
47328         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
47329         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
47330         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
47331         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
47332         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
47333         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
47334         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
47335         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
47336         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
47337         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
47338         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
47339         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
47340         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
47341         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
47342         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
47343         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
47344         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
47345         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
47346         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
47347         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
47348         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
47349         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
47350         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
47351         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
47352         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
47353         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
47354         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
47355         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
47356         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
47357         * sysdeps/ieee754/s_matherr.c: Likewise.
47358         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
47359         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
47360         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
47361         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
47362
47363 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
47364
47365         * crypt/md5.h: Remove __STDC__ conditionals.
47366         * libio/libioP.h: Likewise.
47367         * locale/programs/config.h: Likewise.
47368         * sysdeps/generic/sysdep.h: Likewise.
47369         * sysdeps/i386/asm-syntax.h: Likewise.
47370         * sysdeps/s390/asm-syntax.h: Likewise.
47371         * sysdeps/unix/sysdep.h: Likewise.
47372         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
47373         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
47374
47375 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
47376
47377         * libio/libio.h: Remove __STDC__ conditionals.
47378         * malloc/obstack.h: Likewise.
47379         * math/complex.h: Likewise.
47380         * math/math.h: Likewise.
47381         * sysdeps/generic/_G_config.h: Likewise.
47382         * sysdeps/gnu/_G_config.h: Likewise.
47383         * sysdeps/mach/hurd/_G_config.h: Likewise.
47384         * sysdeps/powerpc/bits/mathdef.h: Likewise.
47385         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
47386         * sysdeps/sparc/bits/mathdef.h: Likewise.
47387
47388 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
47389
47390         [BZ #13583]
47391         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
47392         Clean up HAS_* macros.
47393         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
47394         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
47395         possible.
47396         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
47397         HAS_AVX.
47398         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
47399         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
47400         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
47401         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
47402         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
47403
47404 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
47405
47406         * elf/tst-unique3.cc (gets): Remove declaration.
47407         * elf/tst-unique3lib.cc (gets): Likewise.
47408         * elf/tst-unique3lib2.cc (gets): Likewise.
47409         * elf/tst-unique4.cc (gets): Likewise.
47410
47411 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
47412
47413         * include/stdio.h: Add C++ protection.  Add gets declarations and
47414         definitions.
47415         * debug/tst-chk1.c: Don't declare gets here.
47416         * stdio-common/tst-gets.c: Likewise.
47417
47418 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
47419
47420         * posix/glob: Remove directory.
47421
47422 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
47423
47424         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
47425
47426 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
47427
47428         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
47429         of the non-standard EPFNOSUPPORT.
47430
47431 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
47432
47433         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
47434         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
47435         ANYWHERE set to 1 only on KERN_NO_SPACE error.
47436
47437 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
47438
47439         * wcsmbs/uchar.h: Test __STDC_VERSION__.
47440
47441 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
47442
47443         * nscd/aicache.c (addhstaiX): Do not cache negative results of
47444         transient errors.
47445         * nscd/grpcache.c (cache_addgr): Likewise.
47446         * nscd/hstcache.c (cache_addhst): Likewise.
47447         * nscd/initgrcache.c (addinitgroupsX): Likewise.
47448         * nscd/pwdcache.c (cache_addpw): Likewise.
47449         * nscd/servicescache.c (cache_addserv): Likewise.
47450
47451 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
47452
47453         * malloc/malloc.c: Various cleanups.
47454         * malloc/hooks.c: Likewise.
47455
47456         * stdlib/Makefile (tests): Add bug-fmtmsg1.
47457         * stdlib/bug-fmtmsg1.c: New file.
47458
47459         * stdlib/fmtmsg.c (init): Add missing unlock.
47460         Patch by Peng Haitao <penght@cn.fujitsu.com>.
47461
47462 2012-01-12  Marek Polacek  <polacek@redhat.com>
47463
47464         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
47465         and _GNU_SOURCE.
47466
47467 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
47468
47469         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
47470         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
47471         macro to ensure uniqueness of label name.
47472         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
47473         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
47474
47475 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
47476
47477         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
47478
47479         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
47480         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
47481         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47482         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
47483
47484 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
47485
47486         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
47487
47488         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
47489         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
47490         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
47491
47492         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
47493
47494         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
47495         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
47496         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
47497         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
47498
47499         * math/bits/math-finite.h: Add ldexp support.
47500
47501 2012-01-10  Marek Polacek  <polacek@redhat.com>
47502
47503         * locale/programs/localedef.h (show_archive_content): Add noreturn
47504         attribute.
47505
47506 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
47507
47508         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
47509
47510 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47511
47512         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
47513
47514         * io/Makefile (headers): Add bits/poll2.h.
47515
47516 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
47517
47518         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
47519         typo #include statement.
47520
47521 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47522
47523         * include/sys/cdefs.h: Define __attribute_alloc_size.
47524         * catgets/gencat.c: Add alloc_size attribute and apply consistently
47525         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
47526         * elf/pldd.c: Likewise.
47527         * iconv/iconv_charmap.c: Likewise.
47528         * iconv/iconvconfig.c: Likewise.
47529         * iconv/strtab.c: Likewise.
47530         * locale/programs/locale.c: Likewise.
47531         * locale/programs/localedef.h: Likewise.
47532         * locale/programs/simple-hash.c: Likewise.
47533         * nscd/nscd.h: Likewise.
47534         * nss/makedb.c: Likewise.
47535         * sysdeps/generic/ldconfig.h: Likewise.
47536         * locale/programs/localedef.c: Remove xmalloc prototype.
47537         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
47538
47539 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
47540
47541         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
47542         appropriate.
47543
47544 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
47545
47546         * math/Makefile (tests): Add tst-CMPLX.
47547         * math/tst-CMPLX.c: New file.
47548
47549         * math/complex.h (CMPLXL): Fix typo.
47550
47551         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
47552         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
47553         GLIBC_2.16.
47554         * debug/tst-chk1.c: Add poll and ppoll tests.
47555         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
47556         * include/sys/poll.h: Add hidden proto for ppoll.
47557         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
47558         * sysdeps/mach/hurd/ppoll.c: Likewise.
47559         * io/ppoll.c: Likewise.
47560         * debug/poll_chk.c: New file.
47561         * debug/ppoll_chk.c: New file.
47562         * include/bits/poll2.h: New file.
47563         * io/bits/poll2.h: New file.
47564
47565         [BZ #1350]
47566         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
47567
47568         * configure.in: static is always set to yes.  Remove.
47569         * config.make.in: Don't set build-static.
47570         * Makeconfig: Remove use of build-static.
47571         * dlfcn/Makefile: Likewise.
47572         * elf/Makefile: Likewise.
47573         * math/Makefile: Likewise.
47574         * misc/Makefile: Likewise.
47575         * nptl/Makefile: Likewise.
47576         * sysdeps/mach/hurd/Makefile: Likewise.
47577
47578         * configure.in: PWD_P is not used anymore.
47579         * config.make.in: Remove PWD_P entry.
47580
47581         * configure.in: Remove last remnants of RANLIB.
47582         No need to check for signed size_t anymore.
47583         Don't set libc_commonpagesize and libc_relro_required here for Alpha
47584         and IA-64.
47585         Remove __builtin_expect test because we require at least gcc 3.4.
47586         * aclocal.m4: Likewise.
47587
47588         * wcsmbs/mbrtoc16.c: Implement using towc function.
47589         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
47590         * wcsmbs/wcsmbsload.c: Likewise.
47591         * iconv/gconv_simple.c: Likewise.
47592         * iconv/gconv_int.h: Likewise.
47593         * iconv/gconv_builtin.h: Likewise.
47594         * iconv/iconv_prog.c: Remove CHAR16 handling.
47595
47596         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
47597
47598         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
47599
47600         * configure.in: Remove --with-elf and --enable-bounded options.
47601         Dont set base_machine for ia64.  More non-ELF conditions removed.
47602         Remove testing and setting of leading underscore information.
47603         * config.make.in (build-bounded): Set to no.
47604         * config.h.in: Remove NO_UNDERSCORES entry.
47605         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
47606         them.
47607         * csu/start.c: Remove !NO_UNDERSCORE code.
47608         * locale/localeinfo.h: Likewise.
47609         * sysdeps/generic/machine-gmon.h: Likewise.
47610         * sysdeps/generic/sysdep.h: Likewise.
47611         * sysdeps/i386/sysdep.h: Likewise.
47612         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47613         * sysdeps/mach/sysdep.h: Likewise.
47614         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47615         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47616         * sysdeps/sh/sysdep.h: Likewise.
47617         * sysdeps/sparc/sparc32/alloca.S: Likewise.
47618         * sysdeps/unix/i386/sysdep.S: Likewise.
47619         * sysdeps/unix/sparc/start.c: Likewise.
47620         * sysdeps/unix/sparc/sysdep.S: Likewise.
47621         * sysdeps/unix/sparc/sysdep.h: Likewise.
47622         * sysdeps/unix/start.c: Likewise.
47623         * sysdeps/unix/x86_64/sysdep.S: Likewise.
47624         * sysdeps/x86_64/sysdep.h: Likewise.
47625
47626 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
47627
47628         [BZ #13553]
47629         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
47630         for non-gcc.
47631         * argp/argp-fmtstream.h: Use const instead __const.
47632         * argp/argp.h: Likewise.
47633         * assert/assert.h: Likewise.
47634         * bits/fenv.h: Likewise.
47635         * bits/sched.h: Likewise.
47636         * bits/sigset.h: Likewise.
47637         * bits/sigthread.h: Likewise.
47638         * catgets/nl_types.h: Likewise.
47639         * conform/data/pthread.h-data: Likewise.
47640         * crypt/crypt-private.h: Likewise.
47641         * crypt/crypt.h: Likewise.
47642         * crypt/crypt_util.c: Likewise.
47643         * ctype/ctype.h: Likewise.
47644         * debug/execinfo.h: Likewise.
47645         * debug/mbsnrtowcs_chk.c: Likewise.
47646         * debug/mbsrtowcs_chk.c: Likewise.
47647         * debug/wcsnrtombs_chk.c: Likewise.
47648         * debug/wcsrtombs_chk.c: Likewise.
47649         * debug/wcstombs_chk.c: Likewise.
47650         * dirent/dirent.h: Likewise.
47651         * dlfcn/dlfcn.h: Likewise.
47652         * elf/neededtest4.c: Likewise.
47653         * grp/grp.h: Likewise.
47654         * gshadow/gshadow.h: Likewise.
47655         * iconv/gconv.h: Likewise.
47656         * iconv/gconv_int.h: Likewise.
47657         * iconv/gconv_simple.c: Likewise.
47658         * iconv/iconv.h: Likewise.
47659         * iconv/loop.c: Likewise.
47660         * iconv/skeleton.c: Likewise.
47661         * include/aio.h: Likewise.
47662         * include/aliases.h: Likewise.
47663         * include/argz.h: Likewise.
47664         * include/arpa/inet.h: Likewise.
47665         * include/assert.h: Likewise.
47666         * include/dirent.h: Likewise.
47667         * include/dlfcn.h: Likewise.
47668         * include/execinfo.h: Likewise.
47669         * include/fcntl.h: Likewise.
47670         * include/fenv.h: Likewise.
47671         * include/glob.h: Likewise.
47672         * include/grp.h: Likewise.
47673         * include/libintl.h: Likewise.
47674         * include/mntent.h: Likewise.
47675         * include/netdb.h: Likewise.
47676         * include/pwd.h: Likewise.
47677         * include/rpc/netdb.h: Likewise.
47678         * include/sched.h: Likewise.
47679         * include/search.h: Likewise.
47680         * include/shadow.h: Likewise.
47681         * include/signal.h: Likewise.
47682         * include/stdio.h: Likewise.
47683         * include/stdlib.h: Likewise.
47684         * include/string.h: Likewise.
47685         * include/sys/socket.h: Likewise.
47686         * include/sys/stat.h: Likewise.
47687         * include/sys/statfs.h: Likewise.
47688         * include/sys/statvfs.h: Likewise.
47689         * include/sys/syslog.h: Likewise.
47690         * include/sys/time.h: Likewise.
47691         * include/sys/uio.h: Likewise.
47692         * include/time.h: Likewise.
47693         * include/unistd.h: Likewise.
47694         * include/utmp.h: Likewise.
47695         * include/wchar.h: Likewise.
47696         * include/wctype.h: Likewise.
47697         * inet/aliases.h: Likewise.
47698         * inet/arpa/inet.h: Likewise.
47699         * inet/netinet/ether.h: Likewise.
47700         * inet/netinet/in.h: Likewise.
47701         * intl/libintl.h: Likewise.
47702         * io/bits/fcntl2.h: Likewise.
47703         * io/fcntl.h: Likewise.
47704         * io/ftw.h: Likewise.
47705         * io/sys/poll.h: Likewise.
47706         * io/sys/stat.h: Likewise.
47707         * io/sys/statfs.h: Likewise.
47708         * io/sys/statvfs.h: Likewise.
47709         * io/utime.h: Likewise.
47710         * libio/bits/stdio.h: Likewise.
47711         * libio/bits/stdio2.h: Likewise.
47712         * libio/libio.h: Likewise.
47713         * libio/libioP.h: Likewise.
47714         * libio/stdio.h: Likewise.
47715         * locale/lc-ctype.c: Likewise.
47716         * locale/locale.h: Likewise.
47717         * login/utmp.h: Likewise.
47718         * malloc/arena.c: Likewise.
47719         * malloc/malloc.c: Likewise.
47720         * malloc/malloc.h: Likewise.
47721         * malloc/mcheck.c: Likewise.
47722         * malloc/mtrace.c: Likewise.
47723         * math/bits/mathcalls.h: Likewise.
47724         * math/fenv.h: Likewise.
47725         * math/math_private.h: Likewise.
47726         * misc/bits/error.h: Likewise.
47727         * misc/bits/syslog.h: Likewise.
47728         * misc/err.h: Likewise.
47729         * misc/error.h: Likewise.
47730         * misc/fstab.h: Likewise.
47731         * misc/mntent.h: Likewise.
47732         * misc/regexp.h: Likewise.
47733         * misc/search.h: Likewise.
47734         * misc/sgtty.h: Likewise.
47735         * misc/sys/mman.h: Likewise.
47736         * misc/sys/syslog.h: Likewise.
47737         * misc/sys/uio.h: Likewise.
47738         * misc/sys/xattr.h: Likewise.
47739         * misc/ttyent.h: Likewise.
47740         * nis/rpcsvc/ypclnt.h: Likewise.
47741         * nss/nss.h: Likewise.
47742         * posix/bits/unistd.h: Likewise.
47743         * posix/fnmatch.h: Likewise.
47744         * posix/glob.h: Likewise.
47745         * posix/sched.h: Likewise.
47746         * posix/spawn.h: Likewise.
47747         * posix/sys/wait.h: Likewise.
47748         * posix/unistd.h: Likewise.
47749         * posix/wordexp.h: Likewise.
47750         * pwd/pwd.h: Likewise.
47751         * resolv/netdb.h: Likewise.
47752         * resource/sys/resource.h: Likewise.
47753         * rt/aio.h: Likewise.
47754         * rt/bits/mqueue2.h: Likewise.
47755         * rt/mqueue.h: Likewise.
47756         * shadow/shadow.h: Likewise.
47757         * signal/signal.h: Likewise.
47758         * socket/send.c: Likewise.
47759         * socket/sendto.c: Likewise.
47760         * socket/sys/socket.h: Likewise.
47761         * stdio-common/printf.h: Likewise.
47762         * stdlib/bits/stdlib.h: Likewise.
47763         * stdlib/fmtmsg.h: Likewise.
47764         * stdlib/monetary.h: Likewise.
47765         * stdlib/stdlib.h: Likewise.
47766         * stdlib/ucontext.h: Likewise.
47767         * streams/stropts.h: Likewise.
47768         * string/argz.h: Likewise.
47769         * string/bits/string2.h: Likewise.
47770         * string/string.h: Likewise.
47771         * string/strings.h: Likewise.
47772         * sunrpc/rpc/auth.h: Likewise.
47773         * sunrpc/rpc/auth_des.h: Likewise.
47774         * sunrpc/rpc/clnt.h: Likewise.
47775         * sunrpc/rpc/netdb.h: Likewise.
47776         * sunrpc/rpc/pmap_clnt.h: Likewise.
47777         * sunrpc/rpc/xdr.h: Likewise.
47778         * sysdeps/generic/inttypes.h: Likewise.
47779         * sysdeps/generic/net/if.h: Likewise.
47780         * sysdeps/generic/sys/swap.h: Likewise.
47781         * sysdeps/gnu/net/if.h: Likewise.
47782         * sysdeps/gnu/utmpx.h: Likewise.
47783         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
47784         * sysdeps/i386/i486/bits/string.h: Likewise.
47785         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
47786         * sysdeps/s390/bits/string.h: Likewise.
47787         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
47788         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
47789         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
47790         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
47791         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
47792         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
47793         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
47794         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
47795         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
47796         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
47797         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
47798         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
47799         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
47800         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
47801         * sysdeps/unix/sysv/linux/readv.c: Likewise.
47802         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
47803         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
47804         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
47805         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
47806         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
47807         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
47808         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
47809         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
47810         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
47811         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
47812         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
47813         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
47814         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
47815         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
47816         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
47817         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
47818         * sysvipc/sys/ipc.h: Likewise.
47819         * sysvipc/sys/msg.h: Likewise.
47820         * sysvipc/sys/sem.h: Likewise.
47821         * sysvipc/sys/shm.h: Likewise.
47822         * termios/termios.h: Likewise.
47823         * time/sys/time.h: Likewise.
47824         * time/time.h: Likewise.
47825         * wcsmbs/bits/wchar2.h: Likewise.
47826         * wcsmbs/uchar.h: Likewise.
47827         * wcsmbs/wchar.h: Likewise.
47828         * wctype/wctype.h: Likewise.
47829
47830         [BZ #13551]
47831         * Makeconfig: Remove all but ELF support including AIX support.
47832         * Makerules: Likewise.
47833         * config.h.in: Likewise.
47834         * config.make.in: Likewise.
47835         * configure: Likewise.
47836         * configure.in: Likewise.
47837         * csu/Makefile: Likewise.
47838         * csu/version.c: Likewise.
47839         * debug/Makefile: Likewise.
47840         * dlfcn/Makefile: Likewise.
47841         * elf/Makefile: Likewise.
47842         * extra-lib.mk: Likewise.
47843         * iconv/Makefile: Likewise.
47844         * include/libc-symbols.h: Likewise.
47845         * include/shlib-compat.h: Likewise.
47846         * resolv/Makefile: Likewise.
47847         * resolv/res_libc.c: Likewise.
47848         * rt/Makefile: Likewise.
47849         * sysdeps/i386/asm-syntax.h: Likewise.
47850         * sysdeps/i386/sysdep.h: Likewise.
47851         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
47852         * sysdeps/mach/sysdep.h: Likewise.
47853         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
47854         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
47855         * sysdeps/s390/asm-syntax.h: Likewise.
47856         * sysdeps/s390/s390-32/sysdep.h: Likewise.
47857         * sysdeps/s390/s390-64/sysdep.h: Likewise.
47858         * sysdeps/sh/sysdep.h: Likewise.
47859         * sysdeps/unix/sparc/sysdep.h: Likewise.
47860         * sysdeps/wordsize-32/divdi3.c: Likewise.
47861         * sysdeps/x86_64/sysdep.h: Likewise.
47862
47863         * argp/Versions: Remove _argp_unlock_xxx.
47864
47865         [BZ #13559]
47866         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
47867         * abilist/libBrokenLocale.abilist: Likewise.
47868         * abilist/libanl.abilist: Likewise.
47869         * abilist/libc.abilist: Likewise.
47870         * abilist/libcrypt.abilist: Likewise.
47871         * abilist/libdl.abilist: Likewise.
47872         * abilist/libm.abilist: Likewise.
47873         * abilist/libnsl.abilist: Likewise.
47874         * abilist/libpthread.abilist: Likewise.
47875         * abilist/libresolv.abilist: Likewise.
47876         * abilist/librt.abilist: Likewise.
47877         * abilist/libthread_db.abilist: Likewise.
47878         * abilist/libutil.abilist: Likewise.
47879         * abilist/libnss_db.abilist: New file.
47880
47881         * scripts/abilist.awk: Add support for indirect functions.
47882
47883         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
47884
47885         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
47886
47887         * shlib-versions: Remove entries for ports architectures.
47888
47889         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
47890         files in ports.
47891         * elf/stackguard-macros.h: Remove support for IA-64.
47892         * elf/tst-auditmod1.c: Likewise.
47893         * sysdeps/generic/ldsodefs.h: Likewise.
47894
47895         * sysdeps/unix/sysv/linux/configure.in: Ports should define
47896         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
47897         configure files.
47898
47899         [BZ #13552]
47900         * configure.in: Remove --enable-omitfp support.
47901         * FAQ.in: Adjust.
47902         * config.make.in: Likewise.
47903         * Makeconfig: Likewise.
47904         * manual/install.texi: Likewise.
47905
47906         In case anyone cares, the IA-64 architecture could move to ports.
47907         * sysdeps/ia64/*: Removed.
47908         * sysdeps/unix/sysv/linux/ia64/*: Removed.
47909         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
47910
47911         [BZ #13555]
47912         * configure.in: Remove entries for unsupported architectures.
47913
47914         [BZ #13533]
47915         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
47916         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
47917         routines.
47918         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
47919         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
47920         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
47921         fall back to using wcrtomb.
47922         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
47923         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
47924         renaming.
47925         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
47926         * wcsmbs/tst-c16c32-1.c: New file.
47927
47928         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
47929         local variable.
47930
47931         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
47932
47933         * elf/tst-unique3.cc: Add explicit declaration of gets.
47934         * elf/tst-unique3lib.cc: Likewise.
47935         * elf/tst-unique3lib2.cc: Likewise.
47936         * elf/tst-unique4.cc: Likewise.
47937
47938         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
47939
47940 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
47941
47942         [BZ #13566]
47943         * assert/assert.h (static_assert): Don't define for C++.
47944         * libio/stdio.h (gets): Do declare for C++ <= C++11.
47945         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
47946
47947 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
47948
47949         * iconv/loop.c (single loop): Fix assertion in storing of
47950         remaining bytes.
47951
47952         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
47953
47954 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
47955
47956         * posix/getconf.c: Update copyright year.
47957         * nss/getent.c: Likewise.
47958         * nss/makedb.c: Likewise.
47959         * iconv/iconvconfig.c: Likewise.
47960         * iconv/iconv_prog.c: Likewise.
47961         * elf/ldconfig.c: Likewise.
47962         * elf/pldd.c: Likewise.
47963         * elf/sotruss.ksh: Likewise.
47964         * catgets/gencat.c: Likewise.
47965         * csu/version.c: Likewise.
47966         * elf/ldd.bash.in: Likewise.
47967         * elf/sprof.c (print_version): Likewise.
47968         * locale/programs/locale.c: Likewise.
47969         * locale/programs/localedef.c: Likewise.
47970         * login/programs/pt_chown.c: Likewise.
47971         * nscd/nscd.c (print_version): Likewise.
47972         * debug/xtrace.sh: Likewise.
47973         * malloc/memusage.sh: Likewise.
47974         * malloc/mtrace.pl: Likewise.
47975         * debug/catchsegv.sh: Likewise.
47976
47977 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
47978
47979         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
47980         pure attribute.
47981
47982 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
47983
47984         [BZ #13533]
47985         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
47986         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
47987         transformations.
47988         * iconv/gconv_int.h: Likewise.
47989         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
47990         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
47991         from libc for GLIBC_2.16.
47992         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
47993         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
47994         * wcsmbs/uchar.h: Really define mbstate_t.
47995         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
47996         * wcsmbs/c16rtomb.c: New file.
47997         * wcsmbs/mbrtoc16.c: New file.
47998         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
47999         for C/POSIX locale.
48000         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
48001         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
48002
48003         * wcsmbs/wchar.h: Add missing __restrict.
48004
48005 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
48006
48007         [BZ #13532]
48008         * time/Makefile (routines): Add timespec_get.
48009         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
48010         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
48011         timespec for ISO C11.
48012         * time/timespec_get.c: New file.
48013         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
48014         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
48015
48016         [BZ #13531]
48017         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
48018         * stdlib/stdlib.h: Declare aligned_alloc.
48019         * Versions.def: Add GLIBC_2.16 for libc.
48020         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
48021
48022         [BZ 13527]
48023         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
48024         ISO C11.
48025
48026         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
48027         code.
48028
48029         [BZ #13528]
48030         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
48031
48032         [BZ #13529]
48033         * assert/assert.h (static_assert): Define.
48034
48035         * version.h: Update for 2.16 development version.
48036
48037         [BZ #13526]
48038         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
48039         _ISOC11_SOURCE.
48040
48041         * version.h (RELEASE): Bump for 2.15 release.
48042         * include/features.h (__GLIBC_MINOR__): Bump to 15.
48043
48044         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
48045         Patch by Marek Polacek <mpolacek@redhat.com>.
48046
48047         * bits/byteswap.h: Protect long long constants with __extension__.
48048         * sysdeps/i386/bits/byteswap.h: Likewise.
48049         * sysdeps/ia64/bits/byteswap.h: Likewise.
48050         * sysdeps/s390/bits/byteswap.h: Likewise.
48051         * sysdeps/x86_64/bits/byteswap.h: Likewise.
48052
48053 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48054
48055         [BZ #13540]
48056         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
48057         destination buffer.
48058         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
48059
48060 2011-12-23  Marek Polacek  <polacek@redhat.com>
48061
48062         * elf/dl-addr.c (determine_info): Add inline keyword.
48063         * elf/tst-auditmod4b.c (check_avx): Likewise.
48064         * elf/tst-auditmod6b.c (check_avx): Likewise.
48065         * elf/tst-auditmod6c.c (check_avx): Likewise.
48066         * elf/tst-auditmod7b.c (check_avx): Likewise.
48067
48068 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
48069
48070         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
48071         !__SSE_MATH__.
48072
48073 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48074
48075         [BZ #13540]
48076         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
48077         processing for last bytes.
48078
48079 2011-08-06  Bruno Haible  <bruno@clisp.org>
48080
48081         [BZ #13061]
48082         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
48083         U+0385, not to U+1FEE.
48084
48085         [BZ #13062]
48086         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
48087         entry for U+00A5 U+0301.
48088
48089 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
48090
48091         [BZ #13166]
48092         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
48093         buffer for the output is too small.
48094
48095         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
48096         optimization.
48097
48098         [BZ #13185]
48099         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
48100         SSE flags if possible.
48101
48102 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48103
48104         [BZ #13540]
48105         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
48106         processing for last bytes.
48107
48108 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
48109
48110         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
48111         (syscall-list-default-options, syscall-list-default-condition)
48112         (syscall-list-includes): Define.
48113         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
48114         list of ABIs and options and #if conditions for each ABI.  Do not
48115         handle common syscalls between ABIs specially.
48116         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
48117         Remove.
48118         (syscall-list-variants, syscall-list-32bit-options)
48119         (syscall-list-32bit-condition, syscall-list-64bit-options)
48120         (syscall-list-64bit-condition): Define.
48121         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
48122         (syscall-list-variants, syscall-list-32bit-options)
48123         (syscall-list-32bit-condition, syscall-list-64bit-options)
48124         (syscall-list-64bit-condition): Define.
48125         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
48126         Remove.
48127         (syscall-list-variants, syscall-list-32bit-options)
48128         (syscall-list-32bit-condition, syscall-list-64bit-options)
48129         (syscall-list-64bit-condition): Define.
48130         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
48131         Remove.
48132         (syscall-list-variants, syscall-list-32bit-options)
48133         (syscall-list-32bit-condition, syscall-list-64bit-options)
48134         (syscall-list-64bit-condition): Define.
48135
48136 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
48137
48138         * locale/iso-639.def: Add brx entry.
48139
48140         [BZ #13328]
48141         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
48142         Proposed by Mariusz_Cukr <marcukr@op.pl>.
48143
48144         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
48145         __feraiseexcept_renamed.
48146
48147 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
48148
48149         [BZ #13538]
48150         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
48151         EPOLLET with unsigned values.
48152         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
48153         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
48154
48155         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
48156         to large cancellation.
48157         * math/s_cacoshf.c: Likewise.
48158         * math/s_cacoshl.c: Likewise.
48159
48160 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
48161
48162         [BZ #13305]
48163         [BZ #12786]
48164         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
48165         * math/s_cacoshf.c: Likewise.
48166         * math/s_cacoshl.c: Likewise.
48167
48168 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
48169
48170         [BZ #13439]
48171         * iconv/gconv.h: Define __GCONV_SWAP.
48172         * iconvdata/unicode.c: The swap bit must be stored in __flags.
48173         * iconvdata/utf-16.c: Likewise.
48174         * iconvdata/utf-32.c: Likewise.
48175
48176 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
48177
48178         [BZ #13524]
48179         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
48180         numerator after shifting it by one limb.
48181
48182 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
48183
48184         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
48185         under [__USE_EXTERN_INLINES].
48186
48187 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
48188
48189         [BZ #13446]
48190         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
48191
48192 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48193
48194         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
48195         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
48196         optimized code.
48197         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
48198         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
48199         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
48200         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
48201         for strncasecmp/strncasecmp_l compilation.
48202         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
48203         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
48204
48205 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
48206
48207         [BZ #13484]
48208         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
48209         of __asm__.
48210
48211 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
48212
48213         [BZ #13506]
48214         * time/tzfile.c (__tzfile_read): Check values from file header.
48215
48216 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
48217
48218         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
48219         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
48220         * powerpc/powerpc32/dl-start.S: Likewise.
48221         * powerpc/powerpc32/elf/start.S: Likewise.
48222         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
48223         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
48224         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
48225         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
48226         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
48227         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
48228         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
48229         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
48230         * powerpc/powerpc32/fpu/s_round.S: Likewise.
48231         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
48232         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
48233         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
48234         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
48235         * powerpc/powerpc32/memset.S: Likewise.
48236         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
48237         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
48238         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
48239         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
48240         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
48241         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
48242         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
48243         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
48244         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
48245         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
48246         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
48247         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
48248         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
48249
48250 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48251
48252         * math/libm-test.inc: Added more nearbyint tests.
48253         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
48254         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
48255         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
48256         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
48257
48258 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
48259
48260         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
48261         FD_CLOEXEC.
48262
48263 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48264
48265         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
48266         Add wcscpy-ssse3 wcscpy-c.
48267         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
48268         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
48269         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
48270         * sysdeps/x86_64/wcschr.S: New file.
48271         * sysdeps/x86_64/wcsrchr.S: New file.
48272         * string/test-strcmp.c: Remove checking of wcscmp function for
48273         wrong alignments.
48274         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
48275         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
48276         wcsrchr-sse2 wcsrchr-c.
48277         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
48278         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
48279         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
48280         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
48281         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
48282         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
48283         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
48284         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
48285         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
48286         * wcsmbc/wcschr.c (WCSCHR): New macro.
48287
48288 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
48289
48290         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
48291         * wcsmbs/test-wcsrchr.c: New file.
48292         * string/test-strrchr.c: Add wcsrchr support.
48293         (WIDE): New macro.
48294         * wcsmbs/test-wcscpy.c: New file.
48295         * string/test-strcpy.c: Add wcscpy support.
48296         (WIDE): New macro.
48297
48298 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
48299
48300         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
48301         the inner loop.
48302
48303 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
48304
48305         [BZ #13472]
48306         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
48307
48308 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
48309
48310         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
48311         Minor optimizations.
48312
48313         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
48314         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
48315         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
48316
48317 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
48318
48319         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
48320         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
48321         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
48322         for gcc to avoid warnings.
48323         * inet/Makefile (tests): Add tst-checks.
48324         * inet/tst-checks.c: New file.
48325
48326         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
48327         warning.
48328
48329         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
48330         __wmemcmp_sse2.
48331
48332         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
48333         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
48334
48335         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
48336
48337 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
48338
48339         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
48340         problem.
48341
48342         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
48343
48344 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
48345
48346         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
48347         conditional on GCC version.
48348         (__arch_compare_and_exchange_val_8_acq)
48349         (__arch_compare_and_exchange_val_16_acq)
48350         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
48351         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
48352         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
48353
48354 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
48355
48356         * sysdeps/sh/backtrace.c: New file.
48357
48358 2011-12-02  Andreas Schwab  <schwab@redhat.com>
48359
48360         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
48361         parenthesis.
48362
48363 2011-12-01  Andreas Schwab  <schwab@redhat.com>
48364
48365         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
48366         falling back to utime.
48367
48368 2011-11-30  Andreas Schwab  <schwab@redhat.com>
48369
48370         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
48371         expectations for float.
48372
48373 2011-11-29  Andreas Schwab  <schwab@redhat.com>
48374
48375         * locale/weight.h (findidx): Add parameter len.
48376         * locale/weightwc.h (findidx): Likewise.
48377         * posix/fnmatch_loop.c (FCT): Adjust caller.
48378         * posix/regcomp.c (build_equiv_class): Likewise.
48379         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
48380         * posix/regexec.c (check_node_accept_bytes): Likewise.
48381         * string/strcoll_l.c (STRCOLL): Likewise.
48382         * string/strxfrm_l.c (STRXFRM): Likewise.
48383
48384 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
48385
48386         * Makefile.in: Remove CVSOPT handling.
48387         * configure.in: Remove use of AC_REVISION.
48388         * iconvdata/Makefile (distribute): No need to filter out CVS.
48389         * scripts/list-sources.sh: Remove CVS, subversion and monotone
48390         handling.
48391
48392 2011-11-16  Andreas Schwab  <schwab@redhat.com>
48393
48394         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
48395         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
48396         [USE_AS_STRNCASECMP_L]: Likewise.
48397         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
48398         NO_TLS_DIRECT_SEG_REFS.
48399         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
48400         Fix argument offsets for non-PIC.
48401         [USE_AS_STRNCASECMP_L]: Likewise.
48402         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
48403         NO_TLS_DIRECT_SEG_REFS.
48404
48405 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
48406
48407         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
48408         O_CLOEXEC.
48409         * locale/loadlocale.c (_nl_load_locale): Likewise.
48410
48411 2011-11-15  Andreas Schwab  <schwab@redhat.com>
48412
48413         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
48414         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
48415         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
48416         (SYSCALL_GETTIME): Set errno on error.
48417
48418         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
48419         count references to noai6ai_cached.
48420
48421 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
48422
48423         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
48424
48425         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
48426         FD_CLOEXEC for /proc/self/maps.
48427
48428         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
48429         FD_CLOEXEC for /proc/meminfo.
48430
48431         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
48432         gai.conf.
48433
48434         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
48435         FD_CLOEXEC for given file.
48436
48437         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
48438
48439         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
48440         FD_CLOEXEC for /etc/hosts.
48441         (_gethtent): Likewise.
48442
48443         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
48444
48445         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
48446         cancellation and set FD_CLOEXEC for /etc/netgroup.
48447
48448         * nss/nss_files/files-key.c (search): Don't allow cancellation when
48449         reading /etc/publickey.
48450
48451         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
48452         allow cancellation when reading /etc/group.
48453
48454         * nss/nss_files/files-alias.c (internal_setent): Don't allow
48455         cancellation.
48456         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
48457
48458         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
48459         when using data file.
48460
48461         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
48462
48463         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
48464         (write_nis_obj): Use "c" and "e" in fopen.
48465
48466         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
48467
48468         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
48469
48470         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
48471
48472         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
48473
48474         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
48475         locale.alias.
48476
48477         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
48478
48479         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
48480
48481         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
48482
48483         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
48484         file parsing and set FD_CLOEXEC.
48485
48486 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
48487
48488         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
48489
48490 2011-11-14  Andreas Schwab  <schwab@redhat.com>
48491
48492         * malloc/arena.c (arena_get2): Don't call reused_arena when
48493         _int_new_arena failed.
48494
48495 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
48496
48497         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
48498         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
48499         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
48500         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
48501         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
48502         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
48503         to compile strcasecmp and strncasecmp.
48504         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
48505         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
48506
48507         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
48508
48509 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
48510
48511         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
48512         locale-defines.sym to gen-as-const-headers.
48513         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
48514         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
48515         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
48516         to compile strcasecmp and strncasecmp.
48517         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
48518         strcasecmp_l and strncasecmp_l.
48519         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
48520         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
48521         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
48522         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
48523         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
48524         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
48525         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
48526         * sysdeps/i386/i686/multiarch/strncase.S: New file.
48527         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
48528         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
48529         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
48530
48531 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
48532
48533         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
48534         result of SYSDEP_GETTIME_CPU to retval.
48535         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
48536         parameter list to macro.  Remove trailing semicolon.  Adjust users.
48537
48538         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
48539         variable.
48540
48541         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
48542         mantissa words.
48543         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
48544
48545         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
48546         from unused variable.
48547
48548         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
48549         DWARF definitions.
48550         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
48551         for assembling.
48552
48553         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
48554         over namespaces.
48555
48556         * sunrpc/rpc_prot.c (rejected): Fix case value.
48557
48558         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
48559         unsigned long long int to avoid warnings in shift.
48560
48561         * posix/regex_internal.c (re_string_reconstruct): Actually use result
48562         of use of trans.
48563         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
48564         variable tmp.
48565
48566         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
48567         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
48568         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
48569
48570         * nis/nis_table.c (nis_list): Use variable of correct type for
48571         result of __follow_path call.
48572
48573 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48574
48575         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
48576         of math functions ceil, trunc, floor, round, and sqrt, when
48577         avaliable on the platform.
48578         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
48579         name clash.
48580         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
48581         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
48582         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
48583
48584 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
48585
48586         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
48587         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
48588
48589 2011-11-11  Roland McGrath  <roland@hack.frob.com>
48590
48591         * include/unistd.h: Fix __readlink return type.
48592         Reported by Chris Metcalf <cmetcalf@tilera.com>.
48593
48594 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
48595
48596         * stdlib/ucontext.h: Undo last change for makecontext.
48597
48598 2011-11-11  Andreas Schwab  <schwab@redhat.com>
48599
48600         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
48601
48602         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
48603         * setjmp/setjmp.h: Mark functions as non-leaf.
48604         * setjmp/bits/setjmp2.h: Likewise.
48605         * stdlib/ucontext.h: Likewise.
48606
48607 2011-11-10  Andreas Schwab  <schwab@redhat.com>
48608
48609         * malloc/arena.c (_int_new_arena): Don't increment narenas.
48610         (reused_arena): Don't check arena limit.
48611         (arena_get2): Atomically check arena limit.
48612
48613 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
48614
48615         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
48616         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
48617
48618         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
48619         instructions.
48620
48621 2011-11-07  Andreas Schwab  <schwab@redhat.com>
48622
48623         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
48624         handler when locking.
48625
48626         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
48627         Fix size of allocated buffer.
48628
48629 2011-11-04  Andreas Schwab  <schwab@redhat.com>
48630
48631         [BZ #10103]
48632         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
48633         declarations for long double functions.
48634         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
48635
48636         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
48637
48638 2011-11-03  Andreas Schwab  <schwab@redhat.com>
48639
48640         * nscd/nscd.c (main): Don't start AVC thread until credentials are
48641         installed.
48642
48643         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
48644         is disabled.
48645
48646 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
48647
48648         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
48649
48650 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
48651
48652         * include/alloca.h (stackinfo_alloca_round): Define.
48653         (extend_alloca): Use it.
48654         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
48655         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
48656         here.
48657
48658         * scripts/check-local-headers.sh: Ignore libaudit.h.
48659
48660         * nscd/Makefile (extra-objs): Make recursively expanded.
48661
48662 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
48663
48664         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
48665         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
48666
48667         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
48668         * posix/tst-rfc3484-2.c: Likewise.
48669         * posix/tst-rfc3484-3.c: Likewise.
48670
48671         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
48672         process_vm_writev.
48673         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
48674         process_vm_writev.
48675         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
48676         process_vm_writev from libc using GLIBC_2.15 version.
48677
48678         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
48679
48680 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
48681
48682         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
48683         stack usage.
48684
48685 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
48686
48687         [BZ #13367]
48688         * nss/getent.c (initgroups_keys): Show error message in case no group
48689         names are given.
48690
48691         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
48692         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
48693         __bump_nl_timestamp.
48694         * nscd/connections (nscd_init): When host database is served open
48695         netlink socket and request notification about configuration changes.
48696         (main_loop_poll): Track netlink file descriptor and bump timestamp
48697         in case data becomes available.
48698         (main_loop_epoll): Likewise.
48699         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
48700         (database_pers_head): Add extra_data fileds.
48701         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
48702         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
48703         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
48704         Adjust caller.
48705         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
48706         in6ai data, call __free_in6ai.
48707         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
48708         Add -DHAVE_NETLINK.
48709         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
48710         interface information.  Reuse previous data if netlink timestamp
48711         is not changed.
48712         (__bump_nl_timestamp): New function.
48713         (__free_in6ai): New function.
48714
48715 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
48716
48717         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
48718         close_not_cancel_no_status here.
48719         (__check_pf): Reorganize code a bit to not call close twice if OOM.
48720
48721 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
48722
48723         [BZ #13276]
48724         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
48725         return value.
48726
48727         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
48728         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
48729         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
48730
48731 2011-07-03  Andreas Jaeger  <aj@suse.de>
48732
48733         [BZ #10709]
48734         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
48735         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
48736         * math/libm-test.inc (sin_test): Add test case.
48737
48738 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
48739
48740         [BZ #13337]
48741         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
48742         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48743
48744         * elf/chroot_canon.c (chroot_canon): Cleanups.
48745
48746         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
48747
48748         [BZ #13335]
48749         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
48750         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
48751
48752         * string/test-strchr.c: Make usable for strchrnul testing.
48753         * string/test-strchrnul.c: New file.
48754         * string/Makefile (strop-tests): Add strchrnul.
48755
48756         * po/it.po: Update from translation team.
48757         * po/es.po: Likewise.
48758
48759 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
48760
48761         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
48762         the three constants needed as parameters.  Drop the others.
48763         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
48764         __m128i_strloadu_tolower.
48765         Create and initialize variable zero and use it in all the places
48766         where _mm_setzero_si128 was used.
48767
48768         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
48769         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
48770         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
48771         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
48772         anymore.
48773         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
48774         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
48775         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
48776         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
48777         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
48778         __mpranred, __mptan.
48779         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
48780         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
48781         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
48782         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
48783         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
48784         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
48785         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
48786         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
48787         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
48788
48789 2011-10-28  Andreas Schwab  <schwab@redhat.com>
48790
48791         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
48792         redefine if SHARED.
48793         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
48794
48795         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
48796         wide char related routines to wcsmbs subdir.
48797
48798 2011-10-27  Andreas Schwab  <schwab@redhat.com>
48799
48800         [BZ #13344]
48801         * misc/sys/cdefs.h (__THROWNL): Define.
48802         * posix/unistd.h: Use __THREADNL instead of __THREAD
48803         for memory synchronization functions.
48804
48805 2011-10-26  Roland McGrath  <roland@hack.frob.com>
48806
48807         [BZ #13349]
48808         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
48809         doesn't exist.
48810         * manual/stdio.texi (Obstack Streams): Node removed.
48811
48812 2011-10-26  Andreas Schwab  <schwab@redhat.com>
48813
48814         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
48815         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48816         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48817
48818         * math/math_private.h (math_force_eval): Allow non-addressable
48819         arguments.
48820         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
48821
48822 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48823
48824         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
48825         file is not needed.
48826
48827         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
48828         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
48829         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
48830         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
48831         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
48832         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
48833         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
48834         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
48835         Add AVX variants.
48836         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
48837         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
48838         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
48839         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
48840         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
48841         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
48842         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
48843         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
48844         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
48845         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
48846         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
48847         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
48848         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
48849         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
48850         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
48851         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
48852         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
48853         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
48854         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
48855
48856         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
48857         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
48858
48859         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
48860         place.  Use VEX encoding when compiling for AVX.
48861
48862 2011-10-25  Andreas Schwab  <schwab@redhat.com>
48863
48864         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
48865         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
48866
48867         * string/test-strchr.c (do_test): Don't generate NUL bytes.
48868
48869 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48870
48871         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
48872         useless if() expression.
48873         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
48874         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
48875         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
48876         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
48877         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
48878         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
48879         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
48880         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
48881         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
48882         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
48883         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
48884         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
48885         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
48886         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
48887         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
48888         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
48889         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
48890         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
48891         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
48892
48893         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
48894
48895 2011-10-25  Andreas Schwab  <schwab@redhat.com>
48896
48897         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
48898         condition.
48899         * elf/dl-fini.c (_dl_sort_fini): Likewise.
48900
48901 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
48902
48903         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
48904         .text section.  Avoid duplicate constants.
48905         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
48906         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
48907         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
48908         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
48909         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48910         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48911         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48912         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
48913         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
48914         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
48915         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
48916         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
48917         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
48918         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
48919         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
48920         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
48921         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
48922         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
48923         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
48924         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
48925         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
48926         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
48927         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
48928         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
48929         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
48930         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
48931         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
48932         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
48933         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
48934         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
48935         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
48936         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
48937         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
48938         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
48939         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
48940         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
48941         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
48942         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
48943         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
48944         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
48945         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
48946         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
48947         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
48948         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
48949         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
48950
48951 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
48952
48953         * sysdeps/x86_64/dla.h: Move to ...
48954         * sysdeps/x86_64/fpu/dla.h: ...here.
48955         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
48956         situations.  Use __builtin_fma only for gcc 4.6 and up.
48957
48958         * config.make.in: Add have-mfma4 entry.
48959         * configure.in: Substitute libc_cv_cc_fma4.
48960         * math/Makefile (dbl-only-routines): Add sincostab.
48961         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
48962         Use __sincostab not sincos.
48963         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
48964         name is a macro.
48965         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
48966         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
48967         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
48968         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
48969         using __copysign.
48970         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
48971         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
48972         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
48973         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
48974         and __inv.
48975         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
48976         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
48977         __copysign.
48978         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
48979         define aliases when function name is a macro.
48980         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
48981         sysdeps/ieee754/dbl-64/sincos.tbl.
48982         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
48983         fma4-enabled routines.
48984         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
48985         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
48986         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
48987         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
48988         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
48989         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
48990         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
48991         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
48992         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
48993         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
48994         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
48995         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
48996         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
48997         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
48998         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
48999         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
49000         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
49001         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
49002         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
49003         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
49004         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
49005         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
49006         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
49007         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
49008         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
49009         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
49010         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
49011         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
49012         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
49013         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
49014
49015         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
49016         rename.
49017         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49018         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49019         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49020         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49021         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49022         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49023         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49024         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49025
49026 2011-10-24  Andreas Schwab  <schwab@redhat.com>
49027
49028         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
49029
49030 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
49031
49032         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
49033
49034         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
49035         prediction.
49036         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
49037
49038         * string/strnlen.c: Don't define STRNLEN, reverse logic.
49039         Remove unused variable magic_bits.
49040         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
49041
49042         * string/strnlen.c: Define and use STRNLEN macro.
49043         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
49044         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
49045         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
49046         * wcsmbs/wcslen.c: Define and use WCSLEN.
49047         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
49048         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
49049         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
49050         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
49051         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
49052         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
49053         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
49054
49055 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49056
49057         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
49058         strnlen-sse2-no-bsf.
49059         Rename strlen-no-bsf to strlen-sse2-no-bsf.
49060         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
49061         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
49062         Add strnlen support.
49063         (USE_AS_STRNLEN): New macro.
49064         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
49065         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
49066         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
49067         * sysdeps/x86_64/wcslen.S: New file.
49068
49069 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
49070
49071         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
49072         XMM-moves are used for copying on small sizes.
49073
49074 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49075
49076         * wcsmbs/Makefile (strop-tests): Add wcschr.
49077         * wcsmbs/test-wcschr.c: New file.
49078         * string/test-strchr.c: Update.
49079         Add wcschr support.
49080         (WIDE): New macro.
49081
49082 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49083
49084         * wcsmbs/Makefile (strop-tests): Add wcslen.
49085         * wcsmbs/test-wcslen.c: New file.
49086         * string/test-strlen.c: Update.
49087         Add wcslen support.
49088         (WIDE): New macro.
49089
49090 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
49091
49092         * po/it.po: Update from translation team.
49093
49094 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49095
49096         * sysdeps/x86_64/wcscmp.S: Update.
49097         Fix wrong comparison semantics.
49098         wcscmp shall use signed comparison not unsigned.
49099         Don't use substraction to avoid overflow bug.
49100         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
49101         * wcsmbc/wcscmp.c: Likewise.
49102         * string/test-strcmp.c: Likewise.
49103         Add new tests to check cases with negative values.
49104
49105 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
49106
49107         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
49108         * sysdeps/x86_64/dla.h: ...here.  New file.
49109         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
49110         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49111         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49112         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49113         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49114         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49115         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49116         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49117         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49118
49119 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
49120
49121         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
49122         __ynl_finite aliases.
49123
49124 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
49125
49126         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49127
49128         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
49129         define DLA_FMA.
49130         [DLA_FMA] (EMULV): Use DLA_FMA.
49131         [DLA_FMA] (MUL12): Use EMULV.
49132         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
49133         that are not needed.
49134         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
49135         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49136         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49137         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49138         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49139         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
49140         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
49141
49142 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
49143
49144         * math/s_nan.c: Undef __nan.
49145         * math/s_nanf.c: Undef __nanf.
49146         * math/s_nanl.c: Undef __nanl.
49147         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
49148         "math_private.h".
49149
49150 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
49151
49152         * math/s_catan.c: Add branch predictions.
49153         * math/s_catanf.c: Likewise.
49154         * math/s_catanh.c: Likewise.
49155         * math/s_catanhf.c: Likewise.
49156         * math/s_catanhl.c: Likewise.
49157         * math/s_catanl.c: Likewise.
49158         * math/s_cexp.c: Likewise.
49159         * math/s_cexpf.c: Likewise.
49160         * math/s_cexpl.c: Likewise.
49161         * math/s_clog.c: Likewise.
49162         * math/s_clog10.c: Likewise.
49163         * math/s_clog10f.c: Likewise.
49164         * math/s_clog10l.c: Likewise.
49165         * math/s_clogf.c: Likewise.
49166         * math/s_clogl.c: Likewise.
49167         * math/s_csqrt.c: Likewise.
49168         * math/s_csqrtf.c: Likewise.
49169         * math/s_csqrtl.c: Likewise.
49170         * math/s_ctanf.c: Likewise.
49171         * math/s_ctanh.c: Likewise.
49172         * math/s_ctanhf.c: Likewise.
49173         * math/s_ctanhl.c: Likewise.
49174         * math/s_ctanl.c: Likewise.
49175
49176         * math/math_private.h: Define __nan, __nanf, __nanl.
49177         * math/s_cacosh.c: Include <math_private.h>.
49178         * math/s_cacoshl.c: Likewise.
49179         * math/s_casinh.c: Likewise.
49180         * math/s_casinhf.c: Likewise.
49181         * math/s_casinhl.c: Likewise.
49182         * math/s_ccos.c: Rely entire on ccosh.
49183         * math/s_ccosf.c: Rely entire on ccoshf.
49184         * math/s_ccosl.c: Rely entirely on ccoshl.
49185         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
49186         Remove tests for FE_INVALID.
49187         * math/s_ccoshf.c: Likewise.
49188         * math/s_ccoshl.c: Likewise.
49189         * math/s_csin.c: Likewise.
49190         * math/s_csinf.c: Likewise.
49191         * math/s_csinh.c Likewise.
49192         * math/s_csinhf.c: Likewise.
49193         * math/s_csinhl.c: Likewise.
49194         * math/s_csinl.c: Likewise.
49195         * math/s_ctan.c: Likewise.
49196         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
49197         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
49198         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
49199
49200 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
49201
49202         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
49203         compilation problems.
49204
49205         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
49206         __builtin_expect.
49207
49208 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
49209
49210         * sysdeps/i386/configure.in: Test for -mfma4 option.
49211         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
49212         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
49213         COMMON_CPUID_INDEX_80000001.
49214         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
49215         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
49216         use it if FMA3 is not supported.
49217         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
49218
49219         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
49220         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
49221
49222 2011-10-20  Andreas Schwab  <schwab@redhat.com>
49223
49224         [BZ #12892]
49225         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
49226         it would create a cycle with a link time dependency.
49227
49228 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
49229
49230         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
49231         instruction.
49232         * string/Makefile (strop-tests): Add rawmemchr.
49233         * string/test-rawmemchr.c: New file.
49234
49235         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
49236         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
49237         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
49238         when compiling str{,n}casecmp and when AVX is available.  Hook up
49239         new optimized code in initializers.
49240
49241 2011-10-19  Andreas Schwab  <schwab@redhat.com>
49242
49243         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
49244         __feraiseexcept instead of feraiseexcept.
49245
49246 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
49247
49248         * math/math_private.h: Define defaults for libc_fetestexcept and
49249         libc_feupdateenv.
49250         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
49251         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
49252         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49253         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49254         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
49255         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49256         libc_fetestexcept and libc_feupdateenv.
49257
49258         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
49259         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
49260         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
49261         * sysdeps/x86_64/fpu/math_private.h: Define special version of
49262         libc_feholdexcept_setround.
49263
49264         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
49265         Add s_nearbyint-c and s_nearbyintf-c.
49266         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
49267         nearbyintf inlines.
49268         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
49269         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
49270         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
49271         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
49272
49273         * math/math_private.h: Define defaults for libc_fegetround,
49274         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
49275         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
49276         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
49277         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
49278         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
49279         standard functions.
49280         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49281         Remove comments and hacks for old compiler versions.
49282         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
49283         libc_fegetround, libc_fesetround, libc_feholdexcept, and
49284         libc_feholdexceptl.
49285
49286 2011-10-18  Andreas Schwab  <schwab@redhat.com>
49287
49288         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
49289         (__feraiseexcept_renamed): Add __NTH.
49290         (feraiseexcept): Add __NTH.  Rename local variables to fix
49291         namespace violations.
49292
49293 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
49294
49295         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
49296
49297         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
49298
49299         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
49300         recently added interfaces.
49301         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
49302
49303         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
49304         about macro parameter expansion.
49305
49306         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
49307         __NO_MATH_INLINES is defined.  Cleanups.
49308
49309         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
49310         and __floorf is target has SSE4.1.
49311         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
49312         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
49313         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
49314         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
49315
49316         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
49317         name.
49318         (floorf): Likewise.
49319
49320         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
49321
49322 2011-10-17  Andreas Schwab  <schwab@redhat.com>
49323
49324         * misc/sys/cdefs.h: Fix last change.
49325
49326         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
49327         database lookup.
49328
49329 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
49330
49331         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
49332
49333         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
49334         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
49335         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
49336         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
49337         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
49338         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
49339         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
49340         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
49341         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
49342         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
49343         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
49344         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
49345         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
49346         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
49347         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
49348         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
49349         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
49350         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
49351         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
49352         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
49353         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
49354         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
49355
49356         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
49357         ceil, ceilf, floor, floorf.
49358
49359         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
49360         Perform IRELATIVE relocations last.
49361
49362         * elf/do-rel.h: Add another parameter nrelative, replacing the
49363         local variable with the same name.  Change name of the function
49364         to end in Rel or Rela (uppercase).
49365         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
49366         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
49367         elf_dynamic_do_##reloc function.
49368
49369 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
49370
49371         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
49372         is sufficient, at least on modern CPUs.
49373
49374         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
49375
49376         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
49377         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
49378
49379         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
49380         __expl_finite.
49381         * math/bits/math-finite.h: Add entries for exp.
49382         * math/e_expl.c: Add __*_finite alias.
49383         * sysdeps/i386/fpu/e_exp.S: Likewise.
49384         * sysdeps/i386/fpu/e_expf.S: Likewise.
49385         * sysdeps/i386/fpu/e_expl.c: Likewise.
49386         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
49387         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
49388         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
49389         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
49390         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
49391         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
49392         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
49393
49394         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
49395         is sufficient, at least on modern CPUs.
49396
49397         * ctype/ctype-info.c (__ctype_init): Define.
49398         * include/ctype.h (__ctype_init): Declare.
49399         (__ctype_b_loc): The variable is always initialized.
49400         (__ctype_toupper_loc): Likewise.
49401         (__ctype_tolower_loc): Likewise.
49402         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
49403         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
49404
49405 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
49406
49407         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
49408
49409         * configure.in: Also look in $cxxmachine/include for C++ system
49410         headers.
49411
49412 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49413
49414         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
49415         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
49416         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
49417         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
49418         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
49419         (USE_AS_WMEMCMP): New macro.
49420         Fixing indents.
49421         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
49422         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
49423         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
49424         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
49425         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49426         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
49427         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
49428         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
49429         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
49430         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
49431         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
49432         (USE_AS_WMEMCMP): New macro.
49433         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
49434         * sysdeps/string/test-memcmp.c: Update.
49435         Fix simple_wmemcmp.
49436         Add new tests.
49437         * wcsmbs/wmemcmp.c: Update.
49438         (WMEMCMP): New macro.
49439         Fix overflow bug.
49440
49441 2011-10-12  Andreas Jaeger  <aj@suse.de>
49442
49443         [BZ #13268]
49444         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
49445
49446 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
49447
49448         * libio/iofwide.c (do_length): Avoid warning.
49449
49450         * ctype/ctype.h (__isctype_f): Add missing __THROW.
49451
49452 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
49453
49454         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
49455
49456         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
49457         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
49458         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
49459         * sysdeps/i386/i686/fpu/e_log.S: New file.
49460         * sysdeps/i386/i686/fpu/e_logf.S: New file.
49461         * sysdeps/i386/i686/fpu/e_logl.S: New file.
49462
49463         * ctype/ctype.h: Add support for inlined isXXX functions when
49464         compiling C++ code.
49465
49466 2011-10-14  Andreas Schwab  <schwab@redhat.com>
49467
49468         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
49469
49470         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
49471
49472 2011-10-13  Roland McGrath  <roland@hack.frob.com>
49473
49474         [BZ #13291]
49475         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
49476
49477 2011-10-13  Andreas Schwab  <schwab@redhat.com>
49478
49479         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
49480         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
49481         feraiseexcept.
49482
49483         * sysdeps/x86_64/memrchr.S: Check for zero size.
49484
49485         * string/stratcliff.c: Add memrchr tests.
49486
49487 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
49488
49489         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
49490         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
49491         rawmemchr-sse2 rawmemchr-sse2-bsf.
49492         * sysdeps/i386/i686/multiarch/memchr.S: New file.
49493         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
49494         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
49495         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
49496         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
49497         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
49498         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
49499         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
49500         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
49501         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
49502         * string/memrchr.c (MEMRCHR): New macro.
49503
49504 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
49505
49506         Add integration with gcc's -ffinite-math-only and optimize wrapper
49507         functions in libm.
49508         * Versions.def: Define GLIBC_2.15 version for libm.
49509         * math/Makefile (headers): Add bits/math-finite.h.
49510         * math/bits/math-finite.h: New file.
49511         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
49512         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
49513         * math/e_acoshl.c: Add __*_finite alias.
49514         * math/e_acosl.c: Likewise.
49515         * math/e_asinl.c: Likewise.
49516         * math/e_atan2l.c: Likewise.
49517         * math/e_atanhl.c: Likewise.
49518         * math/e_coshl.c: Likewise.
49519         * math/e_exp10.c: Likewise.
49520         * math/e_exp10f.c: Likewise.
49521         * math/e_exp10l.c: Likewise.
49522         * math/e_exp2l.c: Likewise.
49523         * math/e_fmodl.c: Likewise.
49524         * math/e_gammal_r.c: Likewise.
49525         * math/e_hypotl.c: Likewise.
49526         * math/e_j0l.c: Likewise.
49527         * math/e_j1l.c: Likewise.
49528         * math/e_jnl.c: Likewise.
49529         * math/e_lgammal_r.c: Likewise.
49530         * math/e_log10l.c: Likewise.
49531         * math/e_log2l.c: Likewise.
49532         * math/e_logl.c: Likewise.
49533         * math/e_powl.c: Likewise.
49534         * math/e_sinhl.c: Likewise.
49535         * math/e_sqrtl.c: Likewise.
49536         * math/e_scalb.c: Completely rewritten and optimized.
49537         * math/e_scalbf.c: Likewise.
49538         * math/e_scalbl.c: Likewise.
49539         * math/w_acos.c: Likewise.
49540         * math/w_acosf.c: Likewise.
49541         * math/w_acosl.c: Likewise.
49542         * math/w_acosh.c: Likewise.
49543         * math/w_acoshf.c: Likewise.
49544         * math/w_acoshl.c: Likewise.
49545         * math/w_asin.c: Likewise.
49546         * math/w_asinf.c: Likewise.
49547         * math/w_asinl.c: Likewise.
49548         * math/w_atan2.c: Likewise.
49549         * math/w_atan2f.c: Likewise.
49550         * math/w_atan2l.c: Likewise.
49551         * math/w_atanh.c: Likewise.
49552         * math/w_atanhf.c: Likewise.
49553         * math/w_atanhl.c: Likewise.
49554         * math/w_exp10.c: Likewise.
49555         * math/w_exp10f.c: Likewise.
49556         * math/w_exp10l.c: Likewise.
49557         * math/w_fmod.c: Likewise.
49558         * math/w_fmodf.c: Likewise.
49559         * math/w_fmodl.c: Likewise.
49560         * math/w_j0.c: Likewise.
49561         * math/w_j0f.c: Likewise.
49562         * math/w_j0l.c: Likewise.
49563         * math/w_j1.c: Likewise.
49564         * math/w_j1f.c: Likewise.
49565         * math/w_j1l.c: Likewise.
49566         * math/w_jn.c: Likewise.
49567         * math/w_jnf.c: Likewise.
49568         * math/w_log.c: Likewise.
49569         * math/w_logf.c: Likewise.
49570         * math/w_logl.c: Likewise.
49571         * math/w_log10.c: Likewise.
49572         * math/w_log10f.c: Likewise.
49573         * math/w_log10l.c: Likewise.
49574         * math/w_log2.c: Likewise.
49575         * math/w_log2f.c: Likewise.
49576         * math/w_log2l.c: Likewise.
49577         * math/w_pow.c: Likewise.
49578         * math/w_powf.c: Likewise.
49579         * math/w_powl.c: Likewise.
49580         * math/w_remainder.c: Likewise.
49581         * math/w_remainderf.c: Likewise.
49582         * math/w_remainderl.c: Likewise.
49583         * math/w_scalb.c: Likewise.
49584         * math/w_scalbf.c: Likewise.
49585         * math/w_scalbl.c: Likewise.
49586         * math/w_sqrt.c: Likewise.
49587         * math/w_sqrtf.c: Likewise.
49588         * math/w_sqrtl.c: Likewise.
49589         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
49590         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
49591         used.
49592         * math/math_private.h: Declare __kernel_standard_f.
49593         * math/w_cosh.c: Remove cruft and optimize a bit.
49594         * math/w_coshf.c: Likewise.
49595         * math/w_coshl.c: Likewise.
49596         * math/w_exp2.c: Likewise.
49597         * math/w_exp2f.c: Likewise.
49598         * math/w_exp2l.c: Likewise.
49599         * math/w_hypot.c: Likewise.
49600         * math/w_hypotf.c: Likewise.
49601         * math/w_hypotl.c: Likewise.
49602         * math/w_lgamma.c: Likewise.
49603         * math/w_lgamma_r.c: Likewise.
49604         * math/w_lgammaf.c: Likewise.
49605         * math/w_lgammaf_r.c: Likewise.
49606         * math/w_lgammal.c: Likewise.
49607         * math/w_lgammal_r.c: Likewise.
49608         * math/w_sinh.c: Likewise.
49609         * math/w_sinhf.c: Likewise.
49610         * math/w_sinhl.c: Likewise.
49611         * math/w_tgamma.c: Likewise.
49612         * math/w_tgammaf.c: Likewise.
49613         * math/w_tgammal.c: Likewise.
49614         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
49615         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
49616         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
49617         Minor optimizations.  Pretty printing.  Remove cruft.
49618         * sysdeps/i386/fpu/e_acosf.S: Likewise.
49619         * sysdeps/i386/fpu/e_acosh.S: Likewise.
49620         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
49621         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
49622         * sysdeps/i386/fpu/e_acosl.c: Likewise.
49623         * sysdeps/i386/fpu/e_asin.S: Likewise.
49624         * sysdeps/i386/fpu/e_asinf.S: Likewise.
49625         * sysdeps/i386/fpu/e_atan2.S: Likewise.
49626         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
49627         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
49628         * sysdeps/i386/fpu/e_atanh.S: Likewise.
49629         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
49630         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
49631         * sysdeps/i386/fpu/e_exp10.S: Likewise.
49632         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
49633         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
49634         * sysdeps/i386/fpu/e_exp2.S: Likewise.
49635         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
49636         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
49637         * sysdeps/i386/fpu/e_fmod.S: Likewise.
49638         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
49639         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
49640         * sysdeps/i386/fpu/e_hypot.S: Likewise.
49641         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
49642         * sysdeps/i386/fpu/e_log.S: Likewise.
49643         * sysdeps/i386/fpu/e_log10.S: Likewise.
49644         * sysdeps/i386/fpu/e_log10f.S: Likewise.
49645         * sysdeps/i386/fpu/e_log10l.S: Likewise.
49646         * sysdeps/i386/fpu/e_log2.S: Likewise.
49647         * sysdeps/i386/fpu/e_log2f.S: Likewise.
49648         * sysdeps/i386/fpu/e_log2l.S: Likewise.
49649         * sysdeps/i386/fpu/e_logf.S: Likewise.
49650         * sysdeps/i386/fpu/e_logl.S: Likewise.
49651         * sysdeps/i386/fpu/e_pow.S: Likewise.
49652         * sysdeps/i386/fpu/e_powf.S: Likewise.
49653         * sysdeps/i386/fpu/e_powl.S: Likewise.
49654         * sysdeps/i386/fpu/e_remainder.S: Likewise.
49655         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
49656         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
49657         * sysdeps/i386/fpu/e_scalb.S: Likewise.
49658         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
49659         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
49660         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
49661         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
49662         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
49663         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
49664         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
49665         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
49666         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
49667         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
49668         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
49669         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
49670         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
49671         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
49672         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
49673         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
49674         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
49675         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
49676         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
49677         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
49678         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
49679         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
49680         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
49681         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
49682         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
49683         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
49684         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
49685         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
49686         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
49687         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
49688         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
49689         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
49690         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
49691         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
49692         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
49693         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
49694         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
49695         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
49696         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
49697         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
49698         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
49699         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
49700         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
49701         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
49702         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
49703         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
49704         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
49705         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
49706         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
49707         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
49708         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
49709         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
49710         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
49711         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
49712         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
49713         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
49714         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
49715         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
49716         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
49717         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
49718         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
49719         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
49720         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
49721         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
49722         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
49723         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
49724         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
49725         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
49726         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
49727         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
49728         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
49729         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
49730         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
49731         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
49732         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
49733         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
49734         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
49735         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
49736         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
49737         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
49738         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
49739         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
49740         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
49741         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
49742         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
49743         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
49744         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
49745         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
49746         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
49747         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
49748         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
49749         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
49750         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
49751         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
49752         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
49753         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
49754         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
49755         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
49756         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
49757         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
49758         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
49759         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
49760         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
49761         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
49762         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
49763         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
49764         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
49765         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
49766         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
49767         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
49768         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
49769         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
49770         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
49771         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
49772         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
49773         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
49774         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
49775         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
49776         (__isnanf): Likewise.
49777         (__isinf_ns): Likewise.
49778         (__isinf_nsf): Likewise.
49779         (__finite): Likewise.
49780         (__finitef): Likewise.
49781         (__ieee754_sqrt): Define as macro.
49782         (__ieee754_sqrtf): Define as macro.
49783         (__ieee754_sqrtl): Define as macro.
49784         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
49785         inlined copy.
49786         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
49787         __FINITE_MATH_ONLY__ consistent.
49788         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
49789
49790 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
49791
49792         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
49793         of rawmemchr.
49794
49795         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
49796
49797 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
49798
49799         * po/ja.po: Update from translation team.
49800
49801 2011-10-08  Roland McGrath  <roland@hack.frob.com>
49802
49803         * locale/programs/locarchive.c (prepare_address_space): New function.
49804         (create_archive, enlarge_archive, open_archive): Use it.
49805
49806         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
49807         inside [SHARED], where it is used.
49808
49809         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
49810
49811         * nss/getent.c (netgroup_keys): Remove unused variable.
49812         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
49813
49814 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
49815
49816         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
49817         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
49818         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
49819         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
49820         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
49821         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
49822         * math/Makefile (libm-calls): Add s_isinf_ns.
49823         * math/divtc3.c: Use __isinf_nsl instead of isinf.
49824         * math/multc3.c: Likewise.
49825         * math/s_casin.c: Likewise.
49826         * math/s_casinf.c: Likewise.
49827         * math/s_casinl.c: Likewise.
49828         * math/s_ccos.c: Likewise.
49829         * math/s_ccosf.c: Likewise.
49830         * math/s_ccosl.c: Likewise.
49831         * math/s_ctan.c: Likewise.
49832         * math/s_ctanf.c: Likewise.
49833         * math/s_ctanh.c: Likewise.
49834         * math/s_ctanhf.c: Likewise.
49835         * math/s_ctanhl.c: Likewise.
49836         * math/s_ctanl.c: Likewise.
49837         * math/w_fmod.c: Likewise.
49838         * math/w_fmodf.c: Likewise.
49839         * math/w_fmodl.c: Likewise.
49840         * math/w_remainder.c: Likewise.
49841         * math/w_remainderf.c: Likewise.
49842         * math/w_remainderl.c: Likewise.
49843         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
49844         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
49845         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
49846         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
49847         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
49848         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
49849         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
49850         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
49851
49852         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
49853         of the number.
49854         * stdio-common/printf_fphex.c: Likewise.
49855         * stdio-common/printf_size.c: Likewise.
49856
49857         * math/e_exp10.c: Include math_private.h using <...> not "...".
49858         * math/e_exp10f.c: Likewise.
49859         * math/e_exp10l.c: Likewise.
49860         * math/e_exp2l.c: Likewise.
49861         * math/e_j0l.c: Likewise.
49862         * math/e_j1l.c: Likewise.
49863         * math/e_jnl.c: Likewise.
49864         * math/e_lgammal_r.c: Likewise.
49865         * math/e_rem_pio2l.c: Likewise.
49866         * math/e_scalb.c: Likewise.
49867         * math/e_scalbf.c: Likewise.
49868         * math/e_scalbl.c: Likewise.
49869         * math/k_cosl.c: Likewise.
49870         * math/k_sinl.c: Likewise.
49871         * math/k_tanl.c: Likewise.
49872         * math/s_cacoshf.c: Likewise.
49873         * math/s_catan.c: Likewise.
49874         * math/s_catanf.c: Likewise.
49875         * math/s_catanh.c: Likewise.
49876         * math/s_catanhf.c: Likewise.
49877         * math/s_catanhl.c: Likewise.
49878         * math/s_catanl.c: Likewise.
49879         * math/s_ccosh.c: Likewise.
49880         * math/s_ccoshf.c: Likewise.
49881         * math/s_ccoshl.c: Likewise.
49882         * math/s_cexp.c: Likewise.
49883         * math/s_cexpf.c: Likewise.
49884         * math/s_cexpl.c: Likewise.
49885         * math/s_clog.c: Likewise.
49886         * math/s_clog10.c: Likewise.
49887         * math/s_clog10f.c: Likewise.
49888         * math/s_clog10l.c: Likewise.
49889         * math/s_clogf.c: Likewise.
49890         * math/s_clogl.c: Likewise.
49891         * math/s_csin.c: Likewise.
49892         * math/s_csinf.c: Likewise.
49893         * math/s_csinh.c: Likewise.
49894         * math/s_csinhf.c: Likewise.
49895         * math/s_csinhl.c: Likewise.
49896         * math/s_csinl.c: Likewise.
49897         * math/s_csqrt.c: Likewise.
49898         * math/s_csqrtf.c: Likewise.
49899         * math/s_csqrtl.c: Likewise.
49900         * math/s_ctan.c: Likewise.
49901         * math/s_ctanf.c: Likewise.
49902         * math/s_ctanh.c: Likewise.
49903         * math/s_ctanhf.c: Likewise.
49904         * math/s_ctanhl.c: Likewise.
49905         * math/s_ctanl.c: Likewise.
49906         * math/s_ldexp.c: Likewise.
49907         * math/s_ldexpf.c: Likewise.
49908         * math/s_ldexpl.c: Likewise.
49909         * math/s_significand.c: Likewise.
49910         * math/s_significandf.c: Likewise.
49911         * math/s_significandl.c: Likewise.
49912         * math/w_acos.c: Likewise.
49913         * math/w_acosf.c: Likewise.
49914         * math/w_acosh.c: Likewise.
49915         * math/w_acoshf.c: Likewise.
49916         * math/w_acoshl.c: Likewise.
49917         * math/w_acosl.c: Likewise.
49918         * math/w_asin.c: Likewise.
49919         * math/w_asinf.c: Likewise.
49920         * math/w_asinl.c: Likewise.
49921         * math/w_atan2.c: Likewise.
49922         * math/w_atan2f.c: Likewise.
49923         * math/w_atan2l.c: Likewise.
49924         * math/w_atanh.c: Likewise.
49925         * math/w_atanhf.c: Likewise.
49926         * math/w_atanhl.c: Likewise.
49927         * math/w_cosh.c: Likewise.
49928         * math/w_coshf.c: Likewise.
49929         * math/w_coshl.c: Likewise.
49930         * math/w_dremf.c: Likewise.
49931         * math/w_exp10.c: Likewise.
49932         * math/w_exp10f.c: Likewise.
49933         * math/w_exp10l.c: Likewise.
49934         * math/w_exp2.c: Likewise.
49935         * math/w_exp2f.c: Likewise.
49936         * math/w_fmod.c: Likewise.
49937         * math/w_fmodf.c: Likewise.
49938         * math/w_fmodl.c: Likewise.
49939         * math/w_hypot.c: Likewise.
49940         * math/w_hypotf.c: Likewise.
49941         * math/w_hypotl.c: Likewise.
49942         * math/w_j0.c: Likewise.
49943         * math/w_j0f.c: Likewise.
49944         * math/w_j0l.c: Likewise.
49945         * math/w_j1.c: Likewise.
49946         * math/w_j1f.c: Likewise.
49947         * math/w_j1l.c: Likewise.
49948         * math/w_jn.c: Likewise.
49949         * math/w_jnf.c: Likewise.
49950         * math/w_jnl.c: Likewise.
49951         * math/w_lgamma.c: Likewise.
49952         * math/w_lgamma_r.c: Likewise.
49953         * math/w_lgammaf.c: Likewise.
49954         * math/w_lgammaf_r.c: Likewise.
49955         * math/w_lgammal.c: Likewise.
49956         * math/w_lgammal_r.c: Likewise.
49957         * math/w_log.c: Likewise.
49958         * math/w_log10.c: Likewise.
49959         * math/w_log10f.c: Likewise.
49960         * math/w_log10l.c: Likewise.
49961         * math/w_log2.c: Likewise.
49962         * math/w_log2f.c: Likewise.
49963         * math/w_log2l.c: Likewise.
49964         * math/w_logf.c: Likewise.
49965         * math/w_logl.c: Likewise.
49966         * math/w_pow.c: Likewise.
49967         * math/w_powf.c: Likewise.
49968         * math/w_powl.c: Likewise.
49969         * math/w_remainder.c: Likewise.
49970         * math/w_remainderf.c: Likewise.
49971         * math/w_remainderl.c: Likewise.
49972         * math/w_scalb.c: Likewise.
49973         * math/w_scalbf.c: Likewise.
49974         * math/w_scalbl.c: Likewise.
49975         * math/w_sinh.c: Likewise.
49976         * math/w_sinhf.c: Likewise.
49977         * math/w_sinhl.c: Likewise.
49978         * math/w_sqrt.c: Likewise.
49979         * math/w_sqrtf.c: Likewise.
49980         * math/w_sqrtl.c: Likewise.
49981         * math/w_tgamma.c: Likewise.
49982         * math/w_tgammaf.c: Likewise.
49983         * math/w_tgammal.c: Likewise.
49984
49985         * po/ja.po: Update from translation team.
49986
49987 2011-09-29  Andreas Jaeger  <aj@suse.de>
49988
49989         [BZ #13179]
49990         * sunrpc/netname.c (netname2host): Fix logic.
49991
49992         [BZ #6779]
49993         [BZ #6783]
49994         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
49995         correctly.
49996         * math/w_remainder.c (__remainder): Likewise.
49997         * math/w_remainderf.c (__remainderf): Likewise.
49998         * math/libm-test.inc (remainder_test): Add test cases.
49999
50000 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
50001
50002         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
50003         sdiv_qrnnd.
50004
50005 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
50006
50007         * string/test-memcmp.c: Avoid unncessary #defines.
50008         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
50009
50010 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50011
50012         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
50013         Use new sse2 version for core i3 - i7 as it's faster
50014         than sse42 version.
50015         (bit_Prefer_PMINUB_for_stringop): New.
50016         * sysdeps/x86_64/rawmemchr.S: Update.
50017         Replace with faster SSE2 version.
50018         * sysdeps/x86_64/memrchr.S: New file.
50019         * sysdeps/x86_64/memchr.S: Update.
50020         Replace with faster SSE2 version.
50021
50022 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
50023
50024         * elf/dl-load.c (lose): Add cast to avoid warning.
50025
50026 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
50027
50028         * po/ca.po: Update from translation team.
50029
50030         * inet/getnetgrent_r.c: Hook up nscd.
50031         * nscd/Makefile (routines): Add nscd_netgroup.
50032         (nscd-modules): Add netgroupcache.
50033         (CFLAGS-netgroupcache.c): Define.
50034         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
50035         (cache_search): Add const to second parameter.
50036         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
50037         INNETGR.
50038         (dbs): Add netgrdb entry.
50039         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
50040         (verify_persistent_db): Handle netgrdb.
50041         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
50042         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
50043         GETFDNETGR.
50044         (netgroup_response_header): Define.
50045         (innetgroup_response_header): Define.
50046         (datahead): Add netgroup_response_header and innetgroup_response_header
50047         elements.
50048         * nscd/nscd.conf: Add entries for netgroup cache.
50049         * nscd/nscd.h (dbtype): Add netgrdb.
50050         (_PATH_NSCD_NETGROUP_DB): Define.
50051         (netgroup_iov_disabled): Declare.
50052         (xmalloc, xcalloc, xrealloc): Move declarations here.
50053         (cache_search): Adjust prototype.
50054         Add netgroup-related prototypes.
50055         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
50056         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
50057         (__nscd_innetgr): Declare.
50058         * nscd/selinux.c (perms): Use access_vector_t as element type and
50059         add netgroup-related initializers.
50060         * nscd/netgroupcache.c: New file.
50061         * nscd/nscd_netgroup.c: New file.
50062         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
50063         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
50064         For four parameters use innetgr.
50065         * nss/nss_files/files-init.c: Add definition and callback for netgr.
50066         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
50067         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
50068         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
50069
50070         * nscd/connections.c (register_traced_file): Don't register file
50071         for disabled databases.
50072
50073 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
50074
50075         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
50076
50077         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
50078         from tree and freeing node.
50079
50080 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
50081
50082         * nss/nsswitch.c (__nss_database_lookup): Handle
50083         nss_parse_service_list out of memory case.
50084
50085 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
50086
50087         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
50088         out of memory case.
50089
50090 2011-10-04  Andreas Schwab  <schwab@redhat.com>
50091
50092         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
50093         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
50094         pass it down.
50095         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
50096         elf_machine_rela, elf_machine_lazy_rel.
50097         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
50098         (ELF_DYNAMIC_DO_REL): Likewise.
50099         (ELF_DYNAMIC_DO_RELA): Likewise.
50100         (ELF_DYNAMIC_RELOCATE): Likewise.
50101         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
50102         to ELF_DYNAMIC_DO_REL.
50103         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
50104         (dl_main): In trace mode always set __RTLD_NOIFUNC.
50105         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
50106         elf_machine_rela.
50107         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
50108         skip_ifunc, don't call ifunc function if non-zero.
50109         (elf_machine_rela): Likewise.
50110         (elf_machine_lazy_rel): Likewise.
50111         (elf_machine_lazy_rela): Likewise.
50112         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
50113         (elf_machine_lazy_rel): Likewise.
50114         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
50115         Likewise.
50116         (elf_machine_lazy_rel): Likewise.
50117         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50118         Likewise.
50119         (elf_machine_lazy_rel): Likewise.
50120         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
50121         (elf_machine_lazy_rel): Likewise.
50122         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
50123         (elf_machine_lazy_rel): Likewise.
50124         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
50125         (elf_machine_lazy_rel): Likewise.
50126         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
50127         (elf_machine_lazy_rel): Likewise.
50128         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
50129         (elf_machine_lazy_rel): Likewise.
50130         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
50131         (elf_machine_lazy_rel): Likewise.
50132
50133 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
50134
50135         * nss/nss_files/files-init.c (_nss_files_init): Use static
50136         initialization for all the *_traced_file variables.
50137
50138 2011-09-28  Andreas Schwab  <schwab@redhat.com>
50139
50140         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50141
50142 2011-09-27  Roland McGrath  <roland@hack.frob.com>
50143
50144         [BZ #13226]
50145         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
50146
50147 2011-09-27  Andreas Schwab  <schwab@redhat.com>
50148
50149         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
50150         Reread the line before reparsing it.
50151
50152 2011-09-26  Andreas Schwab  <schwab@redhat.com>
50153
50154         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
50155
50156 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
50157             Maxim Kuvyrkov  <maxim@codesourcery.com>
50158             Joseph Myers  <joseph@codesourcery.com>
50159
50160         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
50161         if needed for __stack_chk_guard.
50162
50163 2011-09-19  Roland McGrath  <roland@hack.frob.com>
50164
50165         * sysdeps/posix/spawni.c (script_execute): Always define it.
50166         It will be optimized away if unused.
50167         (maybe_script_execute): New function.
50168         (__spawni): Call it.
50169
50170         * Makerules: Don't include tls.make.
50171         (config-tls): Always set to thread.
50172         * tls.make.c: File removed.
50173
50174 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
50175
50176         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
50177         * config.make.in (CPPFLAGS-config): New substituted variable.
50178
50179 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
50180
50181         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
50182
50183         [BZ #13192]
50184         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
50185         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
50186
50187 2011-09-15  Roland McGrath  <roland@hack.frob.com>
50188
50189         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
50190         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
50191         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
50192         (CALL_FAIL): Likewise.
50193         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
50194         (CALL_FAIL): Macro removed.
50195         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
50196
50197 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
50198
50199         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
50200         for __FINITE_MATH_ONLY__ == 1.
50201
50202 2011-09-15  Andreas Schwab  <schwab@redhat.com>
50203
50204         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
50205         __ieee754_sqrt instead of sqrt.
50206         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
50207         __ieee754_sqrtf instead of sqrtf.
50208         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
50209         __floorf instead of floorf.
50210         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
50211         __floorf, __truncf instead of floorf, truncf.
50212
50213 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
50214
50215         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
50216
50217         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
50218         __extern_always_inline.
50219         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
50220         32-bit.
50221
50222 2011-09-14  Andreas Schwab  <schwab@redhat.com>
50223
50224         * elf/rtld.c (dl_main): Also relocate in dependency order when
50225         doing symbol dependency testing.
50226
50227 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
50228
50229         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
50230         Always define `refsym'.
50231
50232 2011-09-13  Andreas Schwab  <schwab@redhat.com>
50233
50234         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
50235         (__FD_ELT): Renamed from __FDELT.
50236         * misc/bits/select2.h (__FD_ELT): Likewise.
50237         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
50238         __FD_MASK instead of __FDELT, __FDMASK.
50239         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50240         Likewise.
50241         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
50242         Likewise.
50243
50244         * elf/Makefile (gen-ldd): Fix pattern.
50245
50246         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
50247         (init_tls): Likewise.
50248
50249 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
50250
50251         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
50252
50253 2011-09-12  Andreas Schwab  <schwab@redhat.com>
50254
50255         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
50256         `struct cmsghdr *' instead of `void *'.
50257         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
50258         Likewise.
50259
50260 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
50261
50262         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
50263         if non-absolute.
50264         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
50265         ldd_rewrite_script.
50266
50267 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
50268
50269         * configure.in: Remove --with-tls option.
50270         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
50271         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
50272         out in case it is missing.
50273         * sysdeps/ia64/elf/configure.in: Likewise.
50274         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
50275         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
50276         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
50277         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
50278         * sysdeps/sh/elf/configure.in: Likewise.
50279         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
50280         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
50281         * sysdeps/x86_64/elf/configure.in: Likewise.
50282         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
50283         * sysdeps/mach/hurd/tls.h: Likewise.
50284
50285         [BZ #13067]
50286         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
50287
50288         [BZ #13090]
50289         * configure.in: Fix use of AC_INIT.
50290
50291         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
50292
50293 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
50294
50295         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
50296         __set_errno.
50297         * malloc/hooks.c: Likewise.
50298
50299         [BZ #11929]
50300         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
50301         variables statically.
50302         (narenas): Initialize.
50303         (list_lock): Initialize.
50304         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
50305         initializtion of main_arena and list_lock.  Small cleanups.
50306         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
50307         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
50308         Add initializers to main_arena and mp_.
50309         (malloc_state): Remove pagesize member.  Change all users to use
50310         GLRO(dl_pagesize).
50311
50312         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
50313         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
50314         is always initialized.
50315
50316         * malloc/malloc.c: Removed unused configurations and dead code.
50317         * malloc/arena.c: Likewise.
50318         * malloc/hooks.c: Likewise.
50319         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
50320
50321         * include/tls.h: Removed.  USE___THREAD must always be defined.
50322         * bits/libc-tsd.h: Don't handle !USE___THREAD.
50323         * elf/dl-libc.c: Likewise.
50324         * elf/dl-tsd.c: Likewise.
50325         * include/errno.h: Likewise.
50326         * include/netdb.h: Likewise.
50327         * include/resolv.h: Likewise.
50328         * inet/herrno-loc.c: Likewise.
50329         * inet/herrno.c: Likewise.
50330         * malloc/arena.c: Likewise.
50331         * malloc/hooks.c: Likewise.
50332         * malloc/malloc.c: Likewise.
50333         * resolv/res-state.c: Likewise.
50334         * resolv/res_libc.c: Likewise.
50335         * sysdeps/i386/dl-machine.h: Likewise.
50336         * sysdeps/ia64/dl-machine.h: Likewise.
50337         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
50338         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
50339         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
50340         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
50341         * sysdeps/sh/dl-machine.h: Likewise.
50342         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
50343         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
50344         * sysdeps/unix/i386/sysdep.S: Likewise.
50345         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
50346         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
50347         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
50348         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
50349         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
50350         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
50351         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
50352         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
50353         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
50354         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
50355         * sysdeps/unix/x86_64/sysdep.S: Likewise.
50356         * sysdeps/x86_64/dl-machine.h: Likewise.
50357         * tls.make.c: Likewise.
50358
50359         * configure.in: Remove --with-__thread option.  Make tests for
50360         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
50361         tls_model attribute fail if no support is available.  Remove
50362         USE_IN_LIBIO.
50363         * Makeconfig: Adjust for dropped configure option.  All features are
50364         now mandatory.
50365         * Makerules: Likewise.
50366         * Versions.def: Likewise.
50367         * argp/argp-fmtstream.c: Likewise.
50368         * argp/argp-fmtstream.h: Likewise.
50369         * argp/argp-help.c: Likewise.
50370         * assert/assert.c: Likewise.
50371         * config.h.in: Likewise.
50372         * config.make.in: Likewise.
50373         * configure: Likewise.
50374         * configure.in: Likewise.
50375         * csu/Versions: Likewise.
50376         * csu/init.c: Likewise.
50377         * elf/tst-audit2.c: Likewise.
50378         * elf/tst-tls10.c: Likewise.
50379         * elf/tst-tls10.h: Likewise.
50380         * elf/tst-tls11.c: Likewise.
50381         * elf/tst-tls12.c: Likewise.
50382         * elf/tst-tls14.c: Likewise.
50383         * elf/tst-tlsmod11.c: Likewise.
50384         * elf/tst-tlsmod12.c: Likewise.
50385         * elf/tst-tlsmod13.c: Likewise.
50386         * elf/tst-tlsmod13a.c: Likewise.
50387         * elf/tst-tlsmod14a.c: Likewise.
50388         * elf/tst-tlsmod15b.c: Likewise.
50389         * elf/tst-tlsmod16a.c: Likewise.
50390         * elf/tst-tlsmod16b.c: Likewise.
50391         * elf/tst-tlsmod7.c: Likewise.
50392         * elf/tst-tlsmod8.c: Likewise.
50393         * elf/tst-tlsmod9.c: Likewise.
50394         * gmon/gmon.c: Likewise.
50395         * grp/fgetgrent_r.c: Likewise.
50396         * grp/putgrent.c: Likewise.
50397         * hurd/fopenport.c: Likewise.
50398         * include/libc-symbols.h: Likewise.
50399         * include/tls.h: Likewise.
50400         * intl/gettextP.h: Likewise.
50401         * intl/loadinfo.h: Likewise.
50402         * locale/global-locale.c: Likewise.
50403         * locale/localeinfo.h: Likewise.
50404         * mach/devstream.c: Likewise.
50405         * malloc/arena.c: Likewise.
50406         * malloc/set-freeres.c: Likewise.
50407         * misc/err.c: Likewise.
50408         * misc/getttyent.c: Likewise.
50409         * misc/mntent_r.c: Likewise.
50410         * posix/getopt.c: Likewise.
50411         * posix/wordexp.c: Likewise.
50412         * pwd/fgetpwent_r.c: Likewise.
50413         * resolv/Versions: Likewise.
50414         * resolv/res_hconf.c: Likewise.
50415         * shadow/fgetspent_r.c: Likewise.
50416         * shadow/putspent.c: Likewise.
50417         * stdio-common/printf_fphex.c: Likewise.
50418         * stdio-common/tmpfile.c: Likewise.
50419         * stdlib/abort.c: Likewise.
50420         * stdlib/fmtmsg.c: Likewise.
50421         * sunrpc/auth_unix.c: Likewise.
50422         * sunrpc/clnt_perr.c: Likewise.
50423         * sunrpc/clnt_tcp.c: Likewise.
50424         * sunrpc/clnt_udp.c: Likewise.
50425         * sunrpc/clnt_unix.c: Likewise.
50426         * sunrpc/openchild.c: Likewise.
50427         * sunrpc/svc_simple.c: Likewise.
50428         * sunrpc/svc_tcp.c: Likewise.
50429         * sunrpc/svc_udp.c: Likewise.
50430         * sunrpc/svc_unix.c: Likewise.
50431         * sunrpc/xdr.c: Likewise.
50432         * sunrpc/xdr_array.c: Likewise.
50433         * sunrpc/xdr_rec.c: Likewise.
50434         * sunrpc/xdr_ref.c: Likewise.
50435         * sunrpc/xdr_stdio.c: Likewise.
50436
50437 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50438
50439         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
50440
50441 2011-07-03  Andreas Jaeger  <aj@suse.de>
50442
50443         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
50444         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
50445         regenerate with gen-libm-tests.pl.
50446
50447 2010-05-12  Petr Baudis  <pasky@suse.cz>
50448
50449         [BZ #11589]
50450         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
50451         around j0() zero points by switching to j1().
50452         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
50453         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
50454         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
50455         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
50456
50457 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50458
50459         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
50460         instead of 0.
50461         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
50462         instead of 0.
50463         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
50464         Patch in part by Pavel Roskin <proski@gnu.org>.
50465
50466         [BZ #13138]
50467         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
50468         realloc.
50469         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
50470         Free memory block if necessary.
50471
50472         [BZ #12847]
50473         * libio/genops.c (INTDEF): For string streams the _lock pointer can
50474         be NULL.  Don't lock in this case.
50475
50476 2011-09-09  Roland McGrath  <roland@hack.frob.com>
50477
50478         * elf/elf.h (ELFOSABI_GNU): New macro.
50479         (ELFOSABI_LINUX): Define to that.
50480
50481 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
50482
50483         * string/strncat.c (strncat): Undef the symbol in case it has been
50484         defined in bits/string.h.
50485
50486 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
50487
50488         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
50489
50490         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
50491         link map.
50492
50493 2011-08-17  Andreas Jaeger  <aj@suse.de>
50494
50495         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
50496
50497 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
50498             Ian Lance Taylor  <iant@google.com>
50499
50500         * math/libm-test.inc (lround_test): New testcase.
50501         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
50502
50503 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
50504
50505         * Makefile: Remove support for automatic cvs check-ins.
50506         * Makerules: Likewise.
50507         * config.make.in: Likewise.
50508         * configure.in: Likewise.
50509         * intl/Makefile: Likewise.
50510         * locale/Makefile: Likewise.
50511         * po/Makefile: Likewise.
50512         * posix/Makefile: Likewise.
50513         * sysdeps/gnu/Makefile: Likewise.
50514         * sysdeps/mach/hurd/Makefile: Likewise.
50515         * sysdeps/sparc/sparc32/Makefile: Likewise.
50516
50517         [BZ #13118]
50518         * posix/Makefile (bug-regex32-ENV): Define.
50519         Patch by John Stanley <jpsinthemix@verizon.net>.
50520
50521         * misc/Makefile (headers): Add bits/select2.h.
50522         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
50523         * misc/bits/select2.h: New file.
50524         * include/bits/select2.h: New file.
50525         * debug/Makefile (routines): Add fdelt_chk.
50526         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
50527         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
50528         FD_ISSET.
50529         * debug/fdelt_chk.c: New file.
50530
50531         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
50532         * wcsmbs/test-wmemcmp.c: Likewise.
50533         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
50534         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
50535
50536 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50537
50538         * string/Makefile (strop-tests): Add memcmp.
50539         * string/test-wmemcmp.c: New file.
50540         * string/test-memcmp.c: Add wmemcmp support.
50541
50542 2011-09-08  Roland McGrath  <roland@hack.frob.com>
50543
50544         [BZ #13153]
50545         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
50546         2011-07-19 change.
50547
50548         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
50549         garbage value in a __mach_port_mod_refs call in the cases of the
50550         task-self and thread-self ports.
50551
50552 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50553
50554         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
50555
50556 2011-09-08  Andreas Schwab  <schwab@redhat.com>
50557
50558         * elf/dl-load.c (lose): Check for non-null L.
50559
50560 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
50561
50562         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
50563
50564         * elf/dl-libc.c (dlerror_run): Pass back error code from
50565         dl_catch_error.
50566
50567         [BZ #13123]
50568         * elf/dl-load.c (lose): Free l_origin if it is valid.
50569
50570         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
50571         names.
50572         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
50573         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50574         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
50575         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50576         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
50577         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
50578
50579 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50580
50581         * sysdeps/powerpc/fpu/e_hypot.c: New file.
50582         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
50583         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
50584         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
50585         * sysdeps/powerpc/fpu/k_cosf.c: New file.
50586         * sysdeps/powerpc/fpu/k_sinf.c: New file.
50587         * sysdeps/powerpc/fpu/s_cosf.c: New file.
50588         * sysdeps/powerpc/fpu/s_sinf.c: New file.
50589         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
50590         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
50591
50592 2011-08-15  Alan Modra  <amodra@gmail.com>
50593
50594         [BZ #13092]
50595         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
50596         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
50597         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
50598         ppc_mcount to static-only-routines.
50599         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
50600         __mcount_internal.
50601         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
50602         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
50603
50604 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
50605
50606         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
50607         for finite and infinity parameters.
50608
50609 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
50610
50611         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
50612         and add nop instructions for throughput optimization.
50613         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
50614
50615 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
50616
50617         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
50618         aligned copy for power7 with vector-scalar instructions.
50619         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
50620
50621 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
50622
50623         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
50624         AVX check.
50625
50626 2011-09-07  Andreas Schwab  <schwab@redhat.com>
50627
50628         [BZ #13144]
50629         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
50630         last change.
50631
50632 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
50633
50634         * sysdeps/unix/sysv/linux/x86_64/init-first.c
50635         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
50636         syscall wrapper around clock_gettime in __vdso_clock_gettime.
50637         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
50638         clock_gettime.
50639
50640 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
50641
50642         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
50643         Forgot to demangle the pointer.
50644
50645         * sysdeps/i386/sysdep.h: Define atom_text_section.
50646         * sysdeps/x86_64/sysdep.h: Likewise.
50647         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
50648         section with atom_text_section.
50649         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
50650         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
50651         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
50652         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
50653         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
50654
50655         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
50656         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
50657         already be defined.  Change to take two parameters and don't assign
50658         result to variable.  Adjust all users.
50659         Define INTERNAL_GETTIME if not already defined.
50660         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
50661         call.
50662         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
50663         HAVE_CLOCK_GETTIME_VSYSCALL.
50664         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
50665
50666         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
50667         gettimeofday vsyscall, just use time.
50668
50669 2011-09-06  Andreas Schwab  <schwab@redhat.com>
50670
50671         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
50672         <errno.h>.
50673
50674 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
50675
50676         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
50677         syscall on x86-64.
50678         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
50679         syscall.
50680         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
50681         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
50682         syscall if possible.
50683
50684 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50685
50686         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
50687         e_ident.  Don't pass to find_mapsXX.
50688         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
50689
50690 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50691
50692         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
50693         strchr-sse2-no-bsf strrchr-sse2-no-bsf
50694         * sysdeps/x86_64/multiarch/strchr.S: Update.
50695         Check bit_slow_BSF bit.
50696         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
50697         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
50698         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
50699
50700 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50701
50702         [BZ #13134]
50703         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
50704         before glibc 2.15.
50705         (tryshell): Define.
50706         (__spawni): Change last parameter to be flag.  Test
50707         SPAWN_XFLAGS_USE_PATH flag to use path or not.
50708         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
50709         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
50710         * posix/spawni.c: Likewise.
50711         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
50712         * posix/spawnp.c: Likewise.  Change normal version to use
50713         SPAWN_XFLAGS_USE_PATH.
50714         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
50715         SPAWN_XFLAGS_TRY_SHELL.
50716
50717         [BZ #13150]
50718         * posix/glob.h: Remove gcc 1.x support.
50719
50720         [BZ #13068]
50721         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
50722
50723 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
50724
50725         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
50726         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
50727         strrchr-sse2-bsf
50728         * sysdeps/i386/i686/multiarch/strchr.S: New file.
50729         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
50730         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
50731         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
50732         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
50733         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
50734
50735 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
50736
50737         * sysdeps/x86_64/wcscmp.S: New file.
50738
50739         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
50740         wcscmp-c wcscmp-sse2
50741         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
50742         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
50743         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
50744         * wcsmbs/wcscmp.c: Allow renaming.
50745
50746 2011-09-05  David S. Miller  <davem@davemloft.net>
50747
50748         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
50749         stack slot, rather than the struct return pointer slot.
50750         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
50751         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
50752         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
50753         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
50754
50755 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
50756
50757         * po/ja.po: Update from translation team.
50758
50759         [BZ #13144]
50760         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
50761         kernel in 64-bit binaries.
50762
50763 2011-09-01  David S. Miller  <davem@davemloft.net>
50764
50765         * elf/elf.h (HWCAP_SPARC_*): Move to..
50766         * sysdeps/sparc/sysdep.h: this new file and add new values.
50767         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
50768         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
50769         _DL_HWCAP_COUNT to 24.
50770         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
50771         entries.
50772         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
50773         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
50774         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
50775         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
50776         instead of magic constants.
50777         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
50778
50779 2011-08-31  David S. Miller  <davem@davemloft.net>
50780
50781         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
50782         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
50783         Reimplement to do errno handling inline.
50784         (SYSCALL_ERROR_HANDLER): New macro.
50785         (__SYSCALL_STRING): Do not do errno handling in asm.
50786         (__CLONE_SYSCALL_STRING): Delete.
50787         (__INTERNAL_SYSCALL_STRING): Delete.
50788         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
50789         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
50790         (PSEUDO): Reimplement to do errno handling inline.
50791         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
50792         (SYSCALL_ERROR_HANDLER): New macro.
50793         (__SYSCALL_STRING): Do not do errno handling in asm.
50794         (__CLONE_SYSCALL_STRING): Delete.
50795         (__INTERNAL_SYSCALL_STRING): Delete.
50796         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
50797         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
50798         i386.
50799         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
50800         (inline_syscall*): Add 'err' argument.
50801         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
50802         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
50803         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
50804         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
50805
50806         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
50807         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
50808
50809 2011-08-30  Andreas Schwab  <schwab@redhat.com>
50810
50811         * elf/rtld.c (dl_main): Relocate objects in dependency order.
50812
50813 2011-08-29  Jiri Olsa <jolsa@redhat.com>
50814
50815         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
50816         directive.
50817
50818 2011-08-24  David S. Miller  <davem@davemloft.net>
50819
50820         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
50821
50822 2011-08-24  Andreas Schwab  <schwab@redhat.com>
50823
50824         * elf/Makefile: Add rules to build and run unload8 test.
50825         * elf/unload8.c: New file.
50826         * elf/unload8mod1.c: New file.
50827         * elf/unload8mod1x.c: New file.
50828         * elf/unload8mod2.c: New file.
50829         * elf/unload8mod3.c: New file.
50830
50831         * elf/dl-close.c (_dl_close_worker): Reset private search list if
50832         it wasn't used.
50833
50834 2011-08-23  David S. Miller  <davem@davemloft.net>
50835
50836         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
50837         subtract stack bias.
50838         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
50839         %sp not %fp in calculations.
50840         (_JMPBUF_UNWINDS_ADJ): Likewise.
50841
50842         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
50843         (aio_suspend): Call it to force an exception region around the
50844         AIO_MISC_WAIT() invocation.
50845
50846 2011-08-23  Andreas Schwab  <schwab@redhat.com>
50847
50848         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
50849         backslash.
50850
50851 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
50852
50853         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
50854         protection macro.
50855         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
50856         and <dl-machine.h>.
50857         (Elf64_FuncDesc): Remove.
50858
50859 2011-08-22  David S. Miller  <davem@davemloft.net>
50860
50861         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
50862         sigaltstack check, add missing cfi directives.
50863         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
50864         missing cfi directives, and sigaltstack handling.
50865
50866 2011-08-16  Andreas Schwab  <schwab@redhat.com>
50867
50868         [BZ #11724]
50869         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
50870         object is seen twice.
50871         * elf/dl-fini.c (_dl_sort_fini): Likewise.
50872
50873         * elf/Makefile (distribute): Add tst-initorder2.c.
50874         (tests): Add tst-initorder2.
50875         (modules-names): Add tst-initorder2a tst-initorder2b
50876         tst-initorder2c tst-initorder2d.  Add rules to build them.
50877         ($(objpfx)tst-initorder2.out): New rule.
50878         * elf/tst-initorder2.c: New file.
50879         * elf/tst-initorder2.exp: New file.
50880
50881 2011-08-22  Andreas Schwab  <schwab@redhat.com>
50882
50883         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
50884
50885         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
50886         dependencies back to end of function.
50887
50888         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
50889         $(elfobjdir)/ld.so.
50890
50891 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
50892
50893         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
50894         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
50895         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
50896         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
50897         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
50898         of __vdso_gettimeofday.
50899         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
50900         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
50901         attribute_hidden.
50902         (_libc_vdso_platform_setup): Remove initialization of
50903         __vdso_gettimeofday and __vdso_time.
50904
50905 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
50906
50907         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
50908         and fgetc_unlocked.
50909         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
50910         getc_unlocked.
50911
50912         * elf/dl-open.c (add_to_global): Report additions to the global scope
50913         for LD_DEBUG=scopes.
50914         (dl_open_worker): Also print scope of newly loaded dependencies.
50915         (_dl_show_scope): Indicate if there is no scope.
50916
50917         [BZ #13114]
50918         * stdio-common/Makefile (tests): Add bug24.
50919         * stdio-common/bug24.c: New file.
50920
50921 2011-08-19  Andreas Jaeger  <aj@suse.de>
50922
50923         [BZ #13114]
50924         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
50925         non-existant file when using close-on-exec mode.
50926
50927 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
50928
50929         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
50930         the very first instruction.
50931
50932         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
50933         the CFI state in the end.
50934         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
50935         inclusion of dl-trampoline.h.
50936         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
50937
50938 2011-08-19  Andreas Schwab  <schwab@redhat.com>
50939
50940         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
50941         expectations for long double.
50942
50943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
50944         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
50945
50946 2011-08-14  David S. Miller  <davem@davemloft.net>
50947
50948         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
50949         artificual limit depends upon the system page size.
50950
50951 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
50952
50953         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
50954         * resolv/Makefile: Define CFLAGS-libresolv.
50955
50956 2011-08-17  Andreas Schwab  <schwab@redhat.com>
50957
50958         * nss/makedb.c (compute_tables): Make variables used in nested
50959         function static.
50960
50961 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
50962
50963         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
50964         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
50965         if buffer was too small.
50966
50967         * elf/pldd.c (main): Attach to all threads in the process.
50968         Rewrite /proc handling to use *at functions.
50969
50970 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
50971
50972         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
50973         specifies first scope to show.
50974         (dl_open_worker): Update callers.  Move printing scope of new
50975         object to before the relocation.
50976         * elf/rtld.c (dl_main): Update _dl_show_scope call.
50977         * sysdeps/generic/ldsodefs.h: Update declaration.
50978
50979         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
50980         string for the scope number.
50981
50982 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
50983
50984         * nscd/servicescache.c (cache_addserv): Make sure written is always
50985         initialized.
50986
50987 2011-08-14  Roland McGrath  <roland@hack.frob.com>
50988
50989         * sysdeps/i386/i486/bits/atomic.h
50990         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
50991         statement expression, so as to suppress "set but not used" warning.
50992         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
50993
50994         * string/strncat.c (STRNCAT): Use prototype definition.
50995
50996         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
50997         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
50998         -Iprograms here.
50999         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
51000         (localedef-modules): Add localedef.
51001         (locale-modules): Add locale.
51002
51003         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
51004         * elf/rtld.c (dl_main): Invert order of assignment in last change,
51005         to avoid a warning.
51006
51007 2011-08-14  David S. Miller  <davem@davemloft.net>
51008
51009         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
51010         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
51011
51012 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
51013
51014         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
51015         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
51016         * elf/rtld.c (dl_main): Set l_name of vDSO.
51017         Call _dl_show_scope when DL_DEBUG_SCOPES.
51018         (process_dl_debug): Recognize scopes flag and also set it for all.
51019         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
51020         Declare _dl_show_scope.
51021
51022         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
51023         (do_dlopen): Pass caller_dlopen to dl_open.
51024         (__libc_dlopen_mode): Initialize caller_dlopen.
51025
51026         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
51027         of libc.  Make tolower call locale-independent.  Optimize a bit by
51028         using isdigit instead of isalnum.
51029         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
51030
51031 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
51032
51033         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
51034         was a dependency or dynamically loaded.
51035
51036 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
51037
51038         * intl/l10nflist.c: Allow architecture-specific pop function.
51039         * sysdeps/x86_64/l10nflist.c: New file.
51040
51041         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
51042         classification.
51043
51044 2011-08-10  Andreas Schwab  <schwab@redhat.com>
51045
51046         * include/dirent.h: Add libc_hidden_proto for scandirat and
51047         scandirat64.  Don't declare __scandirat64.
51048         * dirent/scandirat.c: Add libc_hidden_def.
51049         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
51050         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
51051
51052 2011-08-10  David S. Miller  <davem@davemloft.net>
51053
51054         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
51055         enum.
51056         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51057         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51058         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51059
51060 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
51061
51062         * Versions.def [libc]: Add GLIBC_2.15.
51063         * dirent/Makefile (routines): Add scandirat and scandirat64.
51064         * dirent/Versions [libc]: Export scandirat and scandirat64 for
51065         GLIBC_2.15.
51066         * dirent/dirent.h: Declare scandirat and scandirat64.
51067         * dirent/scandirat.c: New file.
51068         * dirent/scandirat64.c: New file.
51069         * sysdeps/wordsize-64/scandirat.c: New file.
51070         * sysdeps/wordsize-64/scandirat64.c: New file.
51071         * dirent/opendir.c: Define opendirat.
51072         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
51073         using scandirat.
51074         * dirent/scandir64.c: Adjust for scandir.c change.
51075         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
51076         __scandirat64, and __scandir_cancel_handler.
51077         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
51078         additional parameter and use openat instead of open (outside of ld.so).
51079         Add new __opendir as wrapper around __opendirat.
51080         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
51081         here without requiring old scandirat implementation.
51082
51083 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
51084
51085         * dirent/scandir.c (cancel_handler): Renamed to
51086         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
51087         defined.  Adjust users.
51088         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
51089         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
51090
51091 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
51092
51093         * string/test-string.h (IMPL): Use __STRING to expand name and then
51094         stringify it.
51095
51096         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
51097         of cleanups.
51098
51099 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51100
51101         * string/Makefile: Update.
51102         (strop-tests): Append strncat.
51103         * string/test-wcscmp.c: New file.
51104         New comprehensive test for wcscmp.
51105         * string/test-strcmp.c: Update.
51106         (WIDE): New define.
51107
51108 2011-07-22  Andreas Schwab  <schwab@redhat.com>
51109
51110         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
51111         line.
51112
51113 2011-07-26  Andreas Schwab  <schwab@redhat.com>
51114
51115         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
51116         encoding to ACE if AI_IDN.
51117
51118 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
51119
51120         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
51121         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
51122
51123 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51124
51125         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
51126         Fix overflow bug in strncat.
51127         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
51128
51129         * string/test-strncat.c: Update.
51130         Add new tests for checking overflow bugs.
51131
51132 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51133
51134         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51135         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
51136         * sysdeps/i386/i686/multiarch/strcat.S: New file.
51137         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
51138         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
51139         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
51140         * sysdeps/i386/i686/multiarch/strncat.S: New file.
51141         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
51142         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
51143
51144         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
51145         (USE_AS_STRCAT): Define.
51146         Add strcat and strncat support.
51147         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
51148
51149 2011-07-25  Andreas Schwab  <schwab@redhat.com>
51150
51151         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
51152         __n bigger than INT_MAX+1.
51153         (__strncmp_g): Likewise.
51154
51155 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
51156
51157         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
51158         * libio/stido.h: Likewise.
51159
51160         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
51161         (AF_NFC): Define.
51162         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
51163         (AF_NFC): Define.
51164
51165         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
51166         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
51167         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
51168         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
51169         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
51170
51171         [BZ #13021]
51172         * scripts/test-installation.pl: Don't expect libnss_test1 to be
51173         installed.
51174
51175         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
51176         typo.
51177         (_dl_x86_64_save_sse): Likewise.
51178
51179 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
51180
51181         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
51182         OSXSAVE.
51183         (_dl_x86_64_save_sse): Likewise.
51184
51185         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
51186
51187         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
51188
51189 2011-07-21  Andreas Schwab  <schwab@redhat.com>
51190
51191         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
51192         change.
51193         (_dl_x86_64_save_sse): Use correct AVX check.
51194
51195 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
51196
51197         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
51198         bug in strncpy/strncat.
51199         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
51200
51201 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
51202
51203         * string/tester.c (test_strcat): Add tests for different alignments
51204         of source and destination.
51205         (test_strncat): Likewise.
51206
51207 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
51208
51209         [BZ #12852]
51210         * posix/glob.c (glob): Check passed in values before using them in
51211         expressions to avoid some overflows.
51212         (glob_in_dir): Likewise.
51213
51214         [BZ #13007]
51215         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
51216         check for AVX enablement so that we don't crash with old kernels and
51217         new hardware.
51218         * elf/tst-audit4.c: Add same checks here.
51219         * elf/tst-audit6.c: Likewise.
51220
51221         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
51222
51223 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
51224
51225         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
51226
51227 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
51228
51229         * po/cs.po: Update from translation team.
51230         * po/bg.po: Likewise.
51231
51232 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
51233
51234         * misc/sys/cdefs.h: Add support for const attribute.
51235         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
51236         to gnu_dev_{major,minor,makedev} functions.
51237
51238 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
51239
51240         * intl/dcigettext.c (get_output_charset): Add missing bracket.
51241
51242 2011-07-20  Andreas Schwab  <schwab@redhat.com>
51243
51244         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
51245         strlen results.
51246
51247 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51248
51249         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
51250         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
51251         register in order to avoid conflicts with the soft frame pointer
51252         being held in r11 when necessary.
51253         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
51254         (INTERNAL_VSYSCALL_NCS): Likewise.
51255
51256 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
51257
51258         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
51259         * elf/dl-fini.c (_dl_fini): Adjust caller.
51260         * elf/dl-close.c (_dl_close_worker): Likewise.
51261         * sysdeps/generic/ldsodefs.h: Adjust declaration.
51262
51263 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
51264
51265         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
51266         "aux_cache->nlibs < 0".
51267
51268         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
51269         in the reload-count case.
51270
51271 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
51272
51273         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51274         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
51275         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
51276         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
51277         * sysdeps/x86_64/multiarch/strcat.S: New file.
51278         * sysdeps/x86_64/multiarch/strncat.S: New file.
51279         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
51280         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
51281         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
51282         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
51283         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
51284         (USE_AS_STRCAT): Define.
51285         Add strcat and strncat support.
51286         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
51287         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
51288         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
51289         * string/strncat.c: Update.
51290         (USE_AS_STRNCAT): Define.
51291         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51292         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
51293         and i7.
51294         * sysdeps/x86_64/multiarch/init-arch.h
51295         (bit_Prefer_PMINUB_for_stringop): New.
51296         (index_Prefer_PMINUB_for_stringop): Likewise.
51297         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
51298         bit_Prefer_PMINUB_for_stringop.
51299
51300 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
51301
51302         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
51303         buffer64.
51304         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
51305         of casting of buffer.
51306         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
51307         buffer32 and buffer64.
51308         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
51309         writes instead of casting of buffer.
51310         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
51311         buffer32.
51312         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
51313         casting of buffer.
51314
51315 2011-07-19  Andreas Schwab  <schwab@redhat.com>
51316
51317         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
51318
51319 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
51320
51321         * nscd/nscd.c (termination_handler): Don't do anything for a database
51322         if it has not yet been initialized.
51323
51324 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
51325
51326         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51327
51328 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
51329
51330         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
51331
51332 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
51333
51334         * po/nl.po: Update from translation team.
51335         * po/sv.po: Likewise.
51336
51337 2011-07-16  Roland McGrath  <roland@hack.frob.com>
51338
51339         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
51340         now disallowed by GCC.
51341
51342         * configure.in (use-default-link): Default to yes if a test -shared
51343         link meets our qualifications.
51344         * configure: Regenerated.
51345
51346         * config.make.in (output-format): New variable.
51347         * configure.in: Check for ld --print-output-format support.
51348         * configure: Regenerated.
51349         * Makerules ($(common-objpfx)format.lds)
51350         [$(output-format) != unknown]: Just use $(output-format),
51351         instead of the linker-script munging.
51352
51353 2011-07-14  Roland McGrath  <roland@hack.frob.com>
51354
51355         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
51356         of $(common-objpfx)shlib.lds.
51357         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
51358
51359         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
51360         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
51361
51362         * configure.in (-z relro check): Adjust test code to add a large
51363         writable data section after it.
51364         * configure: Regenerated.
51365
51366 2011-07-11  Roland McGrath  <roland@hack.frob.com>
51367
51368         * configure.in (-z relro check): Fix test code to make the variable
51369         truly const.
51370         * configure: Regenerated.
51371
51372 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
51373
51374         * nscd/nscd.h (struct traced_file): Define.
51375         (struct database_dyn): Remove inotify_descr, reset_res, and filename
51376         elements.  Add traced_files.
51377         (inotify_fd): Declare.
51378         (register_traced_file): Declare.
51379         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
51380         (inotify_fd): Export.
51381         (resolv_conf_descr): Remove.
51382         (nscd_init): Move inotify descriptor creation to main.
51383         Don't register files for notification here.
51384         (register_traced_file): New function.
51385         (invalidate_cache): Don't use reset_res to determine whether to call
51386         res_init, go through the list of registered files.
51387         (main_loop_poll): The inotify descriptors are now stored in the
51388         structures for the traced files.
51389         (main_loop_epoll): Likewise
51390         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
51391         to __nss_disable_nscd.
51392         * nscd/cache.c (prune_cache): There is no single inotify descriptor
51393         for a database anymore.  Check the records for all the registered
51394         files instead.
51395         * nss/Makefile (libnss_files-routines): Add files-init.
51396         (libnss_db-routines): Add db-init.
51397         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
51398         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
51399         * nss/nss_db/db-init.c: New file.
51400         * nss/nss_files/files-init.c: New file.
51401         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
51402         __nss_lookup_function.
51403         (__nss_lookup_function): Call nss_load_library.
51404         (nss_load_all_libraries): New function.
51405         (__nss_disable_nscd): Take parameter with callback function for files
51406         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
51407         used for the cached services.
51408         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
51409         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
51410         options for features to all the files in nscd.
51411
51412         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
51413
51414 2011-07-10  Roland McGrath  <roland@hack.frob.com>
51415
51416         * csu/elf-init.c (__libc_csu_init): Comment typo.
51417
51418 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
51419
51420         * po/pl.po: Update from translation team.
51421         * po/ja.po: Likewise.
51422         * po/ru.po: Likewise.
51423         * po/ko.po: Likewise.
51424         * po/fr.po: Likewise.
51425
51426 2011-07-09  Roland McGrath  <roland@hack.frob.com>
51427
51428         * configure.in (.ctors/.dtors header and trailer check):
51429         Use an empirical test on a built program.
51430         * configure: Regenerated.
51431
51432         * configure.in (-z relro check): Use an empirical test on a built DSO.
51433         Detect, but do not require, on ia64.
51434         * configure: Regenerated.
51435
51436         * configure.in (READELF): Find it with AC_CHECK_TOOL.
51437         Update tests that use readelf to use $READELF instead.
51438         * configure: Regenerated.
51439
51440 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
51441
51442         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
51443         if the result is not used.
51444
51445 2011-07-05  Andreas Jaeger  <aj@suse.de>
51446
51447         [BZ#9696]
51448         * stdlib/tst-strtod.c: Add testcase.
51449
51450 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
51451
51452         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
51453         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
51454         The latter has a higher limit.  Take additional parameter to pass to
51455         the new function.
51456         (__pathconf): Pass file to __statfs_link_max.
51457         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
51458         __statfs_link_max.
51459         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
51460         __statfs_link_max.
51461
51462         [BZ #12868]
51463         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
51464         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
51465         Handle Lustre.
51466         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
51467         (__statfs_filesize_max): Likewise.
51468         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
51469
51470 2011-07-05  Andreas Jaeger  <aj@suse.de>
51471
51472         * resolv/res_comp.c (dn_skipname): Remove unused variable.
51473
51474 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
51475
51476         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
51477         `status' variable.
51478         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
51479         Likewise.
51480
51481 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
51482
51483         * Makefile (strop-tests): Add strncat.
51484         * string/test-strncat.c: New file.
51485
51486 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
51487
51488         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
51489
51490 2011-06-21  Andreas Jaeger  <aj@suse.de>
51491
51492         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
51493         Copy rule from iconvdata/Makefile.
51494
51495 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
51496
51497         [BZ #12922]
51498         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
51499         but no long options are defined, just return 'W'.
51500
51501 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
51502
51503         [BZ #9696]
51504         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
51505
51506 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
51507
51508         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
51509         netgroups to read.
51510         (innetgr): Likewise.
51511
51512 2011-07-05  Roland McGrath  <roland@hack.frob.com>
51513
51514         * config.make.in (install_root): Default to $(DESTDIR).
51515
51516 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
51517
51518         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
51519
51520 2011-07-02  Roland McGrath  <roland@hack.frob.com>
51521
51522         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
51523
51524         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
51525         containing directory rather than embedding absolute directory names.
51526
51527         * scripts/check-local-headers.sh: Rewritten using awk.
51528         Match by word, not by line.  Print error messages for matches.
51529         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
51530
51531         * Makerules [shlib-lds-flags empty]:
51532         ($(common-objpfx)libc_pic.opts): New target.
51533         ($(common-objpfx)libc_pic.os.clean): New target.
51534         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
51535
51536         * config.make.in (OBJCOPY): New variable.
51537         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
51538         * configure: Regenerated.
51539
51540         * config.make.in (use-default-link): New variable.
51541         * configure.in (use_default_link): Grok --with-default-link to set it.
51542         * configure: Regenerated.
51543         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
51544         (shlib-lds, shlib-lds-flags): Define to empty.
51545
51546         * Makerules (shlib-lds): New variable.
51547         (shlib-lds-flags): New variable.
51548         (build-shlib, build-moduile, build-module-asneeded): Use it.
51549         ($(common-objpfx)libc.so): Use $(shlib-lds).
51550         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
51551         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
51552
51553         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
51554         DT_FLAGS/DT_FLAGS_1 with zero flags.
51555
51556         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
51557         linker script munging.
51558
51559 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
51560
51561         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
51562         as 128-bit value.
51563         * crypt/sha512.c (sha512_process_block): Perform total addition using
51564         128-bit if possible.
51565         (__sha512_finish_ctx): Likewise.
51566         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
51567         as 64-bit value.
51568         * crypt/sha256.c (SWAP64): Define.
51569         (sha256_process_block): Perform total addition using 64-bit if
51570         possible.
51571         (__sha256_finish_ctx): Likewise.
51572
51573 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
51574
51575         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
51576         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51577         * nscd/hstcache.c (cache_addhst): Likewise.
51578         * nscd/grpcache.c (cache_addgr): Likewise.
51579         * nscd/aicache.c (addhstaiX): Likewise
51580         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
51581
51582 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
51583
51584         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
51585         * nscd/initgrcache.c (addinitgroupsX): Likewise.
51586         * nscd/hstcache.c (cache_addhst): Likewise.
51587         * nscd/grpcache.c (cache_addgr): Likewise.
51588         * nscd/aicache.c (addhstaiX): Likewise
51589
51590 2011-07-01  Andreas Schwab  <schwab@redhat.com>
51591
51592         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
51593         domain only when needed.
51594
51595 2011-06-30  Andreas Schwab  <schwab@redhat.com>
51596
51597         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
51598         is always restored.
51599
51600 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
51601
51602         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
51603         are re-adding the entry.
51604         * nscd/servicescache.c (cache_addserv): Likewise.
51605
51606 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
51607
51608         * sysdeps/generic/dl-irel.h: fix protection against multiple
51609         inclusions.
51610         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
51611
51612 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
51613
51614         [BZ #12935]
51615         * malloc/memusage.sh: Fix quoting in message.
51616         * debug/xtrace.sh: Likewise.
51617
51618         * configure.in: Remove support for --experimental-malloc option, make
51619         it the default.
51620         * config.make.in: Likewise.
51621         * malloc/Makefile: Likewise.
51622
51623 2011-06-27  Andreas Schwab  <schwab@redhat.com>
51624
51625         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
51626         two-byte characters.
51627
51628 2011-06-27  Roland McGrath  <roland@hack.frob.com>
51629
51630         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
51631         AC_CACHE_CHECK invocation.
51632         * configure: Regenerated.
51633
51634         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
51635
51636 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
51637
51638         [BZ #12350]
51639         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
51640         bit from old_res_options.
51641
51642         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
51643
51644         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
51645         value type for setfct.
51646
51647 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
51648
51649         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51650         __gettimeofday instead of gettimeofday.
51651
51652 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
51653
51654         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
51655
51656 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
51657
51658         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
51659
51660         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
51661         info.
51662
51663 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
51664
51665         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
51666         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51667         strcpy-sse2-unaligned strncpy-sse2-unaligned
51668         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
51669         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
51670         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
51671         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
51672         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
51673         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
51674         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
51675         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
51676         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
51677         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
51678         (STRCPY): Support SSE2 and SSSE3 versions.
51679
51680 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
51681
51682         [BZ #12874]
51683         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
51684         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
51685         kernels which artificially limit size of requests.
51686
51687 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
51688
51689         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
51690         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
51691         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
51692         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
51693         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
51694         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
51695         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
51696         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
51697         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
51698         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
51699         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
51700         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
51701         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
51702         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
51703         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
51704         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51705         Enable unaligned load optimization for Intel Core i3, i5 and i7
51706         processors.
51707         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
51708         Define.
51709         (index_Fast_Unaligned_Load): Define.
51710         (HAS_FAST_UNALIGNED_LOAD): Define.
51711
51712 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
51713
51714         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
51715
51716 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
51717
51718         [BZ #12907]
51719         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
51720         until it is clear that the information is realy needed.
51721         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
51722
51723 2011-06-22  Andreas Schwab  <schwab@redhat.com>
51724
51725         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
51726
51727 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
51728
51729         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
51730         /sys/devices/system/cpu/online if it is usable.
51731
51732         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
51733         reading the information from the /proc filesystem to once a second.
51734
51735 2011-06-21  Andreas Jaeger  <aj@suse.de>
51736
51737         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
51738         NULL after inclusion of kernel headers.
51739
51740 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
51741
51742         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
51743         calls to internal_setent.
51744
51745         [BZ #12885]
51746         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
51747         addresses using gethostbyname4_r ignore IPv4 addresses.
51748
51749         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
51750         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
51751
51752         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
51753
51754 2011-06-20  David S. Miller  <davem@davemloft.net>
51755
51756         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
51757         inclusions.
51758         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
51759
51760         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
51761         (elf_irel): Use it.
51762         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
51763         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
51764         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
51765         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
51766         * sysdeps/x86_64/dl-irel.h: Likewise.
51767
51768         * elf/dl-runtime.c: Use elf_ifunc_invoke.
51769         * elf/dl-sym.c: Likewise.
51770
51771 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
51772
51773         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
51774         need to dereference resplen2.
51775
51776 2011-06-14  Andreas Schwab  <schwab@redhat.com>
51777
51778         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
51779
51780 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
51781
51782         * Makeconfig: Define vardbdir and inst_vardbdir.
51783         * nss/Makefile: Add rules to install db-Makefile.
51784
51785         * nss/nss_db/db-XXX.c: Cleanup.
51786
51787         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
51788         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
51789         GLIBC_PRIVATE.
51790         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
51791         * nss/makedb.c: Implement -g option to specify that value strings
51792         are generated and should not be added to table iterated over for
51793         get*ent calls.
51794         * nss/nss_db/db-initgroups.c: New file.
51795
51796         * nss/getent.c: Add support for initgroups lookups through getgrouplist
51797         interface.
51798
51799         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
51800         (internal_getgrouplist): Adjust to name change.
51801         Update use_initgroups_entry if this is not the first call.
51802         * nss/databases.def: Add initgroups entry.
51803
51804         * nss/makedb.c (compute_tables): Check result of multiple hash table
51805         sizes to minimize maximum chain length.
51806
51807 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
51808
51809         * Versions.def: Add entry for libnss_db.
51810         * shlib-versions: Likewise.
51811         * nss/Makefile: Add rules to build libnss_db.
51812         * nss/Versions: Add libnss_db information.  Organize libnss_files
51813         entries better.
51814         * nss/db-Makefile: Add gshadow support.  Change rules for the new
51815         makedb progra.  Some minor improvements to generate smaller files.
51816         * nss/nss_db/nss_db.h: Move NSS database header data structures to
51817         here from...
51818         * nss/makedb.c: ...here.
51819         Improve database format to be smaller and require less memory at
51820         runtime.
51821         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
51822         db anymore.
51823         * nss/nss_db/db-netgrp.c: Likewise.
51824         * nss/nss_db/db-open.c: Likewise.
51825         * nss/nss_files/flies-XXX.x: Adjust comments.
51826         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
51827         * nss/nss_files/files-grp.c: Likewise.
51828         * nss/nss_files/files-hosts.c: Likewise.
51829         * nss/nss_files/files-network.c: Likewise.
51830         * nss/nss_files/files-proto.c: Likewise.
51831         * nss/nss_files/files-pwd.c: Likewise.
51832         * nss/nss_files/files-rpc.c: Likewise.
51833         * nss/nss_files/files-service.c: Likewise.
51834         * nss/nss_files/files-sgrp.c: Likewise.
51835         * nss/nss_files/files-spwd.c: Likewise.
51836         * nss/nss_db/db-alias.c: Removed.
51837         * nss/nss_db/dummy-db.h: Removed.
51838
51839 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
51840
51841         * nss/makedb.c: Rewritten to not use database library.
51842         * nss/Makefile: Update to build new makedb program.
51843
51844 2011-06-14  Andreas Jaeger  <aj@suse.de>
51845
51846         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
51847         memset declaration.
51848
51849 2011-06-10  Andreas Schwab  <schwab@redhat.com>
51850
51851         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
51852         tmpbuf.
51853
51854 2011-06-10  Roland McGrath  <roland@hack.frob.com>
51855
51856         * Makerules (shlib.lds): Fail if the linker script comes out empty.
51857         * elf/Makefile ($(objpfx)ld.so): Likewise.
51858
51859         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
51860         Don't list ld.so twice in dependencies.
51861
51862         * posix/bug-regex31.c: Include <stdlib.h>.
51863
51864         * nscd/hstcache.c (cache_addhst): Remove unused variable.
51865
51866         * nis/nss_compat/compat-spwd.c
51867         (getspent_next_nss_netgr): Remove unused variable.
51868         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
51869
51870         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
51871         nonmembers" output to use the right array.
51872
51873         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
51874
51875         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
51876
51877         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
51878         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
51879         * catgets/gencat.c (read_input_file): Likewise.
51880         * locale/programs/locarchive.c (enlarge_archive): Likewise.
51881
51882         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
51883         variable definition inside #if's controlling its use.
51884
51885         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
51886
51887         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
51888
51889         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
51890
51891         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
51892         unreachable code.
51893
51894         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
51895
51896         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
51897         * configure: Regenerated.
51898
51899         * Makerules: Revert last change.
51900         * elf/Makefile: Likewise.
51901
51902 2011-06-09  Roland McGrath  <roland@hack.frob.com>
51903
51904         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
51905         * elf/Makefile ($(objpfx)librtld.os): Likewise.
51906         (reloc-link): Likewise.
51907
51908 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
51909
51910         * elf/Makefile: Add rules to build pldd.
51911         * elf/pldd.c: New file.
51912         * elf/pldd-xx.c: New file.
51913
51914 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
51915
51916         * version.h: Update for 2.15 development version.
51917
51918 2011-06-07  David S. Miller  <davem@davemloft.net>
51919
51920         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
51921         ifuncs.
51922         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
51923         elf_machine_lazy_rel): Likewise.
51924         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
51925         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
51926         elf_machine_lazy_rel): Likewise.
51927         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
51928         dl_hwcap via passed in argument.
51929         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
51930         Likewise.
51931
51932 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
51933
51934         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
51935
51936 2011-06-06  Roland McGrath  <roland@hack.frob.com>
51937
51938         [BZ #12849]
51939         * manual/fdl-1.1.texi: New file, verbatim from:
51940         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
51941         * manual/lgpl-2.1.texi: New file, verbatim from:
51942         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
51943         * manual/Makefile (licenses): New variable, list those new file names.
51944         (texis): Use it.
51945         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
51946
51947         * manual/fdl.texi: File removed.
51948         * manual/lesser.texi: File removed.
51949         * manual/libc.texinfo (Copying, Documentation License):
51950         Use new @include file names, put @appendix directive before @include.
51951
51952 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
51953
51954         [BZ #12841]
51955         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
51956         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
51957         (mq_open): Add __NTH.
51958
51959 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
51960
51961         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
51962         Assume Intel Core i3/i5/i7 processor if AVX is available.
51963
51964 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
51965
51966         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
51967         typo.
51968
51969 2011-05-31  Andreas Schwab  <schwab@redhat.com>
51970
51971         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
51972         memory.  Use alloca_account.  Fix memory leak when retrying.
51973
51974 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
51975
51976         * version.h (RELEASE): Bump for 2.14 release.
51977         * include/features.h (__GLIBC_MINOR__): Bump to 14.
51978
51979         * config.make.in (RANLIB): Remove entry.
51980
51981 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
51982
51983         * po/Makefile (po-sed-cmd): Add ksh to extensions.
51984         (libc.pot): Work around missing support for .ksh extension in xgettext.
51985
51986         [BZ #12684]
51987         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
51988         if both request failed.
51989         (send_dg): In case of server errors clear resplen or *resplen2.
51990
51991         [BZ #12454]
51992         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
51993         when there are multiple maps.
51994         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
51995         (_dl_fini): Remove test here.
51996
51997         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
51998
51999 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
52000
52001         [BZ #12350]
52002         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
52003         bit from old_res_options.
52004         (gaih_inet): Likewise.
52005
52006         [BZ #11099]
52007         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
52008         as signed.
52009
52010         * resolv/res_init.c (res_setoptions): Make the code more compact.
52011
52012         [BZ #11558]
52013         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
52014         set RES_USEVC.
52015
52016         [BZ #11634]
52017         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
52018
52019         * malloc/malloc.h: Mark malloc hook variables as deprecated.
52020
52021         [BZ #11781]
52022         * malloc/malloc.h: Declare malloc hook variables as volatile.
52023
52024         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
52025         in last patch.
52026
52027         [BZ #11799]
52028         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
52029         raise in the comment.
52030         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
52031         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
52032         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
52033
52034 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
52035
52036         [BZ #12811]
52037         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
52038         grow the buffers more if it already has to be sufficient.
52039         (build_wcs_upper_buffer): Likewise.
52040         * posix/regexec.c (check_matching): Likewise.
52041         (clean_state_log_if_needed): Likewise.
52042         (extend_buffers): Don't enlarge buffers beyond size of the input
52043         buffer.
52044         Patches mostly by Emil Wojak <emil@wojak.eu>.
52045         * posix/bug-regex32.c: New file.
52046         * posix/Makefile (tests): Add bug-regex32.
52047
52048         * locale/findlocale.c (_nl_find_locale): Return right away if
52049         _nl_explode_name failed.
52050         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
52051
52052         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
52053
52054         * debug/xtrace.sh: Unify messages.
52055         * malloc/memusage.sh: Likewise.
52056
52057         [BZ #12813]
52058         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
52059         time symbol from vDSO.  Substitute with vsyscall if not available.
52060         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
52061         __vdso_time.
52062
52063         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
52064         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
52065         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
52066         Add sendmmsg and internal_sendmmsg.
52067         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
52068         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
52069         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
52070
52071         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
52072         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
52073         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
52074
52075 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
52076
52077         [BZ #12813]
52078         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
52079         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
52080         available.
52081         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
52082         __vdso_getcpu.
52083
52084         [BZ #12814]
52085         * iconvdata/Makefile (tests): Add bug-iconv9.
52086         * iconvdata/bug-iconv9.c: New file.
52087
52088 2011-05-27  Andreas Schwab  <schwab@redhat.com>
52089
52090         [BZ #12814]
52091         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
52092
52093 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
52094
52095         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52096         (struct user_regs_struct): Change intcs field back to cs.
52097
52098 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
52099
52100         * po/ja.po: Update from translation team.
52101
52102 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
52103
52104         [BZ #12795]
52105         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
52106         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
52107
52108 2011-05-20  Andreas Schwab  <schwab@redhat.com>
52109
52110         * stdlib/longlong.h: Update from GCC.
52111
52112 2011-05-23  Andreas Schwab  <schwab@redhat.com>
52113
52114         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
52115         parameter name.
52116         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
52117         Add parameter name.
52118         (__sysconf): Pass it down.
52119
52120 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
52121
52122         [BZ #12671]
52123         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
52124         some situations.
52125         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
52126         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
52127         add in in __libc_use_alloca calls.  Adjust callers.
52128         (glob): Use malloc in some situations.
52129
52130         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
52131         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
52132         pltexit.
52133
52134 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
52135
52136         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
52137         and CLOCK_BOOTTIME_ALARM.
52138
52139         [BZ #12782]
52140         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
52141         is returned.
52142
52143         * string/_strerror.c (__strerror_r): Print negative errors as signed
52144         numbers.
52145
52146         [BZ #12777]
52147         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
52148         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
52149         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
52150
52151         * configure.in: Fix typo in redirection and correct removal of test
52152         files in two cases.
52153
52154         [BZ #12788]
52155         * locale/setlocale.c (new_composite_name): Fix test to check for
52156         identical name of all categories.
52157
52158         [BZ #12792]
52159         * libio/filedoalloc.c (local_isatty): New function.
52160         (_IO_file_doallocate): Use local_isatty.
52161         * stdio-common/perror.c (perror): In case a new stream is used
52162         forward the stream error.
52163         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
52164         error flag.
52165
52166 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
52167
52168         [BZ #11869]
52169         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
52170         alloca.
52171         * include/alloca.h (extend_alloca_account): Define.
52172
52173         [BZ #11857]
52174         * posix/regex.h: Fix comments with documentation of user-accessible
52175         fields after compilation and describe correct free'ing of pattern
52176         after re_compile_pattern.
52177         Patch by Reuben Thomas <rrt@sc3d.org>.
52178
52179 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
52180
52181         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
52182         and -mno-altivec to prevent the compiler from using Altivec and/or
52183         VSX instructions when the corresponding registers are not available.
52184
52185 2011-05-19  Andreas Schwab  <schwab@redhat.com>
52186
52187         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
52188
52189 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
52190
52191         * libio/freopen.c (freopen): Use __dup2, not dup2.
52192         * libio/freopen64.c (freopen64): Likewise.
52193
52194 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
52195
52196         [BZ #12775]
52197         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
52198         * math/Makefile (tests): Add test-powl.
52199         (CFLAGS-test-powl.c): Define.
52200         * math/test-powl.c: New file.
52201
52202 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
52203
52204         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
52205
52206 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
52207
52208         [BZ #11837]
52209         * iconvdata/gb18030.c: Update to GB18020-2005.
52210
52211 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
52212
52213         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
52214         RE_SYNTAX_POSIX_AWK): Update to match recent development.
52215         Patch by Aharon Robbins <arnold@skeeve.com>.
52216
52217         [BZ #11892]
52218         * stdlib/putenv.c (putenv): Don't always create copy of the variable
52219         on the stack.
52220
52221         [BZ #11895]
52222         * misc/pselect.c (__pselect): Handle timeout value errors hidden
52223         through underflows.
52224
52225         [BZ #12766]
52226         * misc/error.c (error_at_line): Ensure file_name and old_file_name
52227         point to strings before performing equality test for error_one_per_line
52228         mode.
52229
52230         [BZ #11697]
52231         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
52232
52233         [BZ #11820]
52234         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
52235         (struct user_fpregs_struct): Avoid __uint*_t types.
52236
52237         [BZ #6420]
52238         * malloc/mtrace.c (tr_where): Add additional parameter to point to
52239         symbol info.  Use it instead of calling _dl_addr locally.
52240         (lock_and_info): New function.
52241         (tr_freehook): Call lock_and_info and pass symbol info as additional
52242         parameter to tr_where.
52243         (tr_mallochook): Likewise.
52244         (tr_reallochook): Likewise.
52245         (tr_memalignhook): Likewise.
52246
52247         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
52248         used and couldn't be at all thread-safe.
52249
52250 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
52251
52252         * libio/freopen.c (freopen): Don't close old file descriptor
52253         before the new one is opened.  Instead dup the new file descriptor
52254         to the old one after the new stream is created.
52255         * libio/freopen64.c (freopen64): Likewise.
52256         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
52257         * libio/fileops.c (_IO_new_file_close_it): Handle new
52258         _IO_FLAGS2_NOCLOSE flag.
52259         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
52260         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
52261         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
52262         _IO_FLAGS2_NOCLOSE flag.
52263         * include/unistd.h: Add hidden_proto for dup3.
52264         Define __have_dup3.
52265         * io/dup3.c: Define hidden symbol.
52266         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
52267
52268         [BZ #7101]
52269         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
52270         when an incomplete long option is used.
52271         * posix/tst-getopt_long1.c: New file.
52272         * posix/Makefile (tests): Add tst-getopt_long1.
52273
52274         [BZ #10138]
52275         * scripts/config.guess: Update from autoconf-2.68.
52276         * scripts/config.sub: Likewise.
52277
52278         [BZ #10157]
52279         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
52280         tests into ...
52281         (has_cpuclock): ...this.  New function.
52282         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
52283         macro here based on has_cpuclock code.
52284
52285         [BZ #10149]
52286         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52287         First byte (not low byte) is now always NUL.
52288         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
52289
52290         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
52291         Use non-cancelable interfaces.
52292
52293         [BZ #9809]
52294         * locale/iso-639.def: Add entry for Sorani.
52295
52296         [BZ #11901]
52297         * include/stdlib.h: Move include protection to the right place.
52298         Define abort_msg_s.  Declare __abort_msg with it.
52299         * stdlib/abort.c (__abort_msg): Adjust type.
52300         * assert/assert.c (__assert_fail_base): New function.  Majority
52301         of code from __assert_fail.  Allocate memory for __abort_msg with
52302         mmap.
52303         (__assert_fail): Now call __assert_fail_base.
52304         * assert/assert-perr.c: Remove bulk of implementation.  Use
52305         __assert_fail_base.
52306         * include/assert.hL Declare __assert_fail_base.
52307         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
52308         mmap.
52309         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
52310
52311 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
52312
52313         [BZ #11952]
52314         [BZ #12453]
52315         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
52316         until all modules are registered in the DTV.
52317         * elf/Makefile: Add rules to build and run tst-tls19.
52318         * elf/tst-tls19.c: New file.
52319         * elf/tst-tls19mod1.c: New file.
52320         * elf/tst-tls19mod2.c: New file.
52321         * elf/tst-tls19mod3.c: New file.
52322         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
52323
52324         [BZ #12083]
52325         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
52326         correctly.
52327
52328         [BZ #12601]
52329         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
52330         two-byte sequence errors.
52331         * iconvdata/Makefile (tests): Add bug-iconv8.
52332         * iconvdata/bug-iconv8.c: New file.
52333
52334         [BZ #12626]
52335         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
52336         buf2 definition.
52337
52338         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
52339
52340         [BZ #12432]
52341         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
52342         (dummy_getcfa): New function.
52343         (init): Get _Unwind_GetCFA address, use dummy if not found.
52344         (backtrace_helper): In recursion check, also check whether CFA changes.
52345         (__backtrace): Completely initialize arg.
52346
52347         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
52348         storing incomplete byte sequence in state object.  Avoid testing for
52349         guaranteed too small input if we know there is enough data available.
52350
52351 2011-05-11  Andreas Schwab  <schwab@redhat.com>
52352
52353         * Makeconfig (+link-pie): Indent.
52354         * Rules (binaries-pie): Define if $(have-fpie) and
52355         $(build-shared).
52356         (binaries-shared): Also filter out $(binaries-pie).
52357         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
52358         * nscd/Makefile (others-pie): Add nscd.
52359         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
52360         ($(objpfx)nscd): Remove command override.
52361         * login/Makefile (others-pie): Add pt_chown.
52362         ($(objpfx)pt_chown): Remove command override.
52363         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
52364         remove command overrides.
52365
52366 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
52367
52368         * libio/tst_putwc.c: Fix error messages.
52369
52370         [BZ #12724]
52371         * libio/fileops.c (_IO_new_file_close_it): Always flush when
52372         currently writing and seek to current position when not.
52373         * libio/Makefile (tests): Add bug-fclose1.
52374         * libio/bug-fclose1.c: New file.
52375
52376 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
52377
52378         [BZ #12511]
52379         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
52380         don't set DF_1_NODELETE here.
52381         (do_lookup_x): When entering new entry test for copy relocation
52382         and if necessary set DF_1_NODELETE flag.
52383         * elf/tst-unique4.cc: New file.
52384         * elf/tst-unique4.h: New file.
52385         * elf/tst-unique4lib.cc: New file.
52386         * elf/Makefile: Add rules to build and run tst-unique4.
52387         Patch by Piotr Bury <pbury@goahead.com>.
52388
52389 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
52390
52391         [BZ #12052]
52392         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
52393
52394         [BZ #12625]
52395         * misc/mntent_r.c (addmntent): Flush the stream after the output
52396
52397         [BZ #12393]
52398         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
52399         (is_trusted_path_normalize): Skip initial colon.  Append slash
52400         to empty buffer.  Duplicate is_trusted_path code but allow
52401         constructed patch to be prefix.
52402         (is_dst): Allow $ORIGIN followed by /.
52403         (_dl_dst_substitute): Correct clearing of check_for_trusted.
52404         Correct testing of result of is_trusted_path_normalize
52405         (decompose_rpath): Fix warning.
52406
52407 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
52408
52409         [BZ #11257]
52410         * grp/initgroups.c (internal_getgrouplist): When we found the service
52411         list through the initgroups entry in nsswitch.conf do not always
52412         continue on a successful lookup.  Don't always use the
52413         __nss_group_database value if it is set.
52414         * nss/nsswitch.conf (initgroups): Change action for successful db
52415         lookup to continue for compatibility.
52416
52417 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
52418
52419         [BZ #11532]
52420         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
52421         and CP774 modules.
52422         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
52423         and CP774 modules.
52424         * iconvdata/tst-tables.sh: Likewise.
52425         * iconvdata/cp770.c: New file.
52426         * iconvdata/cp771.c: New file.
52427         * iconvdata/cp772.c: New file.
52428         * iconvdata/cp773.c: New file.
52429         * iconvdata/cp774.c: New file.
52430         * iconvdata/testdata/CP770: New file.
52431         * iconvdata/testdata/CP770..UTF8: New file.
52432         * iconvdata/testdata/CP771: New file.
52433         * iconvdata/testdata/CP771..UTF8: New file.
52434         * iconvdata/testdata/CP772: New file.
52435         * iconvdata/testdata/CP772..UTF8: New file.
52436         * iconvdata/testdata/CP773: New file.
52437         * iconvdata/testdata/CP773..UTF8: New file.
52438         * iconvdata/testdata/CP774: New file.
52439         * iconvdata/testdata/CP774..UTF8: New file.
52440
52441         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
52442         END CHARMAP line.
52443         * iconvdata/gen-8bit-gap.sh: Likewise.
52444         * iconvdata/gen-8bit.sh: Likewise.
52445
52446         * locale/iso-639.def: Add ary entry.
52447
52448         [BZ #11258]
52449         * locale/C-translit.h.in: Add U20A1 transliteration.
52450
52451         [BZ #12178]
52452         * locale/iso-639.def: Add wae entry.
52453         Patch by Kevin Bortis <bortis@translate-wae.ch>.
52454
52455         [BZ #12545]
52456         * locale/programs/localedef.c (construct_output_path): Use ssize_t
52457         for n.
52458
52459         [BZ #12711]
52460         * locale/C-translit.h.in: Add entry for U20B9.
52461         Patch by pravin.d.s@gmail.com.
52462
52463 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
52464
52465         [BZ #12713]
52466         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
52467         ENAMETOOLONG use generic getcwd.
52468         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
52469         in rtld.  Use *stat64.
52470         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
52471         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
52472         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
52473         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
52474         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
52475         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
52476         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
52477         __fstatat64 macros.
52478         * include/dirent.h: Add libc_hidden_proto for rewinddir.
52479         * dirent/rewinddir.c: Add libc_hidden_def.
52480         * sysdeps/mach/hurd/rewinddir.c: Likewise.
52481         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
52482
52483         * include/dirent.h (__alloc_dir): Add flags parameter.
52484         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
52485         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
52486         __alloc_dir.
52487         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
52488         from fdopendir if O_CLOEXEC is already set.
52489
52490 2011-03-15  Alan Modra  <amodra@gmail.com>
52491
52492         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
52493         l_tls_firstbyte_offset non-zero.  Save padding offset in
52494         l_tls_firstbyte_offset for later use.
52495         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
52496         freeing static tls block.
52497
52498 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
52499
52500         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
52501         where #ifdef was intended.  The intent is to prevent ARG_MAX from
52502         being defined by the kernel headers.
52503
52504 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
52505
52506         [BZ #12734]
52507         * resolv/resolv.h: Define RES_NOTLDQUERY.
52508         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
52509         no-tld-query and set RES_NOTLDQUERY.
52510         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
52511         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
52512         modern BIND to search name as TLD unless forbidden.
52513
52514 2011-05-07  Petr Baudis  <pasky@suse.cz>
52515             Ulrich Drepper  <drepper@gmail.com>
52516
52517         [BZ #12393]
52518         * elf/dl-load.c (fillin_rpath): Move trusted path check...
52519         (is_trusted_path): ...to here.
52520         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
52521         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
52522         using is_trusted_path_normalize() in setuid scripts.
52523
52524 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
52525
52526         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
52527         __BEGIN/__END_DECLS.
52528
52529 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
52530
52531         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
52532         NSS_STATUS_NOTFOUND if no record was found.
52533
52534 2011-05-05  Andreas Schwab  <schwab@redhat.com>
52535
52536         * sunrpc/Makefile (headers): Add rpc/netdb.h.
52537         (headers-not-in-tirpc): Remove rpc/netdb.h
52538         * resolv/netdb.h: Revert last change.
52539
52540 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
52541
52542         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
52543         circular dependency between libgcc.a and libc.a.
52544
52545 2011-05-05  Andreas Schwab  <schwab@redhat.com>
52546
52547         * resolv/netdb.h: Don't include <rpc/netdb.h>.
52548         * nis/Makefile: Don't install rpcsvc/*.
52549         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
52550         instead of <rpc/types.h>.
52551         (MAXHOSTNAMELEN): Define.
52552
52553 2011-05-03  Andreas Schwab  <schwab@redhat.com>
52554
52555         * elf/ldconfig.c (add_dir): Don't crash on empty path.
52556
52557 2011-04-28  Maciej Babinski  <mbabinski@google.com>
52558
52559         [BZ #12714]
52560         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
52561         gethostbyname4_r when IPv6 results are possible.
52562
52563 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
52564
52565         [BZ #12723]
52566         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
52567         _PC_PIPE_BUF handling.
52568
52569 2011-04-30  Bruno Haible  <bruno@clisp.org>
52570
52571         [BZ #12717]
52572         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
52573         * resolv/netdb.h (getnameinfo): Change type of flags parameter
52574         to 'int'.
52575         * inet/getnameinfo.c (getnameinfo): Likewise.
52576
52577 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
52578
52579         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
52580         to groups setting in database lookup.
52581         * nss/nsswitch.conf: Add initgroups entry.
52582
52583 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
52584
52585         [BZ #12685]
52586         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
52587         mode string.
52588         Patch by Eric Blake <eblake@redhat.com>.
52589
52590 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
52591
52592         * sunrpc/Makefile (need-export-routines): Add svc_run.
52593         (routines): Remove svc_run.
52594         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
52595         * sunrpc/clnt_perr.c (clnt_perrno): Export.
52596         * sunrpc/svc_run.c (svc_run): Likewise.
52597         * sunrpc/svc_udp.c (svcudp_create): Likewise.
52598
52599 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
52600
52601         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
52602         problem in reallocation in last patch.
52603
52604 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
52605
52606         * sunrpc/Makefile: Move inclusion of Rules.
52607
52608 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
52609
52610         * nss/nss_files/files-initgroups.c: New file.
52611         * nss/Makefile (libnss_files-routines): Add files-initgroups.
52612         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
52613         _nss_files_initgroups_dyn.
52614
52615 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
52616
52617         * elf/elf.h (R_ARM_IRELATIVE): Define.
52618
52619 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
52620
52621         * po/ru.po: Update from translation team.
52622
52623 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
52624
52625         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
52626         dependencies.
52627
52628 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
52629
52630         [BZ #12653]
52631         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
52632         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
52633         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
52634         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52635         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52636
52637 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
52638
52639         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
52640         differing bytes.
52641         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52642         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52643         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52644
52645 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
52646
52647         [BZ #12420]
52648         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
52649         storing it.
52650         * stdlib/bug-getcontext.c: New file.
52651         * stdlib/Makefile: Add rules to build and run bug-getcontext.
52652
52653 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52654
52655         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
52656         instructions into .machine "z9-109".
52657         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
52658         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
52659
52660 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
52661
52662         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
52663         between environment variables and auxiliary vector.
52664
52665 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
52666
52667         * Makefile: Add rules to build linkobj/libc.so.
52668         * include/libc-symbols.h: Define libc_hidden_nolink.
52669         * include/rpc/auth.h: Mark functions which are to be hidden.
52670         * include/rpc/auth_des.h: Likewise.
52671         * include/rpc/auth_unix.h: Likewise.
52672         * include/rpc/clnt.h: Likewise.
52673         * include/rpc/des_crypt.h: Likewise.
52674         * include/rpc/key_prot.h: Likewise.
52675         * include/rpc/pmap_clnt.h: Likewise.
52676         * include/rpc/pmap_prot.h: Likewise.
52677         * include/rpc/pmap_rmt.h: Likewise.
52678         * include/rpc/rpc_msg.h: Likewise.
52679         * include/rpc/svc.h: Likewise.
52680         * include/rpc/svc_auth.h: Likewise.
52681         * include/rpc/xdr.h: Likewise.
52682         * nis/Makefile: Link all DSOs against linkobj/libc.so.
52683         * nss/Makefile: Likewise.
52684         * sunrpc/Makefile: Don't install headers.  Build library with normal
52685         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
52686         * sunrpc/auth_des.c: Hide exported symbols by default, export some
52687         for the compat linking library.  Remove use of INTDEF/INTUSE.
52688         * sunrpc/auth_none.c: Likewise.
52689         * sunrpc/auth_unix.c: Likewise.
52690         * sunrpc/authdes_prot.c: Likewise.
52691         * sunrpc/authuxprot.c: Likewise.
52692         * sunrpc/clnt_gen.c: Likewise.
52693         * sunrpc/clnt_perr.c: Likewise.
52694         * sunrpc/clnt_raw.c: Likewise.
52695         * sunrpc/clnt_simp.c: Likewise.
52696         * sunrpc/clnt_tcp.c: Likewise.
52697         * sunrpc/clnt_udp.c: Likewise.
52698         * sunrpc/clnt_unix.c: Likewise.
52699         * sunrpc/des_crypt.c: Likewise.
52700         * sunrpc/des_soft.c: Likewise.
52701         * sunrpc/get_myaddr.c: Likewise.
52702         * sunrpc/key_call.c: Likewise.
52703         * sunrpc/key_prot.c: Likewise.
52704         * sunrpc/netname.c: Likewise.
52705         * sunrpc/pm_getmaps.c: Likewise.
52706         * sunrpc/pm_getport.c: Likewise.
52707         * sunrpc/pmap_clnt.c: Likewise.
52708         * sunrpc/pmap_prot.c: Likewise.
52709         * sunrpc/pmap_prot2.c: Likewise.
52710         * sunrpc/pmap_rmt.c: Likewise.
52711         * sunrpc/publickey.c: Likewise.
52712         * sunrpc/rpc_cmsg.c: Likewise.
52713         * sunrpc/rpc_common.c: Likewise.
52714         * sunrpc/rpc_dtable.c: Likewise.
52715         * sunrpc/rpc_prot.c: Likewise.
52716         * sunrpc/rpc_thread.c: Likewise.
52717         * sunrpc/rtime.c: Likewise.
52718         * sunrpc/svc.c: Likewise.
52719         * sunrpc/svc_auth.c: Likewise.
52720         * sunrpc/svc_authux.c: Likewise.
52721         * sunrpc/svc_raw.c: Likewise.
52722         * sunrpc/svc_run.c: Likewise.
52723         * sunrpc/svc_simple.c: Likewise.
52724         * sunrpc/svc_tcp.c: Likewise.
52725         * sunrpc/svc_udp.c: Likewise.
52726         * sunrpc/svc_unix.c: Likewise.
52727         * sunrpc/svcauth_des.c: Likewise.
52728         * sunrpc/xcrypt.c: Likewise.
52729         * sunrpc/xdr.c: Likewise.
52730         * sunrpc/xdr_array.c: Likewise.
52731         * sunrpc/xdr_float.c: Likewise.
52732         * sunrpc/xdr_intXX_t.c: Likewise.
52733         * sunrpc/xdr_mem.c: Likewise.
52734         * sunrpc/xdr_rec.c: Likewise.
52735         * sunrpc/xdr_ref.c: Likewise.
52736         * sunrpc/xdr_sizeof.c: Likewise.
52737         * sunrpc/xdr_stdio.c: Likewise.
52738
52739 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
52740
52741         [BZ #12650]
52742         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
52743         * sysdeps/ia64/dl-tls.h: Likewise.
52744         * sysdeps/powerpc/dl-tls.h: Likewise.
52745         * sysdeps/s390/dl-tls.h: Likewise.
52746         * sysdeps/sh/dl-tls.h: Likewise.
52747         * sysdeps/sparc/dl-tls.h: Likewise.
52748         * sysdeps/x86_64/dl-tls.h: Likewise.
52749         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
52750
52751 2011-03-14  Andreas Schwab  <schwab@redhat.com>
52752
52753         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
52754         rpath element also skip the following colon.
52755         (expand_dynamic_string_token): Add is_path parameter and pass
52756         down to DL_DST_REQUIRED and _dl_dst_substitute.
52757         (decompose_rpath): Call expand_dynamic_string_token with
52758         non-zero is_path.  Ignore empty rpaths.
52759         (_dl_map_object_from_fd): Call expand_dynamic_string_token
52760         with zero is_path.
52761
52762 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
52763
52764         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
52765         Make cancelable.
52766
52767 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
52768
52769         [BZ #12655]
52770         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
52771         Patch by Filipe David Manana <fdmanana@apache.org>.
52772
52773 2011-04-07  Andreas Schwab  <schwab@redhat.com>
52774
52775         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
52776         Maintain aligned stack.
52777         (CHECK_RSP): Remove unused macro.
52778
52779 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
52780
52781         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
52782         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
52783
52784 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
52785
52786         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
52787
52788         * include/features.h: Mention __USE_XOPEN2K8 in comment.
52789
52790 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
52791
52792         [BZ #12518]
52793         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
52794         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
52795         * sysdeps/x86_64/memmove.c: New file.
52796         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
52797         (memcpy): Renamed to ...
52798         (__new_memcpy): This.
52799         (memcpy): Provide GLIBC_2_14 memcpy.
52800         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
52801         (memcpy): Provide GLIBC_2_2_5 memcpy.
52802
52803 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52804
52805         [BZ #12631]
52806         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
52807
52808 2011-03-30  Andreas Schwab  <schwab@redhat.com>
52809
52810         * misc/syncfs.c: New file.
52811         * misc/Makefile (routines): Add syncfs.
52812         * posix/unistd.h: Declare syncfs.
52813         * sysdeps/unix/syscalls.list: Add syncfs.
52814
52815 2011-04-01  Andreas Schwab  <schwab@redhat.com>
52816
52817         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
52818         open_by_handle_at.
52819         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
52820         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52821         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52822         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52823         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52824         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
52825         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52826
52827 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52828
52829         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
52830         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52831         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
52832         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52833         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52834         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52835         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52836
52837         * io/Makefile: Compile fallocate.c, fallocate64.c, and
52838         sync_file_range.c with -fexceptions.
52839         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
52840         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
52841         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
52842         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
52843         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
52844         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
52845         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
52846         sync_file_range as cancellation point
52847         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
52848         now a wrapper around __call_sync_file_range with cancellation handling.
52849         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
52850         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
52851         function name to __call_sync_file_range.
52852         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
52853         Add call_sync_file_range.
52854
52855 2011-04-01  Andreas Schwab  <schwab@redhat.com>
52856
52857         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
52858         bits/timex.h.
52859
52860 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
52861
52862         * iconv/iconv.h: Fix typo in comment.
52863         * io/fcntl.h: Likewise.
52864         * libio/stdio.h: Likewise.
52865         * posix/spawn.h: Likewise.
52866         * posix/unistd.h: Likewise.
52867         * stdlib/stdlib.h: Likewise.
52868         * time/time.h: Likewise.
52869         * wcsmbs/wchar.h: Likewise.
52870
52871         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
52872         open_by_handle): Add.
52873         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
52874         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
52875         Augment a few comments.
52876         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
52877         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
52878         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
52879         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
52880         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
52881         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
52882         open_by_handle.
52883
52884         * io/fcntl.h (AT_EMPTY_PATH): Define.
52885
52886 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
52887
52888         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
52889         * sysdeps/unix/sysv/linux/bits/time.h: New file.
52890         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
52891         to...
52892         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
52893         * Versions.def: Add GLIBC_2.14.
52894         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
52895         Export.
52896
52897 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
52898
52899         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
52900         round counter.
52901         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52902
52903 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
52904
52905         [BZ #12597]
52906         * string/test-strncmp.c (do_page_test): New function.
52907         (check2): Likewise.
52908         (test_main): Call check2.
52909         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
52910
52911 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
52912
52913         [BZ #12587]
52914         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
52915         Handle cache information in CPU leaf 4.
52916         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
52917
52918 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
52919
52920         [BZ #12583]
52921         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
52922         character representation.
52923         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
52924
52925 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
52926
52927         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
52928         END(__isnan) to END(__isnanf) to match function entry point/label
52929         EALIGN(__isnanf,...).
52930
52931 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
52932
52933         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
52934
52935 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
52936
52937         [BZ #12510]
52938         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
52939         copy from the symbol referenced in the relocation to initialize the
52940         used variable.
52941         Patch by Piotr Bury <pbury@goahead.com>.
52942         * elf/Makefile: Add rules to build and tst-unique3.
52943         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
52944         * elf/tst-unique3.cc: New file.
52945         * elf/tst-unique3.h: New file.
52946         * elf/tst-unique3lib.cc: New file.
52947         * elf/tst-unique3lib2.cc: New file.
52948
52949         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
52950
52951 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
52952
52953         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
52954         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
52955         to _start.
52956
52957 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
52958
52959         * elf/dl-load.c (_dl_map_object): If we are looking for the first
52960         to-be-loaded object along a path to loader is ld.so.
52961
52962 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
52963             Ulrich Drepper  <drepper@gmail.com>
52964
52965         * sysdeps/x86_64/memset.S: After aligning destination, code
52966         branches to different locations depending on the value of
52967         misalignment, when multiarch is enabled. Fix this.
52968
52969 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
52970
52971         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
52972         Set _x86_64_preferred_memory_instruction for AMD processsors.
52973         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
52974         Set bit_Prefer_SSE_for_memop for AMD processors.
52975
52976 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
52977
52978         * libio/fmemopen.c (fmemopen): Optimize a bit.
52979
52980 2011-03-03  Andreas Schwab  <schwab@redhat.com>
52981
52982         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
52983
52984 2011-03-03  Roland McGrath  <roland@redhat.com>
52985
52986         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
52987
52988 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
52989
52990         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
52991         __bzero_ultra1 instead of __memset_ultra1.
52992
52993 2011-02-23  Andreas Schwab  <schwab@redhat.com>
52994             Ulrich Drepper  <drepper@gmail.com>
52995
52996         [BZ #12509]
52997         * include/link.h (struct link_map): Add l_orig_initfini.
52998         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
52999         returning unsuccessfully.
53000         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
53001         close of a file loaded at startup, restore the original l_initfini
53002         list.
53003         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
53004         list, store the pointer.
53005         * elf/Makefile ($(objpfx)noload-mem): New rule.
53006         (noload-ENV): Define.
53007         (tests): Add $(objpfx)noload-mem.
53008         * elf/noload.c: Include <memcheck.h>.
53009         (main): Call mtrace.  Close all opened handles.
53010
53011 2011-02-17  Andreas Schwab  <schwab@redhat.com>
53012
53013         [BZ #12454]
53014         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
53015         dependencies are missing.
53016
53017 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53018
53019         Fix __if_freereq crash: Unlike the generic version which uses free,
53020         Hurd needs munmap.
53021         * sysdeps/mach/hurd/ifreq.h: New file.
53022
53023 2011-01-27  Petr Baudis  <pasky@suse.cz>
53024             Ulrich Drepper  <drepper@gmail.com>
53025
53026         [BZ 12445]#
53027         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
53028         to extend_alloca().
53029         * stdio-common/bug23.c: New file.
53030         * stdio-common/Makefile (tests): Add bug23.
53031
53032 2010-09-28  Andreas Schwab  <schwab@redhat.com>
53033             Ulrich Drepper  <drepper@gmail.com>
53034
53035         [BZ #12489]
53036         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
53037         before performing relro protection.  At old place add assertion
53038         to make sure nothing changed.
53039
53040 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
53041             Glauber de Oliveira Costa  <glommer@gmail.com>
53042
53043         * elf/elf.h: Add new ARM TLS relocs.
53044
53045 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
53046
53047         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
53048         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
53049         cast from r3.
53050         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
53051         'tests' variable.
53052         * sysdeps/wordsize-64/tst-writev.c: New file.
53053
53054 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
53055
53056         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
53057         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
53058         insns in _dl_start to prevent a TOC reference before relocs are
53059         resolved.
53060
53061 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
53062
53063         [BZ #12469]
53064         * Makeconfig: Remove RANLIB definition.
53065         * Makerules: Don't use RANLIB.
53066         * aclocal.m4: Remove ranlib test.
53067         * configure.in: No need to check for ranlib.
53068         * elf/rtld-Rules: Don't use RANLIB.
53069
53070 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53071
53072         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
53073         protection macro.
53074         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
53075         inclusion protection macro.
53076
53077         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
53078         SIGRTMIN and SIGRTMAX and print information in that case only when
53079         SIGRTMIN is defined.
53080
53081 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
53082
53083         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
53084         arginfo fn returning -1.
53085
53086         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
53087         and thousands string is zero terminated.
53088
53089 2011-02-03  Andreas Schwab  <schwab@redhat.com>
53090
53091         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
53092         sysdeps/unix/sysv/linux/bits/socket.h.
53093
53094 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53095
53096         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
53097         (__CPU_COUNT): Remove old macros.
53098         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
53099         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
53100         (__CPU_ALLOC, __CPU_FREE): Add macros.
53101         (__sched_cpualloc, __sched_cpufree): Add declarations.
53102
53103 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
53104
53105         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
53106         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
53107         * nscd/aicache.c (addhstaiX): Return timeout of added value.
53108         (readdhstai): Return value of addhstaiX call.
53109         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
53110         (addgrbyX): Return value returned by cache_addgr.
53111         (readdgrbyname): Return value returned by addgrbyX.
53112         (readdgrbygid): Likewise.
53113         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
53114         (addpwbyX): Return value returned by cache_addpw.
53115         (readdpwbyname): Return value returned by addhstbyX.
53116         (readdpwbyuid): Likewise.
53117         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
53118         (addservbyX): Return value returned by cache_addserv.
53119         (readdservbyname): Return value returned by addservbyX:
53120         (readdservbyport): Likewise.
53121         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
53122         (addhstbyX): Return value returned by cache_addhst.
53123         (readdhstbyname): Return value returned by addhstbyX.
53124         (readdhstbyaddr): Likewise.
53125         (readdhstbynamev6): Likewise.
53126         (readdhstbyaddrv6): Likewise.
53127         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
53128         (readdinitgroups): Return value returned by addinitgroupsX.
53129         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
53130         (prune_cache): Keep track of timeout value of re-added entries.
53131         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
53132         * nscd/nscd.h: Adjust prototypes of readd* functions.
53133
53134 2011-02-04  Roland McGrath  <roland@redhat.com>
53135
53136         * nis/nis_server.c (nis_servstate): Use the right name for 0.
53137         (nis_stats): Likewise.
53138         * nis/nis_modify.c (nis_modify): Likewise.
53139         * nis/nis_remove.c (nis_remove): Likewise.
53140         * nis/nis_add.c (nis_add): Likewise.
53141
53142         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
53143
53144         * posix/fnmatch_loop.c: Add some consts.
53145
53146         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
53147
53148 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
53149
53150         [BZ #12460]
53151         * config.make.in (config-cflags-novzeroupper): Define.
53152         * configure.in: Substitute libc_cv_cc_novzeroupper.
53153         * elf/Makefile (AVX-CFLAGS): Define.
53154         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
53155         (CFLAGS-tst-auditmod4a.c): Likewise.
53156         (CFLAGS-tst-auditmod4b.c): Likewise.
53157         (CFLAGS-tst-auditmod6b.c): Likewise.
53158         (CFLAGS-tst-auditmod6c.c): Likewise.
53159         (CFLAGS-tst-auditmod7b.c): Likewise.
53160         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
53161
53162 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
53163
53164         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
53165         function to the callback.
53166         Patch partly by Jiri Olsa <jolsa@redhat.com>.
53167
53168 2011-02-02  Andreas Schwab  <schwab@redhat.com>
53169
53170         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
53171         of errno.
53172
53173 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
53174
53175         [BZ #11724]
53176         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
53177         of constructors.
53178         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
53179         of destructors.
53180         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
53181
53182         [BZ #11724]
53183         * elf/Makefile: Add rules to build and run new test.
53184         * elf/tst-initorder.c: New file.
53185         * elf/tst-initorder.exp: New file.
53186         * elf/tst-initordera1.c: New file.
53187         * elf/tst-initordera2.c: New file.
53188         * elf/tst-initordera3.c: New file.
53189         * elf/tst-initordera4.c: New file.
53190         * elf/tst-initorderb1.c: New file.
53191         * elf/tst-initorderb2.c: New file.
53192         * elf/tst-order-a1.c: New file.
53193         * elf/tst-order-a2.c: New file.
53194         * elf/tst-order-a3.c: New file.
53195         * elf/tst-order-a4.c: New file.
53196         * elf/tst-order-b1.c: New file.
53197         * elf/tst-order-b2.c: New file.
53198         * elf/tst-order-main.c: New file.
53199         New test case by George Gensure <werkt0@gmail.com>.
53200
53201 2010-10-01  Andreas Schwab  <schwab@redhat.com>
53202
53203         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
53204         decoding ACE if AI_CANONIDN.
53205
53206 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
53207
53208         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
53209
53210 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
53211
53212         * version.h (RELEASE): Bump for 2.13 release.
53213         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
53214
53215         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
53216
53217         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
53218         MADV_NOHUGEPAGE.
53219         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
53220         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
53221         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
53222         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
53223         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
53224         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53225
53226         * posix/getconf.c: Update copyright year.
53227         * catgets/gencat.c: Likewise.
53228         * csu/version.c: Likewise.
53229         * debug/catchsegv.sh: Likewise.
53230         * debug/xtrace.sh: Likewise.
53231         * elf/ldconfig.c: Likewise.
53232         * elf/ldd.bash.in: Likewise.
53233         * elf/sprof.c (print_version): Likewise.
53234         * iconv/iconv_prog.c: Likewise.
53235         * iconv/iconvconfig.c: Likewise.
53236         * locale/programs/locale.c: Likewise.
53237         * locale/programs/localedef.c: Likewise.
53238         * malloc/memusage.sh: Likewise.
53239         * malloc/mtrace.pl: Likewise.
53240         * nscd/nscd.c (print_version): Likewise.
53241         * nss/getent.c: Likewise.
53242
53243         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
53244         PF_CAIF, and PF_ALG.
53245         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
53246
53247 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
53248
53249         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
53250         (modules-names): Use them.
53251         (ifunc-test-modules, ifunc-pie-tests): Define.
53252         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
53253         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
53254         (test-extras): Likewise.
53255         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
53256         $(compile-command.c).
53257         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
53258         (all-built-dso): Define.
53259         (check-textrel.out, check-execstack.out): Depend on it.
53260
53261         * configure.in: Don't override --enable-multi-arch.
53262
53263 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
53264
53265         [BZ #6812]
53266         * nscd/hstcache.c (tryagain): Define.
53267         (cache_addhst): Return tryagain not notfound for temporary errors.
53268         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
53269         failed.
53270
53271 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
53272
53273         [BZ #10563]
53274         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
53275         to make the syscall.
53276         * sysdeps/unix/sysv/linux/setgroups.c: New file.
53277
53278         [BZ #12378]
53279         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
53280         and fall back to matching as normal character if the string ends before
53281         the matching ']' is found.  This is what POSIX requires.
53282         * posix/testfnm.c: Adjust test result.
53283         * posix/globtest.sh: Adjust test result.  Add new test.
53284         * posix/tst-fnmatch.input: Likewise.
53285         * posix/tst-fnmatch2.c: Add new test.
53286
53287 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
53288
53289         * elf/Makefile (check-execstack): Revert last change.  Depend on
53290         check-execstack.h.
53291         (check-execstack.h): New target.
53292         (generated): Add check-execstack.h.
53293         * elf/check-execstack.c: Include "check-execstack.h".
53294         (main): Revert last change.
53295         (handle_file): Return zero if GNU_STACK is absent and
53296         DEFAULT_STACK_PERMS doesn't include PF_X.
53297
53298 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
53299
53300         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
53301         in child fails because the descriptor is already closed.
53302         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
53303         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
53304         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
53305
53306         [BZ #12397]
53307         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
53308         syscall.
53309
53310         [BZ #10484]
53311         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
53312         temporary buffer used to handle multi lookups locally.
53313         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
53314
53315 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
53316
53317         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
53318         loader is ld.so.
53319
53320 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
53321
53322         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
53323         alignment for SSE2.
53324
53325 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
53326
53327         [BZ #12394]
53328         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
53329         characters.  When rounding increased number of integer digits recompute
53330         number of groups.
53331         * stdio-common/tst-grouping.c: New file.
53332         * stdio-common/Makefile: Add rules to build and run tst-grouping.
53333
53334 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
53335
53336         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
53337         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
53338
53339         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
53340         void.
53341         * bits/select.h: Likewise.
53342
53343 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
53344
53345         * po/ja.po: Update from translation team.
53346
53347 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
53348
53349         [BZ #11155]
53350         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
53351         implementation just like for lxstat, fxstatat, et al.
53352
53353 2010-12-27  Jim Meyering  <meyering@redhat.com>
53354
53355         [BZ #12348]
53356         * posix/regexec.c (build_trtable): Return failure indication upon
53357         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
53358
53359 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
53360
53361         [BZ #12201]
53362         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
53363         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
53364         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
53365         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
53366
53367         [BZ #12207]
53368         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
53369
53370         [BZ #12204]
53371         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
53372         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
53373
53374 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
53375
53376         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
53377         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
53378         script has SORT_BY_INIT_PRIORITY.
53379         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
53380         NO_CTORS_DTORS_SECTIONS is defined.
53381         * elf/soinit.c: Likewise.
53382         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
53383         NO_CTORS_DTORS_SECTIONS is defined.
53384         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
53385         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
53386         * sysdeps/sh/init-first.c: Likewise.
53387         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
53388
53389 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
53390
53391         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
53392         always use the slow path.
53393
53394 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
53395
53396         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
53397         similar rule which adds the sysdep directories to the header search in
53398         order to pick up the correct platform stackinfo.h.
53399         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
53400         perform test if it is, otherwise return successfully without testing.
53401         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
53402         DEFAULT_STACK_PERMS define in stackinfo.h.
53403         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
53404         defined in stackinfo.h.
53405         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
53406         DEFAULT_STACK_PERMS defined in stackinfo.h.
53407         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
53408         * sysdeps/ia64/stackinfo.h: Likewise.
53409         * sysdeps/s390/stackinfo.h: Likewise.
53410         * sysdeps/sh/stackinfo.h: Likewise.
53411         * sysdeps/sparc/stackinfo.h: Likewise.
53412         * sysdeps/x86_64/stackinfo.h: Likewise.
53413         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
53414         PF_X for powerpc64.  Retain PF_X for powerpc32.
53415
53416 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
53417
53418         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
53419         accurately.
53420         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
53421         GETDENTS_64BIT_ALIGNED.
53422
53423 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
53424
53425         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
53426
53427 2010-12-10  Andreas Schwab  <schwab@redhat.com>
53428
53429         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
53430         _GNU_SOURCE.
53431
53432         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
53433         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
53434         Remove __restrict.
53435         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
53436         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
53437
53438 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
53439
53440         [BZ #11655]
53441         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
53442         are initialized.
53443
53444 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
53445
53446         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
53447
53448 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
53449
53450         * po/it.po: Update from translation team.
53451
53452 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
53453
53454         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
53455         unused codes.
53456
53457 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
53458
53459         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
53460
53461 2010-11-24  Andreas Schwab  <schwab@redhat.com>
53462
53463         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
53464         specially.
53465         (gaih_getanswer_slice): Likewise.
53466
53467 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
53468
53469         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
53470
53471 2010-05-31  Petr Baudis  <pasky@suse.cz>
53472
53473         [BZ #11149]
53474         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
53475         silently even in the chroot mode.
53476
53477 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
53478
53479         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
53480         last patch a bit.  Pretty printing
53481
53482 2010-05-31  Petr Baudis <pasky@suse.cz>
53483
53484         [BZ #10085]
53485         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
53486         initialization of skip_initgroups_dyn.
53487
53488 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
53489
53490         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
53491         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
53492
53493 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
53494
53495         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
53496
53497 2010-11-11  Andreas Schwab  <schwab@redhat.com>
53498
53499         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
53500         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
53501         (tst-fnmatch-ENV): Set MALLOC_TRACE.
53502         ($(objpfx)tst-fnmatch-mem): New rule.
53503         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
53504         * posix/tst-fnmatch.c (main): Call mtrace.
53505
53506 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
53507
53508         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53509         Support Intel processor model 6 and model 0x2c.
53510
53511 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
53512
53513         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
53514           signed comparison.
53515
53516 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
53517
53518         [BZ #12205]
53519         * string/test-strncasecmp.c (check_result): New function.
53520         (do_one_test): Use it.
53521         (check1): New function.
53522         (test_main): Use it.
53523         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
53524         Support strcasecmp and strncasecmp.
53525
53526 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
53527
53528         [BZ #12194]
53529         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
53530         * sysdeps/x86_64/bits/byteswap.h: Likewise.
53531
53532 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
53533
53534         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
53535         IFUNC support.
53536         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
53537         memset-x86-64.
53538         * sysdeps/x86_64/multiarch/bzero.S: New file.
53539         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
53540         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
53541         * sysdeps/x86_64/multiarch/memset.S: New file.
53542         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
53543         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
53544         Set bit_Prefer_SSE_for_memop for Intel processors.
53545         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
53546         Define.
53547         (index_Prefer_SSE_for_memop): Define.
53548         (HAS_PREFER_SSE_FOR_MEMOP): Define.
53549
53550 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
53551
53552         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
53553         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
53554
53555 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
53556
53557         [BZ #12191]
53558         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53559         (__x86_64_raw_data_cache_size_half): Likewise.
53560         (__x86_64_raw_shared_cache_size): Likewise.
53561         (__x86_64_raw_shared_cache_size_half): Likewise.
53562
53563         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
53564         (__x86_64_raw_data_cache_size_half): Likewise.
53565         (__x86_64_raw_shared_cache_size): Likewise.
53566         (__x86_64_raw_shared_cache_size_half): Likewise.
53567         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
53568         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
53569         and __x86_64_raw_shared_cache_size_half.  Round
53570         __x86_64_data_cache_size_half, __x86_64_data_cache_size
53571         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
53572         to multiple of 256 bytes.
53573
53574 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
53575
53576         [BZ #12167]
53577         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
53578         of inacessible symlinks.  Verify result of symlink before returning it.
53579         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
53580         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
53581
53582 2010-10-28  Erich Ritz  <erichritz@gmail.com>
53583
53584         * math/math.h (isinf): Fix typo in comment.
53585
53586 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
53587
53588         * po/da.po: Update from translation team.
53589
53590 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
53591
53592         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
53593         is added to the list.
53594
53595 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53596             Ulrich Drepper  <drepper@gmail.com>
53597
53598         * elf/dl-object.c (_dl_new_object): Don't append the new object to
53599         the global list here.  Move code to...
53600         (_dl_add_to_namespace_list): ...here.  New function.
53601         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
53602         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
53603         * elf/dl-load.c (lose): Don't remove the element from the list.
53604         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
53605         (_dl_map_object): Likewise.
53606
53607 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
53608
53609         [BZ #12159]
53610         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
53611         into all bytes of SSE register.
53612         Patch by Richard Li <richardpku@gmail.com>.
53613
53614 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
53615
53616         [BZ #12140]
53617         * malloc/malloc.c (_int_free): Fill correct number of bytes when
53618         perturbing.
53619
53620 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
53621
53622         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
53623         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
53624         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
53625         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
53626         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
53627         submachine.
53628         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
53629
53630 2010-10-22  Andreas Schwab  <schwab@redhat.com>
53631
53632         * include/dlfcn.h (__RTLD_SECURE): Define.
53633         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
53634         mode & __RTLD_SECURE instead.
53635         (open_path): Rename preloaded parameter to secure.
53636         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
53637         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
53638         * elf/dl-deps.c (openaux): Likewise.
53639         * elf/rtld.c (struct map_args): Remove is_preloaded.
53640         (map_doit): Don't use it.
53641         (dl_main): Likewise.
53642         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
53643         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
53644
53645 2010-09-09  Andreas Schwab  <schwab@redhat.com>
53646
53647         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
53648         (sysd-rules-targets): Remove duplicates.
53649         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
53650         rtld-%.$o dependency.
53651
53652 2010-10-18  Andreas Schwab  <schwab@redhat.com>
53653
53654         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
53655         _dl_map_object do it.
53656
53657 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
53658
53659         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
53660         fast fma builtins, define the macros in the C99 standard.
53661         (FP_FAST_FMAF): Likewise.
53662         (FP_FAST_FMAL): Likewise.
53663         * sysdeps/x86_64/bits/mathdef.h: Likewise.
53664
53665         * bits/mathdef.h: Update copyright year.
53666         * sysdeps/powerpc/bits/mathdef.h: Likewise.
53667
53668 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
53669
53670         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
53671         builtins, define the macros in the C99 standard.
53672         (FP_FAST_FMAF): Likewise.
53673         (FP_FAST_FMAL): Likewise.
53674         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
53675         multiply/add.
53676         (FP_FAST_FMAF): Likewise.
53677
53678 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
53679
53680         [BZ #3268]
53681         * math/libm-test.inc (fma_test): Some new testcases.
53682         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
53683         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
53684         y and infinite z.  Do multiplication by C already in long double.
53685         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
53686         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
53687         y and infinite z.  Do bitwise or of inexact bit into u.d.
53688         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
53689         * sysdeps/i386/fpu/s_fmaf.S: Removed.
53690         * sysdeps/i386/fpu/s_fma.S: Removed.
53691         * sysdeps/i386/fpu/s_fmal.S: Removed.
53692
53693 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
53694
53695         [BZ #3268]
53696         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
53697         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
53698         computation is not scheduled after fetestexcept.  Fix value
53699         of minimum denormal long double.
53700
53701 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
53702
53703         [BZ #3268]
53704         * math/libm-test.inc (fma_test): Add some more tests.
53705         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
53706         correctly.
53707
53708 2010-10-15  Andreas Schwab  <schwab@redhat.com>
53709
53710         * scripts/data/localplt-s390-linux-gnu.data: New file.
53711         * scripts/data/localplt-s390x-linux-gnu.data: New file.
53712
53713 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
53714
53715         [BZ #3268]
53716         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
53717         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
53718         instead of dbl-64.
53719         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
53720         inlines.
53721         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
53722         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
53723         if one of x and y is very large and the other is subnormal.
53724         * sysdeps/s390/fpu/s_fmaf.c: New file.
53725         * sysdeps/s390/fpu/s_fma.c: New file.
53726         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
53727         * sysdeps/powerpc/fpu/s_fma.S: New file.
53728         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
53729         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
53730         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
53731
53732 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
53733
53734         [BZ #3268]
53735         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
53736         fma tests.
53737         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
53738         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
53739         * sysdeps/i386/i686/multiarch/s_fma.c: Include
53740         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
53741         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
53742         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
53743         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
53744
53745 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
53746
53747         [BZ #12078]
53748         * posix/regcomp.c (parse_branch): One more memory leak plugged.
53749         * posix/bug-regex31.input: Add test case.
53750
53751 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
53752
53753         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
53754         * posix/bug-regex31.input: New file.
53755
53756         [BZ #12078]
53757         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
53758         (parse_sub_exp): Fix last change, use postorder.
53759
53760         * posix/bug-regex31.c: New file.
53761         * posix/Makefile: Add rules to build and run bug-regex31.
53762
53763         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
53764
53765         [BZ #12078]
53766         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
53767
53768         [BZ #12108]
53769         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
53770         to have entries in sys_siglist.
53771
53772         [BZ #12093]
53773         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
53774         be NULL.
53775
53776 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
53777
53778         [BZ #3268]
53779         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
53780         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
53781         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
53782         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
53783         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
53784         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
53785         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
53786         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
53787         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
53788         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
53789         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
53790         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
53791         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
53792         * math/ftestexcept.c (fetestexcept): Likewise.
53793         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
53794         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
53795         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
53796         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
53797         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
53798         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
53799         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
53800
53801 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
53802
53803         [BZ #12107]
53804         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
53805         newline.
53806
53807 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
53808
53809         * string/bug-strstr1.c: New file.
53810         * string/Makefile: Add rules to build and run bug-strstr1.
53811
53812 2010-10-05  Eric Blake  <eblake@redhat.com>
53813
53814         [BZ #12092]
53815         * string/str-two-way.h (two_way_long_needle): Always clear memory
53816         when skipping input due to the shift table.
53817
53818 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
53819
53820         [BZ #12005]
53821         * malloc/mcheck.c: Handle large requests.
53822
53823         [BZ #12077]
53824         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
53825         for strncmp and strncasecmp.
53826         * string/stratcliff.c: Add tests for strcmp and strncmp.
53827         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
53828
53829 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
53830
53831         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
53832         __set_fpscr.
53833
53834 2010-09-30  Andreas Jaeger  <aj@suse.de>
53835
53836         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
53837         (CGROUP_SUPER_MAGIC): Define.
53838         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
53839         Handle btrfs and cgroup file systems.
53840         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
53841         Likewise.
53842
53843 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
53844
53845         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
53846         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
53847
53848 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
53849
53850         [BZ #12067]
53851         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
53852         trying to locate the ELF header.
53853
53854 2010-09-27  Andreas Schwab  <schwab@redhat.com>
53855
53856         [BZ #11611]
53857         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
53858         Mask out sign-bit copies when constructing f_fsid.
53859
53860 2010-09-24  Petr Baudis <pasky@suse.cz>
53861
53862         * debug/stack_chk_fail_local.c: Add missing licence exception.
53863         * debug/warning-nop.c: Likewise.
53864
53865 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
53866
53867         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
53868         implementing getdents64 using getdents syscall, set d_type if
53869         __ASSUME_GETDENTS32_D_TYPE.
53870
53871 2010-09-16  Andreas Schwab  <schwab@redhat.com>
53872
53873         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
53874         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
53875
53876 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
53877
53878         [BZ #12037]
53879         * posix/unistd.h: Undo change of feature selection for ftruncate from
53880         2010-01-11.
53881
53882 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
53883
53884         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
53885         detection.
53886
53887 2010-09-20  Andreas Schwab  <schwab@redhat.com>
53888
53889         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
53890         fanotify_mark.
53891         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
53892
53893 2010-09-14  Andreas Schwab  <schwab@redhat.com>
53894
53895         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
53896         variables after CHECK_SP call.
53897         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
53898
53899 2010-09-13  Andreas Schwab  <schwab@redhat.com>
53900             Ulrich Drepper  <drepper@redhat.com>
53901
53902         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
53903         re-relocationg ld.so.
53904         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
53905         _dl_init_paths call.
53906         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
53907         here anymore.
53908
53909 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
53910
53911         * resolv/res_init.c (__res_vinit): Count the default server we added.
53912
53913 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
53914             Ulrich Drepper  <drepper@redhat.com>
53915
53916         [BZ #11968]
53917         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
53918         (____longjmp_chk): Use %ebx for saving value across system call.
53919         Add unwind info.
53920
53921 2010-09-06  Andreas Schwab  <schwab@redhat.com>
53922
53923         * manual/Makefile: Don't mix pattern rules with normal rules.
53924
53925 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
53926
53927         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
53928         operation.
53929         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
53930         * libio/iofopncook.c (_IO_cookie_init): Likewise.
53931         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
53932         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
53933         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
53934         Likewise.
53935
53936 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
53937
53938         [BZ #11979]
53939         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
53940         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
53941
53942 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
53943
53944         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
53945         * sysdeps/x86_64/addmul_1.S: Likewise.
53946         * sysdeps/x86_64/lshift.S: Likewise.
53947         * sysdeps/x86_64/mul_1.S: Likewise.
53948         * sysdeps/x86_64/rshift.S: Likewise.
53949         * sysdeps/x86_64/sub_n.S: Likewise.
53950         * sysdeps/x86_64/submul_1.S: Likewise.
53951
53952 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
53953
53954         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
53955         Define __sched_param instead of SCHED_* and sched_param when
53956         <bits/sched.h> is included with __need_schedparam defined.
53957         * bits/sched.h [__need_schedparam]
53958         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
53959         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
53960         (__defined_schedparam): Define to 1.
53961         (__sched_param): New structure, identical to sched_param.
53962         (__need_schedparam): Undefine.
53963
53964 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
53965
53966         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
53967         (epoll_create1): Declare.
53968
53969         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
53970
53971 2010-08-31  Andreas Schwab  <schwab@redhat.com>
53972
53973         [BZ #7066]
53974         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
53975         shifting retval into place.
53976
53977 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
53978
53979         * nis/rpcsvc/nis.h: Update copyright notice.
53980         * nis/rpcsvc/nis.x: Likewise.
53981         * nis/rpcsvc/nis_callback.h: Likewise.
53982         * nis/rpcsvc/nis_callback.x: Likewise.
53983         * nis/rpcsvc/nis_object.x: Likewise.
53984         * nis/rpcsvc/nis_tags.h: Likewise.
53985         * nis/rpcsvc/yp.h: Likewise.
53986         * nis/rpcsvc/yp.x: Likewise.
53987         * nis/rpcsvc/ypupd.h: Likewise.
53988         * nis/yp_xdr.c: Likewise.
53989         * nis/ypupdate_xdr.c: Likewise.
53990
53991         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
53992         mainly the body of pmap_getport.  Add parameters to specify timeouts.
53993         (pmap_getport): Use __libc_rpc_getport.
53994         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
53995         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
53996         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
53997
53998 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
53999
54000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
54001         fanotify_mark.
54002
54003 2010-08-27  Roland McGrath  <roland@redhat.com>
54004
54005         * sysdeps/i386/i686/multiarch/Makefile
54006         (CFLAGS-varshift.c): New variable.
54007
54008 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
54009
54010         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
54011         * sysdeps/i386/i686/multiarch/varshift.c: New file.
54012
54013         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
54014
54015         * sysdeps/x86_64/strlen.S: Minimal code improvement.
54016
54017 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
54018
54019         * sysdeps/x86_64/strlen.S: Unroll the loop.
54020         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54021         strlen-sse2 strlen-sse2-bsf.
54022         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
54023         __strlen_no_bsf if bit_Slow_BSF is set.
54024         (__strlen_sse42): Removed.
54025         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
54026         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
54027
54028 2010-08-25  Roland McGrath  <roland@redhat.com>
54029
54030         * sysdeps/x86_64/multiarch/varshift.S: File removed.
54031         * sysdeps/x86_64/multiarch/varshift.c: New file.
54032         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
54033         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
54034         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
54035         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
54036
54037 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
54038
54039         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54040         strlen-sse2 strlen-sse2-bsf.
54041         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
54042         __strlen_sse2_bsf if bit_Slow_BSF is unset.
54043         (__strlen_sse2): Removed.
54044         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
54045         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
54046         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
54047         bit_Slow_BSF for Atom.
54048         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
54049         (index_Slow_BSF): Define.
54050         (HAS_SLOW_BSF): Define.
54051
54052 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
54053
54054         [BZ #10851]
54055         * resolv/res_init.c (__res_vinit): When no server address at all
54056         is given default to loopback.
54057
54058 2010-08-24  Roland McGrath  <roland@redhat.com>
54059
54060         * configure.in: Remove config-name.h generation.
54061         * configure: Regenerated.
54062         * config-name.in: File removed.
54063         * scripts/config-uname.sh: New file.
54064         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
54065         ($(objdir)config-name.h): New target.
54066
54067         * sunrpc/rpc_parse.h: Avoid nested comment.
54068
54069 2010-08-24  Richard Henderson  <rth@redhat.com>
54070             Ulrich Drepper  <drepper@redhat.com>
54071             H.J. Lu  <hongjiu.lu@intel.com>
54072
54073         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
54074         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
54075         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
54076         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
54077         _mm_alignr_epi8 with _mm_loadu_si128.
54078         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
54079         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
54080         (__m128i_shift_right): Removed.
54081         * sysdeps/i386/i686/multiarch/varshift.h: New file.
54082         * sysdeps/i386/i686/multiarch/varshift.S: New file.
54083         * sysdeps/x86_64/multiarch/varshift.h: New file.
54084         * sysdeps/x86_64/multiarch/varshift.S: New file.
54085
54086 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
54087
54088         * configure.in: Move assembler checks to before sysdep dir checking.
54089
54090 2010-08-20  Petr Baudis  <pasky@suse.cz>
54091
54092         * LICENSES: Sync the sunrpc license.
54093
54094 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
54095
54096         * sunrpc/auth_des.c: Update copyright notice once again.
54097         * sunrpc/auth_none.c: Likewise.
54098         * sunrpc/auth_unix.c: Likewise.
54099         * sunrpc/authdes_prot.c: Likewise.
54100         * sunrpc/authuxprot.c: Likewise.
54101         * sunrpc/bindrsvprt.c: Likewise.
54102         * sunrpc/clnt_gen.c: Likewise.
54103         * sunrpc/clnt_perr.c: Likewise.
54104         * sunrpc/clnt_raw.c: Likewise.
54105         * sunrpc/clnt_simp.c: Likewise.
54106         * sunrpc/clnt_tcp.c: Likewise.
54107         * sunrpc/clnt_udp.c: Likewise.
54108         * sunrpc/clnt_unix.c: Likewise.
54109         * sunrpc/des_crypt.c: Likewise.
54110         * sunrpc/des_soft.c: Likewise.
54111         * sunrpc/get_myaddr.c: Likewise.
54112         * sunrpc/getrpcport.c: Likewise.
54113         * sunrpc/key_call.c: Likewise.
54114         * sunrpc/key_prot.c: Likewise.
54115         * sunrpc/openchild.c: Likewise.
54116         * sunrpc/pm_getmaps.c: Likewise.
54117         * sunrpc/pm_getport.c: Likewise.
54118         * sunrpc/pmap_clnt.c: Likewise.
54119         * sunrpc/pmap_prot.c: Likewise.
54120         * sunrpc/pmap_prot2.c: Likewise.
54121         * sunrpc/pmap_rmt.c: Likewise.
54122         * sunrpc/rpc/auth.h: Likewise.
54123         * sunrpc/rpc/auth_unix.h: Likewise.
54124         * sunrpc/rpc/clnt.h: Likewise.
54125         * sunrpc/rpc/des_crypt.h: Likewise.
54126         * sunrpc/rpc/key_prot.h: Likewise.
54127         * sunrpc/rpc/netdb.h: Likewise.
54128         * sunrpc/rpc/pmap_clnt.h: Likewise.
54129         * sunrpc/rpc/pmap_prot.h: Likewise.
54130         * sunrpc/rpc/pmap_rmt.h: Likewise.
54131         * sunrpc/rpc/rpc.h: Likewise.
54132         * sunrpc/rpc/rpc_des.h: Likewise.
54133         * sunrpc/rpc/rpc_msg.h: Likewise.
54134         * sunrpc/rpc/svc.h: Likewise.
54135         * sunrpc/rpc/svc_auth.h: Likewise.
54136         * sunrpc/rpc/types.h: Likewise.
54137         * sunrpc/rpc/xdr.h: Likewise.
54138         * sunrpc/rpc_clntout.c: Likewise.
54139         * sunrpc/rpc_cmsg.c: Likewise.
54140         * sunrpc/rpc_common.c: Likewise.
54141         * sunrpc/rpc_cout.c: Likewise.
54142         * sunrpc/rpc_dtable.c: Likewise.
54143         * sunrpc/rpc_hout.c: Likewise.
54144         * sunrpc/rpc_main.c: Likewise.
54145         * sunrpc/rpc_parse.c: Likewise.
54146         * sunrpc/rpc_parse.h: Likewise.
54147         * sunrpc/rpc_prot.c: Likewise.
54148         * sunrpc/rpc_sample.c: Likewise.
54149         * sunrpc/rpc_scan.c: Likewise.
54150         * sunrpc/rpc_scan.h: Likewise.
54151         * sunrpc/rpc_svcout.c: Likewise.
54152         * sunrpc/rpc_tblout.c: Likewise.
54153         * sunrpc/rpc_util.c: Likewise.
54154         * sunrpc/rpc_util.h: Likewise.
54155         * sunrpc/rpcinfo.c: Likewise.
54156         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
54157         * sunrpc/rpcsvc/key_prot.x: Likewise.
54158         * sunrpc/rpcsvc/klm_prot.x: Likewise.
54159         * sunrpc/rpcsvc/mount.x: Likewise.
54160         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
54161         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
54162         * sunrpc/rpcsvc/rex.x: Likewise.
54163         * sunrpc/rpcsvc/rstat.x: Likewise.
54164         * sunrpc/rpcsvc/rusers.x: Likewise.
54165         * sunrpc/rpcsvc/sm_inter.x: Likewise.
54166         * sunrpc/rpcsvc/spray.x: Likewise.
54167         * sunrpc/rpcsvc/yppasswd.x: Likewise.
54168         * sunrpc/rtime.c: Likewise.
54169         * sunrpc/svc.c: Likewise.
54170         * sunrpc/svc_auth.c: Likewise.
54171         * sunrpc/svc_authux.c: Likewise.
54172         * sunrpc/svc_raw.c: Likewise.
54173         * sunrpc/svc_run.c: Likewise.
54174         * sunrpc/svc_simple.c: Likewise.
54175         * sunrpc/svc_tcp.c: Likewise.
54176         * sunrpc/svc_udp.c: Likewise.
54177         * sunrpc/svc_unix.c: Likewise.
54178         * sunrpc/svcauth_des.c: Likewise.
54179         * sunrpc/xcrypt.c: Likewise.
54180         * sunrpc/xdr.c: Likewise.
54181         * sunrpc/xdr_array.c: Likewise.
54182         * sunrpc/xdr_float.c: Likewise.
54183         * sunrpc/xdr_mem.c: Likewise.
54184         * sunrpc/xdr_rec.c: Likewise.
54185         * sunrpc/xdr_ref.c: Likewise.
54186         * sunrpc/xdr_sizeof.c: Likewise.
54187         * sunrpc/xdr_stdio.c: Likewise.
54188
54189         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
54190         handling.
54191
54192 2010-08-19  Andreas Schwab  <schwab@redhat.com>
54193
54194         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
54195
54196 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
54197
54198         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
54199         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
54200         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
54201         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
54202         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
54203         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
54204         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
54205         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
54206         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
54207         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
54208         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
54209         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
54210         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
54211         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
54212
54213 2010-07-26  Anton Blanchard  <anton@samba.org>
54214
54215         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
54216         * malloc/arena.c (heap_trim): Likewise.
54217
54218 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
54219
54220         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
54221         here.  Not...
54222         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
54223         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
54224
54225 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
54226
54227         * sysdeps/i386/elf/Makefile: New file.
54228
54229 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
54230
54231         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
54232         from fanotify_init.
54233         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
54234         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54235
54236 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
54237
54238         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
54239         of strncasecmp_l.
54240         * sysdeps/multiarch/strcmp.S: Likewise.
54241
54242 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
54243
54244         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54245         strncase_l-nonascii.
54246         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54247         Add strncase_l-ssse3.
54248         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
54249         * sysdeps/x86_64/strcmp.S: Likewise.
54250         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
54251         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
54252         * sysdeps/x86_64/strncase.S: New file.
54253         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
54254         * sysdeps/x86_64/strncase_l.S: New file.
54255         * string/Makefile (strop-tests): Add strncasecmp.
54256         * string/test-strncasecmp.c: New file.
54257
54258         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
54259         warning.
54260
54261         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
54262         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
54263
54264 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
54265
54266         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
54267
54268 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
54269
54270         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
54271         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
54272         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
54273
54274 2010-05-01  Alan Modra  <amodra@gmail.com>
54275
54276         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
54277         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
54278         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
54279         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
54280         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
54281         tidying.  Don't tail-call __sigjmp_save for static lib.
54282         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
54283         save location.
54284         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
54285         (CALL_MCOUNT): Add eh info, and nop after bl.
54286         (TAIL_CALL_SYSCALL_ERROR): New macro.
54287         (PSEUDO_RET): Use it.
54288         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
54289         Correct save location of integer regs and cr.
54290         (_dl_profile_resolve): Correct cr save location.  Delete nops
54291         after bl when SHARED.  Reduce cfi size a little by better
54292         placement of cfi directives.
54293         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
54294         make a stack frame.  Instead use parm save area as a temp.
54295         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
54296         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
54297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
54298         Don't make a stack frame for parent, use parm save area.
54299         Increase child stack frame to 112 bytes.  Don't save unused reg,
54300         and adjust reg usage.  Set up cfi on error recovery and
54301         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
54302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
54303         (__makecontext): Add dummy nop after jump to exit.
54304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
54305         Use correct parm save area and cr save, reduce stack frame.
54306         Correct cfi for possible PSEUDO_RET frame setup.
54307         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
54308         Branch to local label emitted by PSEUDO_RET rather than
54309         __syscall_error.
54310
54311 2010-08-12  Andreas Schwab  <schwab@redhat.com>
54312
54313         [BZ #11904]
54314         * locale/programs/locale.c (print_assignment): New function.
54315         (show_locale_vars): Use it.
54316
54317 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
54318
54319         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
54320         field.
54321         (struct statfs64): Likewise.
54322         (_STATFS_F_FLAGS): Define.
54323         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
54324         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
54325         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
54326         (ST_VALID): Define locally.
54327         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
54328         __statvfs_getflags, use the provided value.
54329         * sysdeps/unix/sysv/linux/kernel-features.h: Define
54330         __ASSUME_STATFS_F_FLAGS.
54331
54332         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
54333
54334         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
54335         Add sys/fanotify.h.
54336         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
54337         fanotify_mask for GLIBC_2.13.
54338         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
54339         fanotify_init and fanotify_mark.
54340         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
54341         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
54342
54343         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
54344         Add prlimit.
54345         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
54346         prlimit64 for GLIBC_2.13.
54347         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
54348         prlimit64.
54349         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
54350         syscall.
54351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
54352         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
54353         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
54354         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
54355         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
54356         add prlimit alias.
54357         * sysdeps/unix/sysv/linux/prlimit.c: New file.
54358
54359         [BZ #11903]
54360         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
54361         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
54362
54363         * nss/Makefile: Add rules to build and run tst-nss-test1.
54364         * shlib-versions: Add entry for libnss_test1.
54365         * nss/nss_test1.c: New file.
54366         * nss/tst-nss-test1.c: New file.
54367
54368         * nss/nsswitch.c (__nss_database_custom): Define new variable.
54369         (__nss_configure_lookup): Set appropriate entry in
54370         __nss_configure_lookup to true.
54371         * nss/nsswitch.h: Define enum with indeces of databases in
54372         databases and __nss_database_custom arrays.  Declare
54373         __nss_database_custom.
54374         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
54375         to avoid using nscd when custom rules are installed.
54376         * nss/getXXbyYY_r.c: Likewise.
54377         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
54378
54379         * nss/nss_files/files-parse.c: Whitespace fixes.
54380
54381 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
54382
54383         [BZ #11883]
54384         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
54385         * posix/fnmatch_loop.c: Likewise.
54386
54387 2010-07-17  Andi Kleen  <ak@linux.intel.com>
54388
54389         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
54390         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
54391         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
54392         * Versions.def [GLIBC_2.13]: Add.
54393
54394 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
54395
54396         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54397         Also fail if tpwd after pwuid call is NULL.
54398
54399 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54400
54401         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
54402         when converting to ms.
54403
54404 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
54405
54406         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
54407         EOPNOTSUPP errors with ENOTTY.
54408         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
54409         EOPNOTSUPP errors with ENOTTY.
54410
54411 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
54412
54413         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
54414         Add strcasecmp_l-ssse3.
54415         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
54416         strcasecmp.
54417         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
54418         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
54419         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
54420
54421 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
54422
54423         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
54424
54425         * string/Makefile (strop-tests): Add strcasecmp.
54426         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
54427         strcasecmp_l-nonascii.
54428         (gen-as-const-headers): Add locale-defines.sym.
54429         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
54430         * sysdeps/x86_64/strcasecmp.S: New file.
54431         * sysdeps/x86_64/strcasecmp_l.S: New file.
54432         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
54433         * sysdeps/x86_64/locale-defines.sym: New file.
54434         * string/test-strcasecmp.c: New file.
54435
54436         * string/test-strcasestr.c: Test both ends of the range of characters.
54437         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
54438
54439 2010-07-29  Roland McGrath  <roland@redhat.com>
54440
54441         [BZ #11856]
54442         * manual/locale.texi (Yes-or-No Questions): Fix example code.
54443
54444 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
54445
54446         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
54447         for ld.so.
54448
54449 2010-07-27  Andreas Schwab  <schwab@redhat.com>
54450
54451         * manual/memory.texi (Malloc Tunable Parameters): Document
54452         M_PERTURB.
54453
54454 2010-07-26  Roland McGrath  <roland@redhat.com>
54455
54456         [BZ #11840]
54457         * configure.in (-fgnu89-inline check): Set and substitute
54458         gnu89_inline, not libc_cv_gnu89_inline.
54459         * configure: Regenerated.
54460         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
54461
54462 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
54463
54464         * string/test-strnlen.c: New file.
54465         * string/Makefile (strop-tests): Add strnlen.
54466         * string/tester.c (test_strnlen): Add a few more test cases.
54467         * string/tst-strlen.c: Better error reporting.
54468
54469         * sysdeps/x86_64/strnlen.S: New file.
54470
54471 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
54472
54473         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
54474         lower-latency instructions.
54475
54476 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
54477
54478         * string/test-strcasestr.c: New file.
54479         * string/test-strstr.c: New file.
54480         * string/Makefile (strop-tests): Add strstr and strcasestr.
54481         * string/str-two-way.h: Don't undefine MAX.
54482         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
54483
54484 2010-07-21  Andreas Schwab  <schwab@redhat.com>
54485
54486         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
54487         strcasestr-nonascii.
54488         (CFLAGS-strcasestr-nonascii.c): Define.
54489         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
54490         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
54491         Remove unused attribute.
54492
54493 2010-07-20  Roland McGrath  <roland@redhat.com>
54494
54495         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
54496         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
54497         ld.so.cache was broken.  With it, there is no way to disable dsocaps
54498         like LD_HWCAP_MASK can disable hwcaps.
54499
54500 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
54501
54502         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
54503
54504 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
54505
54506         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
54507         call in strcasestr.
54508         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
54509         __strcasestr_sse42_nonascii.
54510         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
54511         strcasestr-nonascii.c.
54512         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
54513
54514 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
54515
54516         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
54517         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
54518         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
54519         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
54520
54521 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
54522
54523         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
54524         fcntl.
54525
54526 2010-07-06  Andreas Schwab  <schwab@redhat.com>
54527
54528         [BZ #11577]
54529         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
54530         dl_signal_cerror.
54531
54532 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
54533
54534         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
54535         _PC_PIPE_BUF using F_GETPIPE_SZ.
54536
54537 2010-07-05  Roland McGrath  <roland@redhat.com>
54538
54539         * manual/arith.texi (Rounding Functions): Fix rint description
54540         implicit in round description.
54541
54542 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
54543
54544         * elf/Makefile: Fix linking for a few tests to make recent linker
54545         happy.
54546
54547 2010-06-30  Andreas Schwab  <schwab@redhat.com>
54548
54549         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
54550         $(common-objpfx)libc_nonshared.a.
54551
54552 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
54553
54554         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
54555         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
54556         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54557         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54558         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
54559         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
54560         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54561         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
54563         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
54564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
54565         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
54566         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
54567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
54568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
54569         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
54570         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
54571         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
54572         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
54573         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
54574         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
54575         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
54576         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
54577         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
54578         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
54579         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
54580         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
54581         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
54582         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
54583         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
54584         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
54585         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
54586         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
54587         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
54588         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
54589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
54590         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
54591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
54592         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
54593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
54594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
54595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
54596         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
54597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
54598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
54599         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
54600         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
54601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
54602
54603 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
54604
54605         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
54606         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
54607         * string/memmove.c (memmove): Renamed to ...
54608         (MEMMOVE): ...this.  Default to memmove.
54609         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
54610         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
54611         (END_CHK): Define.
54612         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
54613         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
54614         mempcpy-ssse3-back memmove-ssse3-back.
54615         * sysdeps/x86_64/multiarch/bcopy.S: New file .
54616         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
54617         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
54618         * sysdeps/x86_64/multiarch/memcpy.S: New file.
54619         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
54620         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
54621         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
54622         * sysdeps/x86_64/multiarch/memmove.c: New file.
54623         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
54624         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
54625         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
54626         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
54627         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
54628         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
54629         Define.
54630         (index_Fast_Copy_Backward): Define.
54631         (HAS_ARCH_FEATURE): Define.
54632         (HAS_FAST_REP_STRING): Define.
54633         (HAS_FAST_COPY_BACKWARD): Define.
54634
54635 2010-06-21  Andreas Schwab  <schwab@redhat.com>
54636
54637         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
54638         Restore proper fallback handling.
54639
54640 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
54641
54642         [BZ #11701]
54643         * posix/group_member.c (__group_member): Correct checking loop.
54644
54645         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
54646         OOM in getpwuid_r correctly.  Return error number when the caller
54647         should return, otherwise -1.
54648         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
54649         call returning > 0 value.
54650         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
54651
54652 2010-06-07  Andreas Schwab  <schwab@redhat.com>
54653
54654         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
54655         libc_nonshared.a from targets in modules-names.
54656
54657 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
54658
54659         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
54660         requires it.
54661
54662 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
54663
54664         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
54665         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
54666         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
54667         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
54668
54669 2010-06-02  Andreas Schwab  <schwab@redhat.com>
54670
54671         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
54672
54673 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
54674
54675         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
54676         and F_GETPIPE_SZ.
54677         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
54678         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
54679         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
54680         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
54681         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
54682         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
54683
54684 2010-06-14  Roland McGrath  <roland@redhat.com>
54685
54686         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
54687
54688 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
54689
54690         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
54691         __REDIRECT followed by __THROW.
54692         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
54693         * posix/getopt.h (getopt): Likewise.
54694
54695 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
54696
54697         * hurd/lookup-at.c (__file_name_lookup_at): Accept
54698         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
54699         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
54700         in AT_FLAGS.
54701         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
54702         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
54703
54704 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
54705
54706         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
54707
54708 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
54709
54710         [BZ #11640]
54711         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54712         Properly check family and model.
54713
54714 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
54715
54716         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
54717
54718 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
54719
54720         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
54721
54722 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
54723
54724         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
54725         symbol reference.
54726
54727 2010-05-19  Andreas Schwab  <schwab@redhat.com>
54728
54729         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
54730         symbol reference.
54731
54732 2010-05-21  Andreas Schwab  <schwab@redhat.com>
54733
54734         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
54735         and internal_recvmmsg.
54736         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
54737         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
54738         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
54739         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
54740
54741         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
54742         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
54743         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
54744
54745 2010-05-20  Andreas Schwab  <schwab@redhat.com>
54746
54747         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
54748
54749 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
54750
54751         POWER7 optimizations.
54752         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
54753         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
54754
54755 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
54756
54757         * version.h: Update for 2.13 development version.
54758
54759 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
54760
54761         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
54762         exceptions.  Return 0.
54763
54764 2010-05-07  Roland McGrath  <roland@redhat.com>
54765
54766         * elf/ldconfig.c (main): Add a const.
54767
54768 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
54769
54770         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
54771         (args_options): Add no-idn option.
54772         (ahosts_keys_int): Add idn_flags to ai_flags.
54773         (parse_option): Handle 'i' option to clear idn_flags.
54774
54775         * malloc/malloc.c (_int_free): Possible race in the most recently
54776         added check.  Only act on the data if no current modification
54777         happened.
54778
54779 See ChangeLog.17 for earlier changes.