PowerPC: multiarch memset/bzero for PowerPC64
[glibc.git] / ChangeLog
blob092ebb1b14ca4d0419ba71f8a2db90652580771c
1 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
4         avoid cretion of __bzero symbol.
5         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
6         Likewise.
7         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
8         Likewise.
9         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
10         Likewise.
11         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
12         multiarch implementations.
13         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
14         (__libc_ifunc_impl_list): Likewise.
15         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
16         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
17         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
18         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
19         bzero for PPC32.
20         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
21         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
22         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
23         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
24         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
25         memset for PPC64.
26         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
28 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
31         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
32         implementations.
33         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
34         (__libc_ifunc_impl_list): Likewise.
35         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
36         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
37         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
38         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
39         memcmp for PPC64.
41 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
44         multiarch for POWER/PPC64.
45         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
46         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
47         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
48         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
49         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
50         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
51         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
52         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
53         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
54         memcpy for PPC64.
56 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
59         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
60         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
61         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
62         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
63         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
64         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
65         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
66         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
67         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
68         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
69         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
70         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
71         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
72         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
73         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
74         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
75         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
76         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
77         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
78         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
79         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
81 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
83         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
85 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
87         * benchtests/Makefile (bench): Add exp2 and log2.
88         (LDLIBS-bench-exp2): Add -lm.
89         (LDLIBS-bench-log2): Likewise.
90         * benchtests/exp2-inputs: New inputs file.
91         * benchtests/log2-inputs: New inputs file.
92         * benchtests/log-inputs: Add new inputs.
93         * benchtests/tan-inputs: Likewise.
95 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
97         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
98         definition...
99         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
100         csloww1, csloww2): ... from here.
102         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
103         instead of structures.
104         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
105         (POLYNOMIAL): Likewise.
106         (TAYLOR_SLOW): Likewise.
107         (__sin): Likewise.
108         (__cos): Likewise.
109         (slow1): Likewise.
110         (slow2): Likewise.
111         (sloww): Likewise.
112         (sloww1); Likewise.
113         (sloww2): Likewise.
114         (bsloww1): Likewise.
115         (bsloww2): Likewise.
116         (cslow2): Likewise.
117         (csloww): Likewise.
118         (csloww1): Likewise.
119         (csloww2): Likewise.
121 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
123         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
124         (__malloc_assert, __libc_realloc, __libc_calloc,
125         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
126         memcpy and memset.
127         * malloc/hooks.c (realloc_check): Likewise.
129 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
131         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
132         * malloc/arena.c: Remove PER_THREAD conditional.
133         [!PER_THREAD]: Remove code.
134         (ptmalloc_unlock_all2): Likewise.
135         (ptmalloc_init): Likewise.
136         (_int_new_arena): Likewise.
137         (arena_get2): Likewise.
138         * malloc/hooks.c (__malloc_get_state): Likewise.
139         (__malloc_set_state): Likewise.
140         * malloc/malloc.c: Likewise.
141         (struct malloc_state): Likewise.
142         (struct malloc_par): Likewise.
143         (__libc_realloc): Likewise.
144         (__libc_mallopt): Likewise.
146 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
148         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
150 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
152         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
153         macro to a function.  Check for zero perturb_byte.
154         (_int_malloc, _int_free): Remove zero perturb_byte checks.
156 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
158         * malloc/malloc.c: (force_reg): Remove.
159         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
160         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
161         force_reg by atomic_forced_read.
162         * malloc/arena.c (ptmalloc_init): Likewise.
163         * malloc/hooks.c (top_check): Likewise.
165 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
167         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
169 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
171         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
173 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
175         * math/auto-libm-test-in: Add tests of lgamma.
176         * math/auto-libm-test-out: Regenerated.
177         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
178         (M_LOG_2_SQRT_PIl): Likewise.
179         (lgamma_test_data): Use AUTO_TESTS_f_f1.
180         * math/gen-auto-libm-tests.c (func_calc_method): Add value
181         mpfr_f_f1.
182         (func_calc_desc): Add mpfr_f_f1 union field.
183         (ARGS1): New macro.
184         (ARGS2): Likewise.
185         (ARGS3): Likewise.
186         (ARGS4): Likewise.
187         (RET1): Likewise.
188         (RET2): Likewise.
189         (CALC): Likewise.
190         (FUNC): Likewise.
191         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
192         (test_functions): Add lgamma.
193         (calc_generic_results): Handle mpfr_f_f1.
194         * sysdeps/i386/fpu/libm-test-ulps: Update.
195         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
197 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
199         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
200         __mpn_add_n for PowerPC64/POWER7.
201         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
202         __mpn_sub_n for PowerPC64/POWER7.
204 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
206         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
207         __mpn_addmul_1 for PowerPC64.
208         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
209         __mpn_submul_1 for PowerPC64.
210         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
211         for PowerPC64.
212         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
213         for PowerPC64.
215 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
217         [BZ #15089]
218         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
220 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
222         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
224 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
226         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
227         add multiarch folders.
228         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
229         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
230         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
231         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
232         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
233         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
234         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
235         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
236         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
237         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
238         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
239         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
241         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
242         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
244         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
246 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
249         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
251         New file.
252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
253         New file.
254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
255         multiarch __ieee754_hypot for PowerPC32.
256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
257         New file.
258         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
259         New file.
260         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
261         multiarch __ieee754_hypotf for PowerPC32.
263 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
265         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
266         long_double_symbol only if __logbl is defined.
267         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
268         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
269         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
270         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
271         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
272         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
273         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
274         path for implementation.
275         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
276         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
277         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
278         logb, and logbl multiarch implementations for PowerPC32.
279         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
280         file.
281         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
282         file.
283         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
284         multiarch logb for PowerPC32.
285         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
286         file.
287         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
288         file.
289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
290         multiarch logbf for PowerPC32.
291         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
292         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
293         file.
294         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
295         multiarch logbl implementation for PowerPC32.
297 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
299         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
300         and modff multiarch implementations.
301         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
302         New file.
303         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
304         New file.
305         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
306         multiarch modf for PowerPC32.
307         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
308         New file.
309         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
310         New file.
311         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
312         multiarch modff for PowerPC32.
314 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
316         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
317         and lrintf multiarch implementations.
318         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
319         New file.
320         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
321         New file.
322         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
323         multiarch lrint for PowerPC32.
324         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
325         file: multiarch lrintf for PowerPC32.
327 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
330         and lroundf multiarch implementations.
331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
332         New file.
333         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
334         New file.
335         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
336         New file.
337         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
338         multiarch lround for PowerPC32.
339         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
340         file: multiarch lroundf for PowerPC32.
342 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
345         copysign and copysignf multiarch implementations.
346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
347         New file.
348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
349         New file.
350         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
351         file: multiarch copysign for PowerPC32.
352         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
353         file: multiarch copysignf for PowerPC32.
355 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
358         and truncf multiarch implementations.
359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
360         New file.
361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
362         file.
363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
364         multiarch trunc for PowerPC32.
365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
366         New file.
367         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
368         New file.
369         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
370         multiarch truncf for PowerPC32.
372 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
375         and roundf multiarch implementations.
376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
377         New file.
378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
379         file.
380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
381         multiarch round for PowerPC32.
382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
383         New file.
384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
385         New file.
386         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
387         multiarch roundf for PowerPC32.
389 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
392         and floorf multiarch implementations.
393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
394         New file.
395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
396         file.
397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
398         multiarch floor for PowerPC32.
399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
400         New file.
401         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
402         New file.
403         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
404         multiarch floorf for PowerPC32.
406 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
409         and ceilf multiarch implementations.
410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
411         New file.
412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
413         file.
414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
415         multiarch ceil for PowerPC32.
416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
417         New file.
418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
419         file.
420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
421         multiarch ceilf for PowerPC32.
423 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
425         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
426         is defined.
427         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
428         FINITEF is defined.
429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
430         and finitef multiarch implementations.
431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
432         New file.
433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
434         file.
435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
436         multiarch finite for PowerPC32.
437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
438         New file.
439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
440         file: multiarch finitef for PowerPC32.
442 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
445         and isinff multiarch implementations.
446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
447         file.
448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
449         file.
450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
451         multiarch isinf for PowerPC32.
452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
453         New file.
454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
455         multiarch isinff for PowerPC32.
457 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
459         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
460         alias when __isnan is defined.
461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
462         and isnanf multiarch implementations.
463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
464         file.
465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
466         file.
467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
468         file.
469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
470         file.
471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
472         multiarch isnan for PowerPC32.
473         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
474         New file.
475         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
476         New file.
477         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
478         multiarch isnanf for PowerPC32.
480 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
482         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
483         and sqrtf multiarch implementations.
484         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
485         file.
486         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
487         file.
488         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
489         multiarch sqrt for PowerPC32.
490         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
491         file.
492         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
493         file.
494         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
495         multiarch sqrtf for PowerPC32.
497 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
499         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
500         and llroundf multiarch implementations.
501         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
502         New file.
503         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
504         New file.
505         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
506         New file.
507         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
508         file: multiarch llround for PowerPC32.
509         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
510         file: multiarch llroundf for PowerPC32.
512 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
514         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
515         multiarch PowerPC32 fpu implementations.
516         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
517         New file.
518         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
519         New file.
520         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
521         multiarch llrint for PowerPC32.
522         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
523         New file.
524         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
525         New file.
526         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
527         file.
529 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
533 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
535         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
536         file.
537         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
538         file.
539         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
540         file.
541         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
542         multiarch wordcopy for PPC32.
543         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
544         wordcopy objects.
545         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
546         (__libc_ifunc_impl_list): Likewise.
547         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
548         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
549         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
550         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
551         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
552         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
554 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
556         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
557         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
558         file.
559         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
560         file.
561         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
562         file.
563         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
564         multiarch wcscpy for PPC32.
565         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
566         multiarch objects.
567         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
568         (__libc_ifunc_impl_list): Likewise.
569         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
570         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
571         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
572         sysdeps/powerpc/power6/wcscpy.c.
574 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
576         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
577         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
578         file.
579         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
580         file.
581         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
582         file.
583         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
584         multiarch wcsrchr for PPC32.
585         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
586         multiarch objects.
587         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
588         (__libc_ifunc_impl_list): Likewise.
589         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
590         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
591         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
592         sysdeps/powerpc/power6/wcsrchr.c.
594 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
596         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
597         file.
598         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
599         file.
600         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
601         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
602         multiarch wcschr for PPc32.
603         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
604         multiarch objects.
605         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
606         (__libc_ifunc_impl_list): Likewise.
607         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
608         * sysdeps/powerpc/power6/wcschr.c: ... to here.
609         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
610         sysdeps/powerpc/power6/wcschr.c.
612 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
614         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
615         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
616         file.
617         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
618         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
619         file: multiarch strchr for PPC32.
620         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
621         multiarch objects.
622         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
623         (__libc_ifunc_impl_list): Likewise.
625 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
627         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
628         name.
629         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
630         file.
631         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
632         file.
633         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
634         multiarch strchrnul for PPC32.
635         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
636         multiarch objects.
637         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
638         (__libc_ifunc_impl_list): Likewise.
640 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
642         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
643         file.
644         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
645         multiarch strncasecmp for PPC32.
646         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
647         file.
648         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
649         multiarch strncasecmp_l for PPC32.
650         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
651         strncasecmp multiarch objects.
652         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
653         (__libc_ifunc_impl_list): Likewise.
655 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
657         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
658         file.
659         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
660         multiarch strncasecmp for PPC32.
661         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
662         New file.
663         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
664         multiarch strcasecmp_l for PPC32.
665         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
666         multiarch objects.
667         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
668         (__libc_ifunc_impl_list): Likewise.
670 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
672         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
673         file.
674         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
675         file.
676         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
677         multiarch strncmp for PPC32.
678         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
679         multiarch objects.
680         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
681         (__libc_ifunc_impl_list): Likewise.
683 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
685         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
686         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
687         file.
688         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
689         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
690         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
691         multiarch objects.
692         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
693         (__libc_ifunc_impl_list): Likewise.
695 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
697         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
698         file.
699         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
700         file.
701         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
702         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
703         multiarch objects.
704         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
705         (__libc_ifunc_impl_list): Likewise.
707 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
709         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
710         file.
711         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
712         file.
713         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
714         multiarch rawmemchr for PPC32.
715         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
716         multiarch objects.
717         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
718         (__libc_ifunc_impl_list): Likewise.
720 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
722         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
723         file.
724         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
725         file.
726         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
727         file: memrchr multiarch for PPC32.
728         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
729         multiarch objects.
730         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
731         (__libc_ifunc_impl_list): Likewise.
733 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
735         * string/memchr.c (__memchr): Using macro to redefine symbol name.
736         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
737         file.
738         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
739         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
740         multiarch memchr for PPC32.
741         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
742         multiarch objects.
743         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
744         (__libc_ifunc_impl_list): Likewise.
746 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
748         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
749         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
750         file.
751         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
752         file.
753         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
754         file: multiarch mempcpy for PPC32.
755         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
756         multiarch objects.
757         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
758         (__libc_ifunc_impl_list): Likewise.
760 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
762         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
763         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
764         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
765         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
766         multiarch bzero for PPC32.
767         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
768         file.
769         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
770         file.
771         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
772         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
773         file: multiarch memset for PPC32.
774         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
775         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
776         memset multiarch objects.
777         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
778         (__libc_ifunc_impl_list): Likewise.
780 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
782         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
783         file.
784         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
785         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
786         memcmp for PPC32.
787         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
788         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
789         multiarch objects.
790         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
791         (__libc_ifunc_impl_list): Likewise.
793 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
795         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
796         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
797         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
798         file.
799         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
800         file.
801         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
802         file.
803         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
804         multiarch memcpy for PPC32.
805         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
806         multiarch objects.
807         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
808         (__libc_ifunc_impl_list): Likewise.
810 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
812         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
813         support multiarch for POWER/PPC32.
814         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
815         Likewise.
816         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
817         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
818         Implies file to make multiarch folder appers before the fpu and
819         default folder for power4 configuration.
821 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
823         * scripts/bench.pl: Append volatile keyword to type.
825 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
827         * sysdeps/sh/sotruss-lib.c: New file.
828         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
830 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
832         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
834 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
836         [BZ #6810]
837         * math/w_tgamma.c: Include <errno.h>.
838         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
839         * math/w_tgammaf.c: Include <errno.h>.
840         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
841         * math/w_tgammal.c: Include <errno.h>.
842         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
843         * math/auto-libm-test-in: Do not allow missing errno on tgamma
844         underflow.  Add more tgamma tests.
845         * math/auto-libm-test-out: Regenerated.
846         * sysdeps/i386/fpu/libm-test-ulps: Update.
847         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
849         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
850         sin, sinh, tan, tanh, tgamma, y0 and y1.
851         * math/auto-libm-test-out: Regenerated.
852         * math/libm-test.inc (TEST_COND_x86_64): New macro.
853         (TEST_COND_x86): Likewise.
854         (M_E2l): Remove macro.
855         (M_E3l): Likewise.
856         (M_2_SQRT_PIl): Likewise.
857         (M_SQRT_PIl): Likewise.
858         (M_1_DIV_El): Likewise.
859         (log_test_data): Use AUTO_TESTS_f_f.
860         (log10_test_data): Likewise.
861         (log1p_test_data): Likewise.
862         (log2_test_data): Likewise.
863         (sin_test_data): Likewise.
864         (sin_tonearest_test_data): Likewise.
865         (sin_towardzero_test_data): Likewise.
866         (sin_downward_test_data): Likewise.
867         (sin_upward_test_data): Likewise.
868         (sinh_test_data): Likewise.
869         (sinh_tonearest_test_data): Likewise.
870         (sinh_towardzero_test_data): Likewise.
871         (sinh_downward_test_data): Likewise.
872         (sinh_upward_test_data): Likewise.
873         (tan_test_data): Likewise.
874         (tan_tonearest_test_data): Likewise.
875         (tan_towardzero_test_data): Likewise.
876         (tan_downward_test_data): Likewise.
877         (tan_upward_test_data): Likewise.
878         (tanh_test_data): Likewise.
879         (tgamma_test_data): Likewise.
880         (y0_test_data): Likewise.
881         (y1_test_data): Likewise.
882         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
883         (special_real_inputs): Add pi/4.
884         * sysdeps/i386/fpu/libm-test-ulps: Update.
885         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
887 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
889         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
890         "longjmp_target" static probes.
891         (__longjmp): Rename to __longjmp_symbol.
892         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
893         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
894         on which longjmp to generate.
895         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
896         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
897         probe.
898         (__sigsetjmp): Rename to __sigsetjmp_symbol.
899         (__sigjmp_save): Rename to __sigjmp_save_symbol.
900         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
901         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
902         and __sigjmp_save_symbol based on which sigsetjmp to generated.
903         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
904         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
905         __longjmp_symbol based on which __longjmp to generate.
906         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
907         probe.
908         (setjmp): Rename to setjmp_symbol.
909         (__sigsetjmp): Rename to __sigsetjmp_symbol.
910         (_setjmp): Rename to _setjmp_symbol.
911         (__sigsetjmp): Rename to __sigsetjmp_symbol.
912         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
913         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
914         which setjmp to generate.
915         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
916         "longjmp_target" static probes.
918 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
920         * benchtests/README: Add note about output arguments.
921         * benchtests/bench-sincos.c: Remove file.
922         * benchtests/sincos-inputs: New file.
923         * scripts/bench.pl: Identify output arguments and define
924         static variables for them.
926         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
928         [BZ #15941]
929         * Makefile (INSTALL): Add install-plain.texi as the primary
930         dependency.
931         * manual/install-plain.texi: New file.
932         * manual/install.texi: Include node directive only for
933         non-plaintext output.
935 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
937         * stdlib/longlong.h: Update from GCC.
939         [BZ #6807]
940         [BZ #15901]
941         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
942         * math/w_j0f.c (y0f): Likewise.
943         * math/w_j0l.c (__y0l): Likewise.
944         * math/w_j1.c (y1): Likewise.
945         * math/w_j1f.c (y1f): Likewise.
946         * math/w_j1l.c (__y1l): Likewise
947         * math/w_jn.c (yn): Likewise.
948         * math/w_jnf.c (ynf): Likewise.
949         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
950         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
951         value for Bessel function domain errors outside _SVID_ mode.
952         Adjust sign of return value for yn (negative integer, 0).
953         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
954         by zero in return for negative x and set sign appropriately for
955         negative n.
956         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
957         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
958         * math/libm-test.inc (y0_test_data): Add more tests and adjust
959         expectations in error cases.
960         (y1_test_data): Likewise.
961         (yn_test_data): Likewise.
962         * sysdeps/i386/fpu/libm-test-ulps: Update.
963         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
965 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
967         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
968         "64" to "64-v1".  Add "64-v2".
969         (abi-64-options): Rename to ...
970         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
971         (abi-64-condition): Rename to ...
972         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
973         (abi-64-ld-soname): Rename to ...
974         (abi-64-v1-ld-soname): ... this.
975         (abi-64-v2-options): Define.
976         (abi-64-v2-condition): Likewise.
977         (abi-64-v2-ld-soname): Likewise.
978         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
979         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
982         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
984 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
985             Alan Modra  <amodra@gmail.com>
987         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
988         New versions for use with the ELFv2 ABI.
989         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
990         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
991         declaration.
992         (struct La_ppc64v2_retval): Likewise.
993         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
994         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
995         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
996         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
997         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
998         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
999         Do not save or restore CR.
1000         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
1001         (_dl_profile_resolve): Do no save or restore CR.  Support extended
1002         return values for ELFv2 ABI.  Fix location of FPR return registers.
1003         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
1004         updated values for _CALL_ELF == 2.
1005         (La_regs, La_retval, int_retval): Likewise.
1007 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1009         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
1010         (FRAME_MIN_SIZE_PARM): Likewise.
1011         (FRAME_BACKCHAIN): Likewise.
1012         (FRAME_CR_SAVE): Likewise.
1013         (FRAME_LR_SAVE): Likewise.
1014         (FRAME_TOC_SAVE): Likewise.
1015         (FRAME_PARM_SAVE): Likewise.
1016         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1017         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1018         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1019         (call_mcount_parm_offset): New macro.
1020         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
1021         (PROF): Use symbolic stack frame offsets.
1022         (TAIL_CALL_SYSCALL_ERROR): Likewise.
1023         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
1024         Redefine in terms of FRAME_MIN_SIZE.
1025         (_dl_runtime_resolve): Use symbolic stack frame offsets.
1026         (_dl_profile_resolve): Likewise.  Update comment.
1027         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
1028         symbols stack frame offsets.
1029         (__sigsetjmp): Likewise.
1030         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
1031         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
1032         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
1033         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
1035         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
1036         (FRAME_BACKCHAIN): Remove.
1037         (FRAME_CR_SAVE): Likewise.
1038         (FRAME_LR_SAVE): Likewise.
1039         (FRAME_COMPILER_DW): Likewise.
1040         (FRAME_LINKER_DW): Likewise.
1041         (FRAME_TOC_SAVE): Likewise.
1042         (FRAME_PARM_SAVE): Likewise.
1043         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
1044         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
1045         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
1046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
1047         (CHECK_SP): Use symbolic stack frame offsets.
1048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
1049         zone" instead of caller's parameter save area for temp storage.
1050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
1051         Likewise.  Also, use symbolic stack frame offsets.
1052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
1053         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
1054         our own stack frame instead of the caller's.
1055         (__socket): Use symbolic stack frame offsets.
1057 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1058             Alan Modra  <amodra@gmail.com>
1060         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
1061         Define.
1062         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
1063         PPC64_LOCAL_ENTRY_OFFSET): Define.
1064         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
1065         New function.
1066         (elf_machine_fixup_plt): Call it.
1067         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
1068         reloc arguments.
1069         (elf_machine_rela): Update call to elf_machine_plt_conflict.
1070         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1071         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
1072         r2 before calling target.
1074 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1075             Alan Modra  <amodra@gmail.com>
1077         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
1078         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
1079         versions of macros to support ELFv2 ABI.
1080         (LOCALENTRY): New macro.
1081         (ENTRY, EALIGN): Use it.
1082         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
1083         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
1084         fall through into ENTRY entry point.
1085         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
1086         Only define if _CALL_ELF != 2.
1088         (elf_machine_matches_host): Verify ABI version matches.
1089         (RTLD_START): Use LOCALENTRY.
1090         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
1091         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
1092         (PLT_ENTRY_WORDS): New macro.
1093         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
1094         (elf_machine_runtime_setup): Support ELFv2 ABI.
1095         (elf_machine_fixup_plt): Likewise.
1096         (elf_machine_plt_conflict): Likewise.
1097         (resolve_ifunc): Likewise.
1098         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1099         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1100         Likewise.
1101         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
1102         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
1103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1104         (makecontext): Support ELFv2 ABI.
1105         * elf/elf.h (EF_PPC64_ABI): Define.
1107 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1109         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
1110         New assembler macro.
1111         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
1112         [ASSEMBLER] (ENTRY): ... but instead here ...
1113         [ASSEMBLER] (EALIGN): ... and here.
1114         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
1115         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
1116         [!ASSEMBLER] (ENTRY_2): Use it.
1117         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
1118         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
1119         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1120         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
1121         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
1122         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
1123         Use PPC64_LOAD_FUNCPTR.
1125 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1127         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
1129 2013-12-04  Alan Modra  <amodra@gmail.com>
1131         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
1132         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
1133         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
1134         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
1136         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
1137         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
1138         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
1139         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
1140         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
1141         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
1143 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1145         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1146         (__makecontext): Fix incorrect CFI when backtracing out of
1147         context created via makecontext.
1148         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
1149         (__setcontext): Fix incorrect CFI during switch to new context.
1150         (__novec_setcontext): Likewise.
1152 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
1154         [BZ #4772]
1155         * time/strptime_l.c (__strptime_internal): Allow modifiers
1156         in strptime.
1157         * time/tst-strptime.c (day_tests): Add testcase.
1160 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1162         * scripts/bench.pl: Skip over blank lines.
1164 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
1166         [BZ #926]
1167         * manual/time.texi (Calendar Time): Clarify what timezone functions
1168         use.
1170 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1172         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1174 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
1176         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
1177         implementation.
1178         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
1179         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
1180         * debug/memset_chk.c (__memset_chk): Likewise.
1181         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
1182         * debug/strncpy_chk.c: Likewise.
1184 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
1186         [BZ #15268]
1187         [BZ #15425]
1188         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
1189         (__ieee754_exp): For possibly underflowing results, check size of
1190         result and force underflow exception if required.
1191         * math/auto-libm-test-in: Add more tests of exp.
1192         * math/auto-libm-test-out: Regenerated.
1193         * sysdeps/i386/fpu/libm-test-ulps: Update.
1194         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1196         [BZ #16283]
1197         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
1198         * math/w_exp2f.c (__exp2f): Likewise.
1199         * math/w_exp2l.c (__exp2l): Likewise.
1200         * math/auto-libm-test-in: Do not allow missing errno on exp2
1201         underflow.
1202         * math/auto-libm-test-out: Regenerated.
1204 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
1206         [BZ #16274]
1207         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
1208         handle filename validation.
1209         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
1210         (do_open): Delete.
1212 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
1214         [BZ #6786]
1215         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
1216         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
1217         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
1218         <float.h>.
1219         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
1220         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
1221         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1222         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
1223         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1224         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
1225         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1226         * math/auto-libm-test-in: Don't allow missing errno from erfc.
1227         Add more erfc tests.
1228         * math/auto-libm-test-out: Regenerated.
1229         * sysdeps/i386/fpu/libm-test-ulps: Update.
1230         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1232         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
1233         exp2, expm1, j0 and j1.
1234         * math/auto-libm-test-out: Regenerated.
1235         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
1236         (erfc_test_data): Likewise.
1237         (exp_test_data): Likewise.
1238         (exp_tonearest_test_data): Likewise.
1239         (exp_towardzero_test_data): Likewise.
1240         (exp_downward_test_data): Likewise.
1241         (exp_upward_test_data): Likewise.
1242         (exp10_test_data): Likewise.
1243         (exp2_test_data): Likewise.
1244         (expm1_test_data): Likewise.
1245         (j0_test_data): Likewise.
1246         (j1_test_data): Likewise.
1247         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
1248         (input_flag_type): Add flag_xfail_rounding.
1249         (input_flags): Add xfail-rounding.
1250         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
1251         (output_for_one_input_case): Handle flag_xfail_rounding.
1252         * sysdeps/i386/fpu/libm-test-ulps: Update.
1253         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1255 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
1257         [BZ #16289]
1258         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
1259         division by 0.
1261 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
1263         [BZ #16195]
1264         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1265         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
1266         (STAP_PROBE0): New macro.
1267         (STAP_PROBE1): Likewise.
1268         (STAP_PROBE2): Likewise.
1269         (STAP_PROBE3): Likewise.
1270         (STAP_PROBE4): Likewise.
1272 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
1274         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
1276 2013-12-02  Steve Ellcey  <sellcey@mips.com>
1278         * benchtests/Makefile (bench): Add sqrt.
1279         (LDLIBS-bench-sqrt): New.
1280         * benchtests/sqrt-input: New.
1282 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
1284         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
1285         (GAIH_EAI): Likewise.
1286         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
1287         (gaih_inet): Likewise.
1288         (getaddrinfo): Don't use GAIH_EAI.
1290         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
1291         (struct gaih): Remove definition.
1293 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1295         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
1296         Use HERRNOP directly.
1298 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1300         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1302 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
1304         * math/gen-auto-libm-tests.c (test_functions): Add more
1305         single-argument functions.
1306         (special_fill_pi_2): New function.
1307         (special_fill_minus_pi_2): Likewise.
1308         (special_fill_pi_6): Likewise.
1309         (special_fill_minus_pi_6): Likewise.
1310         (special_fill_pi_3): Likewise.
1311         (special_fill_2pi_3): Likewise.
1312         (special_fill_e): Likewise.
1313         (special_fill_1_e): Likewise.
1314         (special_fill_e_minus_1): Likewise.
1315         (special_real_inputs): Add more special inputs.
1316         (output_for_one_input_case): Do not require ERANGE on underflow to
1317         zero if round-to-nearest result does not underflow to zero, unless
1318         exact results required.
1319         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
1320         atan, atanh, cbrt, cos and cosh.
1321         * math/auto-libm-test-out: Regenerated.
1322         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
1323         (acos_tonearest_test_data): Likewise.
1324         (acos_towardzero_test_data): Likewise.
1325         (acos_downward_test_data): Likewise.
1326         (acos_upward_test_data): Likewise.
1327         (acosh_test_data): Likewise.
1328         (asin_test_data): Likewise.
1329         (asin_tonearest_test_data): Likewise.
1330         (asin_towardzero_test_data): Likewise.
1331         (asin_upward_test_data): Likewise.
1332         (asinh_test_data): Likewise.
1333         (atan_test_data): Likewise.
1334         (atanh_test_data): Likewise.
1335         (cbrt_test_data): Likewise.
1336         (cos_test_data): Likewise.
1337         (cos_tonearest_test_data): Likewise.
1338         (cos_towardzero_test_data): Likewise.
1339         (cos_downward_test_data): Likewise.
1340         (cos_upward_test_data): Likewise.
1341         (cosh_test_data): Likewise.
1342         (cosh_tonearest_test_data): Likewise.
1343         (cosh_towardzero_test_data): Likewise.
1344         (cosh_downward_test_data): Likewise.
1345         (cosh_upward_test_data): Likewise.
1346         * sysdeps/i386/fpu/libm-test-ulps: Update.
1347         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1349 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
1351         [BZ #6787]
1352         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
1353         * math/w_exp10f.c (__exp10f): Likewise.
1354         * math/w_exp10l.c (__exp10l): Likewise.
1355         * math/libm-test.inc (exp10_test_data): Add more tests and expect
1356         errno settings in existing tests.
1358         [BZ #14032]
1359         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
1360         precision control set to double precision.
1361         * sysdeps/i386/fpu/w_sqrt.c: New file.
1362         * math/auto-libm-test-in: Add more tests.
1363         * math/auto-libm-test-out: Update.
1365         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
1366         (sqrt_test_tonearest): New function.
1367         (sqrt_towardzero_test_data): New variable.
1368         (sqrt_test_towardzero): New function.
1369         (sqrt_downward_test_data): New variable.
1370         (sqrt_test_downward): New function.
1371         (sqrt_upward_test_data): New variable.
1372         (sqrt_test_upward): New function.
1373         (main): Call the new functions.
1375         * math/gen-auto-libm-tests.c: New file.
1376         * math/auto-libm-test-in: Likewise.
1377         * math/auto-libm-test-out: New generated file.
1378         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
1379         variables.
1380         (%beautify): Add generated representations of zero.
1381         (top level): Set $auto_input and call parse_auto_input.
1382         (beautify): Remove trailing "f" from hex float constants.
1383         (parse_args): Handle XFAIL_TEST.
1384         (convert_condition): New function.
1385         (or_value): Likewise.
1386         (or_cond_value): Likewise.
1387         (generate_testfile): Handle AUTO_TESTS_* lines.
1388         (parse_auto_input): New function.
1389         * math/libm-test.inc (XFAIL_TEST): New macro.
1390         (ERRNO_UNCHANGED): Update value.
1391         (ERRNO_EDOM): Likewise.
1392         (ERRNO_ERANGE): Likewise.
1393         (IGNORE_RESULT): Likewise.
1394         (TEST_COND_flt_32): New macro.
1395         (TEST_COND_dbl_64): Likewise.
1396         (TEST_COND_ldbl_96_intel): Likewise.
1397         (TEST_COND_ldbl_96_m68k): Likewise.
1398         (TEST_COND_ldbl_128): Likewise.
1399         (TEST_COND_ldbl_128ibm): Likewise.
1400         (TEST_COND_long32): Likewise.
1401         (TEST_COND_long64): Likewise.
1402         (TEST_COND_before_rounding): Likewise.
1403         (TEST_COND_after_rounding): Likewise.
1404         (enable_test): Handle XFAIL_TEST flag.
1405         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
1406         with finite results.
1407         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
1408         auto-libm-test-out.
1410 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
1411             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1413         [BZ #16214]
1414         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
1415         __tls_get_addr_internal instead of __tls_get_offset in order to
1416         avoid GOT pointer dependency.  Make rtld export
1417         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
1418         __tls_get_addr since we are a __tls_get_offset platform.
1419         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
1420         GOT pointer being set up before.
1421         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
1423 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
1425         * manual/math.texi (Errors in Math Functions): Document accuracy
1426         goals.
1428         [BZ #15004]
1429         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
1430         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
1431         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1432         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1433         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1434         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1435         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1436         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1437         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1438         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1439         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1440         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1441         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1442         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1443         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1444         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1446         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
1447         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
1448         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
1449         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
1450         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
1451         Likewise.
1452         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
1453         Likewise.
1454         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
1455         Likewise.
1456         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
1457         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
1458         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
1459         atomic-feupdateenv and flt-rounds.
1460         * sysdeps/powerpc/nofpu/Versions (libc): Add
1461         __atomic_feholdexcept, __atomic_feclearexcept,
1462         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
1463         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
1464         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
1465         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
1466         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
1467         here.
1468         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1469         Update.
1471         * manual/arith.texi (FP Exceptions): Document that exceptions may
1472         not be raised when matherr is used.
1473         (Math Error Reporting): Document overflow in directed rounding
1474         modes.  Document that errno may not be set when finite values are
1475         returned on overflow.  Document intent to set errno on underflow
1476         only for underflow to zero.
1478         [BZ #16271]
1479         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
1480         round-to-nearest then adjust result for other rounding modes.
1481         * include/fenv.h (fegetround): Use libm_hidden_proto.
1482         * math/fegetround.c (fegetround): Use libm_hidden_def.
1483         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1484         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1485         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1486         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1487         Likewise.
1488         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
1489         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1490         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1491         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
1493 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1495         [BZ #16077]
1496         * nss/Versions (libnss_files): Add
1497         _nss_files_gethostbyname3_r.
1498         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
1499         New function.
1500         (HOST_DB_LOOKUP): Remove macro.
1501         (_nss_files_gethostbyname_r): Implement function without the
1502         HOST_DB_LOOKUP macro.
1503         (_nss_files_gethostbyname2_r): Likewise.
1505 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
1507         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
1509 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
1511         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
1512         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
1513         warning.
1515 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1517         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
1518         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
1519         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1520         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1521         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
1522         __fe_nomask_env_priv and attribute_hidden.
1523         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
1524         (libc_feupdateenv_test_ppc): Likewise.
1525         (libc_feresetround_ppc): Likewise.
1526         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1527         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
1528         compat_symbol macro.
1529         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1530         (__fe_nomask_env): Likewise.
1531         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
1533 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
1535         * string/Makefile: Remove ifunc tests.
1536         * string/test-string.h: Define TEST_IFUNC.
1537         * string/test-bcopy-ifunc.c: Remove.
1538         * string/test-bzero-ifunc.c: Likewise.
1539         * string/test-memccpy-ifunc.c: Likewise.
1540         * string/test-memchr-ifunc.c: Likewise.
1541         * string/test-memcmp-ifunc.c: Likewise.
1542         * string/test-memcpy-ifunc.c: Likewise.
1543         * string/test-memmem-ifunc.c: Likewise.
1544         * string/test-memmove-ifunc.c: Likewise.
1545         * string/test-mempcpy-ifunc.c: Likewise.
1546         * string/test-memrchr-ifunc.c: Likewise.
1547         * string/test-memset-ifunc.c: Likewise.
1548         * string/test-rawmemchr-ifunc.c: Likewise.
1549         * string/test-stpcpy-ifunc.c: Likewise.
1550         * string/test-stpncpy-ifunc.c: Likewise.
1551         * string/test-strcasecmp-ifunc.c: Likewise.
1552         * string/test-strcasestr-ifunc.c: Likewise.
1553         * string/test-strcat-ifunc.c: Likewise.
1554         * string/test-strchr-ifunc.c: Likewise.
1555         * string/test-strchrnul-ifunc.c: Likewise.
1556         * string/test-strcmp-ifunc.c: Likewise.
1557         * string/test-strcpy-ifunc.c: Likewise.
1558         * string/test-strcspn-ifunc.c: Likewise.
1559         * string/test-strlen-ifunc.c: Likewise.
1560         * string/test-strncasecmp-ifunc.c: Likewise.
1561         * string/test-strncat-ifunc.c: Likewise.
1562         * string/test-strncmp-ifunc.c: Likewise.
1563         * string/test-strncpy-ifunc.c: Likewise.
1564         * string/test-strnlen-ifunc.c: Likewise.
1565         * string/test-strpbrk-ifunc.c: Likewise.
1566         * string/test-strrchr-ifunc.c: Likewise.
1567         * string/test-strspn-ifunc.c: Likewise.
1568         * string/test-strstr-ifunc.c: Likewise.
1570 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
1572         * benchtests/Makefile: Remove ifunc tests.
1573         * benchtests/bench-string.h: Define TEST_IFUNC.
1574         * benchtests/bench-bcopy-ifunc.c: Remove.
1575         * benchtests/bench-bzero-ifunc.c: Likewise.
1576         * benchtests/bench-memccpy-ifunc.c: Likewise.
1577         * benchtests/bench-memchr-ifunc.c: Likewise.
1578         * benchtests/bench-memcmp-ifunc.c: Likewise.
1579         * benchtests/bench-memcpy-ifunc.c: Likewise.
1580         * benchtests/bench-memmem-ifunc.c: Likewise.
1581         * benchtests/bench-memmove-ifunc.c: Likewise.
1582         * benchtests/bench-mempcpy-ifunc.c: Likewise.
1583         * benchtests/bench-memrchr-ifunc.c: Likewise.
1584         * benchtests/bench-memset-ifunc.c: Likewise.
1585         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
1586         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
1587         * benchtests/bench-stpcpy-ifunc.c: Likewise.
1588         * benchtests/bench-stpncpy-ifunc.c: Likewise.
1589         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
1590         * benchtests/bench-strcasestr-ifunc.c: Likewise.
1591         * benchtests/bench-strcat-ifunc.c: Likewise.
1592         * benchtests/bench-strchr-ifunc.c: Likewise.
1593         * benchtests/bench-strchrnul-ifunc.c: Likewise.
1594         * benchtests/bench-strcmp-ifunc.c: Likewise.
1595         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
1596         * benchtests/bench-strcpy-ifunc.c: Likewise.
1597         * benchtests/bench-strcspn-ifunc.c: Likewise.
1598         * benchtests/bench-strlen-ifunc.c: Likewise.
1599         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
1600         * benchtests/bench-strncat-ifunc.c: Likewise.
1601         * benchtests/bench-strncmp-ifunc.c: Likewise.
1602         * benchtests/bench-strncpy-ifunc.c: Likewise.
1603         * benchtests/bench-strnlen-ifunc.c: Likewise.
1604         * benchtests/bench-strpbrk-ifunc.c: Likewise.
1605         * benchtests/bench-strrchr-ifunc.c: Likewise.
1606         * benchtests/bench-strsep-ifunc.c: Likewise.
1607         * benchtests/bench-strspn-ifunc.c: Likewise.
1608         * benchtests/bench-strstr-ifunc.c: Likewise.
1610 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
1612         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
1614 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
1616         * resolv/netdb.h: Use __glibc_reserved instead __unused.
1617         * rt/aio.h: Likewise.
1618         * sysdeps/gnu/bits/utmp.h: Likewise.
1619         * sysdeps/gnu/bits/utmpx.h: Likewise.
1620         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1621         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
1622         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
1623         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
1624         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
1625         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
1626         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
1627         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
1628         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
1629         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
1630         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
1631         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
1632         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
1633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
1634         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1635         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
1636         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
1637         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
1638         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
1639         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
1640         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
1641         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
1642         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
1643         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
1644         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
1645         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1646         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
1647         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
1648         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
1649         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
1650         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
1651         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
1652         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
1653         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1654         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
1655         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
1656         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
1657         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
1658         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
1659         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
1660         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
1661         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1663 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
1665         [BZ #16245]
1666         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
1667         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
1669 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
1671         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
1672         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1673         Likewise.
1675 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1677         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
1678         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
1679         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
1680         (__fesetround): Remove define.
1681         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
1682         rounding and exceptions handling.
1683         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
1684         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
1685         (__fe_nomask_env): Likewise.
1686         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
1687         __fegetround instead of fegetround.
1688         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1689         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1691 2013-11-21  Roland McGrath  <roland@hack.frob.com>
1693         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
1694         it's there.
1696         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
1698 2013-11-21  Meador Inge  <meadori@codesourcery.com>
1700         [BZ #11157]
1701         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
1702         (encrypt_r): Likewise.
1703         * malloc/obstack.h (obstack_free): Likewise.
1704         * posix/unistd.h (encrypt): Likewise.
1706 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
1708         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
1709         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
1710         DL_CALL_DT_FINI() that call the functions directly.
1711         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
1712         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
1713         * elf/dl-fini.c: Likewise.
1715 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
1717         * malloc/hooks.c (memalign_check): Add alignment rounding.
1718         * malloc/malloc.c (_mid_memalign): New function.
1719         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
1720         Implement by calling _mid_memalign.
1721         * manual/probes.texi (Memory Allocation Probes): Remove
1722         memory_valloc_retry and memory_pvalloc_retry.
1724 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
1726         * locale/programs/locarchive.c (open_archive): Add const
1727         qualifier to ARCHIVEFNAME and copy default fname to
1728         DEFAULT_FNAME.
1730         [BZ #15601]
1731         * libio/tst-widetext.input: Rename Oriya to Odia.
1732         * locale/iso-639.def: Likewise.
1734         * manual/probes.texi (Mathematical Function Probes): Add
1735         documentation for sin, cos, asin and acos probes.
1736         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
1737         (__sin32): Add slowasin probe.
1738         (__cos32): Add slowacos probe.
1739         (__mpsin): Add slowsin probe.
1740         (__mpcos): Add slowcos probe.
1742 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
1744         [BZ #15483]
1745         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
1746         thread-local __sim_exceptions_thread and global
1747         __sim_exceptions_global.
1748         (__sim_disabled_exceptions): Change to thread-local
1749         __sim_disabled_exceptions_thread and global
1750         __sim_disabled_exceptions_global.
1751         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1752         and global __sim_round_mode_global.
1753         (__simulate_exceptions): Use thread-local floating-point state and
1754         set global state from it as needed.
1755         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
1756         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
1757         __sim_round_mode_thread.
1758         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
1759         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
1760         and global __sim_exceptions_global.
1761         (__sim_disabled_exceptions): Change to thread-local
1762         __sim_disabled_exceptions_thread and global
1763         __sim_disabled_exceptions_global.
1764         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1765         and global __sim_round_mode_global.
1766         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
1767         (SIM_SET_GLOBAL): Likewise.
1768         * sysdeps/powerpc/soft-fp/sfp-machine.h
1769         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
1770         __sim_round_mode_thread.
1771         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
1772         __sim_disabled_exceptions_thread.
1773         (__sim_exceptions): Change to __sim_exceptions_thread.
1774         (__sim_disabled_exceptions): Change to
1775         __sim_disabled_exceptions_thread.
1776         (__sim_round_mode): Change to __sim_round_mode_thread.
1777         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
1778         thread-local floating-point state and set global state from it as
1779         needed.
1780         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
1781         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
1782         (__sim_disabled_exceptions): Remove extern declaration.
1783         (feenableexcept): Use thread-local floating-point state and set
1784         global state from it as needed.
1785         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
1786         extern declaration.
1787         (__sim_disabled_exceptions): Likewise.
1788         (__sim_round_mode): Likewise.
1789         (__fegetenv): Use thread-local floating-point state.
1790         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
1791         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1792         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
1793         floating-point state and set global state from it as needed.
1794         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
1795         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1796         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
1797         Likewise.
1798         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1799         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
1800         Likewise.
1801         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
1802         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
1803         Use __sim_round_mode_thread.
1804         * math/test-fenv-tls.c: New file.
1805         * math/Makefile (tests): Add test-fenv-tls.
1806         ($(objpfx)test-fenv-tls): Depend on
1807         $(common-objpfx)nptl/libpthread.so.
1809 2013-11-19  Andreas Schwab  <schwab@suse.de>
1811         * locale/programs/locale.c (show_info): Decode wordarray elements.
1812         * locale/categories.def (LC_MONETARY): Add element for
1813         _NL_MONETARY_CRNCYSTR.
1814         * locale/C-monetary.c (conversion_rate): New variable.
1815         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
1816         element.
1818 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
1820         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
1821         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
1823 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
1825         * elf/Makefile (tst-auxv): New test.
1826         * elf/tst-auxv.c: New
1827         * elf/rtld.c (dl_main): Adjust AT_EXECFN
1829 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
1831         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
1832         (hidden_proto): Caller changed.
1833         (hidden_tls_proto): New macro.
1834         (libc_hidden_tls_proto): Likewise.
1835         (rtld_hidden_tls_proto): Likewise.
1836         (libm_hidden_tls_proto): Likewise.
1837         (libresolv_hidden_tls_proto): Likewise.
1838         (librt_hidden_tls_proto): Likewise.
1839         (libdl_hidden_tls_proto): Likewise.
1840         (libnss_files_hidden_tls_proto): Likewise.
1841         (libnsl_hidden_tls_proto): Likewise.
1842         (libnss_nisplus_hidden_tls_proto): Likewise.
1843         (libutil_hidden_tls_proto): Likewise.
1845 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
1847         [BZ #10253]
1848         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
1849         (decompose_rpath): Defer expansion to fillin_rpath.
1850         (_dl_init_paths): Pass linkmap to fillin_rpath.
1852 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1854         * benchtests/Makefile: Add strsep.
1855         * benchtests/bench-strsep.c: New file: strsep benchtest.
1856         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
1858 2013-11-18  Andreas Schwab  <schwab@suse.de>
1860         * locale/programs/locale.c (show_info) [case byte]: Check for
1861         '\377' instead of '\177'.
1862         * locale/C-monetary.c (not_available): Always use "\377".
1863         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
1864         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
1865         detect unavailable sign_posn locale elements.
1866         * locale/localeconv.c (__localeconv): For grouping and
1867         mon_grouping handle "\177" and "\377" like no grouping.
1868         (INT_ELEM): New macro.  Use it to set all numeric members.
1869         * locale/programs/ld-monetary.c (monetary_read)
1870         <tok_mon_grouping>: Normalize single -1 to the empty string.
1871         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
1872         Likewise.
1874 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
1876         [BZ #16055]
1877         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
1878         when we match (nil).
1879         * stdio-common/tst-sscanf.c (struct test): Add testcase.
1881 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
1883         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
1884         (NO_TEST_INLINE): Update value.
1885         (ERRNO_UNCHANGED): Likewise.
1886         (ERRNO_EDOM): Likewise.
1887         (ERRNO_ERANGE): Likewise.
1888         (IGNORE_RESULT): Likewise.
1889         (check_float_internal): Check signs of NaN results if
1890         TEST_NAN_SIGN used.
1891         (check_complex): Pass TEST_NAN_SIGN flag through to second
1892         check_float_internal call.
1893         (copysign_test_data): Add tests with quiet NaNs as second
1894         argument.  Use TEST_NAN_SIGN.
1895         (fabs_test_data): Add test of negative quiet NaN argument.  Use
1896         TEST_NAN_SIGN.
1897         (signbit_test_data): Add tests of quiet NaN argument.
1898         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
1900         * math/gen-libm-test.pl (show_exceptions): Take extra argument
1901         $ignore_result.
1902         (parse_args): Handle function results specified as IGNORE.
1903         * math/libm-test.inc (IGNORE_RESULT): New macro.
1904         (check_float_internal): Do not check numerical result if flag
1905         IGNORE_RESULT set.
1906         (check_complex): Pass through IGNORE_RESULT to second
1907         check_float_internal call.
1908         (check_int): Do not check numerical result if flag IGNORE_RESULT
1909         set.
1910         (check_long): Likewise.
1911         (check_bool): Likewise.
1912         (check_longlong): Likewise.
1913         (lrint_test_data): Add tests of infinite and NaN arguments.
1914         (lrint_tonearest_test_data): Likewise.
1915         (lrint_towardzero_test_data): Likewise.
1916         (lrint_downward_test_data): Likewise.
1917         (lrint_upward_test_data): Likewise.
1918         (llrint_test_data): Likewise.
1919         (llrint_tonearest_test_data): Likewise.
1920         (llrint_towardzero_test_data): Likewise.
1921         (llrint_downward_test_data): Likewise.
1922         (llrint_upward_test_data): Likewise.
1923         (lround_test_data): Likewise.
1924         (llround_test_data): Likewise.
1926         * math/libm-test.inc (NO_TEST_INLINE): New macro.
1927         (ERRNO_UNCHANGED): Update value.
1928         (ERRNO_EDOM): Likewise.
1929         (ERRNO_ERANGE): Likewise.
1930         (NO_TEST_INLINE_FLOAT): New macro.
1931         (NO_TEST_INLINE_DOUBLE): Likewise.
1932         (enable_test): New function.
1933         (RUN_TEST_f_f): Check enable_test before running test.
1934         (RUN_TEST_2_f): Likewise.
1935         (RUN_TEST_fff_f): Likewise.
1936         (RUN_TEST_c_f): Likewise.
1937         (RUN_TEST_f_f1): Likewise.
1938         (RUN_TEST_fF_f1): Likewise.
1939         (RUN_TEST_fI_f1): Likewise.
1940         (RUN_TEST_ffI_f1): Likewise.
1941         (RUN_TEST_c_c): Likewise.
1942         (RUN_TEST_cc_c): Likewise.
1943         (RUN_TEST_f_i): Likewise.
1944         (RUN_TEST_f_i_tg): Likewise.
1945         (RUN_TEST_ff_i_tg): Likewise.
1946         (RUN_TEST_f_b): Likewise.
1947         (RUN_TEST_f_b_tg): Likewise.
1948         (RUN_TEST_f_l): Likewise.
1949         (RUN_TEST_f_L): Likewise.
1950         (RUN_TEST_fFF_11): Likewise.
1951         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
1952         conditionals.
1953         (cosh_test_data): Likewise.
1954         (exp_test_data): Likewise.
1955         (expm1_test_data): Likewise.
1956         (hypot_test_data): Likewise.
1957         (pow_test_data): Likewise.
1958         (sinh_test_data): Likewise.
1959         (tanh_test_data): Likewise.
1960         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
1961         flags argument.
1963         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
1964         tests with quiet NaN input and output.
1965         (acosh_test_data): Likewise.
1966         (asin_test_data): Likewise.
1967         (asinh_test_data): Likewise.
1968         (atan_test_data): Likewise.
1969         (atanh_test_data): Likewise.
1970         (atan2_test_data): Likewise.
1971         (cbrt_test_data): Likewise.
1972         (cos_test_data): Likewise.
1973         (cosh_test_data): Likewise.
1974         (erf_test_data): Likewise.
1975         (erfc_test_data): Likewise.
1976         (exp_test_data): Likewise.
1977         (exp10_test_data): Likewise.
1978         (exp2_test_data): Likewise.
1979         (expm1_test_data): Likewise.
1980         (hypot_test_data): Likewise.
1981         (j0_test_data): Likewise.
1982         (j1_test_data): Likewise.
1983         (jn_test_data): Likewise.
1984         (lgamma_test_data): Likewise.
1985         (log_test_data): Likewise.
1986         (log10_test_data): Likewise.
1987         (log1p_test_data): Likewise.
1988         (log2_test_data): Likewise.
1989         (pow_test_data): Likewise.
1990         (scalb_test_data): Likewise.
1991         (sin_test_data): Likewise.
1992         (sincos_test_data): Likewise.
1993         (sinh_test_data): Likewise.
1994         (tan_test_data): Likewise.
1995         (tanh_test_data): Likewise.
1996         (tgamma_test_data): Likewise.
1997         (y0_test_data): Likewise.
1998         (y1_test_data): Likewise.
1999         (yn_test_data): Likewise.
2001         [BZ #16167]
2002         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
2003         argument being NaN and avoid computations with second argument in
2004         that case.
2005         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
2006         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
2007         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
2009 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
2011         * locale/iso-639.def: Add Chitwani Tharu (the).
2013 2013-11-14  Andreas Schwab  <schwab@suse.de>
2015         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
2016         word instead of empty string.
2018 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2020         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2021         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
2022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2023         (__fe_nomask_env): Likewise.
2025 2013-11-13  Steve Ellcey  <sellcey@mips.com>
2027         * benchtests/bench-timing.h: Include time.h.
2029 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
2031         [BZ #15997]
2032         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
2033         to 3.4.0 for x32.
2034         * sysdeps/unix/sysv/linux/configure: Regenerated.
2036 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
2038         [BZ #16151]
2039         * stdlib/strtod_l.c (round_and_return): Do not consider
2040         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
2041         exponent one less than half the least subnormal exponent.
2042         * stdlib/test-strtod-round-data: Add more tests.
2043         * stdlib/tst-strtod-round.c (tests): Regenerated.
2045 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2047         [BZ #14143]
2048         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
2049         (__fe_mask_env): Likewise.
2050         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
2051         libm_hidden_proto and add function prototype.
2052         (__fe_mask_env): Add function prototype.
2053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
2054         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
2055         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2056         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
2057         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2058         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
2060 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2062         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
2063         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
2065 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2067         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
2068         of htab_find_slot().
2070 2013-11-11  David S. Miller  <davem@davemloft.net>
2072         [BZ #16150]
2073         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
2074         symbol in the non-vis3 case in static builds.
2075         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
2076         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
2077         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
2078         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
2080 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
2082         [BZ #387]
2083         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
2084         it is empty.
2086 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2088         * benchtests/Makefile: Add bench-strtod.
2089         * benchtests/bench-strtod.c: New file: strtod benchtest
2091 2013-11-11  Andreas Schwab  <schwab@suse.de>
2093         [BZ #16153]
2094         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
2095         terminating NUL in key length.
2097 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2099         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2100         Add artificial ODP entry for vDSO symbol for PPC64.
2101         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
2102         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2104 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
2106         [BZ #15374]
2107         * nss/getent.c (services_keys): Recognize services starting with digit.
2109 2013-11-06  David S. Miller  <davem@davemloft.net>
2111         [BZ #15985]
2112         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
2113         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
2115 2013-11-06  Will Newton  <will.newton@linaro.org>
2117         * manual/memory.texi (Malloc Examples): Remove register
2118         keyword from examples.
2120 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
2122         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
2124 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
2126         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
2127         depending on [__GCC_IEC_559 > 0].
2128         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
2129         depending on [__GCC_IEC_559_COMPLEX > 0].
2131 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
2133         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
2134         to iso-639.def.
2136 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
2138         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
2140 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
2142         [BZ #16112]
2143         * malloc/malloc (malloc_info): Do not handle first bin as
2144         special case.
2146 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
2148         * locale/iso-639.def: Add Central Nahuatl (nhn).
2150 2013-11-01  Bruno Haible  <bruno@clisp.org>
2152         [BZ #7003]
2153         * manual/math.texi (BSD Random): Specify range upper bound as
2154         in POSIX.
2156 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
2158         * locale/iso-639.def: Add Meadow Mari (mhr).
2160 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
2162         [BZ #14752], [BZ #15763]
2163         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
2164         Validate name.
2165         * rt/tst_shm.c: Add test for escaping directory.
2167 2013-10-31  Andreas Schwab  <schwab@suse.de>
2169         [BZ #15917]
2170         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
2171         followed by 'x' as part of digit sequence.
2172         * stdio-common/tst-sscanf.c (double_tests2): New tests.
2174 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2176         [BZ #16037]
2177         * configure.ac: allow GNU Make 4.0 and greater.
2178         * configure: Regenerated.
2180 2013-10-30  Will Newton  <will.newton@linaro.org>
2182         [BZ #16038]
2183         * malloc/hooks.c (memalign_check): Limit alignment to the
2184         maximum representable power of two.
2185         * malloc/malloc.c (__libc_memalign): Likewise.
2186         * malloc/tst-memalign.c (do_test): Add test for very
2187         large alignment values.
2188         * malloc/tst-posix_memalign.c (do_test): Likewise.
2190 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
2192         [BZ #11087]
2193         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
2194         (munmap_chunk): Likewise.
2195         (mremap_chunk): Likewise.
2197 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
2199         [BZ #15799]
2200         * stdlib/div.c (div): Remove obsolete code.
2201         * stdlib/ldiv.c (ldiv): Likewise.
2202         * stdlib/lldiv.c (lldiv): Likewise.
2204 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2206         [BZ #16071]
2207         * nss/nss_files/files-XXX.c (get_contents_ret): New
2208         enumerator.
2209         (get_contents): New function.
2210         (internal_getent): Use it.  Expand size of LINEBUFLEN.
2212 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
2214         * configure.in: Moved to ...
2215         * configure.ac: ... here. Change reference to configure.in
2216         to configure.ac.
2217         * sysdeps/arm/preconfigure.ac: ... here.
2218         configure.in to configure.ac.
2219         * sysdeps/gnu/configure.in: Moved to ...
2220         * sysdeps/gnu/configure.ac: ... here.
2221         * sysdeps/i386/configure.in: Moved to ...
2222         * sysdeps/i386/configure.ac: ... here.
2223         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
2224         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
2225         * sysdeps/mach/configure.in: Moved to ...
2226         * sysdeps/mach/configure.ac: ... here.
2227         * sysdeps/mach/hurd/configure.in: Moved to ...
2228         * sysdeps/mach/hurd/configure.ac: ... here.
2229         * sysdeps/powerpc/configure.in: Moved to ...
2230         * sysdeps/powerpc/configure.ac: ... here.
2231         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
2232         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
2233         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
2234         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
2235         * sysdeps/s390/s390-32/configure.in: Moved to ...
2236         * sysdeps/s390/s390-32/configure.ac: ... here.
2237         * sysdeps/s390/s390-64/configure.in: Moved to ...
2238         * sysdeps/s390/s390-64/configure.ac: ... here.
2239         * sysdeps/sh/configure.in: Moved to ...
2240         * sysdeps/sh/configure.ac: ... here.
2241         * sysdeps/sparc/configure.in: Moved to ...
2242         * sysdeps/sparc/configure.ac: ... here.
2243         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
2244         * sysdeps/unix/sysv/linux/configure.ac: ... here.
2245         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
2246         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
2247         * sysdeps/x86_64/configure.in: Moved to ...
2248         * sysdeps/x86_64/configure.ac: ... here.
2249         * sysdeps/x86_64/preconfigure.in: Moved to ...
2250         * sysdeps/x86_64/preconfigure.ac: ... here.
2251         * aclocal.m4: Change reference to configure.in to configure.ac.
2252         * config.h.in: Likewise.
2253         * manual/install.texi: Likewise.
2254         * manual/maint.texi: Likewise.
2255         * Makefile: Likewise.
2256         * malloc/Makefile: Likewise.
2257         * nscd/Makefile: Likewise.
2258         * Makeconfig: Change reference to configure.in and
2259         preconfigure.in to configure.ac and preconfigure.ac
2260         respectively.
2261         * INSTALL: Regenerated.
2262         * configure: Likewise.
2263         * sysdeps/gnu/configure: Likewise.
2264         * sysdeps/i386/configure: Likewise.
2265         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
2266         * sysdeps/mach/configure: Likewise.
2267         * sysdeps/mach/hurd/configure: Likewise.
2268         * sysdeps/powerpc/configure: Likewise.
2269         * sysdeps/powerpc/powerpc32/configure: Likewise.
2270         * sysdeps/powerpc/powerpc64/configure: Likewise.
2271         * sysdeps/s390/s390-32/configure: Likewise.
2272         * sysdeps/s390/s390-64/configure: Likewise.
2273         * sysdeps/sh/configure: Likewise.
2274         * sysdeps/sparc/configure: Likewise.
2275         * sysdeps/unix/sysv/linux/configure: Likewise.
2276         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
2277         * sysdeps/x86_64/configure: Likewise.
2278         * sysdeps/x86_64/preconfigure: Likewise.
2280 2013-10-29  Andreas Schwab  <schwab@suse.de>
2282         * stdio-common/Makefile (tst-swscanf-ENV): Define.
2284 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2286         * benchtests/pow-inputs: Add new inputs.
2288         * benchtests/exp-inputs: Add new inputs.
2290         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
2291         conditional check for return value.
2292         (__cos32): Likewise.
2294 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2296         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
2297         to provide a boost for large inputs with word alignment.
2298         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
2299         implementation based on optimized PPC64 strcpy.
2300         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
2301         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
2302         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
2303         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
2305 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
2307         [BZ #2801]
2308         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
2310 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
2312         [BZ #14876]
2313         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
2314         * time/tst-strptime.c (day_tests): Add testcase.
2316 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
2318         [BZ #14029]
2319         * manual/pattern.texi: Acknowledge that fnmatch can fail.
2321 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
2323         [BZ #16074]
2324         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
2325         MAP_FAILED on error.
2327 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2329         [BZ #16072]
2330         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
2331         heap for large requests.
2333 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
2335         [BZ #9954]
2336         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
2337         result if the result has no associated interface.
2338         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
2339         interface for all 127.X.Y.Z addresses.
2341 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
2343         * locale/iso-639.def: Add Ligurian (lij)
2345 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
2347         [BZ #15825]
2348         * sunrpc/rpc_main.c: Document rpcgen -5.
2350 2013-10-19  Michael Stahl  <mstahl@redhat.com>
2352         * elf/rtld.c (do_preload): Print the reason why preloading failed.
2354 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
2356         [BZ #10278]
2357         * posix/glob.c: Match only directories when trailing slash is present.
2358         * posix/tst-gnuglob.c (my_opendir): Do not open files.
2359         (main): Add testcase.
2361 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
2363         [BZ #15670]
2364         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
2366 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
2368         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
2369         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
2370         AUTH_DES and cindex for FIPS 140-2.
2371         (DES Encryption): Add cindex FIPS 46-3.
2373         * locale/locarchive.h (struct locarhandle): Add fname.
2374         * locale/programs/localedef.c (main): Pass ARGV[remaining]
2375         if an optional argument was specified to --list-archive,
2376         otherwise NULL.
2377         * locale/programs/locarchive.c (show_archive_content): Take new
2378         argument fname and pass it via ah.fname to open_archive.
2379         * locale/programs/localedef.h: Update decl.
2380         (open_archive): If AH->fname is non-null, open that file
2381         rather than the default file name, and don't ignore ENOENT.
2382         (create_archive): Set AH.fname to NULL.
2383         (delete_locales_from_archive): Likewise.
2384         (add_locales_to_archive): Likewise.
2385         * locale/programs/locfile.c (write_all_categories): Likewise.
2387 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
2388             Aldy Hernandez  <aldyh@redhat.com>
2390         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
2391         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
2392         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
2393         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
2394         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
2395         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
2396         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
2397         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
2398         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
2399         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
2400         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
2401         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
2402         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
2403         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
2404         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
2405         Likewise.
2406         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
2407         Likewise.
2408         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
2409         Likewise.
2410         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
2411         Likewise.
2412         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
2413         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
2414         Likewise.
2415         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
2416         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
2417         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
2418         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
2419         Likewise.
2420         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
2421         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
2422         * sysdeps/powerpc/preconfigure: Likewise.
2423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
2424         Likewise.
2425         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
2426         Replace contents of file by #include of <fenv_libc.h>.
2427         * sysdeps/powerpc/soft-fp/sfp-machine.h
2428         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
2429         and <sys/prctl.h>.
2430         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
2431         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
2432         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
2433         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
2434         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
2435         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
2436         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
2437         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
2438         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
2439         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
2440         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
2441         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
2442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2443         Allow copysignl PLT reference to be missing.
2445 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
2446             Joseph Myers  <joseph@codesourcery.com
2448         [BZ #15948]
2449         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
2450         single character.
2451         (add_to_tablewc): Assert sequence of wide characters is nonempty.
2453 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2455         * elf/tst-tls-dlinfo.c: Don't include tls.h.
2456         * elf/tst-tls1.c: Likewise.
2457         * elf/tst-tls10.h: Likewise.
2458         * elf/tst-tls14.c: Likewise.
2459         * elf/tst-tls2.c: Likewise.
2460         * elf/tst-tls3.c: Likewise.
2461         * elf/tst-tls4.c: Likewise.
2462         * elf/tst-tls5.c: Likewise.
2463         * elf/tst-tls6.c: Likewise.
2464         * elf/tst-tls7.c: Likewise.
2465         * elf/tst-tls8.c: Likewise.
2466         * elf/tst-tls9.c: Likewise.
2467         * elf/tst-tlsmod1.c: Likewise.
2468         * elf/tst-tlsmod13.c: Likewise.
2469         * elf/tst-tlsmod13a.c: Likewise.
2470         * elf/tst-tlsmod14a.c: Likewise.
2471         * elf/tst-tlsmod16a.c: Likewise.
2472         * elf/tst-tlsmod16b.c: Likewise.
2473         * elf/tst-tlsmod2.c: Likewise.
2474         * elf/tst-tlsmod3.c: Likewise.
2475         * elf/tst-tlsmod4.c: Likewise.
2476         * elf/tst-tlsmod5.c: Likewise.
2477         * elf/tst-tlsmod6.c: Likewise.
2479 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
2481         [BZ #12486]
2482         * malloc/malloc.c: remove checks for statistics.
2484 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
2486         [BZ #15277]
2487         * inet/inet_net.c (inet_network): Detect additional invalid strings.
2488         * inet/tst-network.c: Add testcase.
2490 2013-10-17  Andreas Schwab  <schwab@suse.de>
2492         [BZ #15218]
2493         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
2494         to determine canonical name.
2496 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
2498         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
2499         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
2500         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2501         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2502         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2503         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2504         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2505         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2506         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
2507         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2508         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2509         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2510         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2511         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2512         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2513         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2514         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2515         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2516         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2517         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2518         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2519         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2520         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2521         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
2522         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
2523         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2524         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2525         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
2526         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2527         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
2528         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2529         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2530         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2531         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2532         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2533         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2534         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2535         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2536         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2537         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2538         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2539         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2540         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2541         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2542         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2543         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2544         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2545         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2546         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2547         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2548         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2549         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2550         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2551         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2552         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2553         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2554         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2555         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2557 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
2559         [BZ #16041]
2560         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
2561         make result into a quiet NaN.
2563 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
2565         * soft-fp/adddf3.c: Fix horizontal whitespace.
2566         * soft-fp/addsf3.c: Likewise.
2567         * soft-fp/addtf3.c: Likewise.
2568         * soft-fp/divdf3.c: Likewise.
2569         * soft-fp/divsf3.c: Likewise.
2570         * soft-fp/divtf3.c: Likewise.
2571         * soft-fp/double.h: Likewise.
2572         * soft-fp/eqdf2.c: Likewise.
2573         * soft-fp/eqsf2.c: Likewise.
2574         * soft-fp/eqtf2.c: Likewise.
2575         * soft-fp/extenddftf2.c: Likewise.
2576         * soft-fp/extended.h: Likewise.
2577         * soft-fp/extendsfdf2.c: Likewise.
2578         * soft-fp/extendsftf2.c: Likewise.
2579         * soft-fp/extendxftf2.c: Likewise.
2580         * soft-fp/fixdfdi.c: Likewise.
2581         * soft-fp/fixdfsi.c: Likewise.
2582         * soft-fp/fixdfti.c: Likewise.
2583         * soft-fp/fixsfdi.c: Likewise.
2584         * soft-fp/fixsfsi.c: Likewise.
2585         * soft-fp/fixsfti.c: Likewise.
2586         * soft-fp/fixtfdi.c: Likewise.
2587         * soft-fp/fixtfsi.c: Likewise.
2588         * soft-fp/fixtfti.c: Likewise.
2589         * soft-fp/fixunsdfdi.c: Likewise.
2590         * soft-fp/fixunsdfsi.c: Likewise.
2591         * soft-fp/fixunsdfti.c: Likewise.
2592         * soft-fp/fixunssfdi.c: Likewise.
2593         * soft-fp/fixunssfsi.c: Likewise.
2594         * soft-fp/fixunssfti.c: Likewise.
2595         * soft-fp/fixunstfdi.c: Likewise.
2596         * soft-fp/fixunstfsi.c: Likewise.
2597         * soft-fp/fixunstfti.c: Likewise.
2598         * soft-fp/floatdidf.c: Likewise.
2599         * soft-fp/floatdisf.c: Likewise.
2600         * soft-fp/floatditf.c: Likewise.
2601         * soft-fp/floatsidf.c: Likewise.
2602         * soft-fp/floatsisf.c: Likewise.
2603         * soft-fp/floatsitf.c: Likewise.
2604         * soft-fp/floattidf.c: Likewise.
2605         * soft-fp/floattisf.c: Likewise.
2606         * soft-fp/floattitf.c: Likewise.
2607         * soft-fp/floatundidf.c: Likewise.
2608         * soft-fp/floatundisf.c: Likewise.
2609         * soft-fp/floatunditf.c: Likewise.
2610         * soft-fp/floatunsidf.c: Likewise.
2611         * soft-fp/floatunsisf.c: Likewise.
2612         * soft-fp/floatunsitf.c: Likewise.
2613         * soft-fp/floatuntidf.c: Likewise.
2614         * soft-fp/floatuntisf.c: Likewise.
2615         * soft-fp/floatuntitf.c: Likewise.
2616         * soft-fp/fmadf4.c: Likewise.
2617         * soft-fp/fmasf4.c: Likewise.
2618         * soft-fp/fmatf4.c: Likewise.
2619         * soft-fp/gedf2.c: Likewise.
2620         * soft-fp/gesf2.c: Likewise.
2621         * soft-fp/getf2.c: Likewise.
2622         * soft-fp/ledf2.c: Likewise.
2623         * soft-fp/lesf2.c: Likewise.
2624         * soft-fp/letf2.c: Likewise.
2625         * soft-fp/muldf3.c: Likewise.
2626         * soft-fp/mulsf3.c: Likewise.
2627         * soft-fp/multf3.c: Likewise.
2628         * soft-fp/negdf2.c: Likewise.
2629         * soft-fp/negsf2.c: Likewise.
2630         * soft-fp/negtf2.c: Likewise.
2631         * soft-fp/op-1.h: Likewise.
2632         * soft-fp/op-2.h: Likewise.
2633         * soft-fp/op-4.h: Likewise.
2634         * soft-fp/op-8.h: Likewise.
2635         * soft-fp/op-common.h: Likewise.
2636         * soft-fp/quad.h: Likewise.
2637         * soft-fp/single.h: Likewise.
2638         * soft-fp/soft-fp.h: Likewise.
2639         * soft-fp/sqrtdf2.c: Likewise.
2640         * soft-fp/sqrtsf2.c: Likewise.
2641         * soft-fp/sqrttf2.c: Likewise.
2642         * soft-fp/subdf3.c: Likewise.
2643         * soft-fp/subsf3.c: Likewise.
2644         * soft-fp/subtf3.c: Likewise.
2645         * soft-fp/truncdfsf2.c: Likewise.
2646         * soft-fp/trunctfdf2.c: Likewise.
2647         * soft-fp/trunctfsf2.c: Likewise.
2648         * soft-fp/trunctfxf2.c: Likewise.
2649         * soft-fp/unorddf2.c: Likewise.
2650         * soft-fp/unordsf2.c: Likewise.
2651         * soft-fp/unordtf2.c: Likewise.
2653 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
2655         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
2656         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
2658 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
2660         * elf/dl-libc.c: Clear initfini list after freeing.
2662 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
2664         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
2665         * soft-fp/addsf3.c: Likewise.
2666         * soft-fp/addtf3.c: Likewise.
2667         * soft-fp/divdf3.c: Likewise.
2668         * soft-fp/divsf3.c: Likewise.
2669         * soft-fp/divtf3.c: Likewise.
2670         * soft-fp/double.h: Likewise.
2671         * soft-fp/eqdf2.c: Likewise.
2672         * soft-fp/eqsf2.c: Likewise.
2673         * soft-fp/eqtf2.c: Likewise.
2674         * soft-fp/extenddftf2.c: Likewise.
2675         * soft-fp/extended.h: Likewise.
2676         * soft-fp/extendsfdf2.c: Likewise.
2677         * soft-fp/extendsftf2.c: Likewise.
2678         * soft-fp/extendxftf2.c: Likewise.
2679         * soft-fp/fixdfdi.c: Likewise.
2680         * soft-fp/fixdfsi.c: Likewise.
2681         * soft-fp/fixdfti.c: Likewise.
2682         * soft-fp/fixsfdi.c: Likewise.
2683         * soft-fp/fixsfsi.c: Likewise.
2684         * soft-fp/fixsfti.c: Likewise.
2685         * soft-fp/fixtfdi.c: Likewise.
2686         * soft-fp/fixtfsi.c: Likewise.
2687         * soft-fp/fixtfti.c: Likewise.
2688         * soft-fp/fixunsdfdi.c: Likewise.
2689         * soft-fp/fixunsdfsi.c: Likewise.
2690         * soft-fp/fixunsdfti.c: Likewise.
2691         * soft-fp/fixunssfdi.c: Likewise.
2692         * soft-fp/fixunssfsi.c: Likewise.
2693         * soft-fp/fixunssfti.c: Likewise.
2694         * soft-fp/fixunstfdi.c: Likewise.
2695         * soft-fp/fixunstfsi.c: Likewise.
2696         * soft-fp/fixunstfti.c: Likewise.
2697         * soft-fp/floatdidf.c: Likewise.
2698         * soft-fp/floatdisf.c: Likewise.
2699         * soft-fp/floatditf.c: Likewise.
2700         * soft-fp/floatsidf.c: Likewise.
2701         * soft-fp/floatsisf.c: Likewise.
2702         * soft-fp/floatsitf.c: Likewise.
2703         * soft-fp/floattidf.c: Likewise.
2704         * soft-fp/floattisf.c: Likewise.
2705         * soft-fp/floattitf.c: Likewise.
2706         * soft-fp/floatundidf.c: Likewise.
2707         * soft-fp/floatundisf.c: Likewise.
2708         * soft-fp/floatunsidf.c: Likewise.
2709         * soft-fp/floatunsisf.c: Likewise.
2710         * soft-fp/floatuntidf.c: Likewise.
2711         * soft-fp/floatuntisf.c: Likewise.
2712         * soft-fp/floatuntitf.c: Likewise.
2713         * soft-fp/fmadf4.c: Likewise.
2714         * soft-fp/fmasf4.c: Likewise.
2715         * soft-fp/fmatf4.c: Likewise.
2716         * soft-fp/gedf2.c: Likewise.
2717         * soft-fp/gesf2.c: Likewise.
2718         * soft-fp/getf2.c: Likewise.
2719         * soft-fp/ledf2.c: Likewise.
2720         * soft-fp/lesf2.c: Likewise.
2721         * soft-fp/letf2.c: Likewise.
2722         * soft-fp/muldf3.c: Likewise.
2723         * soft-fp/mulsf3.c: Likewise.
2724         * soft-fp/multf3.c: Likewise.
2725         * soft-fp/negdf2.c: Likewise.
2726         * soft-fp/negsf2.c: Likewise.
2727         * soft-fp/negtf2.c: Likewise.
2728         * soft-fp/op-1.h: Likewise.
2729         * soft-fp/op-2.h: Likewise.
2730         * soft-fp/op-4.h: Likewise.
2731         * soft-fp/op-8.h: Likewise.
2732         * soft-fp/op-common.h: Likewise.
2733         * soft-fp/quad.h: Likewise.
2734         * soft-fp/single.h: Likewise.
2735         * soft-fp/soft-fp.h: Likewise.
2736         * soft-fp/sqrtdf2.c: Likewise.
2737         * soft-fp/sqrtsf2.c: Likewise.
2738         * soft-fp/sqrttf2.c: Likewise.
2739         * soft-fp/subdf3.c: Likewise.
2740         * soft-fp/subsf3.c: Likewise.
2741         * soft-fp/subtf3.c: Likewise.
2742         * soft-fp/truncdfsf2.c: Likewise.
2743         * soft-fp/trunctfdf2.c: Likewise.
2744         * soft-fp/trunctfsf2.c: Likewise.
2745         * soft-fp/trunctfxf2.c: Likewise.
2746         * soft-fp/unorddf2.c: Likewise.
2747         * soft-fp/unordsf2.c: Likewise.
2748         * soft-fp/unordtf2.c: Likewise.
2750 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
2752         [BZ #15672]
2753         * misc/error.c (error_tail): Fix possible buffer overflow.
2755 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
2757         [BZ #13028]
2758         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
2759         address.
2761 2013-10-14  P. J. McDermott  <pj@pehjota.net>
2763         [BZ #832]
2764         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
2765         testing pipefail option.
2767 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
2769         * soft-fp/double.h: Indent preprocessor directives inside #if.
2770         * soft-fp/extended.h: Likewise.
2771         * soft-fp/op-2.h: Likewise.
2772         * soft-fp/op-4.h: Likewise.
2773         * soft-fp/op-common.h: Likewise.
2774         * soft-fp/quad.h: Likewise.
2775         * soft-fp/single.h: Likewise.
2776         * soft-fp/soft-fp.h: Likewise.
2778 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
2780         * iconv/iconv_prog.c: Fix typos.
2781         * stdio-common/psiginfo-data.h: Likewise.
2783 2013-10-12   Reuben Thomas <rrt@sc3d.org>
2785         [BZ #15764]
2786         * locale/setlocale.c: Fix typo.
2788 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
2790         [BZ #16036]
2791         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
2792         signaling NaN arguments.
2793         * soft-fp/unordsf2.c (__unordsf2): Likewise.
2794         * soft-fp/unordtf2.c (__unordtf2): Likewise.
2796         [BZ #14910]
2797         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
2798         unordered operands.
2799         * soft-fp/gesf2.c (__gesf2): Likewise.
2800         * soft-fp/getf2.c (__getf2): Likewise.
2801         * soft-fp/ledf2.c (__ledf2): Likewise.
2802         * soft-fp/lesf2.c (__lesf2): Likewise.
2803         * soft-fp/letf2.c (__letf2): Likewise.
2805         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
2806         * soft-fp/eqsf2.c (__eqsf2): Likewise.
2807         * soft-fp/eqtf2.c (__eqtf2): Likewise.
2808         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
2809         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
2810         * soft-fp/fixdfti.c (__fixdfti): Likewise.
2811         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
2812         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
2813         * soft-fp/fixsfti.c (__fixsfti): Likewise.
2814         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
2815         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
2816         * soft-fp/fixtfti.c (__fixtfti): Likewise.
2817         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
2818         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
2819         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
2820         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
2821         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
2822         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
2823         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
2824         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
2825         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
2826         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
2827         * soft-fp/floatdisf.c (__floatdisf): Likewise.
2828         * soft-fp/floatsisf.c (__floatsisf): Likewise.
2829         * soft-fp/floattidf.c (__floattidf): Likewise.
2830         * soft-fp/floattisf.c (__floattisf): Likewise.
2831         * soft-fp/floattitf.c (__floattitf): Likewise.
2832         * soft-fp/floatundidf.c (__floatundidf): Likewise.
2833         * soft-fp/floatundisf.c (__floatundisf): Likewise.
2834         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
2835         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
2836         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
2837         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
2838         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
2839         * soft-fp/gesf2.c (__gesf2): Likewise.
2840         * soft-fp/getf2.c (__getf2): Likewise.
2841         * soft-fp/ledf2.c (__ledf2): Likewise.
2842         * soft-fp/lesf2.c (__lesf2): Likewise.
2843         * soft-fp/letf2.c (__letf2): Likewise.
2845         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
2846         Undefine and redefine.
2847         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
2848         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
2849         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
2850         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
2851         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2852         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
2853         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2854         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
2855         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2856         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
2857         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2858         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
2859         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2860         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
2861         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2863         [BZ #16032]
2864         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
2865         without decrementing exponent if mantissa >= that for the
2866         denominator, not >.
2867         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
2868         denominator, not >.  Decrement exponent in < case instead of
2869         incrementing in >= case.
2870         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
2871         without decrementing exponent if mantissa >= that for the
2872         denominator, not >.
2874         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
2875         computing saturated result for unsigned overflow.
2877 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2878             Jeff Law  <law@redhat.com>
2880         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
2881         (atan2Mp): Add systemtap probe marker.
2882         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
2883         (__ieee754_log): Add systemtap probe marker.
2884         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
2885         (atanMp): Add systemtap probe marker.
2886         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
2887         (tanMp): Add systemtap probe marker.
2888         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
2889         (__slowexp): Add systemtap probe marker.
2890         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
2891         (__slowpow): Add systemtap probe marker.
2892         * manual/probes.texi: Document probes.
2894 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
2896         [BZ #15362]
2897         * libio/fileops.c (_IO_new_file_write): Return count of bytes
2898         written.
2899         (_IO_new_file_xsputn): Don't return EOF if nothing has been
2900         written.
2901         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
2902         written to buffer but not flushed.
2903         * libio/iofwrite_u.c:  Likewise.
2904         * libio/iopadn.c:  Return bytes returned even if EOF was
2905         encountered.
2906         * libio/iowpadn.c:  Likewise.
2907         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
2908         if _IO_padn does not write the whole buffer.
2909         [!COMPILE_WPRINTF] (PAD): Likewise.
2911 2013-10-10  David S. Miller  <davem@davemloft.net>
2913         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
2914         directory block.
2916 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
2918         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
2919         instead of FSF address.
2920         * soft-fp/fixdfti.c: Likewise.
2921         * soft-fp/fixsfti.c: Likewise.
2922         * soft-fp/fixtfti.c: Likewise.
2923         * soft-fp/fixunsdfti.c: Likewise.
2924         * soft-fp/fixunssfti.c: Likewise.
2925         * soft-fp/fixunstfti.c: Likewise.
2926         * soft-fp/floattidf.c: Likewise.
2927         * soft-fp/floattisf.c: Likewise.
2928         * soft-fp/floattitf.c: Likewise.
2929         * soft-fp/floatuntidf.c: Likewise.
2930         * soft-fp/floatuntisf.c: Likewise.
2931         * soft-fp/floatuntitf.c: Likewise.
2932         * soft-fp/trunctfxf2.c: Likewise.
2934         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
2935         * soft-fp/fixdfti.c: Likewise.
2936         * soft-fp/fixsfti.c: Likewise.
2937         * soft-fp/fixtfti.c: Likewise.
2938         * soft-fp/fixunsdfti.c: Likewise.
2939         * soft-fp/fixunssfti.c: Likewise.
2940         * soft-fp/fixunstfti.c: Likewise.
2941         * soft-fp/floattidf.c: Likewise.
2942         * soft-fp/floattisf.c: Likewise.
2943         * soft-fp/floattitf.c: Likewise.
2944         * soft-fp/floatuntidf.c: Likewise.
2945         * soft-fp/floatuntisf.c: Likewise.
2946         * soft-fp/floatuntitf.c: Likewise.
2947         * soft-fp/trunctfxf2.c: Likewise.
2949 2013-10-10  David S. Miller  <davem@davemloft.net>
2951         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2953 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
2955         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2956         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
2957         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
2958         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
2959         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
2960         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
2961         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
2963         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
2964         for NaNs before doing comparisons on argument.
2965         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2966         Likewise.
2968 2013-10-10  Will Newton  <will.newton@linaro.org>
2970         * malloc/hooks.c (memalign_check): Ensure the value of bytes
2971         passed to _int_memalign does not overflow.
2973 2013-10-10  Torvald Riegel  <triegel@redhat.com>
2975         * scripts/bench.pl: Add include-sources directive.
2976         * benchtests/README: Update documentation.
2978 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
2980         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
2981         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
2982         instead of FP_INIT_ROUNDMODE.
2983         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
2984         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
2986         [BZ #16034]
2987         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
2988         copy class of input value.
2989         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
2990         not handle exceptions.
2991         * soft-fp/negsf2.c (__negsf2): Likewise.
2992         * soft-fp/negtf2.c (__negtf2): Likewise.
2993         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
2995 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
2997         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
2998         semicolon.  From Linux kernel.
3000 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
3002         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
3004 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
3006         [BZ #156]
3007         * manual/socket.texi: Added statement about buffer
3008         for gethostbyname2_r.
3010 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
3012         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
3013         Use .p2align directive instead, throughout.
3014         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
3015         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
3016         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
3017         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
3018         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
3019         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
3020         * sysdeps/x86_64/strchr.S: Likewise.
3021         * sysdeps/x86_64/strrchr.S: Likewise.
3023 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
3025         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
3027         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
3029         * sysdeps/generic/math_private.h (__mpsin1): Remove
3030         declaration.
3031         (__mpcos1): Likewise.
3032         (__mpsin): New argument __range_reduce.
3033         (__mpcos): Likewise.
3034         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
3035         (slow): Use __mpsin and __mpcos.
3036         (slow1): Likewise.
3037         (slow2): Likewise.
3038         (sloww): Likewise.
3039         (sloww1): Likewise.
3040         (sloww2): Likewise.
3041         (bsloww): Likewise.
3042         (bsloww1): Likewise.
3043         (bsloww2): Likewise.
3044         (cslow2): Likewise.
3045         (csloww): Likewise.
3046         (csloww1): Likewise.
3047         (csloww2): Likewise.
3048         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
3049         range_reduce.  Merge in __mpsin1.
3050         (__mpcos): Likewise.
3051         (__mpsin1): Remove.
3052         (__mpcos1): Likewise.
3054 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
3056         * locale/loadlocale.c (_nl_intern_locale_data): Use
3057         LOCFILE_ALIGNED_P.
3058         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
3059         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
3060         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
3061         obstack data is appropriately aligned.
3062         (obstack_int32_grow_fast): Likewise.
3063         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
3064         * locale/programs/locfile.c (add_locale_uint32): Likewise.
3065         (add_locale_uint32_array): Likewise.
3067 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
3069         * benchtests/Makefile: Remove ARGLIST and RET variables.
3070         ($(objpfx)bench-%.c): Pass only function name to the script.
3071         * benchtests/README: Update documentation.
3072         * benchtests/acos-inputs: Add new directives.
3073         * benchtests/acosh-inputs: Likewise.
3074         * benchtests/asin-inputs: Likewise.
3075         * benchtests/asinh-inputs: Likewise.
3076         * benchtests/atan-inputs: Likewise.
3077         * benchtests/atanh-inputs: Likewise.
3078         * benchtests/cos-inputs: Likewise.
3079         * benchtests/cosh-inputs: Likewise.
3080         * benchtests/exp-inputs: Likewise.
3081         * benchtests/log-inputs: Likewise.
3082         * benchtests/pow-inputs: Likewise.
3083         * benchtests/rint-inputs: Likewise.
3084         * benchtests/sin-inputs: Likewise.
3085         * benchtests/sinh-inputs: Likewise.
3086         * benchtests/tan-inputs: Likewise.
3087         * benchtests/tanh-inputs: Likewise.
3088         * scripts/bench.pl: Add support for new directives.
3090 2013-10-07  Alan Modra  <amodra@gmail.com>
3092         * README: Fix careless merge.
3094 2013-10-05  Alan Modra  <amodra@gmail.com>
3096         * NEWS: Mention powerpc64le support and bugs fixed.
3097         * README: Both big-endian and little-endian powerpc64 supported.
3099 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3101         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
3102         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
3103         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
3104         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
3106 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
3108         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
3109         match prototype.
3111 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
3113         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
3114         Move -mhard-float appending from
3115         ports/sysdeps/powerpc/powerpc32/Makefile.
3116         [$(with-fp) = yes] (ASFLAGS): Likewise.
3117         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
3118         * sysdeps/powerpc/nofpu: Move directory from
3119         ports/sysdeps/powerpc/nofpu.
3120         * sysdeps/powerpc/soft-fp: Move directory from
3121         ports/sysdeps/powerpc/soft-fp.
3122         * sysdeps/powerpc/powerpc32/405: Move directory from
3123         ports/sysdeps/powerpc/powerpc32/405.
3124         * sysdeps/powerpc/powerpc32/440: Move directory from
3125         ports/sysdeps/powerpc/powerpc32/440.
3126         * sysdeps/powerpc/powerpc32/464: Move directory from
3127         ports/sysdeps/powerpc/powerpc32/464.
3128         * sysdeps/powerpc/powerpc32/476: Move directory from
3129         ports/sysdeps/powerpc/powerpc32/476.
3130         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
3131         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
3132         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
3133         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
3134         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
3135         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
3136         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
3137         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
3138         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
3139         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
3140         * README: Update for powerpc-*-linux-gnu software floating point
3141         support in libc.
3143         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
3144         case to powerpc/powerpc32*.
3145         * sysdeps/unix/sysv/linux/configure: Regenerated.
3147         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
3148         (_FPU_MASK_OM): Define as 0x04.
3149         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
3150         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
3151         0x00c10080.
3152         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
3153         0x0000003c.
3154         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
3156         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3157         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3158         getcontext_e500.
3159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3160         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3161         setcontext_e500.
3162         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3163         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
3164         and setcontext_e500.
3166 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
3168         * locale/iso-3166.def: Update iso-1366.def and related occurrences
3170 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3172         * manual/threads.texi (Default Thread Attributes): Fix typo.
3174 2013-10-04  Will Newton  <will.newton@linaro.org>
3176         * malloc/Makefile: Add tst-memalign.
3177         * malloc/tst-memalign.c: New file.
3179         * malloc/tst-posix_memalign.c: Add comments.
3180         (do_test): Add comments and call free on all potentially
3181         allocated pointers. Add space after cast.
3183         * malloc/tst-pvalloc.c: Add comments.
3184         (do_test): Add comments and call free on all potentially
3185         allocated pointers. Remove duplicate check for NULL pointer.
3186         Add space after cast.
3188         * malloc/tst-valloc.c: Add comments.
3189         (do_test): Add comments and call free on all potentially
3190         allocated pointers. Remove duplicate check for NULL pointer.
3191         Add space after cast.
3193 2013-10-04  Alan Modra  <amodra@gmail.com>
3195         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3196         Use stdint types in rather than __attribute__((mode())).
3197         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3199 2013-10-04  Alan Modra  <amodra@gmail.com>
3201         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3202         Correct handling of unaligned relocs for little-endian.
3203         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3205 2013-10-04  Alan Modra  <amodra@gmail.com>
3207         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
3208         * configure: Regenerate.
3209         * nptl/shlib-versions: Powerpc*le starts at 2.18.
3210         * shlib-versions: Likewise.
3212 2013-10-04  Alan Modra  <amodra@gmail.com>
3214         * string/tester.c (test_memrchr): Increment reported test cycle.
3216 2013-10-04  Alan Modra  <amodra@gmail.com>
3218         * string/test-memcpy.c (do_one_test): When reporting errors, print
3219         string address and don't overrun end of string.
3221 2013-10-04  Alan Modra  <amodra@gmail.com>
3223         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
3224         insrdi.  Make better use of reg selection to speed exit slightly.
3225         Schedule entry path a little better.  Remove useless "are we done"
3226         checks on entry to main loop.  Handle wrapping around zero address.
3227         Correct main loop count.  Handle single left-over word from main
3228         loop inline rather than by using loop_small.  Remove extra word
3229         case in loop_small caused by wrong loop count.  Add little-endian
3230         support.
3231         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3232         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
3233         cache hint.
3234         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3235         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
3236         support.  Avoid rlwimi.
3237         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
3239 2013-10-04  Alan Modra  <amodra@gmail.com>
3241         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
3242         insrdi.  Formatting.
3243         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
3244         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3245         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3246         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3247         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3248         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
3250 2013-10-04  Alan Modra  <amodra@gmail.com>
3252         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
3253         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3254         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3255         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
3256         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3257         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3258         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3259         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3260         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
3261         use of regs.  Use power7 mtocrf.  Tidy function tails.
3263 2013-10-04  Alan Modra  <amodra@gmail.com>
3265         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
3266         Formatting.  Consistently use rXXX register defines or rN defines.
3267         Use early exit labels that avoid restoring unused non-volatile regs.
3268         Make cr field use more consistent with rWORDn compares.  Rename
3269         regs used as shift registers for unaligned loop, using rN defines
3270         for short lifetime/multiple use regs.
3271         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3272         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
3273         addi 1,1,64 to pop stack frame.  Simplify return value code.
3274         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3276 2013-10-04  Alan Modra  <amodra@gmail.com>
3278         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
3279         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
3280         rather than rlwimi.
3281         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
3282         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
3283         little-endian support.  Correct typos.
3284         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
3285         rather than rlwimi.
3286         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
3287         in loop and entry code to keep "and." results.
3288         (strchr): Add little-endian support.  Comment.  Move cntlzd
3289         earlier in tail.
3290         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
3292 2013-10-04  Alan Modra  <amodra@gmail.com>
3294         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
3295         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
3296         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3297         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
3299 2013-10-04  Alan Modra  <amodra@gmail.com>
3301         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
3302         (rTMP): Define as r11.
3303         (strcmp): Add little-endian support.  Optimise tail.
3304         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
3305         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3306         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3307         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3308         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3309         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3310         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3312 2013-10-04  Alan Modra  <amodra@gmail.com>
3314         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
3315         little-endian support.  Remove unnecessary "are we done" tests.
3316         Handle "s" wrapping around zero and extremely large "size".
3317         Correct main loop count.  Handle single left-over word from main
3318         loop inline rather than by using small_loop.  Correct comments.
3319         Delete "zero" tail, use "end_max" instead.
3320         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
3322 2013-10-04  Alan Modra  <amodra@gmail.com>
3324         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
3325         support.  Don't branch over align.
3326         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
3327         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
3328         support.  Rearrange tmp reg use to suit.  Comment.
3329         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
3331 2013-10-04  Alan Modra  <amodra@gmail.com>
3333         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
3335 2013-10-04  Alan Modra  <amodra@gmail.com>
3337         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
3338         conditional form of branch and link when obtaining pc.
3339         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3341 2013-10-04  Alan Modra  <amodra@gmail.com>
3343         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
3344         HIWORD/LOWORD.
3345         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
3346         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
3348 2013-10-04  Alan Modra  <amodra@gmail.com>
3350         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
3351         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
3352         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3353         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
3354         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3355         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3356         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
3357         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3358         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3359         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
3361 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
3362             Alistair Popple <alistair@ozlabs.au.ibm.com>
3363             Alan Modra <amodra@gmail.com>
3365         [BZ #15723]
3366         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
3367         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
3368         _dl_hwcap access for little-endian.
3369         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
3370         destroy vmx regs when saving unaligned.
3371         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
3372         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
3373         destroy vmx regs when saving unaligned.
3375 2013-10-04  Alan Modra  <amodra@gmail.com>
3377         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
3378         Don't use a union to pack hi/low value.
3380 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
3382         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
3383         for little-endian.
3384         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3385         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3386         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3387         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3388         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3390 2013-10-04  Alan Modra  <amodra@gmail.com>
3392         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
3393         constants to usual value for .cst8 section, and remove redundant
3394         high address load.
3395         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
3396         constant for 0x1p52.  Load little-endian words of double from
3397         correct stack offsets.
3399 2013-10-04  Alan Modra  <amodra@gmail.com>
3401         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
3402         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
3403         words of double from correct stack offsets.
3404         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3405         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
3406         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3407         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3408         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3409         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3410         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3411         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3412         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3413         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3414         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3415         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3416         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3417         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3418         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3419         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
3420         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3422 2013-10-04  Alan Modra  <amodra@gmail.com>
3424         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
3425         64-bit int/double union.
3426         (_FPU_SETCW): Likewise.
3427         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3428         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
3430 2013-10-04  Alan Modra  <amodra@gmail.com>
3432         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
3433         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
3435 2013-10-04  Alan Modra  <amodra@gmail.com>
3437         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
3438         use vector int constants.
3439         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
3441 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
3443         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
3444         array with long long.
3445         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
3446         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
3447         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
3448         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
3449         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
3450         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
3451         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
3452         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
3453         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
3454         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
3455         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
3456         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
3457         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
3459 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
3461         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
3462         (__signbit): Likewise.  Correct for little-endian.
3463         (__signbitl): Call __signbit.
3464         (lrint): Correct for little-endian.
3465         (lrintf): Call lrint.
3467 2013-10-04  Alan Modra  <amodra@gmail.com>
3469         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
3470         union 32-bit int array member with 64-bit int array.
3471         (t515, tm256): Double rather than long double.
3472         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
3474 2013-10-04  Alan Modra  <amodra@gmail.com>
3476         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
3477         Delete.
3478         (IEEE854_LONG_DOUBLE_BIAS): Delete.
3479         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
3480         version of math_ldbl.h.
3482 2013-10-04  Alan Modra  <amodra@gmail.com>
3484         [BZ #15734], [BZ #15735]
3485         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
3486         all uses of ieee875 long double macros and unions.  Simplify test
3487         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
3488         ldbl_extract_mantissa value for ix,iy exponents.  Properly
3489         normalize after ldbl_extract_mantissa, and don't add hidden bit
3490         already handled.  Don't treat low word of ieee854 mantissa like
3491         low word of IBM long double and mask off bit when testing for
3492         zero.
3493         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
3494         all uses of ieee875 long double macros and unions.  Simplify tests
3495         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
3496         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
3497         two1022, instead use their values.  Recognise that tests for large
3498         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
3499         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
3500         Rewrite all uses of ieee875 long double macros and unions.  Simplify
3501         test for 0.0L and nan.  Correct negation.
3502         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
3503         ieee875 long double macros and unions.  Correct output for large
3504         magnitude x.  Correct absolute value calculation.
3505         (__erfcl): Likewise.
3506         * math/libm-test.inc: Add tests for errors discovered in IBM long
3507         double versions of fmodl, remainderl, erfl and erfcl.
3509 2013-10-04  Alan Modra  <amodra@gmail.com>
3511         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
3512         all uses of ieee854 long double macros and unions.  Simplify tests
3513         for long doubles that are fully specified by the high double.
3514         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3515         Likewise.
3516         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
3517         Remove dead code too.
3518         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3519         (__ieee754_ynl): Likewise.
3520         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
3521         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
3522         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
3523         Remove dead code too.
3524         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
3525         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
3526         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3527         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
3528         Simplify.
3529         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
3530         Simplify.
3531         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
3532         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
3533         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
3534         Comment on variable precision.
3535         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
3536         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3537         Likewise.
3538         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3539         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3540         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3541         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
3542         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
3544 2013-10-04  Alan Modra  <amodra@gmail.com>
3546         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
3547         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
3548         all uses of ieee854 long double macros and unions.
3549         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
3550         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3551         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
3552         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
3553         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
3554         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3555         Likewise.
3556         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
3557         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3558         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
3559         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3560         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
3561         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
3562         Simplify sign and nan test too.
3563         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
3564         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
3565         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
3566         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
3567         Likewise.
3568         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3569         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
3570         Likewise.
3571         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3572         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
3573         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
3574         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
3575         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
3576         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
3578 2013-10-04  Alan Modra  <amodra@gmail.com>
3580         * stdio-common/printf_size.c (__printf_size): Don't use
3581         union ieee854_long_double in fpnum union.
3582         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
3583         signbit macro to retrieve sign from long double.
3584         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
3585         retrieve sign from long double.
3586         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
3587         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
3588         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
3589         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3590         * math/test-misc.c (main): Don't use union ieee854_long_double.
3592 2013-10-04  Alan Modra  <amodra@gmail.com>
3594         [BZ #15680]
3595         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
3596         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
3597         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
3598         calculation.  Remove unnecessary test for denormal exponent.
3599         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
3600         Correct handling of denormals.  Avoid undefined shift behaviour.
3601         Correct normalisation of low mantissa when low double is denormal.
3602         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
3603         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
3604         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
3605         Correct normalisation of low mantissa.  Test for overflow of high
3606         mantissa and normalise.
3607         (ldbl_nearbyint): Use more readable constant for two52.
3608         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
3609         (__mpn_construct_long_double): Fix test for overflow of high
3610         mantissa and correct normalisation.  Avoid undefined shift.
3612 2013-10-04  Alan Modra  <amodra@gmail.com>
3614         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3615         (union ibm_extended_long_double): Define as an array of ieee754_double.
3616         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
3617         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
3618         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
3619         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3620         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3621         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
3622         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3623         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3624         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3625         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
3626         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3628 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
3630         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
3631         page size instead of calling getpagesize.
3633         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
3634         (LOCFILE_ALIGN_MASK): Likewise.
3635         (LOCFILE_ALIGN_UP): Likewise.
3636         (LOCFILE_ALIGNED_P): Likewise.
3637         * locale/programs/ld-collate.c (collate_output): Use the new
3638         macros instead of __alignof__ (int32_t).
3639         * locale/weight.h (findidx): Likewise.
3641 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
3643         [BZ #431]
3644         * manual/string.texi: Fix strncat and wcsncat.
3646 2013-10-03  Brooks Moses  <bmoses@google.com>
3648         [BZ #15915]
3649         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
3650         * Makerules: ...here, and adjust associated comments.
3652 2013-10-02  Will Newton  <will.newton@linaro.org>
3654         * malloc/Makefile: Add tst-pvalloc.
3655         * malloc/tst-pvalloc.c: New file.
3657 2013-10-02  Will Newton  <will.newton@linaro.org>
3659         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
3660         improve test coverage.
3662 2013-10-02  Will Newton  <will.newton@linaro.org>
3664         * malloc/Makefile: Add tst-posix_memalign.
3665         * malloc/tst-posix_memalign.c: New file.
3667 2013-10-01  Eric Blake  <eblake@redhat.com>
3669         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
3670         Use __THROWNL rather than __THROW on static functions.
3672 2013-09-30  Petr Machata  <pmachata@redhat.com>
3674         * elf/elf.h (R_AARCH64_ABS16): New macro.
3675         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
3676         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
3677         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
3678         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
3679         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
3680         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
3681         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
3682         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
3683         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
3684         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
3685         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
3686         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
3687         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
3688         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
3689         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
3690         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
3691         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
3692         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
3693         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
3694         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
3695         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
3696         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
3697         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
3698         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
3699         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
3700         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
3701         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
3702         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
3703         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
3704         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
3705         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
3706         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
3707         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
3708         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
3709         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
3710         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
3711         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
3712         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
3713         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
3714         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
3715         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
3716         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
3717         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
3718         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
3719         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
3720         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
3721         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
3722         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
3723         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
3724         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
3725         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
3726         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
3727         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
3728         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
3729         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
3730         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
3731         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
3732         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
3733         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
3734         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
3735         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
3736         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
3737         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
3738         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
3739         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
3740         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
3741         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
3742         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
3743         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
3744         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
3745         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
3746         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
3747         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
3748         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
3749         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
3750         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
3751         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
3752         (R_AARCH64_TLSDESC_LDR): Likewise.
3753         (R_AARCH64_TLSDESC_ADD): Likewise.
3754         (R_AARCH64_TLSDESC_CALL): Likewise.
3756 2013-09-30  Andreas Schwab  <schwab@suse.de>
3758         [BZ #15048]
3759         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
3760         the nss database lookup.
3761         * nscd/initgrcache.c (addinitgroupsX): Likewise.
3762         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3764 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
3766         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
3768 2013-09-28  P. J. McDermott  <pj@pehjota.net>
3770         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
3771         ${Bash-specific parameter/pattern/string} parameter expansion.
3772         * sysdeps/unix/make-syscalls.sh: Likewise.
3774 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3776         * sysdeps/sh/stackguard-macros.h: New file.
3778 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
3780         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
3781         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
3782         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
3783         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
3784         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3785         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
3787 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3789         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
3790         Fix thread ID register.
3792 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
3794         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
3795         [POSIX || UNIX98]: Require rather than permitting all symbols from
3796         <time.h>.
3797         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
3798         element of struct sched_param.
3799         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
3800         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
3801         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
3802         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
3803         constant.
3805 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
3807         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
3808         argument calculation.
3810 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
3812         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
3813         Expect macro.
3814         [POSIX] (pthread_attr_t): Do not require type.
3815         [POSIX] (pthread_cond_t): Likewise.
3816         [POSIX] (pthread_condattr_t): Likewise.
3817         [POSIX] (pthread_key_t): Likewise.
3818         [POSIX] (pthread_mutex_t): Likewise.
3819         [POSIX] (pthread_mutexattr_t): Likewise.
3820         [POSIX] (pthread_once_t): Likewise.
3821         [POSIX] (pthread_t): Likewise.
3822         [POSIX-based standards] (pthread_atfork): Expect function.
3824 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
3825             Richard Sandiford  <richard@codesourcery.com>
3827         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
3828         (swap_endianness_p): New extern variable.
3829         (set_big_endian): New inline function.
3830         (maybe_swap_uint32): Likewise.
3831         (maybe_swap_uint32_array): Likewise.
3832         (maybe_swap_uint32_obstack): Likewise.
3833         * locale/programs/locfile.c: Include <stdbool.h>.
3834         (swap_endianness_p): New variable.
3835         (add_locale_uint32): Call maybe_swap_uint32.
3836         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
3837         (write_locale_data): Call maybe_swap_uint32_array.
3838         * locale/programs/ld-collate.c (obstack_int32_grow): Call
3839         maybe_swap_uint32.
3840         (obstack_int32_grow_fast): Likewise.
3841         (output_weightwc): Call maybe_swap_uint32_obstack.
3842         (collate_output): Likewise.
3843         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
3844         (OPT_LITTLE_ENDIAN): Likewise.
3845         (options): Add --little-endian and --big-endian options.
3846         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
3847         * locale/programs/locarchive.c: Include "locfile.h".
3848         (GET): New macro.
3849         (SET): Likewise.
3850         (INC): Likewise.
3851         (create_archive): Use the new macros to access fields of
3852         structures directly mapped from or written to locale archives.
3853         (oldlocrecentcmp): Likewise.
3854         (enlarge_archive): Likewise.
3855         (insert_name): Likewise.
3856         (add_alias): Likewise.
3857         (add_locale): Likewise.
3858         (delete_locales_from_archive): Likewise.
3859         (show_archive_content): Likewise.
3860         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
3861         locale data.
3863 2013-09-24  Roland McGrath  <roland@hack.frob.com>
3865         * manual/freemanuals.texi: Updated from (newly) canonical copy at
3866         http://www.gnu.org/doc/freemanuals.texi.
3867         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
3869 2013-09-24  Will Newton  <will.newton@linaro.org>
3871         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
3872         macro.
3874 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
3876         * locale/hashval.h (compute_hashval): Interpret bytes of key as
3877         unsigned char.
3879 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
3881         * manual/threads.texi (POSIX Threads): Fix a typo.
3883 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
3885         [BZ #14547]
3886         * string/tst-strcoll-overflow.c: New test case.
3887         * string/Makefile (xtests): Add tst-strcoll-overflow.
3888         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
3889         cache if string sizes may cause integer overflow.
3891         [BZ #14547]
3892         * string/strcoll_l.c (coll_seq): New members rule, idx,
3893         save_idx and back_us.
3894         (get_next_seq_nocache): New function.
3895         (do_compare_nocache): New function.
3896         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
3897         when malloc fails.
3899 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
3901         [BZ #15754]
3902         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
3903         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
3904         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
3906         [BZ #15754]
3907         * elf/Makefile (tests): Add tst-ptrguard1.
3908         (tests-static): Add tst-ptrguard1-static.
3909         (tst-ptrguard1-ARGS): Define.
3910         (tst-ptrguard1-static-ARGS): Define.
3911         * elf/tst-ptrguard1.c: New file.
3912         * elf/tst-ptrguard1-static.c: New file.
3913         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
3914         * sysdeps/i386/stackguard-macros.h: Likewise.
3915         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3916         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3917         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3918         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3919         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3920         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3922 2013-09-23  Hector Marco  <hecmargi@upv.es>
3923             Ismael Ripoll  <iripoll@disca.upv.es>
3924             Carlos O'Donell  <carlos@redhat.com>
3926         [BZ #15754]
3927         * sysdeps/generic/stackguard-macros.h: Define
3928         __pointer_chk_guard_local and POINTER_CHK_GUARD.
3929         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
3930         Define __pointer_chk_guard_local.
3931         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
3932         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
3934 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
3936         [BZ #15859]
3937         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
3939 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
3941         * include/string.h (__ffs): Declare as hidden.
3942         * string/ffs.c (__ffs): Define as hidden.
3943         * sysdeps/i386/ffs.c (__ffs): Likewise.
3944         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
3945         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
3946         * sysdeps/s390/ffs.c (__ffs): Likewise.
3947         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
3949 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
3951         * NEWS: Mention malloc probes.
3953         * malloc/arena.c (new_heap): New memory_heap_new probe.
3954         (grow_heap): New memory_heap_more probe.
3955         (shrink_heap): New memory_heap_less probe.
3956         (heap_trim): New memory_heap_free probe.
3957         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
3958         (systrim): New memory_sbrk_less probe.
3959         * manual/probes.texi: Document them.
3961         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
3962         * manual/probes.texi: Document it.
3964         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
3965         (__libc_realloc): Add memory_realloc_retry probe.
3966         (__libc_memalign): Add memory_memalign_retry probe.
3967         (__libc_valloc): Add memory_valloc_retry probe.
3968         (__libc_pvalloc): Add memory_pvalloc_retry probe.
3969         (__libc_calloc): Add memory_calloc_retry probe.
3970         * manual/probes.texi: Document them.
3972         * malloc/arena.c (get_free_list): Add probe
3973         memory_arena_reuse_free_list.
3974         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
3975         and memory_arena_reuse.
3976         (arena_get2) [!PER_THREAD]: Likewise.
3977         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
3978         memory_arena_reuse_realloc.
3979         * manual/probes.texi: Document them.
3981         * malloc/malloc.c (__libc_free): Add
3982         memory_mallopt_free_dyn_thresholds probe.
3983         (__libc_mallopt): Add multiple memory_mallopt probes.
3984         * manual/probes.texi: Document them.
3986         * malloc/malloc.c: Include stap-probe.h.
3987         (__libc_mallopt): Add memory_mallopt probe.
3988         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
3989         * manual/probes.texi: New.
3990         * manual/Makefile (chapters): Add probes.
3991         * manual/threads.texi: Set next node.
3993 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
3995         [BZ #15963, #13985]
3996         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
3997         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
3998         Add `Chinese' to `nan' entry name.
4000 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4002         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
4003         (POLYNOMIAL): Likewise.
4004         (TAYLOR_SINCOS): Likewise.
4005         (TAYLOR_SLOW): Likewise.
4006         (__sin): Use TAYLOR_SINCOS.
4007         (__cos): Likewise.
4008         (slow): Use TAYLOR_SLOW.
4009         (sloww): Likewise.
4010         (bsloww): Likewise.
4011         (csloww): Likewise.
4013 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
4015         * stdlib/strtod_l.c: Fix buffer overrun.
4017 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
4019         * benchtests/Makefile (bench): Add sincos.
4020         * benchtests/bench-sincos.c: New file.
4022         * math/libm-test.inc (cos_test_data): New test inputs.
4023         (sin_test_data): Likewise.
4025         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
4026         macro.
4027         (__sin): Use it.
4028         (__cos): Likewise.
4029         (slow1): Likewise.
4030         (slow2): Likewise.
4031         (sloww1): Likewise.
4032         (sloww2): Likewise.
4033         (bsloww1): Likewise.
4034         (bsloww2): Likewise.
4035         (cslow2): Likewise.
4036         (csloww1): Likewise.
4037         (csloww2): Likewise.
4039         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
4040         function.
4041         (__sin): Use it.
4042         (__cos): Likewise.
4044         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
4045         gotos.
4046         (__cos): Likewise.
4048 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
4050         * config.h.in (HAVE_MIPS_NAN2008): New macro.
4051         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
4052         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
4053         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
4054         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
4055         * elf/cache.c (print_entry): Handle the new cache flags.
4057 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
4058             Aldy Hernandez  <aldyh@redhat.com>
4060         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
4061         Change condition to [_SOFT_FLOAT].
4062         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
4063         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
4064         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
4065         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
4066         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
4067         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
4068         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
4069         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
4070         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
4071         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
4072         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
4073         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
4074         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
4075         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
4076         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
4077         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
4078         declaration.
4080 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
4082         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
4083         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4084         (__longjmp): Use LOAD_GP to load saved GPRs.
4085         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
4086         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4087         (__sigsetjmp): Use SAVE_GP to save GPRs.
4089         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
4090         Do not append -msoft-float.
4091         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
4093 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4095         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
4097 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
4099         [BZ #15966]
4100         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
4101         (_FPU_GETCW): Use initial "__" on variable and field names but not
4102         on macro parameter name.
4103         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
4104         parentheses around reference to macro parameter.
4106 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
4108         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
4109         prototype.
4110         (ctype_startup): Use uint32_t in cast and sizeof for
4111         ctype->charnames.
4113 2013-09-11  Jia Liu  <proljc@gmail.com>
4115         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
4116         __daddr_t_defined.
4117         [__FreeBSD__]: Likewise.
4119 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
4121         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4122         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
4123         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
4124         (strchr): Remove __strchr_sse42 ifunc selection.
4125         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
4126         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
4128 2013-09-11  Will Newton  <will.newton@linaro.org>
4130         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
4131         parameter to RES. Remove hardcoded 1000 value.
4132         * benchtests/bench-skeleton.c (main): Pass RES parameter
4133         to TIMING_INIT and multiply result by 1000.
4135 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4137         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4139 2013-09-11  Andreas Schwab  <schwab@suse.de>
4141         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4142         if not defined.
4143         (O_TMPFILE) [__USE_GNU]: Define.
4144         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
4145         Define.
4147 2013-09-11  Will Newton  <will.newton@linaro.org>
4149         [BZ #15857]
4150         * malloc/malloc.c (__libc_memalign): Check the value of bytes
4151         does not overflow.
4153 2013-09-11  Will Newton  <will.newton@linaro.org>
4155         [BZ #15856]
4156         * malloc/malloc.c (__libc_valloc): Check the value of bytes
4157         does not overflow.
4159 2013-09-11  Will Newton  <will.newton@linaro.org>
4161         [BZ #15855]
4162         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
4163         does not overflow.
4165 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
4167         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
4168         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4169         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4170         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4171         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4173 2013-09-10  Allan McRae  <allan@archlinux.org>
4175         [BZ #15748]
4176         * manual/arith.texi (Parsing of Floats): Clarify
4177         cross-reference.
4179         [BZ #15849]
4180         * manual/install.texi (Running make install): Mention
4181         --enable-pt-chown.
4182         * INSTALL: Regenerated.
4184 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
4186         * csu/init-first.c (_init): Remove the !SHARED condition around
4187         FPU control word initialization.
4188         * elf/dl-support.c (_dl_fpu_control): New variable.
4189         (_dl_aux_init) <AT_FPUCW>: Initialize it.
4190         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
4191         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
4192         * math/test-fpucw-static.c: New file.
4193         * math/test-fpucw-ieee.c: New file.
4194         * math/test-fpucw-ieee-static.c: New file.
4195         * math/Makefile (tests): Add `test-fpucw-ieee' and
4196         `$(tests-static)'.
4197         (tests-static): New variable.
4198         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
4199         dependency to...
4200         [($(build-shared),yes)]
4201         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4202         ... this.
4203         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
4204         New dependency.
4206 2013-09-09  Allan McRae  <allan@archlinux.org>
4208         [BZ #15939]
4209         * manual/string.texi (Collation Functions): Fix typo in
4210         strcoll example.
4211         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
4213         [BZ #15893]
4214         * stdlib/isomac.c (get_null_defines): Fix memory leak.
4216         [BZ #15892]
4217         * libio/memstream.c (open_memstream): Fix memory leak.
4218         * libio/wmemstream.c (open_wmemstream): Likewise.
4220         [BZ #15895]
4221         * nscd/netgroupcache.c: Fix nesting of ifdefs.
4223 2013-09-09  Will Newton  <will.newton@linaro.org>
4225         * malloc/Makefile: Add tst-realloc to tests.
4226         * malloc/tst-realloc.c: New file.
4228 2013-09-09  Allan McRae  <allan@archlinux.org>
4230         [BZ #15844]
4231         * COPYING: Update from GNU website to fix FSF address.
4232         * COPYING.LIB: Likewise.
4234 2013-09-06  David S. Miller  <davem@davemloft.net>
4236         * po/zh_TW.po: Update Chinese (traditional) translation from
4237         translation project.
4239 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
4240             Joseph Myers  <joseph@codesourcery.com>
4242         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
4243         "localeinfo.h".
4244         (obstack_chunk_alloc): New macro.
4245         (obstack_chunk_free): Likewise.
4246         (record_offset): New function.
4247         (init_locale_data): Likewise.
4248         (align_locale_data): Likewise.
4249         (add_locale_empty): Likewise.
4250         (add_locale_raw_data): Likewise.
4251         (add_locale_raw_obstack): Likewise.
4252         (add_locale_string): Likewise.
4253         (add_locale_wstring): Likewise.
4254         (add_locale_uint32): Likewise.
4255         (add_locale_uint32_array): Likewise.
4256         (add_locale_char): Likewise.
4257         (start_locale_structure): Likewise.
4258         (end_locale_structure): Likewise.
4259         (start_locale_prelude): Likewise.
4260         (end_locale_prelude): Likewise.
4261         (write_locale_data): Take locale_file structure rather than an
4262         iovec.
4263         * locale/programs/locfile.h: Include "obstack.h".
4264         (struct locale_file): Change to store locale file contents instead
4265         of header.
4266         (init_locale_data): New prototype.
4267         (align_locale_data): Likewise.
4268         (add_locale_empty): Likewise.
4269         (add_locale_raw_data): Likewise.
4270         (add_locale_raw_obstack): Likewise.
4271         (add_locale_string): Likewise.
4272         (add_locale_wstring): Likewise.
4273         (add_locale_uint32): Likewise.
4274         (add_locale_uint32_array): Likewise.
4275         (add_locale_char): Likewise.
4276         (start_locale_structure): Likewise.
4277         (end_locale_structure): Likewise.
4278         (start_locale_prelude): Likewise.
4279         (end_locale_prelude): Likewise.
4280         (write_locale_data): Update prototype.
4281         * locale/programs/3level.h (struct TABLE): Remove result field.
4282         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
4283         Use new locale_file interface.
4284         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
4285         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
4286         * locale/programs/ld-address.c (address_output): Use new
4287         locale_file interface.
4288         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
4289         NO_ADD_LOCALE.
4290         (collate_finish): Don't call collseq_table_finalize.
4291         (collate_output): Use new locale_file interface.
4292         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
4293         in file.
4294         (NO_FINALIZE): Change to NO_ADD_LOCALE.
4295         (TABLE): Move defines earlier in file.
4296         (ELEMENT): Likewise.
4297         (DEFAULT): Likewise.
4298         (wctrans_table_add): Move macro and inline function earlier in
4299         file.
4300         (struct wctype_table): Move type earlier in file.
4301         (add_locale_wctype_table): New static prototype.
4302         (struct locale_ctype_t): Use logical types instead of struct iovec
4303         pointers for members.
4304         (ctype_output): Use new locale_file interface.
4305         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
4306         new locale_file interface.
4307         (allocate_arrays): Update for use of new locale_file interface.
4308         * locale/programs/ld-identification.c (identification_output): Use
4309         new locale_file interface.
4310         * locale/programs/ld-measurement.c (measurement_output): Likewise.
4311         * locale/programs/ld-messages.c (messages_output): Likewise.
4312         * locale/programs/ld-monetary.c (monetary_output): Likewise.
4313         * locale/programs/ld-name.c (name_output): Likewise.
4314         * locale/programs/ld-numeric.c (numeric_output): Likewise.
4315         * locale/programs/ld-paper.c (paper_output): Likewise.
4316         * locale/programs/ld-telephone.c (telephone_output): Likewise.
4317         * locale/programs/ld-time.c (time_output): Likewise.
4319 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4321         * benchtests/Makefile: Add memrchr benchmark.
4322         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
4323         benchmark as memrchr.
4324         * benchtests/bench-memrchr-ifunc.c: New file.
4325         * benchtests/bench-memrchr.c: New file.
4327 2013-09-06   Will Newton  <will.newton@linaro.org>
4329         * benchtests/Makefile (string-bench): Add memcpy.
4331 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
4332             Cong Wang  <amwang@redhat.com>
4334         * sysdeps/unix/sysv/linux/bits/in.h
4335         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
4336         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
4337         before __USE_KERNEL_IPV6_DEFS uses.
4338         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
4339         IPPROTO_BEETPH.
4340         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
4341         sockaddr_in6, or ipv6_mreq.
4343 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4345         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
4346         memory access for final bytes in some large inputs.
4347         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
4349 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4351         * string/test-memrchr.c: New file.
4352         * string/test-memrchr-ifunc.c: New file.
4353         * string/Makefile: Add new memrchr testcase.
4355 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
4357         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
4358         fanotify_init returns EPERM.
4360 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
4362         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
4363         errors.
4364         (top level): Treat second token from macro or constant entries for
4365         allowed headers as allowed.
4366         * include/complex.h: Condition internal declarations on
4367         [!_ISOMAC].
4368         * include/fenv.h: Condition include of <stdbool.h> and internal
4369         declarations on [!_ISOMAC].
4371 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
4373         [BZ #15923]
4374         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
4376 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
4378         * configure.in (--enable-versioning): Remove configure option.
4379         (libc_cv_asm_symver_directive): Remove configure test.
4380         (libc_cv_ld_version_script_option): Likewise.
4381         (VERSIONING): Remove variable and AC_SUBST.
4382         (DO_VERSIONING): Remove AC_DEFINE.
4383         * configure: Regenerated.
4384         * config.h.in (DO_VERSIONING): Remove macro.
4385         * Makerules [$(versioning) = yes]: Change conditionals to
4386         [$(build-shared) = yes].
4387         * config.make.in (versioning): Remove variable.
4388         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
4389         [$(build-shared) = yes].
4390         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
4391         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
4392         * elf/Makefile [$(versioning) = yes]: Change conditionals to
4393         [$(build-shared) = yes].
4394         * extra-lib.mk [$(versioning) = yes]: Likewise.
4395         * hurd/Makefile [$(versioning) = yes]: Likewise.
4396         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
4397         [SHARED].
4398         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
4399         [SHARED].
4400         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4401         [SHARED && !NO_HIDDEN].
4402         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
4403         [SHARED].
4404         [SHARED && DO_VERSIONING]: Likewise..
4405         * libio/Makefile [$(versioning) = yes]: Change conditionals to
4406         [$(build-shared) = yes].
4407         * manual/install.texi (--disable-versioning): Remove
4408         documentation.
4409         * INSTALL: Regenerated.
4410         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
4411         to [SHARED].
4412         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
4413         [$(build-shared) = yes].
4414         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
4415         * sysdeps/i386/i686/multiarch/strstr-c.c
4416         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4417         [SHARED && !NO_HIDDEN].
4418         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
4419         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
4420         * sysdeps/powerpc/powerpc32/dl-machine.c
4421         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
4422         * sysdeps/powerpc/powerpc32/sysdep.h
4423         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
4424         to [SHARED && PIC && !NO_HIDDEN].
4425         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
4426         conditional to [SHARED].
4428 2013-09-04   Will Newton  <will.newton@linaro.org>
4430         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
4431         * benchtests/bench-string.h: Include bench-timing.h instead
4432         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
4433         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
4434         call to HP_TIMING_DIFF_INIT.
4435         * benchtests/bench-memccpy.c: Use bench-timing.h macros
4436         instead of hp-timing.h macros.
4437         * benchtests/bench-memchr.c: Likewise.
4438         * benchtests/bench-memcmp.c: Likewise.
4439         * benchtests/bench-memcpy.c: Likewise.
4440         * benchtests/bench-memmem.c: Likewise.
4441         * benchtests/bench-memmove.c: Likewise.
4442         * benchtests/bench-memset.c: Likewise.
4443         * benchtests/bench-rawmemchr.c: Likewise.
4444         * benchtests/bench-strcasecmp.c: Likewise.
4445         * benchtests/bench-strcasestr.c: Likewise.
4446         * benchtests/bench-strcat.c: Likewise.
4447         * benchtests/bench-strchr.c: Likewise.
4448         * benchtests/bench-strcmp.c: Likewise.
4449         * benchtests/bench-strcpy.c: Likewise.
4450         * benchtests/bench-strcpy_chk.c: Likewise.
4451         * benchtests/bench-strlen.c: Likewise.
4452         * benchtests/bench-strncasecmp.c: Likewise.
4453         * benchtests/bench-strncat.c: Likewise.
4454         * benchtests/bench-strncmp.c: Likewise.
4455         * benchtests/bench-strncpy.c: Likewise.
4456         * benchtests/bench-strnlen.c: Likewise.
4457         * benchtests/bench-strpbrk.c: Likewise.
4458         * benchtests/bench-strrchr.c: Likewise.
4459         * benchtests/bench-strspn.c: Likewise.
4460         * benchtests/bench-strstr.c: Likewise.
4462 2013-09-04  Will Newton  <will.newton@linaro.org>
4464         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
4466 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
4468         [BZ #15427]
4469         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4470         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
4471         * math/libm-test.inc (lgamma_test_data): Add more tests.
4472         * sysdeps/i386/fpu/libm-test-ulps: Update.
4473         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4475 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
4477         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
4478         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4479         Add ifunc.
4480         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4481         Add strcmp-sse2-unaligned
4482         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
4484 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
4486         * Versions.def (libc): Add GLIBC_2.19.
4488 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
4490         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
4491         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
4493 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
4495         [BZ #14155]
4496         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
4497         intermediate calculations in recurrence.
4498         (__ieee754_ynf): Likewise.
4499         * math/libm-test.inc (jn_test_data): Do not allow spurious
4500         underflow exception.  Add more tests.
4501         (yn_test_data): Add more tests.
4502         * sysdeps/i386/fpu/libm-test-ulps: Update.
4503         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4505 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
4507         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
4509 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
4511         * csu/init-first.c: Fix then/than typos.
4512         * locale/programs/ld-collate.c: Likewise.
4513         * locale/programs/linereader.h: Likewise.
4514         * manual/charset.texi: Likewise.
4515         * manual/filesys.texi: Likewise.
4516         * manual/stdio.texi: Likewise.
4517         * manual/string.texi: Likewise.
4518         * stdlib/fmtmsg.c: Likewise.
4519         * sysdeps/i386/stpncpy.S: Likewise.
4520         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4521         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4522         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4523         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4525 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
4527         * elf/dl-open.c: Fix typos.
4528         * iconvdata/gbbig5.c: Likewise.
4529         * iconvdata/iso-2022-jp.c: Likewise.
4530         * iconv/gconv_int.h: Likewise.
4531         * iconv/loop.c: Likewise.
4532         * nis/rpcsvc/nis.h: Likewise.
4533         * resolv/ns_name.c: Likewise.
4534         * stdio-common/vfscanf.c: Likewise.
4535         * streams/stropts.h: Likewise.
4536         * sunrpc/rpc_thread.c: Likewise.
4537         * sysdeps/i386/strpbrk.S: Likewise.
4538         * sysdeps/ieee754/k_standard.c: Likewise.
4539         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4540         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4541         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4542         * sysdeps/mach/hurd/profil.c: Likewise.
4543         * sysdeps/s390/dl-procinfo.h: Likewise.
4544         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4545         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4546         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
4547         * sysdeps/x86_64/dl-trampoline.S: Likewise.
4548         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4550 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
4552         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
4553         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
4555 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
4557         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
4558         aix specific files.
4559         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
4560         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
4561         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
4562         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
4563         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
4564         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
4565         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
4566         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
4568 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
4569             Roland McGrath  <roland@hack.frob.com>
4571         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
4572         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4574 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4576         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
4577         __executable_start symbol instead of _start.
4579 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
4581         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
4582         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
4583         Move macros to...
4584         * sysdeps/gnu/ldsodefs.h: ... this new file.
4586         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
4587         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
4588         instead of ELFOSABI_LINUX.
4590         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
4591         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
4592         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
4593         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
4594         Likewise.
4595         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
4596         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
4597         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
4598         Likewise.
4599         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4600         (ibm_extended_long_double): Add ieee_nan member.
4601         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
4602         (do_test): New function.
4604         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
4605         TEST_TRUNC.
4606         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
4607         functions, renamed from truncdfsf_test, trunctfsf_test,
4608         trunctfdf_test.
4609         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
4610         functions.
4611         (do_test): Run all these.
4613 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
4615         * argp/argp-help.c: Fix typos.
4616         * argp/argp-parse.c: Likewise.
4617         * debug/backtracesyms.c: Likewise.
4618         * elf/elf.h: Likewise.
4619         * malloc/malloc.c: Likewise.
4620         * nis/nis_print.c: Likewise.
4621         * resolv/res_comp.c: Likewise.
4622         * stdlib/stdlib.h: Likewise.
4623         * sunrpc/clnt_tcp.c: Likewise.
4624         * sunrpc/clnt_udp.c: Likewise.
4625         * sunrpc/clnt_unix.c: Likewise.
4626         * sysdeps/unix/bsd/ptsname.c: Likewise.
4627         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4628         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
4629         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
4630         Likewise.
4631         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4632         Likewise.
4633         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4634         Likewise.
4635         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4637 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4639         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
4640         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4642 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
4644         [BZ #15897]
4645         * dlfcn/Makefile (tests): Add bug-dl-leaf.
4646         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
4647         ($(objpfx)bug-dl-leaf): New rule.
4648         ($(objpfx)bug-dl-leaf.so): Likewise.
4649         ($(objpfx)bug-dl-leaf.out): Likewise.
4650         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
4651         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
4652         * dlfcn/bug-dl-leaf.c: New test.
4653         * dlfcn/bug-dl-leaf-lib.c: Likewise.
4654         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
4655         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
4656         (dlclose): Likewise.
4657         (dlmopen): Likewise.
4659 2013-08-27  Roland McGrath  <roland@hack.frob.com>
4661         * include/netdb.h [!_ISOMAC]:
4662         Don't include <tls.h>.
4663         (h_errno, __libc_h_errno): Move declaration and macros out of
4664         [_LIBC_REENTRANT].
4666         * include/resolv.h [_RESOLV_H_]:
4667         Don't include <tls.h>.
4668         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
4669         * resolv/res_libc.c: Don't include <tls.h>.
4670         (_res): Use __attribute__ ((nocommon)) in place of
4671         __attribute__ ((section (".bss"))).
4673         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
4674         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
4676         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
4678         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
4679         only under [SIOCGIFCONF && SIOCGIFNETMASK].
4681         * resolv/res_mkquery.c: Include <sys/time.h>.
4683         * inet/ifreq.c: Moved to ...
4684         * sysdeps/unix/ifreq.c: ... here.
4685         * inet/ifreq.c: New file, true stub version.
4687         * socket/sa_len.c: New file.
4688         * socket/Makefile (aux): Add it.
4689         * sysdeps/unix/sysv/linux/Makefile
4690         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
4691         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
4692         and #include <socket/sa_len.c>.
4693         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
4694         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
4696         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
4697         * bits/socket.h: ... here.
4699         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
4700         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
4701         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
4703 2013-08-27  Andreas Schwab  <schwab@suse.de>
4705         [BZ #15736]
4706         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
4707         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
4708         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
4709         * string/test-strcasecmp.c (test_main): Run tests in several
4710         locales.
4711         * string/test-strncasecmp.c (test_main): Likewise.
4713         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
4714         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
4715         to __strcasecmp_nonascii and __strncasecmp_nonascii.
4716         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
4717         (__strncasecmp_ssse3) [PIC]: Likewise.
4719 2013-08-26  Roland McGrath  <roland@hack.frob.com>
4721         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
4723         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
4724         instead of explicitly declaring xdecrypt.
4725         * nis/nss_nis/nis-publickey.c: Likewise.
4727 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4729         [BZ #15890]
4730         * nscd/aicache.c: Include res_hconf.h.
4731         (addhstaiX): Initialize res_hconf.
4733 2013-08-26  Andreas Schwab  <schwab@suse.de>
4735         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
4736         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
4738 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4740         * nscd/aicache.c (addhstaiX): Fix indentation.
4742 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
4744         * configure.ac: Quote $build_pt_chown test.
4745         * configure: Regenerated.
4747 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
4749         [BZ #15532]
4750         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
4751         * math/s_cexpf.c (__cexpf): Likewise.
4752         * math/s_cexpl.c (__cexpl): Likewise.
4753         * math/libm-test.inc (cexp_test_data): Correct expected return
4754         value for NaN + i0.  Add another test.
4756 2013-08-22  David S. Miller  <davem@davemloft.net>
4758         * po/ca.po: Update Catalan translation from translation project.
4759         * po/uk.po: Add Ukrainian translations from translation project.
4761 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
4763         [BZ #15797]
4764         * math/s_fdim.c (__fdim): Check for infinite arguments if result
4765         is infinite, not alongside NaN test.
4766         * math/s_fdimf.c (__fdimf): Likewise.
4767         * math/s_fdiml.c (__fdiml): Likewise.
4768         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
4769         errno is unchanged.
4771 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
4773         * argp/argp-help.c: Fix typos.
4774         * crypt/speeds.c: Likewise.
4775         * csu/check_fds.c: Likewise.
4776         * elf/dl-load.c: Likewise.
4777         * elf/dl-open.c: Likewise.
4778         * elf/reldep3.c: Likewise.
4779         * elf/reldep.c: Likewise.
4780         * elf/sprof.c: Likewise.
4781         * iconv/iconv_charmap.c: Likewise.
4782         * iconv/skeleton.c: Likewise.
4783         * iconv/strtab.c: Likewise.
4784         * io/lockf64.c: Likewise.
4785         * libio/libioP.h: Likewise.
4786         * resolv/gai_notify.c: Likewise.
4787         * resolv/ns_name.c: Likewise.
4788         * resolv/ns_samedomain.c: Likewise.
4789         * resolv/res_send.c: Likewise.
4790         * stdlib/random.c: Likewise.
4791         * sunrpc/rpc/xdr.h: Likewise.
4792         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
4793         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4794         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4795         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4796         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4797         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4798         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4799         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4800         * sysdeps/mach/hurd/check_fds.c: Likewise.
4801         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4802         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4803         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4804         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4805         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4806         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4807         * sysdeps/pthread/aio_notify.c: Likewise.
4808         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
4809         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
4810         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
4811         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4812         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4814 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
4816         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
4817         version if bit_Slow_SSE4_2 is set.
4818         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4819         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4821 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4823         [BZ #15867]
4824         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
4825         trampoline stack frame information.
4826         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
4827         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
4828         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
4829         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
4830         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
4831         * sysdeps/unix/sysv/linux/powerpc/init-first.c
4832         (_libc_vdso_platform_setup): Initialize the signal trampolines.
4833         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
4834         sa_flags value.
4835         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
4836         interrupting a syscall and set with option SA_SIGINFO.
4838 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
4840         [BZ #15531]
4841         * math/s_cproj.c (__cproj): Only return an infinity if one part of
4842         argument is infinite.
4843         * math/s_cprojf.c (__cprojf): Likewise.
4844         * math/s_cprojl.c (__cprojl): Likewise.
4845         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
4846         * math/libm-test.inc (cproj_test_data): Add more tests.
4848         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
4850         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
4851         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
4852         size.  Use __ffs to determine corresponding shift.
4854 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
4855             Roland McGrath  <roland@hack.frob.com>
4857         * Makefile (INSTALL): Remove trailing blank lines from output of
4858         makeinfo.
4860 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4862         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
4863         Align 32 bit compat elf_greg to 8 bytes.
4865 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4867         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
4869 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
4871         * string/strcoll_l.c (coll_seq): New structure.
4872         (get_next_seq_cached): New function.
4873         (get_next_seq): New function.
4874         (do_compare): New function.
4875         (STRCOLL): Use GNU style definition.  Simplify implementation
4876         by using get_next_seq, get_next_seq_cached and do_compare.
4878 2013-08-16  Florian Weimer  <fweimer@redhat.com>
4880         [BZ #14699]
4881         CVE-2013-4237
4882         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
4883         member.
4884         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
4885         member.
4886         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
4887         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
4888         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
4889         conditional.
4890         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
4891         GETDENTS_64BIT_ALIGNED.
4892         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4893         * manual/filesys.texi (Reading/Closing Directory): Document
4894         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
4895         strongly.
4896         * manual/conf.texi (Limits for Files): Add portability note to
4897         NAME_MAX, PATH_MAX.
4898         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
4900 2013-08-13  Andreas Schwab  <schwab@suse.de>
4902         [BZ #15749]
4903         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
4904         of fabs.
4905         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
4906         LDBL_MAX_EXP >= 16384]: Add tests for it.
4908 2013-08-12  David S. Miller  <davem@davemloft.net>
4910         * version.h (RELEASE): Set to "development".
4911         (VERSION): Set to "2.18.90".
4912         * NEWS: Add 2.19 section.
4914 2013-08-03  David S. Miller  <davem@davemloft.net>
4916         * po/ko.po: Update Korean translation from translation project.
4918 2013-08-01  David S. Miller  <davem@davemloft.net>
4920         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
4921         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
4922         Bilka.
4924 2013-07-30  David S. Miller  <davem@davemloft.net>
4926         * po/fr.po: Update French translation from translation project.
4928 2013-07-28  David S. Miller  <davem@davemloft.net>
4930         * po/cs.po: Update Czech translation from translation project.
4932         * po/sv.po: Update Swedish translation from translation project.
4934 2013-07-27  David S. Miller  <davem@davemloft.net>
4936         * po/eo.po: Update Esperanto translation from translation project.
4938         * po/vi.po: Update Vietnamese translation from translation project.
4940         * po/de.po: Update German translation from translation project.
4942 2013-07-26  David S. Miller  <davem@davemloft.net>
4944         * po/bg.po: Update Bulgarian translation from translation project.
4946         * po/nl.po: Update Dutch translation from translation project.
4947         * po/pl.po: Update Polish translation from translation project.
4948         * po/ru.po: Update Russian translation from translation project.
4950 2013-07-24  David S. Miller  <davem@davemloft.net>
4952         * po/libc.pot: Update.
4954 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4956         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
4957         variable page size.
4958         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
4959         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
4960         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
4962 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4964         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
4966 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4967             Andreas Schwab  <schwab@suse.de>
4968             Roland McGrath  <roland@hack.frob.com>
4969             Joseph Myers  <joseph@codesourcery.com>
4970             Carlos O'Donell  <carlos@redhat.com>
4972         [BZ #15755]
4973         * config.h.in: Define HAVE_PT_CHOWN.
4974         * config.make.in (build-pt-chown): New variable.
4975         * configure.in (--enable-pt_chown): New configure option.
4976         * configure: Regenerate.
4977         * login/Makefile: Include Makeconfig.  Build pt_chown only if
4978         build-pt-chown is enabled.
4979         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
4980         pt_chown to fix pty ownership.
4981         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
4982         CLOSE_ALL_FDS.
4983         * manual/install.texi (Configuring and compiling): Mention
4984         --enable-pt_chown. Add @findex for grantpt.
4985         * INSTALL: Regenerate.
4987 2013-07-20  David S. Miller  <davem@davemloft.net>
4989         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
4990         difference between 32-bit and 64-bit.
4992 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
4994         [BZ #15711]
4995         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
4996         Avoid system header dependency with -ffreestanding.
4997         ($(objpfx)bits/syscall%d): Likewise.
4999 2013-07-13  David S. Miller  <davem@davemloft.net>
5001         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
5002         underflows from atanl/atan2l due to bug 15319.
5003         (casinh_test_data): Likewise.
5005 2013-07-07  David S. Miller  <davem@davemloft.net>
5007         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
5009 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
5011         * sysdeps/i386/fpu/libm-test-ulps: Update.
5012         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5014 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
5016         * configure.in (--enable-lock-elision): Fix message text.
5017         * INSTALL: Regenerate.
5018         * configure: Regenerate.
5020 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5022         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5024 2013-07-03  Andreas Jaeger  <aj@suse.de>
5026         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
5027         define.
5028         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
5029         (ptrace_peeksiginfo_args): Add.
5030         (__ptrace_peeksiginfo_flags): Add.
5031         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
5032         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
5033         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
5035 2013-07-03  Allan McRae  <allan@archlinux.org>
5037         * sysdeps/i386/fpu/libm-test-ulps: Update.
5039 2013-07-02  David S. Miller  <davem@davemloft.net>
5041         * sysdeps/sparc/fpu/libm-test-ulps: Update.
5043 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
5045         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
5047 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
5049         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
5050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5052 2013-07-02  Andi Kleen <ak@linux.intel.com>
5054         * config.h.in (ENABLE_LOCK_ELISION): Add.
5055         * configure.in (--enable-lock-elision): Add option.
5056         * manual/install.texi: Document --enable lock elision.
5057         * configure: Regenerate
5058         * INSTALL: Regenerate.
5060 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
5062         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
5063         SSE4.2 strcasecmp for libc.a.
5064         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5066 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
5068         [BZ #13304]
5069         * soft-fp/op-common.h (_FP_FMA): New macro.
5070         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
5071         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
5072         (_FP_MUL_MEAT_1_imm): ... here.
5073         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
5074         (_FP_MUL_MEAT_1_wide): ... here.
5075         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
5076         (_FP_MUL_MEAT_1_hard): ... here.
5077         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
5078         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
5079         (_FP_MUL_MEAT_2_wide): ... here.
5080         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
5081         (_FP_MUL_MEAT_2_wide_3mul): ... here.
5082         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
5083         (_FP_MUL_MEAT_2_gmp): ... here.
5084         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
5085         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
5086         (_FP_MUL_MEAT_4_wide): ... here.
5087         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
5088         (_FP_MUL_MEAT_4_gmp): ... here.
5089         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
5090         (_FP_WFRACBITS_DW_S): Likewise.
5091         (_FP_WFRACXBITS_DW_S): Likewise.
5092         (_FP_HIGHBIT_DW_S): Likewise.
5093         (FP_FMA_S): Likewise.
5094         (_FP_FRAC_HIGH_DW_S): Likewise.
5095         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
5096         (_FP_WFRACBITS_DW_D): Likewise.
5097         (_FP_WFRACXBITS_DW_D): Likewise.
5098         (_FP_HIGHBIT_DW_D): Likewise.
5099         (FP_FMA_D): Likewise.
5100         (_FP_FRAC_HIGH_DW_D): Likewise.
5101         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
5102         (_FP_WFRACBITS_DW_E): Likewise.
5103         (_FP_WFRACXBITS_DW_E): Likewise.
5104         (_FP_HIGHBIT_DW_E): Likewise.
5105         (FP_FMA_E): Likewise.
5106         (_FP_FRAC_HIGH_DW_E): Likewise.
5107         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
5108         (_FP_WFRACBITS_DW_Q): Likewise.
5109         (_FP_WFRACXBITS_DW_Q): Likewise.
5110         (_FP_HIGHBIT_DW_Q): Likewise.
5111         (FP_FMA_Q): Likewise.
5112         (_FP_FRAC_HIGH_DW_Q): Likewise.
5113         * soft-fp/fmasf4.c: New file.
5114         * soft-fp/fmadf4.c: Likewise.
5115         * soft-fp/fmatf4.c: Likewise.
5117 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5119         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
5120         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
5121         Silvermont.
5122         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
5123         macro.
5124         (index_Slow_SSE4_2): Likewise.
5125         (index_Prefer_PMINUB_for_stringop): Likewise.
5126         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
5127         bit_Slow_SSE4_2 is set.
5128         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5129         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5131 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5133         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
5134         rtld_global._dl_hwcap2.
5135         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
5136         POWER8.
5137         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
5138         POWER8 feature descriptions defined in _dl_hwcap2.
5139         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
5140         string handling for POWER8 feature bits.
5141         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
5142         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
5143         _dl_powerpc_cap_flags.
5144         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
5145         * sysdeps/powerpc/rtld-global-offsets.sym
5146         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
5147         _dl_hwcap2 in the rtld_global_ro structure.
5149 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5151         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
5152         hardware capabilities in support of AT_HWCAP2.
5153         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
5154         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
5155         GLRO(dl_hwcap2).
5156         (_dl_show_auxv): Add support for calling _dl_procinfo to display
5157         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
5158         explicitly the unknown a_type display mechanism is used.
5159         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
5160         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
5161         struct member.
5162         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
5163         to macro prototype for AT_HWCAP2 support.
5164         * sysdeps/i386/dl-procinfo.h: Likewise.
5165         * sysdeps/s390/dl-procinfo.h: Likewise.
5166         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
5167         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
5168         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
5169         return -1 for unknown a_type display fallback.
5170         * sysdeps/sparc/dl-procinfo.h: Likewise.
5171         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5172         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
5174 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
5176         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
5177         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
5179 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
5181         [BZ #12492]
5182         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
5183         mprotect making __stack_prot writable.
5185 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
5186             Joseph Myers  <joseph@codesourcery.com>
5188         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
5189         as being properly aligned.
5191 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
5193         * dlfcn/modstatic5.c: New file.
5194         * dlfcn/tststatic5.c: New file.
5195         * dlfcn/Makefile (tests): Add tststatic5.
5196         (tests-static): Likewise.
5197         (modules-names): Add modstatic5.
5198         (tststatic5-ENV): New variable.
5199         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
5201         [BZ #15022]
5202         * elf/dl-support.c (_dl_main_map): New variable.
5203         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
5204         (_dl_nns, _dl_load_adds): Set to 1.
5205         (_dl_initial_searchlist): Refer to _dl_main_map.
5206         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
5207         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
5208         call to _dl_get_origin.
5209         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
5210         around call_map.
5211         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
5212         * dlfcn/modstatic3.c: New file.
5213         * dlfcn/tststatic3.c: New file.
5214         * dlfcn/tststatic4.c: New file.
5215         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
5216         (tests-static): Likewise.
5217         (modules-names): Add modstatic3.
5218         (tststatic3-ENV, tststatic4-ENV): New variables.
5219         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
5220         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
5222 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
5224         * configure.in (CC): Require GCC version 4.4 or later.
5225         * configure: Regenerated.
5226         * manual/install.texi (Tools for Compilation): Update GCC version
5227         requirement.
5228         * INSTALL: Regenerated.
5230 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5232         [BZ #15674]
5233         * string/test-memcmp.c (check2): New.
5234         (main): Call check2.
5236         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
5238 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
5240         [BZ #15022]
5241         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
5242         over to...
5243         (dl_open_worker) [!SHARED]: ... here.
5245 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5247         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
5249 2013-06-25  Richard Henderson  <rth@redhat.com>
5251         * locale/programs/locarchive.c: Include <libc-internal.h>
5253 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
5255         * manual/texinfo.tex: Update to version 2013-06-21.17, with
5256         trailing whitespace removed.
5258 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
5260         [BZ #10283]
5261         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
5262         * locale/programs/locarchive.c: Include libc-mmap.h.
5263         (prepare_address_space): Take two new outputs (the mmap base and len).
5264         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
5265         values.
5266         (create_archive): Declare new mmap base and len values for
5267         prepare_address_space, and store the result in ah.
5268         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
5269         (enlarge_archive): If ah->mmap_base is not NULL, use that and
5270         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5271         Declare new mmap base and len values for
5272         prepare_address_space, and store the result in new_ah.
5273         (open_archive): Declare new mmap base and len values for
5274         prepare_address_space, and store the result in ah.
5275         (close_archive): If ah->mmap_base is not NULL, use that and
5276         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5277         * sysdeps/generic/libc-mmap.h: New file.
5279 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
5281         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
5282         (ALIGN_UP): Likewise.
5283         (PTR_ALIGN_DOWN): Likewise.
5284         (PTR_ALIGN_UP): Likewise.
5286 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5288         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
5289         entry mapped to PPC_PLATFORM_POWER8.
5290         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
5291         POWER8.
5292         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
5293         (_dl_string_platform): Add case for exporting platform position for
5294         POWER8.
5295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
5296         search path to sysdeps/powerpc/powerpc32/power8 directory.
5297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
5298         search path to sysdeps/powerpc/powerpc64/power8 directory.
5299         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
5300         power7 directories.
5301         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
5302         power7 directories.
5304 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5306         * INSTALL: Regenerate.
5308         * nscd/connections.c (nscd_init): Fix comment.
5310 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
5312         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
5314         [BZ #15667]
5315         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
5316         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
5318 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
5320         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
5321         DL_DST_REQ_STATIC.
5322         (DL_DST_REQ_STATIC): Remove macro.
5324 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
5326         [BZ #7006]
5327         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
5328         with a shift of 0 bits.
5330 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
5332         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
5333         $(tststatic-ENV).
5335 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5337         [BZ #15655]
5338         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
5340 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5342         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
5343         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
5344         accepts -fno-tree-loop-distribute-patterns.
5345         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
5346         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
5347         recursive call.
5348         * string/memset.c (memset): Likewise.
5349         * string/test-memmove.c (simple_memmove): Disable loop transformation
5350         to library calls.
5351         * string/test-memset.c (simple_memset): Likewise.
5352         * benchtests/bench-memmove.c (simple_memmove): Likewise.
5353         * benchtests/bench-memset.c (simple_memset): Likewise.
5354         * configure: Regenerated.
5356 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
5358         * math/test-misc.c (main): Ignore fesetround failure when failures
5359         of subsequent rounding tests would be ignored.
5361         [BZ #15654]
5362         * math/fedisblxcpt.c (fedisableexcept): Return 0.
5363         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
5364         * math/fegetenv.c (__fegetenv): Return 0.
5365         * math/fegetexcept.c (fegetexcept): Return 0.
5366         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
5367         FE_TONEAREST.
5368         * math/feholdexcpt.c (feholdexcept): Return 0.
5369         * math/fesetenv.c (__fesetenv): Return 0.
5370         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
5371         argument FE_TONEAREST.
5372         * math/feupdateenv.c (__feupdateenv): Return 0.
5373         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
5375 2013-06-18  Roland McGrath  <roland@hack.frob.com>
5377         * elf/rtld-Rules (rtld-compile-command.S): New variable.
5378         (rtld-compile-command.s, rtld-compile-command.c): New variables.
5379         ($(objpfx)rtld-%.os rules): Use them.
5381 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5383         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
5384         fields.
5386 2013-06-17  Roland McGrath  <roland@hack.frob.com>
5388         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
5389         length of target pattern, then descending length of dependency pattern.
5390         * configure.in (AWK): Require gawk 3.1.2 or newer.
5391         * manual/install.texi (Tools for Compilation): Say that we do.
5392         * configure: Regenerated.
5394         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
5395         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
5396         * scripts/sysd-rules.awk: ... this new script.
5397         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
5398         than a glob-style pattern.
5400 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
5402         * math/test-misc.c (main): Do not treat incorrectly rounded
5403         conversions as failure unless ROUNDING_TESTS passes.
5405 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
5407         [BZ #15631]
5408         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
5409         restore exception state around main square root computation, then
5410         check for inexactness explicitly.
5412         * math/libm-test.inc (fma_test_data): Add another test.
5414 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5416         * manual/threads.texi (Non-POSIX Extensions): New document
5417         node.  Document pthread_getattr_default_np and
5418         pthread_setattr_default_np.
5420         * Versions.def (libpthread): Add GLIBC_2.18.
5421         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
5422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5423         Likewise.
5424         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5425         Likewise.
5426         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5427         Likewise.
5428         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5429         Likewise.
5430         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
5431         Likewise.
5432         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5433         Likewise.
5434         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5435         Likewise.
5436         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5437         Likewise.
5438         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5439         Likewise.
5441 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5443         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5444         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
5446 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5447             H.J. Lu  <hjl.tools@gmail.com>
5449         [BZ #15627]
5450         * sysdeps/x86_64/rtld-memset.c: Remove file.
5451         * sysdeps/x86_64/rtld-memset.S: New file.
5453 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
5455         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
5456         (test_in_one_mode): Take arguments for whether the rounding mode
5457         is supported for each floating-point type.
5458         (do_test): Pass new arguments to test_in_one_mode using
5459         ROUNDING_TESTS.
5461 2013-06-13  Roland McGrath  <roland@hack.frob.com>
5463         * posix/tst-waitid.c (do_test): Distinguish different instances of
5464         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
5465         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
5466         before entering the kernel for waitpid.
5468 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
5470         * NEWS: Fix note on clock function precision.  Text by Roland
5471         McGrath.
5473 2013-06-13  Roland McGrath  <roland@hack.frob.com>
5475         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
5476         it into place only when and if the sanity check passes.
5478 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
5480         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
5481         output for whether conversion result is exact.  Take argument
5482         indicating whether type is IBM long double.
5483         (round_for_all): Change need_exact field to ibm_ld.
5484         * stdlib/tst-strtod-round.c (struct exactness): New type.
5485         (struct test): Change bool ld_ok field to struct exactness exact.
5486         (TEST): Update all definitions for change to field.
5487         (tests): Regenerate array contents.
5488         (test_in_one_mode): Take pointer to new field instead of old ld_ok
5489         field value.  Check for IBM long double here.
5490         (do_test): Update calls to test_in_one_mode.
5492 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
5494         [BZ #12515]
5495         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
5496         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
5498 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5500         [BZ #15605]
5501         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
5502         generated by the compiler on loop optimizations.
5503         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
5504         general definitions.
5506 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
5508         * math/bug-nextafter.c: Include <math-tests.h>.
5509         (main): Only test for exceptions if EXCEPTION_TESTS is true for
5510         the relevant type.
5511         * math/bug-nexttoward.c: Include <math-tests.h>.
5512         (main): Only test for exceptions if EXCEPTION_TESTS is true for
5513         the relevant type.
5514         * math/test-misc.c: Include <math-tests.h>.
5515         (main): Only test for exceptions if EXCEPTION_TESTS is true for
5516         the relevant type.
5518 2013-06-12  Andreas Jaeger  <aj@suse.de>
5520         * po/ia.po: Update Interlingua translation from translation
5521         project.
5523 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5525         * include/fenv.h: Include stdbool.h.
5526         (struct rm_ctx): New structure.
5527         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
5528         Define macro.
5529         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
5530         (SET_RESTORE_ROUNDF): Likewise.
5531         (SET_RESTORE_ROUNDL): Likewise.
5532         (SET_RESTORE_ROUND_NOEX): Likewise.
5533         (SET_RESTORE_ROUND_NOEXF): Likewise.
5534         (SET_RESTORE_ROUND_NOEXL): Likewise.
5535         (SET_RESTORE_ROUND_53BIT): Likewise.
5536         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
5537         (libc_feresetround_noexf_ctx): Likewise.
5538         (libc_feresetround_noexl_ctx): Likewise.
5539         (libc_feholdsetround_53bit_ctx): Likewise.
5540         (libc_feresetround_53bit_ctx): Likewise.
5541         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
5542         (libc_feholdexcept_setround_sse_ctx): New function.
5543         (libc_fesetenv_sse_ctx): Likewise.
5544         (libc_feupdateenv_sse_ctx): Likewise.
5545         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
5546         (libc_feholdexcept_setround_387_ctx): Likewise.
5547         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
5548         (libc_feholdsetround_387_prec_ctx): Likewise.
5549         (libc_feholdsetround_387_ctx): Likewise.
5550         (libc_feholdsetround_387_53bit_ctx): Likewise.
5551         (libc_feholdsetround_sse_ctx): Likewise.
5552         (libc_feresetround_sse_ctx): Likewise.
5553         (libc_feresetround_387_ctx): Likewise.
5554         (libc_feupdateenv_387_ctx): Likewise.
5555         (libc_feholdexcept_setroundf_ctx): Define macro.
5556         (libc_fesetenvf_ctx): Likewise.
5557         (libc_feupdateenvf_ctx): Likewise.
5558         (libc_feholdsetroundf_ctx): Likewise.
5559         (libc_feresetroundf_ctx): Likewise.
5560         (libc_feholdexcept_setround_ctx): Likewise.
5561         (libc_fesetenv_ctx): Likewise.
5562         (libc_feupdateenv_ctx): Likewise.
5563         (libc_feholdsetround_ctx): Likewise.
5564         (libc_feresetround_ctx): Likewise.
5565         (libc_feholdexcept_setroundl_ctx): Likewise.
5566         (libc_feupdateenvl_ctx): Likewise.
5567         (libc_feholdsetroundl_ctx): Likewise.
5568         (libc_feresetroundl_ctx): Likewise.
5569         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
5570         (libc_feresetround_53bit_ctx): Likewise.
5572 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5574         * locale/iso-639.def: Convert to UTF-8.
5576 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
5578         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
5579         (EXCEPTION_TESTS_double): Likewise.
5580         (EXCEPTION_TESTS_long_double): Likewise.
5581         (EXCEPTION_TESTS): Likewise.
5582         * math/libm-test.inc (test_exceptions): Only test exceptions if
5583         EXCEPTION_TESTS (FLOAT).
5585 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5587         * benchtests/Makefile (string-bench): Add strcpy_chk and
5588         stpcpy_chk.
5589         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
5590         * benchtests/bench-stpcpy_chk.c: New file.
5591         * benchtests/bench-strcpy_chk-ifunc.c: New file.
5592         * benchtests/bench-strcpy_chk.c: New file.
5593         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
5594         code.
5595         (do_test): Likewise.
5597 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5599         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
5600         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
5601         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
5602         with tabs where appropriate.
5603         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
5604         dl-procinfo.h.
5605         [PPC_PLATFORM_PPC440]: Likewise.
5606         [PPC_PLATFORM_PPC464]: Likewise.
5607         [PPC_PLATFORM_PPC476]: Likewise.
5608         (_dl_string_platform): Add support for detecting ppc405, ppc440,
5609         ppc464, and ppc476 platform strings merging from ports/
5610         dl-procinfo.h.
5612 2013-06-11  Andreas Schwab  <schwab@suse.de>
5614         [BZ #14991]
5615         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
5616         (from_ucs4_idx): Regenerate.
5617         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
5618         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
5619         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
5620         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
5621         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
5622         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
5623         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
5624         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
5625         from FROM_LOOP and TO_LOOP specific macros.
5626         (BODY): Handle combining characters.
5627         * iconvdata/BIG5HKSCS.irreversible: Update.
5628         * iconvdata/BIG5HKSCS.precomposed: New file.
5629         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
5630         characters.
5631         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
5633 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5635         * include/sys/time.h: Fix indentation and add copyright header.
5637         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
5638         (do_test): Likewise.
5639         * string/test-memchr.c (do_one_test): Likewise.
5640         (do_test): Likewise.
5641         * string/test-memcmp.c (do_one_test): Likewise.
5642         (do_test): Likewise.
5643         * string/test-memcpy.c (do_one_test): Likewise.
5644         (do_test): Likewise.
5645         * string/test-memmem.c (do_one_test): Likewise.
5646         (do_test): Likewise.
5647         (do_random_tests): Likewise.
5648         * string/test-memmove.c (do_one_test): Likewise.
5649         (do_test): Likewise.
5650         * string/test-memset.c (do_one_test): Likewise.
5651         (do_test): Likewise.
5652         * string/test-rawmemchr.c (do_one_test): Likewise.
5653         (do_test): Likewise.
5654         * string/test-strcasecmp.c (do_one_test): Likewise.
5655         (do_test): Likewise.
5656         * string/test-strcasestr.c (do_one_test): Likewise.
5657         (do_test): Likewise.
5658         * string/test-strcat.c (do_one_test): Likewise.
5659         (do_test): Likewise.
5660         * string/test-strchr.c (do_one_test): Likewise.
5661         (do_test): Likewise.
5662         * string/test-strcmp.c (do_one_test): Likewise.
5663         (do_test): Likewise.
5664         * string/test-strcpy.c (do_one_test): Likewise.
5665         (do_test): Likewise.
5666         * string/test-string.h: Likewise.
5667         (test_init): Likewise.
5668         * string/test-strlen.c (do_one_test): Likewise.
5669         (do_test): Likewise.
5670         * string/test-strncasecmp.c (do_one_test): Likewise.
5671         (do_test): Likewise.
5672         * string/test-strncat.c (do_one_test): Likewise.
5673         (do_test): Likewise.
5674         * string/test-strncmp.c (do_one_test): Likewise.
5675         (do_test_limit): Likewise.
5676         (do_test): Likewise.
5677         * string/test-strncpy.c (do_one_test): Likewise.
5678         (do_test): Likewise.
5679         * string/test-strnlen.c (do_one_test): Likewise.
5680         (do_test): Likewise.
5681         * string/test-strpbrk.c (do_one_test): Likewise.
5682         (do_test): Likewise.
5683         * string/test-strrchr.c (do_one_test): Likewise.
5684         (do_test): Likewise.
5685         * string/test-strspn.c (do_one_test): Likewise.
5686         (do_test): Likewise.
5687         * string/test-strstr.c (do_one_test): Likewise.
5688         (do_test): Likewise.
5690         * benchtests/Makefile (string-bench): Add string benchmarks.
5691         * benchtests/bench-bcopy-ifunc.c: New file.
5692         * benchtests/bench-bcopy.c: New file.
5693         * benchtests/bench-bzero-ifunc.c: New file.
5694         * benchtests/bench-bzero.c: New file.
5695         * benchtests/bench-memccpy-ifunc.c: New file.
5696         * benchtests/bench-memccpy.c: New file.
5697         * benchtests/bench-memchr-ifunc.c: New file.
5698         * benchtests/bench-memchr.c: New file.
5699         * benchtests/bench-memcmp-ifunc.c: New file.
5700         * benchtests/bench-memcmp.c: New file.
5701         * benchtests/bench-memmem-ifunc.c: New file.
5702         * benchtests/bench-memmem.c: New file.
5703         * benchtests/bench-memmove-ifunc.c: New file.
5704         * benchtests/bench-memmove.c: New file.
5705         * benchtests/bench-mempcpy-ifunc.c: New file.
5706         * benchtests/bench-mempcpy.c: New file.
5707         * benchtests/bench-memset-ifunc.c: New file.
5708         * benchtests/bench-memset.c: New file.
5709         * benchtests/bench-rawmemchr-ifunc.c: New file.
5710         * benchtests/bench-rawmemchr.c: New file.
5711         * benchtests/bench-stpcpy-ifunc.c: New file.
5712         * benchtests/bench-stpcpy.c: New file.
5713         * benchtests/bench-stpncpy-ifunc.c: New file.
5714         * benchtests/bench-stpncpy.c: New file.
5715         * benchtests/bench-strcasecmp-ifunc.c: New file.
5716         * benchtests/bench-strcasecmp.c: New file.
5717         * benchtests/bench-strcasestr-ifunc.c: New file.
5718         * benchtests/bench-strcasestr.c: New file.
5719         * benchtests/bench-strcat-ifunc.c: New file.
5720         * benchtests/bench-strcat.c: New file.
5721         * benchtests/bench-strchr-ifunc.c: New file.
5722         * benchtests/bench-strchr.c: New file.
5723         * benchtests/bench-strchrnul-ifunc.c: New file.
5724         * benchtests/bench-strchrnul.c: New file.
5725         * benchtests/bench-strcmp-ifunc.c: New file.
5726         * benchtests/bench-strcmp.c: New file.
5727         * benchtests/bench-strcpy-ifunc.c: New file.
5728         * benchtests/bench-strcpy.c: New file.
5729         * benchtests/bench-strcspn-ifunc.c: New file.
5730         * benchtests/bench-strcspn.c: New file.
5731         * benchtests/bench-strlen-ifunc.c: New file.
5732         * benchtests/bench-strlen.c: New file.
5733         * benchtests/bench-strncasecmp-ifunc.c: New file.
5734         * benchtests/bench-strncasecmp.c: New file.
5735         * benchtests/bench-strncat-ifunc.c: New file.
5736         * benchtests/bench-strncat.c: New file.
5737         * benchtests/bench-strncmp-ifunc.c: New file.
5738         * benchtests/bench-strncmp.c: New file.
5739         * benchtests/bench-strncpy-ifunc.c: New file.
5740         * benchtests/bench-strncpy.c: New file.
5741         * benchtests/bench-strnlen-ifunc.c: New file.
5742         * benchtests/bench-strnlen.c: New file.
5743         * benchtests/bench-strpbrk-ifunc.c: New file.
5744         * benchtests/bench-strpbrk.c: New file.
5745         * benchtests/bench-strrchr-ifunc.c: New file.
5746         * benchtests/bench-strrchr.c: New file.
5747         * benchtests/bench-strspn-ifunc.c: New file.
5748         * benchtests/bench-strspn.c: New file.
5749         * benchtests/bench-strstr-ifunc.c: New file.
5750         * benchtests/bench-strstr.c: New file.
5752         * benchtests/Makefile: Disable parallel execution of targets.
5753         (string-bench): Add memcpy.
5754         (benchset): New variable to store a list of benchmark sets.
5755         (bench-func): Renamed from bench.
5756         (bench-set): New target.
5757         (bench): Depend on bench-func and bench-set.
5758         * benchtests/README: Add section on benchmark sets.
5759         * benchtests/bench-memcpy-ifunc.c: New file.
5760         * benchtests/bench-memcpy.c: New file.
5761         * benchtests/bench-string.h: New file.
5763 2013-06-11  Andreas Schwab  <schwab@suse.de>
5765         [BZ #15577]
5766         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
5767         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
5768         values in the triple.
5769         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
5770         terminator in the group key.
5772 2013-06-11  Andreas Jaeger  <aj@suse.de>
5774         * po/zh_TW.po: Update Chinese (traditional) translation from
5775         translation project.
5777 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5779         * include/time.h (__clock_gettime): Add libc_hidden_proto.
5780         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
5781         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
5782         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5783         (clock_getcpuclockid): Likewise.
5784         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
5785         Add weak_alias and libc_hidden_def.
5786         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
5787         * rt/clock_gettime.c (clock_gettime): Rename to
5788         __clock_gettime.  Add weak_alias and libc_hidden_def.
5789         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
5790         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
5791         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
5792         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
5793         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
5794         Likewise.
5795         * rt/clock_settime.c (clock_settime): Rename to
5796         __clock_settime.  Add weak_alias and libc_hidden_def.
5797         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
5799 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
5801         * mach/err_boot.sub: Remove trailing whitespace.
5802         * mach/err_ipc.sub: Likewise.
5803         * mach/err_mach.sub: Likewise.
5805         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
5806         (ROUNDING_TESTS_double): Likewise.
5807         (ROUNDING_TESTS_long_double): Likewise.
5808         (ROUNDING_TESTS): Likewise.
5809         * math/libm-test.inc: Include <math-tests.h>.
5810         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
5811         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5812         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5813         (IF_ROUND_INIT_FE_UPWARD): Likewise.
5815 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5817         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
5818         of assigning.
5820 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
5822         * sysdeps/gnu/errlist.awk: Do not generate space at end of
5823         otherwise empty TRANS lines.
5824         * sysdeps/gnu/errlist.c: Regenerated.
5826         * catgets/gencat.c (error_print): Use (void) in function
5827         definition.
5828         * crypt/crypt_util.c (__init_des): Likewise.
5829         * crypt/speeds.c (Stop): Likewise.
5830         (main): Likewise.
5831         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
5832         * inet/ruserpass.c (token): Likewise.
5833         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
5834         * intl/localealias.c (extend_alias_table): Likewise.
5835         * intl/plural-exp.c (init_germanic_plural): Likewise.
5836         * libio/fcloseall.c (__fcloseall): Likewise.
5837         * libio/genops.c (_IO_flush_all): Likewise.
5838         (_IO_flush_all_linebuffered): Likewise.
5839         (_IO_cleanup): Likewise.
5840         (_IO_iter_begin): Likewise.
5841         (_IO_iter_end): Likewise.
5842         (_IO_list_lock): Likewise.
5843         (_IO_list_unlock): Likewise.
5844         (_IO_list_resetlock): Likewise.
5845         * libio/getchar.c (getchar): Likewise.
5846         * libio/getchar_u.c (getchar_unlocked): Likewise.
5847         * libio/getwchar.c (getwchar): Likewise.
5848         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
5849         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
5850         * login/getpt.c (__getpt): Likewise.
5851         * login/tst-utmp.c (main): Likewise.
5852         * malloc/hooks.c (__malloc_check_init): Likewise.
5853         * malloc/malloc.c (__malloc_stats): Likewise.
5854         * malloc/mtrace.c (tr_break): Likewise.
5855         (mtrace): Likewise.
5856         (muntrace): Likewise.
5857         * misc/fstab.c (endfsent): Likewise.
5858         * misc/getclktck.c (__getclktck): Likewise.
5859         * misc/getdtsz.c (__getdtablesize): Likewise.
5860         * misc/gethostid.c (gethostid): Likewise.
5861         * misc/getpagesize.c (__getpagesize): Likewise.
5862         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
5863         (__get_nprocs): Likewise.
5864         (__get_phys_pages): Likewise.
5865         (__get_avphys_pages): Likewise.
5866         * misc/getttyent.c (getttyent): Likewise.
5867         (setttyent): Likewise.
5868         (endttyent): Likewise.
5869         * misc/getusershell.c (getusershell): Likewise.
5870         (endusershell): Likewise.
5871         (setusershell): Likewise.
5872         (initshells): Likewise.
5873         * misc/hsearch.c (__hdestroy): Likewise.
5874         * misc/sync.c (sync): Likewise.
5875         * misc/syslog.c (closelog_internal): Likewise.
5876         (closelog): Likewise.
5877         * misc/ttyslot.c (ttyslot): Likewise.
5878         * misc/vhangup.c (vhangup): Likewise.
5879         * posix/fork.c (__fork): Likewise.
5880         * posix/getegid.c (__getegid): Likewise.
5881         * posix/geteuid.c (__geteuid): Likewise.
5882         * posix/getgid.c (__getgid): Likewise.
5883         * posix/getpid.c (__getpid): Likewise.
5884         * posix/getppid.c (__getppid): Likewise.
5885         * posix/getuid.c (__getuid): Likewise.
5886         * posix/pause.c (pause): Likewise.
5887         * posix/setpgrp.c (setpgrp): Likewise.
5888         * posix/setsid.c (__setsid): Likewise.
5889         * posix/test-vfork.c (noop): Likewise.
5890         * resolv/gethnamaddr.c (_endhtent): Likewise.
5891         (_gethtent): Likewise.
5892         (ht_endhostent): Likewise.
5893         (gethostent): Likewise.
5894         (dns_service): Likewise.
5895         * stdlib/drand48.c (drand48): Likewise.
5896         * stdlib/lrand48.c (lrand48): Likewise.
5897         * stdlib/mrand48.c (mrand48): Likewise.
5898         * stdlib/rand.c (rand): Likewise.
5899         * stdlib/random.c (__random): Likewise.
5900         * stdlib/setenv.c (clearenv): Likewise.
5901         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
5902         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
5903         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
5904         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
5905         (__get_nprocs): Likewise.
5906         (__get_phys_pages): Likewise.
5907         (__get_avphys_pages): Likewise.
5908         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
5909         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
5910         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
5911         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
5912         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
5913         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
5914         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
5915         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
5916         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
5917         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
5918         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
5919         * sysdeps/mach/hurd/sync.c (sync): Likewise.
5920         * sysdeps/posix/clock.c (clock): Likewise.
5921         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
5922         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
5923         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
5924         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
5925         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
5926         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
5927         (__get_nprocs_conf): Likewise.
5928         (__get_phys_pages): Likewise.
5929         (__get_avphys_pages): Likewise.
5930         * time/clock.c (clock): Likewise.
5931         * time/tzset.c (__tzname_max): Likewise.
5933 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
5935         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
5936         (__bswap_32): Do not use "register".
5937         * crypt/crypt.c (_ufc_doit_r): Likewise.
5938         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5939         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5940         * gmon/gmon.c (__monstartup): Likewise.
5941         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
5942         * hurd/hurdmalloc.c (more_memory): Likewise.
5943         (malloc): Likewise.
5944         (free): Likewise.
5945         (realloc): Likewise.
5946         (malloc_fork_prepare): Likewise.
5947         (malloc_fork_parent): Likewise.
5948         (malloc_fork_child): Likewise.
5949         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
5950         (_svcauth_des): Likewise.
5951         * inet/inet_lnaof.c (inet_lnaof): Likewise.
5952         * inet/inet_net.c (inet_network): Likewise.
5953         * inet/inet_netof.c (inet_netof): Likewise.
5954         * inet/rcmd.c (__validuser2_sa): Likewise.
5955         * io/fts.c (fts_open): Likewise.
5956         (fts_load): Likewise.
5957         (fts_close): Likewise.
5958         (fts_read): Likewise.
5959         (fts_children): Likewise.
5960         (fts_build): Likewise.
5961         (fts_stat): Likewise.
5962         (fts_sort): Likewise.
5963         (fts_alloc): Likewise.
5964         (fts_lfree): Likewise.
5965         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
5966         (_IO_file_xsgetn): Likewise.
5967         (_IO_file_xsgetn_mmap): Likewise.
5968         * libio/iofopncook.c (_IO_cookie_read): Likewise.
5969         (_IO_cookie_write): Likewise.
5970         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
5971         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
5972         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
5973         * malloc/obstack.c (_obstack_begin): Likewise.
5974         (_obstack_begin_1): Likewise.
5975         (_obstack_newchunk): Likewise.
5976         (_obstack_allocated_p): Likewise.
5977         (obstack_free): Likewise.
5978         (_obstack_memory_used): Likewise.
5979         * misc/getttyent.c (getttynam): Likewise.
5980         (getttyent): Likewise.
5981         (skip): Likewise.
5982         (value): Likewise.
5983         * misc/getusershell.c (initshells): Likewise.
5984         * misc/syslog.c (__vsyslog_chk): Likewise.
5985         * misc/ttyslot.c (ttyslot): Likewise.
5986         * nis/nis_hash.c (__nis_hash): Likewise.
5987         * posix/fnmatch_loop.c (FCT): Likewise.
5988         * posix/getconf.c (print_all): Likewise.
5989         (main): Likewise.
5990         * posix/getopt.c (exchange): Likewise.
5991         * posix/glob.c (globfree): Likewise.
5992         (prefix_array): Likewise.
5993         (__glob_pattern_type): Likewise.
5994         * resolv/arpa/nameser.h (NS_GET16): Likewise.
5995         (NS_GET32): Likewise.
5996         (NS_PUT16): Likewise.
5997         (NS_PUT32): Likewise.
5998         * resolv/gethnamaddr.c (getanswer): Likewise.
5999         (gethostbyname2): Likewise.
6000         (gethostbyaddr): Likewise.
6001         (_gethtent): Likewise.
6002         (_gethtbyname2): Likewise.
6003         (_gethtbyaddr): Likewise.
6004         * resolv/ns_print.c (dst_s_get_int16): Likewise.
6005         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
6006         * resolv/res_init.c (__res_vinit): Likewise.
6007         (net_mask): Likewise.
6008         * resolv/res_mkquery.c (outchar): Likewise.
6009         (PRINT): Likewise.
6010         * stdio-common/printf_fp.c (outchar): Likewise.
6011         (PRINT): Likewise.
6012         * stdio-common/printf_fphex.c (outchar): Likewise.
6013         (PRINT): Likewise.
6014         * stdio-common/printf_size.c (outchar): Likewise.
6015         (PRINT): Likewise.
6016         * stdio-common/test_rdwr.c (main): Likewise.
6017         * stdio-common/tfformat.c (matches): Likewise.
6018         * stdio-common/vfprintf.c (outchar): Likewise.
6019         (printf_unknown): Likewise.
6020         (buffered_vfprintf): Likewise.
6021         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
6022         * stdio-common/xbug.c (AppendToBuffer): Likewise.
6023         (ReadFile): Likewise.
6024         * stdlib/qsort.c (SWAP): Likewise.
6025         (_quicksort): Likewise.
6026         * stdlib/setenv.c (__add_to_environ): Likewise.
6027         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
6028         * stdlib/strtol_l.c (__strtol_l): Likewise.
6029         * stdlib/tst-strtod.c (main): Likewise.
6030         * stdlib/tst-strtol.c (main): Likewise.
6031         * stdlib/tst-strtoll.c (main): Likewise.
6032         * string/bits/string2.h (__strcmp_cc): Likewise.
6033         (__strcmp_cg): Likewise.
6034         (__strcspn_c1): Likewise.
6035         (__strcspn_c2): Likewise.
6036         (__strcspn_c3): Likewise.
6037         (__strspn_c1): Likewise.
6038         (__strspn_c2): Likewise.
6039         (__strspn_c3): Likewise.
6040         (__strsep_1c): Likewise.
6041         (__strsep_2c): Likewise.
6042         (__strsep_3c): Likewise.
6043         * string/memccpy.c (__memccpy): Likewise.
6044         * string/stpcpy.c (__stpcpy): Likewise.
6045         * string/strcmp.c (strcmp): Likewise.
6046         * string/strrchr.c (strrchr): Likewise.
6047         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
6048         Likewise.
6049         * sysdeps/mach/hurd/getcwd.c
6050         (_hurd_canonicalize_directory_name_internal): Likewise.
6051         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
6052         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
6053         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
6054         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
6055         Likewise, in both definitions.
6056         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
6057         definitions.
6058         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
6059         64] (__bswap_64): Likewise.
6060         * time/test_time.c (main): Likewise.
6061         * time/tzfile.c (__tzfile_read): Likewise.
6062         (__tzfile_compute): Likewise.
6063         * time/tzset.c (__tzset_parse_tz): Likewise.
6064         (tzset_internal): Likewise.
6065         (compute_change): Likewise.
6066         * wcsmbs/wcscat.c (__wcscat): Likewise.
6067         * wcsmbs/wcschr.c (wcschr): Likewise.
6068         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6069         * wcsmbs/wcscspn.c (wcscspn): Likewise.
6070         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6071         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
6072         * wcsmbs/wcsspn.c (wcsspn): Likewise.
6073         * wcsmbs/wcsstr.c (wcsstr): Likewise.
6074         * wcsmbs/wmemchr.c (wmemchr): Likewise.
6075         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6076         * wcsmbs/wmemset.c (wmemset): Likewise.
6078 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
6080         * scripts/config.guess: Update to version 2013-05-16.
6081         * scripts/config.sub: Update to version 2013-04-24.
6082         * scripts/install-sh: Update to version 2011-11-20.07.
6083         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
6084         * scripts/move-if-change: Update to version 2012-01-06 07:23.
6086 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
6088         * debug/fgetws_u_chk.c: Fix leading whitespaces.
6089         * elf/sln.c: Likewise.
6090         * hurd/hurd/ioctl.h: Likewise.
6091         * hurd/hurdmalloc.c: Likewise.
6092         * hurd/xattr.c: Likewise.
6093         * include/shlib-compat.h: Likewise.
6094         * inet/ruserpass.c: Likewise.
6095         * libio/iofgets_u.c: Likewise.
6096         * libio/iofgetws_u.c: Likewise.
6097         * locale/programs/ld-identification.c: Likewise.
6098         * locale/programs/ld-time.c: Likewise.
6099         * mach/msg-destroy.c: Likewise.
6100         * nss/nss_files/files-netgrp.c: Likewise.
6101         * resolv/res_data.c: Likewise.
6102         * soft-fp/op-1.h: Likewise.
6103         * soft-fp/op-2.h: Likewise.
6104         * soft-fp/op-4.h: Likewise.
6105         * soft-fp/op-common.h: Likewise.
6106         * stdio-common/printf_fphex.c: Likewise.
6107         * stdlib/strtod_l.c: Likewise.
6108         * sunrpc/rpc/clnt.h: Likewise.
6109         * sysdeps/generic/framestate.c: Likewise.
6110         * sysdeps/i386/bsd-_setjmp.S: Likewise.
6111         * sysdeps/i386/bsd-setjmp.S: Likewise.
6112         * sysdeps/i386/__longjmp.S: Likewise.
6113         * sysdeps/i386/setjmp.S: Likewise.
6114         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6115         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6116         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6117         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6118         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6119         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6120         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6121         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6122         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6123         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6124         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6125         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6126         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6127         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6128         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6129         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6130         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6131         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
6132         * sysdeps/ieee754/support.c: Likewise.
6133         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6134         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
6135         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
6136         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
6137         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
6138         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
6139         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
6140         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
6141         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
6142         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
6143         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
6144         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
6145         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
6146         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
6147         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
6148         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
6149         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6152 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
6154         * posix/transbug.c: Remove executable mode.
6156 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
6158         * crypt/speeds.c: Remove trailing whitespace.
6159         * dlfcn/default.c: Likewise.
6160         * elf/ifuncdep2.c: Likewise.
6161         * elf/ifuncmain1.c: Likewise.
6162         * elf/ifuncmain1vis.c: Likewise.
6163         * elf/testobj.h: Likewise.
6164         * elf/tst-stackguard1.c: Likewise.
6165         * gmon/sys/gmon.h: Likewise.
6166         * hurd/hurdmsg.c: Likewise.
6167         * hurd/new-fd.c: Likewise.
6168         * hurd/ports-get.c: Likewise.
6169         * iconvdata/ibm1008_420.c: Likewise.
6170         * inet/tst-getni1.c: Likewise.
6171         * inet/tst-getni2.c: Likewise.
6172         * libio/ioungetc.c: Likewise.
6173         * libio/wfiledoalloc.c: Likewise.
6174         * manual/libm-err-tab.pl: Likewise.
6175         * math/w_dremf.c: Likewise.
6176         * misc/ftruncate.c: Likewise.
6177         * posix/bug-glob2.c: Likewise.
6178         * posix/tst-pcre.c: Likewise.
6179         * posix/wait4.c: Likewise.
6180         * resolv/README: Likewise.
6181         * resolv/res_debug.h: Likewise.
6182         * resolv/tst-inet_ntop.c: Likewise.
6183         * setjmp/bug269-setjmp.c: Likewise.
6184         * soft-fp/extended.h: Likewise.
6185         * soft-fp/op-1.h: Likewise.
6186         * soft-fp/op-2.h: Likewise.
6187         * soft-fp/op-4.h: Likewise.
6188         * soft-fp/op-8.h: Likewise.
6189         * soft-fp/testit.c: Likewise.
6190         * stdio-common/bug16.c: Likewise.
6191         * stdlib/random.c: Likewise.
6192         * sunrpc/rpcsvc/rquota.x: Likewise.
6193         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
6194         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6195         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6196         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6197         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6198         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6199         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6200         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6201         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6202         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6203         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6204         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6205         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6206         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6207         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6208         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6209         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6210         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6211         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6212         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6213         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6214         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6215         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6216         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6217         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6218         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6219         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6220         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6221         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6222         * sysdeps/ieee754/s_lib_version.c: Likewise.
6223         * sysdeps/mach/hurd/check_fds.c: Likewise.
6224         * sysdeps/mach/hurd/getsockname.c: Likewise.
6225         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
6226         * sysdeps/mach/hurd/recvfrom.c: Likewise.
6227         * sysdeps/powerpc/bits/link.h: Likewise.
6228         * sysdeps/powerpc/dl-procinfo.c: Likewise.
6229         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
6230         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
6231         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
6232         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6233         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6234         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
6235         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6236         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
6237         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6238         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6239         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6240         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
6241         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6242         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6243         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6244         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6245         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6246         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6247         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6248         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6249         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
6250         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6251         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6252         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
6253         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6254         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6255         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6256         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6257         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6258         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6259         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6260         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6261         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6262         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
6263         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6264         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
6265         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6266         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6267         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
6268         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
6269         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
6270         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
6271         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
6272         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6273         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
6274         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
6275         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6276         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
6277         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
6278         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6279         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6280         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6281         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6282         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
6283         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6284         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6285         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6286         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
6287         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6288         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
6289         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
6290         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6291         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6292         * sysdeps/powerpc/sysdep.h: Likewise.
6293         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6294         * sysdeps/s390/s390-64/sub_n.S: Likewise.
6295         * sysdeps/sh/dl-trampoline.S: Likewise.
6296         * sysdeps/sh/memset.S: Likewise.
6297         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
6298         * sysdeps/sh/strlen.S: Likewise.
6299         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
6300         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
6301         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
6302         * sysdeps/sparc/sparc32/rem.S: Likewise.
6303         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
6304         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
6305         * sysdeps/sparc/sparc32/strchr.S: Likewise.
6306         * sysdeps/sparc/sparc32/udiv.S: Likewise.
6307         * sysdeps/sparc/sparc32/urem.S: Likewise.
6308         * sysdeps/sparc/sparc64/add_n.S: Likewise.
6309         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6310         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6311         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
6312         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
6313         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6314         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6315         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6316         * sysdeps/unix/bsd/times.c: Likewise.
6317         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
6318         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
6319         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6321         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6322         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6323         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6324         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6325         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
6326         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
6327         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
6328         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6329         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6330         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6331         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6332         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6333         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6334         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
6335         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
6336         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
6337         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6338         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
6339         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6340         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
6341         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
6342         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6343         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
6344         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6345         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
6346         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
6347         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
6348         * sysdeps/x86_64/strcspn.S: Likewise.
6350 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6352         * locale/C-translit.h: Revert #include <stdint.h> because this is a
6353         generated file.  Regenerate properly from gen-translit.pl.
6354         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
6355         locale/C-translit.h.
6357 2013-06-05  Andreas Schwab  <schwab@suse.de>
6359         [BZ #15100]
6360         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
6361         week as 6 instead of -1.
6362         * time/tst-strptime.c (day_tests): Add test case.
6364 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
6366         * sysdeps/generic/math_private.h
6367         (libc_feholdexcept_setround_53bit): Replace with
6368         libc_feholdsetround_53bit.
6369         (libc_feupdateenv_53bit): Replace with
6370         libc_feresetround_53bit.
6371         (SET_RESTORE_ROUND_53BIT): Adjust.
6373 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
6375         * string/test-strchrnul.c: Add copyright header.
6377         * posix/tst-getaddrinfo4.c: Increase test timeout.
6379 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
6381         [BZ #15536]
6382         * math/libm-test.inc (MAX_EXP): Remove
6383         (MIN_EXP): Define.
6384         (ulp): Use MIN_EXP - MANT_DIG.
6385         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
6387 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
6389         * po/be.po: Revert last change.
6390         * po/zh_CN.po: Likewise.
6391         * po/header.pot: Likewise.
6393 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
6395         * Makefile ($(common-objpfx)linkobj/libc.so): Define
6396         link-libc-deps to empty as target-specific variable.
6397         * Makerules (link-libc-args): New variable.
6398         (libc-for-link): Likewise.
6399         (link-libc-deps): Likewise.
6400         (lib%.so): Depend on $(link-libc-deps).  Link with
6401         $(link-libc-args).
6402         (build-module): Link with $(link-libc-args).
6403         (build-module-asneeded): Likewise.
6404         (build-module-helper-objlist): Filter out $(link-libc-deps) from
6405         list of objects.
6406         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
6407         target-specific variable.
6408         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
6409         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
6410         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
6411         libc.
6412         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
6413         libc and ld.so.
6414         ($(objpfx)libpcprofile.so): Likewise.
6415         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
6416         libc_nonshared.a.
6417         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
6418         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
6419         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
6420         $(link-libc-deps).
6421         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
6422         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
6423         * login/Makefile ($(objpfx)libutil.so): Likewise.
6424         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
6425         * math/Makefile ($(objpfx)libm.so): Likewise.
6426         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
6427         $(objpfx)libnsl.so): Define libc-for-link as target-specific
6428         variable instead of depending directly on libc.
6429         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
6430         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
6431         $(link-libc-deps).
6432         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
6433         libc.
6434         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
6435         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
6436         ($(objpfx)libanl.so): Likewise.
6437         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
6438         ld.so.
6439         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
6440         $(link-libc-deps).
6441         * sysdeps/i386/fpu/Makefile: Remove file.
6442         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
6443         ($(objpfx)libm.so): Remove dependency on ld.so.
6445 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
6447         [BZ # 15553]
6448         * nis/yp_xdr.c (XDRMAXNAME): Define.
6449         (XDRMAXRECORD): Define.
6450         (xdr_domainname): Use XDRMAXNAME.
6451         (xdr_mapname): Likewise.
6452         (xdr_peername): Likewise.
6453         (xdr_keydat): Use XDRMAXRECORD.
6454         (xdr_valdat): Likewise.
6456 2013-05-30  Jeff Law  <law@redhat.com>
6458         [BZ #14256]
6459         * manual/errno.texi (ESTALE): Update to account for more than
6460         just NFS file systems.
6461         * sysdeps/gnu/errlist.c: Regenerated.
6463 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6465         [BZ #15465]
6466         * elf/Makefile (tests): Add tst-null-argv.
6467         (modules-names):  Add tst-null-argv-lib.
6468         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
6469         (tst-null-argv-ENV): Set environment for tst-null-argv.
6470         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
6471         (RTLD_PROGNAME): New macro.
6472         * elf/tst-null-argv.c: New test case.
6473         * elf/tst-null-argv-lib.c: Library for test case.
6474         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
6475         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6476         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
6477         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
6478         * elf/dl-init.c (call_init): Likewise.
6479         (_dl_init): Likewise.
6480         * elf/dl-load.c (print_search_path): Likewise.
6481         (_dl_map_object): Likewise.
6482         * elf/dl-lookup.c (do_lookup_x): Likewise.
6483         (add_dependency): Likewise.
6484         (_dl_lookup_symbol_x): Likewise.
6485         (_dl_debug_bindings): Likewise.
6486         * elf/dl-open.c (_dl_show_scope): Likewise.
6487         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6488         * elf/dl-version.c (match_symbol): Likewise.
6489         (_dl_check_map_versions): Likewise.
6490         * elf/rtld.c (dl_main): Likewise.
6491         (print_unresolved): Use RTLD_PROGNAME.
6492         (print_missing_version): Likewise.
6493         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6494         (elf_machine_rela): Likewise.
6495         * sysdeps/powerpc/powerpc32/dl-machine.c
6496         (__process_machine_rela): Likewise.
6497         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6498         Likewise.
6499         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6500         Likewise.
6501         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6502         Likewise.
6503         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6504         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
6505         Likewise.
6506         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
6507         Likewise.
6508         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6510 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
6512         * po/be.po: Add descriptive title.
6513         * po/zh_CN.po: Likewise.
6514         * po/header.pot: Likewise.
6516 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
6518         * locale/programs/locarchive.c (create_archive): Inlucde fname in
6519         error message.
6520         (enlarge_archive): Likewise.
6522 2013-05-28  Ben North  <ben@redfrontdoor.org>
6524         * manual/arith.texi (frexp): It is the magnitude of the return
6525         value which lies in [0.5, 1), not the return value itself.
6527 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6529         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6531 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
6533         * stdio-common/bug26.c (main): Correct fscanf template.
6535         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
6536         declare _dl_skip_args.
6538         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
6539         Don't declare.
6541         * manual/platform.texi: Add missing @end deftypefun.
6543 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
6545         [BZ #15529]
6546         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
6547         bit of mantissa of 2^16382.
6548         * math/libm-test.inc (hypot_test_data): Add more tests.
6550         * math/libm-test.inc: Add drem and pow10 to list of tested
6551         functions.
6552         (pow10_test): New function.
6553         (drem_test): Likewise.
6554         (drem_test_tonearest): Likewise.
6555         (drem_test_towardzero): Likewise.
6556         (drem_test_downward): Likewise.
6557         (drem_test_upward): Likewise.
6558         (main): Call the new functions.
6560         * math/libm-test.inc (finite_test_data): Remove.
6561         (finite_test): Run tests from isfinite_test_data.
6562         (gamma_test_data): Remove.
6563         (gamma_test): Run tests from lgamma_test_data.
6564         * sysdeps/i386/fpu/libm-test-ulps: Update.
6565         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6567 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6569         * manual/platform.texi: Add PowerPC PPR function set documentation.
6570         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
6571         implementation.
6573 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
6575         * math/libm-test.inc (MAX_EXP): Define.
6576         (ULPDIFF): Define.
6577         (ulp): New function.
6578         (check_float_internal): Use ULPDIFF.
6579         (cpow_test): Disable failing test.
6580         (check_ulp): Test ulp() implemetnation.
6581         (main): Call check_ulp before starting tests.
6583 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
6585         * math/gen-libm-test.pl (generate_testfile): Do not handle
6586         START_DATA and END_DATA.
6587         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
6588         END_DATA.
6589         (acos_tonearest_test_data): Likewise.
6590         (acos_towardzero_test_data): Likewise.
6591         (acos_downward_test_data): Likewise.
6592         (acos_upward_test_data): Likewise.
6593         (acosh_test_data): Likewise.
6594         (asin_test_data): Likewise.
6595         (asin_tonearest_test_data): Likewise.
6596         (asin_towardzero_test_data): Likewise.
6597         (asin_downward_test_data): Likewise.
6598         (asin_upward_test_data): Likewise.
6599         (asinh_test_data): Likewise.
6600         (atan_test_data): Likewise.
6601         (atanh_test_data): Likewise.
6602         (atan2_test_data): Likewise.
6603         (cabs_test_data): Likewise.
6604         (cacos_test_data): Likewise.
6605         (cacosh_test_data): Likewise.
6606         (carg_test_data): Likewise.
6607         (casin_test_data): Likewise.
6608         (casinh_test_data): Likewise.
6609         (catan_test_data): Likewise.
6610         (catanh_test_data): Likewise.
6611         (cbrt_test_data): Likewise.
6612         (ccos_test_data): Likewise.
6613         (ccosh_test_data): Likewise.
6614         (ceil_test_data): Likewise.
6615         (cexp_test_data): Likewise.
6616         (cimag_test_data): Likewise.
6617         (clog_test_data): Likewise.
6618         (clog10_test_data): Likewise.
6619         (conj_test_data): Likewise.
6620         (copysign_test_data): Likewise.
6621         (cos_test_data): Likewise.
6622         (cos_tonearest_test_data): Likewise.
6623         (cos_towardzero_test_data): Likewise.
6624         (cos_downward_test_data): Likewise.
6625         (cos_upward_test_data): Likewise.
6626         (cosh_test_data): Likewise.
6627         (cosh_tonearest_test_data): Likewise.
6628         (cosh_towardzero_test_data): Likewise.
6629         (cosh_downward_test_data): Likewise.
6630         (cosh_upward_test_data): Likewise.
6631         (cpow_test_data): Likewise.
6632         (cproj_test_data): Likewise.
6633         (creal_test_data): Likewise.
6634         (csin_test_data): Likewise.
6635         (csinh_test_data): Likewise.
6636         (csqrt_test_data): Likewise.
6637         (ctan_test_data): Likewise.
6638         (ctan_tonearest_test_data): Likewise.
6639         (ctan_towardzero_test_data): Likewise.
6640         (ctan_downward_test_data): Likewise.
6641         (ctan_upward_test_data): Likewise.
6642         (ctanh_test_data): Likewise.
6643         (ctanh_tonearest_test_data): Likewise.
6644         (ctanh_towardzero_test_data): Likewise.
6645         (ctanh_downward_test_data): Likewise.
6646         (ctanh_upward_test_data): Likewise.
6647         (erf_test_data): Likewise.
6648         (erfc_test_data): Likewise.
6649         (exp_test_data): Likewise.
6650         (exp_tonearest_test_data): Likewise.
6651         (exp_towardzero_test_data): Likewise.
6652         (exp_downward_test_data): Likewise.
6653         (exp_upward_test_data): Likewise.
6654         (exp10_test_data): Likewise.
6655         (exp2_test_data): Likewise.
6656         (expm1_test_data): Likewise.
6657         (fabs_test_data): Likewise.
6658         (fdim_test_data): Likewise.
6659         (finite_test_data): Likewise.
6660         (floor_test_data): Likewise.
6661         (fma_test_data): Likewise.
6662         (fma_towardzero_test_data): Likewise.
6663         (fma_downward_test_data): Likewise.
6664         (fma_upward_test_data): Likewise.
6665         (fmax_test_data): Likewise.
6666         (fmin_test_data): Likewise.
6667         (fmod_test_data): Likewise.
6668         (fpclassify_test_data): Likewise.
6669         (frexp_test_data): Likewise.
6670         (gamma_test_data): Likewise.
6671         (hypot_test_data): Likewise.
6672         (ilogb_test_data): Likewise.
6673         (isfinite_test_data): Likewise.
6674         (isgreater_test_data): Likewise.
6675         (isgreaterequal_test_data): Likewise.
6676         (isinf_test_data): Likewise.
6677         (isless_test_data): Likewise.
6678         (islessequal_test_data): Likewise.
6679         (islessgreater_test_data): Likewise.
6680         (isnan_test_data): Likewise.
6681         (isnormal_test_data): Likewise.
6682         (issignaling_test_data): Likewise.
6683         (isunordered_test_data): Likewise.
6684         (j0_test_data): Likewise.
6685         (j1_test_data): Likewise.
6686         (jn_test_data): Likewise.
6687         (ldexp_test_data): Likewise.
6688         (lgamma_test_data): Likewise.
6689         (lrint_test_data): Likewise.
6690         (lrint_tonearest_test_data): Likewise.
6691         (lrint_towardzero_test_data): Likewise.
6692         (lrint_downward_test_data): Likewise.
6693         (lrint_upward_test_data): Likewise.
6694         (llrint_test_data): Likewise.
6695         (llrint_tonearest_test_data): Likewise.
6696         (llrint_towardzero_test_data): Likewise.
6697         (llrint_downward_test_data): Likewise.
6698         (llrint_upward_test_data): Likewise.
6699         (log_test_data): Likewise.
6700         (log10_test_data): Likewise.
6701         (log1p_test_data): Likewise.
6702         (log2_test_data): Likewise.
6703         (logb_test_data): Likewise.
6704         (logb_downward_test_data): Likewise.
6705         (lround_test_data): Likewise.
6706         (llround_test_data): Likewise.
6707         (modf_test_data): Likewise.
6708         (nearbyint_test_data): Likewise.
6709         (nextafter_test_data): Likewise.
6710         (nexttoward_test_data): Likewise.
6711         (pow_test_data): Likewise.
6712         (pow_tonearest_test_data): Likewise.
6713         (pow_towardzero_test_data): Likewise.
6714         (pow_downward_test_data): Likewise.
6715         (pow_upward_test_data): Likewise.
6716         (remainder_test_data): Likewise.
6717         (remainder_tonearest_test_data): Likewise.
6718         (remainder_towardzero_test_data): Likewise.
6719         (remainder_downward_test_data): Likewise.
6720         (remainder_upward_test_data): Likewise.
6721         (remquo_test_data): Likewise.
6722         (rint_test_data): Likewise.
6723         (rint_tonearest_test_data): Likewise.
6724         (rint_towardzero_test_data): Likewise.
6725         (rint_downward_test_data): Likewise.
6726         (rint_upward_test_data): Likewise.
6727         (round_test_data): Likewise.
6728         (scalb_test_data): Likewise.
6729         (scalbn_test_data): Likewise.
6730         (scalbln_test_data): Likewise.
6731         (signbit_test_data): Likewise.
6732         (sin_test_data): Likewise.
6733         (sin_tonearest_test_data): Likewise.
6734         (sin_towardzero_test_data): Likewise.
6735         (sin_downward_test_data): Likewise.
6736         (sin_upward_test_data): Likewise.
6737         (sincos_test_data): Likewise.
6738         (sinh_test_data): Likewise.
6739         (sinh_tonearest_test_data): Likewise.
6740         (sinh_towardzero_test_data): Likewise.
6741         (sinh_downward_test_data): Likewise.
6742         (sinh_upward_test_data): Likewise.
6743         (sqrt_test_data): Likewise.
6744         (tan_test_data): Likewise.
6745         (tan_tonearest_test_data): Likewise.
6746         (tan_towardzero_test_data): Likewise.
6747         (tan_downward_test_data): Likewise.
6748         (tan_upward_test_data): Likewise.
6749         (tanh_test_data): Likewise.
6750         (tgamma_test_data): Likewise.
6751         (trunc_test_data): Likewise.
6752         (y0_test_data): Likewise.
6753         (y1_test_data): Likewise.
6754         (yn_test_data): Likewise.
6755         (significand_test_data): Likewise.
6757         * math/gen-libm-test.pl (@functions): Remove variable.
6758         (generate_testfile): Don't handle START and END lines.
6759         * math/libm-test.inc (START): New macro.
6760         (END): Likewise.
6761         (END_COMPLEX): Likewise.
6762         (acos_test): Use END macro without arguments.
6763         (acos_test_tonearest): Likewise.
6764         (acos_test_towardzero): Likewise.
6765         (acos_test_downward): Likewise.
6766         (acos_test_upward): Likewise.
6767         (acosh_test): Likewise.
6768         (asin_test): Likewise.
6769         (asin_test_tonearest): Likewise.
6770         (asin_test_towardzero): Likewise.
6771         (asin_test_downward): Likewise.
6772         (asin_test_upward): Likewise.
6773         (asinh_test): Likewise.
6774         (atan_test): Likewise.
6775         (atanh_test): Likewise.
6776         (atan2_test): Likewise.
6777         (cabs_test): Likewise.
6778         (cacos_test): Use END_COMPLEX macro without arguments.
6779         (cacosh_test): Likewise.
6780         (carg_test): Use END macro without arguments.
6781         (casin_test): Use END_COMPLEX macro without arguments.
6782         (casinh_test): Likewise.
6783         (catan_test): Likewise.
6784         (catanh_test): Likewise.
6785         (cbrt_test): Use END macro without arguments.
6786         (ccos_test): Use END_COMPLEX macro without arguments.
6787         (ccosh_test): Likewise.
6788         (ceil_test): Use END macro without arguments.
6789         (cexp_test): Use END_COMPLEX macro without arguments.
6790         (cimag_test): Use END macro without arguments.
6791         (clog_test): Use END_COMPLEX macro without arguments.
6792         (clog10_test): Likewise.
6793         (conj_test): Likewise.
6794         (copysign_test): Use END macro without arguments.
6795         (cos_test): Likewise.
6796         (cos_test_tonearest): Likewise.
6797         (cos_test_towardzero): Likewise.
6798         (cos_test_downward): Likewise.
6799         (cos_test_upward): Likewise.
6800         (cosh_test): Likewise.
6801         (cosh_test_tonearest): Likewise.
6802         (cosh_test_towardzero): Likewise.
6803         (cosh_test_downward): Likewise.
6804         (cosh_test_upward): Likewise.
6805         (cpow_test): Use END_COMPLEX macro without arguments.
6806         (cproj_test): Likewise.
6807         (creal_test): Use END macro without arguments.
6808         (csin_test): Use END_COMPLEX macro without arguments.
6809         (csinh_test): Likewise.
6810         (csqrt_test): Likewise.
6811         (ctan_test): Likewise.
6812         (ctan_test_tonearest): Likewise.
6813         (ctan_test_towardzero): Likewise.
6814         (ctan_test_downward): Likewise.
6815         (ctan_test_upward): Likewise.
6816         (ctanh_test): Likewise.
6817         (ctanh_test_tonearest): Likewise.
6818         (ctanh_test_towardzero): Likewise.
6819         (ctanh_test_downward): Likewise.
6820         (ctanh_test_upward): Likewise.
6821         (erf_test): Use END macro without arguments.
6822         (erfc_test): Likewise.
6823         (exp_test): Likewise.
6824         (exp_test_tonearest): Likewise.
6825         (exp_test_towardzero): Likewise.
6826         (exp_test_downward): Likewise.
6827         (exp_test_upward): Likewise.
6828         (exp10_test): Likewise.
6829         (exp2_test): Likewise.
6830         (expm1_test): Likewise.
6831         (fabs_test): Likewise.
6832         (fdim_test): Likewise.
6833         (finite_test): Likewise.
6834         (floor_test): Likewise.
6835         (fma_test): Likewise.
6836         (fma_test_towardzero): Likewise.
6837         (fma_test_downward): Likewise.
6838         (fma_test_upward): Likewise.
6839         (fmax_test): Likewise.
6840         (fmin_test): Likewise.
6841         (fmod_test): Likewise.
6842         (fpclassify_test): Likewise.
6843         (frexp_test): Likewise.
6844         (gamma_test): Likewise.
6845         (hypot_test): Likewise.
6846         (ilogb_test): Likewise.
6847         (isfinite_test): Likewise.
6848         (isgreater_test): Likewise.
6849         (isgreaterequal_test): Likewise.
6850         (isinf_test): Likewise.
6851         (isless_test): Likewise.
6852         (islessequal_test): Likewise.
6853         (islessgreater_test): Likewise.
6854         (isnan_test): Likewise.
6855         (isnormal_test): Likewise.
6856         (issignaling_test): Likewise.
6857         (isunordered_test): Likewise.
6858         (j0_test): Likewise.
6859         (j1_test): Likewise.
6860         (jn_test): Likewise.
6861         (ldexp_test): Likewise.
6862         (lgamma_test): Likewise.
6863         (lrint_test): Likewise.
6864         (lrint_test_tonearest): Likewise.
6865         (lrint_test_towardzero): Likewise.
6866         (lrint_test_downward): Likewise.
6867         (lrint_test_upward): Likewise.
6868         (llrint_test): Likewise.
6869         (llrint_test_tonearest): Likewise.
6870         (llrint_test_towardzero): Likewise.
6871         (llrint_test_downward): Likewise.
6872         (llrint_test_upward): Likewise.
6873         (log_test): Likewise.
6874         (log10_test): Likewise.
6875         (log1p_test): Likewise.
6876         (log2_test): Likewise.
6877         (logb_test): Likewise.
6878         (logb_test_downward): Likewise.
6879         (lround_test): Likewise.
6880         (llround_test): Likewise.
6881         (modf_test): Likewise.
6882         (nearbyint_test): Likewise.
6883         (nextafter_test): Likewise.
6884         (nexttoward_test): Likewise.
6885         (pow_test): Likewise.
6886         (pow_test_tonearest): Likewise.
6887         (pow_test_towardzero): Likewise.
6888         (pow_test_downward): Likewise.
6889         (pow_test_upward): Likewise.
6890         (remainder_test): Likewise.
6891         (remainder_test_tonearest): Likewise.
6892         (remainder_test_towardzero): Likewise.
6893         (remainder_test_downward): Likewise.
6894         (remainder_test_upward): Likewise.
6895         (remquo_test): Likewise.
6896         (rint_test): Likewise.
6897         (rint_test_tonearest): Likewise.
6898         (rint_test_towardzero): Likewise.
6899         (rint_test_downward): Likewise.
6900         (rint_test_upward): Likewise.
6901         (round_test): Likewise.
6902         (scalb_test): Likewise.
6903         (scalbn_test): Likewise.
6904         (scalbln_test): Likewise.
6905         (signbit_test): Likewise.
6906         (sin_test): Likewise.
6907         (sin_test_tonearest): Likewise.
6908         (sin_test_towardzero): Likewise.
6909         (sin_test_downward): Likewise.
6910         (sin_test_upward): Likewise.
6911         (sincos_test): Likewise.
6912         (sinh_test): Likewise.
6913         (sinh_test_tonearest): Likewise.
6914         (sinh_test_towardzero): Likewise.
6915         (sinh_test_downward): Likewise.
6916         (sinh_test_upward): Likewise.
6917         (sqrt_test): Likewise.
6918         (tan_test): Likewise.
6919         (tan_test_tonearest): Likewise.
6920         (tan_test_towardzero): Likewise.
6921         (tan_test_downward): Likewise.
6922         (tan_test_upward): Likewise.
6923         (tanh_test): Likewise.
6924         (tgamma_test): Likewise.
6925         (trunc_test): Likewise.
6926         (y0_test): Likewise.
6927         (y1_test): Likewise.
6928         (yn_test): Likewise.
6929         (significand_test): Likewise.
6931 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
6933         [BZ #15381]
6934         * libio/genops.c (_IO_no_init): Initialize wide struct info.
6936 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
6938         [BZ #14894]
6939         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
6940         __ppc_mdoio and __ppc_mdoom.
6941         * manual/platform.texi: Document new functions __ppc_yield,
6942         __ppc_mdoio and __ppc_mdoom.
6944 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
6946         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
6947         (main): Mention "tls" pseudo-hwcap is legacy.
6948         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
6950 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
6952         * math/gen-libm-test.pl (parse_args): Output only string of
6953         arguments as text for test name, not full call or descriptions of
6954         tests for extra outputs.
6955         (generate_testfile): Do not pass function name to parse_args.
6956         Generate this_func variable from START.
6957         * math/libm-test.inc (struct test_f_f_data): Rename test_name
6958         field to arg_str.
6959         (struct test_ff_f_data): Likewise.
6960         (test_ff_f_data_nexttoward): Likewise.
6961         (struct test_fi_f_data): Likewise.
6962         (struct test_fl_f_data): Likewise.
6963         (struct test_if_f_data): Likewise.
6964         (struct test_fff_f_data): Likewise.
6965         (struct test_c_f_data): Likewise.
6966         (struct test_f_f1_data): Likewise.  Remove field extra_name.
6967         (struct test_fF_f1_data): Likewise.
6968         (struct test_ffI_f1_data): Likewise.
6969         (struct test_c_c_data): Rename test_name field to arg_str.
6970         (struct test_cc_c_data): Likewise.
6971         (struct test_f_i_data): Likewise.
6972         (struct test_ff_i_data): Likewise.
6973         (struct test_f_l_data): Likewise.
6974         (struct test_f_L_data): Likewise.
6975         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
6976         and extra2_name.
6977         (COMMON_TEST_SETUP): New macro.
6978         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
6979         (COMMON_TEST_CLEANUP): Likewise.
6980         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
6981         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
6982         macros.
6983         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
6984         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
6985         macros.
6986         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
6987         (RUN_TEST_fff_f): Take argument string.  Call new setup and
6988         cleanup macros.
6989         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
6990         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
6991         macros.
6992         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
6993         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
6994         macros.
6995         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6996         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
6997         cleanup macros.
6998         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6999         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
7000         cleanup macros.
7001         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7002         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
7003         cleanup macros.
7004         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7005         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
7006         macros.
7007         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
7008         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
7009         macros.
7010         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
7011         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
7012         macros.
7013         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
7014         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
7015         cleanup macros.
7016         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
7017         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
7018         cleanup macros.
7019         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
7020         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
7021         macros.
7022         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
7023         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
7024         cleanup macros.
7025         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
7026         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
7027         macros.
7028         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
7029         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
7030         macros.
7031         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
7032         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
7033         cleanup macros.
7034         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
7036 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
7038         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
7039         to _sifields.sigfault.
7040         (si_addr_lsb): Define new macro.
7041         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7042         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
7043         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
7045 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
7047         [BZ #15441]
7048         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
7049         returns -1.
7050         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
7051         null return -1.
7052         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
7053         loading the domain.
7055 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
7057         * math/gen-libm-test.pl (parse_args): Do not include expected
7058         result in test name.
7059         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
7060         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7061         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7062         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7063         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7064         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7066 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7068         * benchtests/Makefile: Sort function entries.
7070         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
7071         tanh, asinh, acosh, atanh.
7072         * benchtests/acos-inputs: New file.
7073         * benchtests/acosh-inputs: New file.
7074         * benchtests/asin-inputs: New file.
7075         * benchtests/asinh-inputs: New file.
7076         * benchtests/atanh-inputs: New file.
7077         * benchtests/cosh-inputs: New file.
7078         * benchtests/log-inputs: New file.
7079         * benchtests/sinh-inputs: New file.
7080         * benchtests/tanh-inputs: New file.
7082 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
7084         [BZ #15339]
7085         * posix/tst-getaddrinfo4.c: New test.
7086         * posix/Makefile (tests): Add it.
7088 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7090         [BZ #15339]
7091         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
7092         when no services were used.
7093         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
7094         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
7096 2013-05-21  Andreas Schwab  <schwab@suse.de>
7098         [BZ #15014]
7099         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
7100         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
7101         successful.
7102         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
7103         redundant variable declarations and reallocation of buffer when
7104         parsing as IPv6 address.  Always set NSS status when called from
7105         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
7106         buffer too small.  Correct computation of needed size.
7107         * nss/Makefile (tests): Add test-digits-dots.
7108         * nss/test-digits-dots.c: New test.
7110 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7112         * benchtests/Makefile: Remove instructions for adding
7113         benchmark tests.
7114         * benchtests/README: New file to explain how to execute and
7115         enhance the benchmark tests.
7117 2013-05-21  Andreas Schwab  <schwab@suse.de>
7119         [BZ #15493]
7120         * setjmp/Makefile (tests): Add tst-sigsetjmp.
7121         * setjmp/tst-sigsetjmp.c: New test.
7123 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
7125         * sysdeps/x86_64/memset.S (memset): New implementation.
7126         (__bzero): Likewise.
7127         (__memset_tail): New function.
7129 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
7131         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
7132         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
7133         __memcpy_sse2_unaligned ifunc selection.
7134         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7135         Add memcpy-sse2-unaligned.S.
7136         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7137         Add: __memcpy_sse2_unaligned.
7139 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
7141         [BZ #15490]
7142         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7143         math_force_eval before restoring floating-point envrionment.
7144         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
7145         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
7146         Likewise.
7147         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
7148         <math_private.h>.
7149         (__nearbyintl): Use math_force_eval before restoring
7150         floating-point environment.
7151         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
7153         * math/gen-libm-test.pl (special_functions): Remove.
7154         (parse_args): Don't handle TEST_extra.  Handle functions with no
7155         return value.
7156         * math/libm-test.inc (struct test_sincos_data): Replace with
7157         struct test_fFF_11_data.
7158         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
7159         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
7160         (sincos_test_data): Change element type to struct
7161         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
7162         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
7163         RUN_TEST_LOOP_sincos.
7164         * math/README.libm-test: Don't mention special handling of
7165         individual functions.
7166         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
7167         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7168         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7169         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7170         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7171         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7173         * math/gen-libm-test.pl (get_variable): Remove function.
7174         (parse_args): Don't show pointer parameters to call in test
7175         names.  Use "extra output N" in test names for extra outputs
7176         rather than naming variables.
7178 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
7180         [BZ #15488]
7181         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
7182         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
7183         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
7184         double tests.
7185         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
7186         disable.
7187         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
7188         check_long_double.
7190         * math/gen-libm-test.pl (@tests): Remove variable.
7191         ($count): Likewise.
7192         (new_test): Remove function.
7193         (show_exceptions): New function.
7194         (special_functions): Use show_exceptions instead of new_test.
7195         (parse_args): Likewise.
7196         (generate_testfile): Pass only function name in generated call to
7197         print_max_error or print_complex_max_error.
7198         (get_ulps): Do not handle complex tests specially.
7199         (output_test): Rename to ...
7200         (get_all_ulps_for_test): ... this.  Return a string rather than
7201         printing to a file.  Require ulps to be present.
7202         (output_ulps): Generate arrays rather than #defines.
7203         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
7204         (struct ulp_data): New type.
7205         (BUILD_COMPLEX_ULP): Remove macro.
7206         (compare_ulp_data): New function.
7207         (find_ulps): Likewise.
7208         (find_test_ulps): Likewise.
7209         (find_function_ulps): Likewise.
7210         (find_complex_function_ulps): Likewise.
7211         (print_max_error): Determine allowed ulps using
7212         find_function_ulps.
7213         (print_complex_max_error): Determine allowed ulps using
7214         find_complex_function_ulps.
7215         (check_float_internal): Determine max ulps using find_test_ulps.
7216         (check_float): Do not take max_ulp parameter.  Update call to
7217         check_float_internal.
7218         (check_complex): Likewise.
7219         (check_int): Do not take max_ulp parameter.
7220         (check_long): Likewise.
7221         (check_bool): Likewise.
7222         (check_longlong): Likewise.
7223         (struct test_f_f_data): Remove max_ulp field.
7224         (struct test_ff_f_data): Likewise.
7225         (struct test_ff_f_data_nexttoward): Likewise.
7226         (struct test_fi_f_data): Likewise.
7227         (struct test_fl_f_data): Likewise.
7228         (struct test_if_f_data): Likewise.
7229         (struct test_fff_f_data): Likewise.
7230         (struct test_c_f_data): Likewise.
7231         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
7232         (struct test_fF_f1_data): Likewise.
7233         (struct test_ffI_f1_data): Likewise.
7234         (struct test_c_c_data): Remove max_ulp field.
7235         (struct test_cc_c_data): Likewise.
7236         (struct test_f_i_data): Likewise.
7237         (struct test_ff_i_data): Likewise.
7238         (struct test_f_l_data): Likewise.
7239         (struct test_f_L_data): Likewise.
7240         (struct test_sincos_data): Likewise.
7241         (RUN_TEST_f_f): Do not handle ulps.
7242         (RUN_TEST_LOOP_f_f): Likewise.
7243         (RUN_TEST_2_f): Likewise.
7244         (RUN_TEST_LOOP_2_f): Likewise.
7245         (RUN_TEST_fff_f): Likewise.
7246         (RUN_TEST_LOOP_fff_f): Likewise.
7247         (RUN_TEST_c_f): Likewise.
7248         (RUN_TEST_LOOP_c_f): Likewise.
7249         (RUN_TEST_f_f1): Likewise.
7250         (RUN_TEST_LOOP_f_f1): Likewise.
7251         (RUN_TEST_fF_f1): Likewise.
7252         (RUN_TEST_LOOP_fF_f1): Likewise.
7253         (RUN_TEST_fI_f1): Likewise.
7254         (RUN_TEST_LOOP_fI_f1): Likewise.
7255         (RUN_TEST_ffI_f1): Likewise.
7256         (RUN_TEST_LOOP_ffI_f1): Likewise.
7257         (RUN_TEST_c_c): Likewise.
7258         (RUN_TEST_LOOP_c_c): Likewise.
7259         (RUN_TEST_cc_c): Likewise.
7260         (RUN_TEST_LOOP_cc_c): Likewise.
7261         (RUN_TEST_f_i): Likewise.
7262         (RUN_TEST_LOOP_f_i): Likewise.
7263         (RUN_TEST_f_i_tg): Likewise.
7264         (RUN_TEST_LOOP_f_i_tg): Likewise.
7265         (RUN_TEST_ff_i_tg): Likewise.
7266         (RUN_TEST_LOOP_ff_i_tg): Likewise.
7267         (RUN_TEST_f_b): Likewise.
7268         (RUN_TEST_LOOP_f_b): Likewise.
7269         (RUN_TEST_f_b_tg): Likewise.
7270         (RUN_TEST_LOOP_f_b_tg): Likewise.
7271         (RUN_TEST_f_l): Likewise.
7272         (RUN_TEST_LOOP_f_l): Likewise.
7273         (RUN_TEST_f_L): Likewise.
7274         (RUN_TEST_LOOP_f_L): Likewise.
7275         (RUN_TEST_sincos): Likewise.
7276         (RUN_TEST_LOOP_sincos): Likewise.
7278 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
7280         [BZ #15480]
7281         [BZ #15485]
7282         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
7283         main case of finite arguments, set rounding mode to FE_TONEAREST
7284         and discard exceptions.
7285         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
7286         exceptions.
7287         (remainder_tonearest_test_data): New variable.
7288         (remainder_test_tonearest): New function.
7289         (remainder_towardzero_test_data): New variable.
7290         (remainder_test_towardzero): New function.
7291         (remainder_downward_test_data): New variable.
7292         (remainder_test_downward): New function.
7293         (remainder_upward_test_data): New variable.
7294         (remainder_test_upward): New function.
7295         (main): Call the new test functions.
7297         * math/libm-test.inc (struct test_f_f1_data): Remove field
7298         extra_init.
7299         (struct test_fF_f1_data): Likewise.
7300         (struct test_ffI_f1_data): Likewise.
7301         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
7302         based on value of EXTRA_EXPECTED.
7303         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7304         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
7305         EXTRA_VAR based on value of EXTRA_EXPECTED.
7306         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7307         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
7308         EXTRA_VAR based on value of EXTRA_EXPECTED.
7309         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7310         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
7311         EXTRA_VAR based on value of EXTRA_EXPECTED.
7312         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7313         * math/gen-libm-test.pl (parse_args): Don't output initializers
7314         for extra output values.
7316         * math/libm-test.inc (check_int): Expect result to be exactly
7317         equal to expected value and do not handle ulps.
7318         (check_long): Likewise.
7319         (check_longlong): Likewise.
7321         * math/libm-test.inc (ceil_test_data): Test for "inexact"
7322         exceptions.
7323         (cimag_test_data): Likewise.
7324         (conj_test_data): Likewise.
7325         (copysign_test_data): Likewise.
7326         (cproj_test_data): Likewise.
7327         (creal_test_data): Likewise.
7328         (fabs_test_data): Likewise.
7329         (fdim_test_data): Likewise.
7330         (finite_test_data): Likewise.
7331         (floor_test_data): Likewise.
7332         (fmax_test_data): Likewise.
7333         (fmin_test_data): Likewise.
7334         (fmod_test_data): Likewise.
7335         (fpclassify_test_data): Likewise.
7336         (frexp_test_data): Likewise.
7337         (ilogb_test_data): Likewise.
7338         (isfinite_test_data): Likewise.
7339         (isgreater_test_data): Likewise.
7340         (isgreaterequal_test_data): Likewise.
7341         (isinf_test_data): Likewise.
7342         (isless_test_data): Likewise.
7343         (islessequal_test_data): Likewise.
7344         (islessgreater_test_data): Likewise.
7345         (isnan_test_data): Likewise.
7346         (isnormal_test_data): Likewise.
7347         (issignaling_test_data): Likewise.
7348         (isunordered_test_data): Likewise.
7349         (ldexp_test_data): Likewise.
7350         (lrint_test_data): Likewise.
7351         (lrint_test_data) [TEST_FLOAT]: Disable one test.
7352         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
7353         (lrint_tonearest_test_data): Test for "inexact" exceptions.
7354         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7355         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
7356         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7357         test input.
7358         (lrint_towardzero_test_data): Test for "inexact" exceptions.
7359         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7360         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
7361         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
7362         that test input.
7363         (lrint_downward_test_data): Test for "inexact" exceptions.
7364         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7365         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
7366         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7367         test input.
7368         (lrint_upward_test_data): Test for "inexact" exceptions.
7369         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
7370         test input.
7371         (llrint_test_data): Test for "inexact" exceptions.
7372         (llrint_test_data) [TEST_FLOAT]: Disable one test.
7373         (llrint_tonearest_test_data): Test for "inexact" exceptions.
7374         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7375         (llrint_towardzero_test_data): Test for "inexact" exceptions.
7376         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7377         (llrint_downward_test_data): Test for "inexact" exceptions.
7378         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7379         (llrint_upward_test_data): Test for "inexact" exceptions.
7380         (logb_test_data): Likewise.
7381         (logb_downward_test_data): Likewise.
7382         (nextafter_test_data): Likewise.
7383         (nexttoward_test_data): Likewise.
7384         (remainder_test_data): Likewise.
7385         (remquo_test_data): Likewise.
7386         (scalbn_test_data): Likewise.
7387         (scalbln_test_data): Likewise.
7388         (signbit_test_data): Likewise.
7389         (sqrt_test_data): Likewise.
7390         (significand_test_data): Likewise.
7392 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7394         [BZ #15424]
7395         * benchtests/bench-modf.c (struct args): Mark arg0 as
7396         volatile.
7397         * scripts/bench.pl: Mark members of struct args as volatile.
7399 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7401         [BZ # 15497]
7402         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
7403         negative infinity on POWER6 or lower.
7404         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
7406 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
7408         [BZ #15442]
7409         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
7410         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
7411         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
7412         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
7413         (_FP_SETQNAN): New macro.
7414         (_FP_SETQNAN_SEMIRAW): Likewise.
7415         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
7416         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
7417         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
7418         (FP_EXTEND): Use _FP_FRAC_SNANP.
7419         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
7420         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
7421         into account.
7422         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7423         New macro.
7424         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7425         Likewise.
7427 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
7429         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
7430         with DIVIDE_BY_ZERO_EXCEPTION.
7431         (gamma_test_data): Likewise.
7432         (lgamma_test_data): Likewise.
7433         (log_test_data): Likewise.
7434         (log10_test_data): Likewise.
7435         (log2_test_data): Likewise.
7436         (tgamma_test_data): Likewise.
7438         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
7439         (acos_test_tonearest): Likewise.
7440         (acos_test_towardzero): Likewise.
7441         (acos_test_downward): Likewise.
7442         (acos_test_upward): Likewise.
7443         (acosh_test): Likewise.
7444         (asin_test): Likewise.
7445         (asin_test_tonearest): Likewise.
7446         (asin_test_towardzero): Likewise.
7447         (asin_test_downward): Likewise.
7448         (asin_test_upward): Likewise.
7449         (asinh_test): Likewise.
7450         (atan_test): Likewise.
7451         (atanh_test): Likewise.
7452         (atan2_test): Likewise.
7453         (cabs_test): Likewise.
7454         (cacos_test): Likewise.
7455         (cacosh_test): Likewise.
7456         (casin_test): Likewise.
7457         (casinh_test): Likewise.
7458         (catan_test): Likewise.
7459         (catanh_test): Likewise.
7460         (cbrt_test): Likewise.
7461         (ccos_test): Likewise.
7462         (ccosh_test): Likewise.
7463         (cexp_test): Likewise.
7464         (clog_test): Likewise.
7465         (clog10_test): Likewise.
7466         (cos_test): Likewise.
7467         (cos_test_tonearest): Likewise.
7468         (cos_test_towardzero): Likewise.
7469         (cos_test_downward): Likewise.
7470         (cos_test_upward): Likewise.
7471         (cosh_test): Likewise.
7472         (cosh_test_tonearest): Likewise.
7473         (cosh_test_towardzero): Likewise.
7474         (cosh_test_downward): Likewise.
7475         (cosh_test_upward): Likewise.
7476         (cpow_test): Likewise.
7477         (csin_test): Likewise.
7478         (csinh_test): Likewise.
7479         (csqrt_test): Likewise.
7480         (ctan_test): Likewise.
7481         (ctan_test_tonearest): Likewise.
7482         (ctan_test_towardzero): Likewise.
7483         (ctan_test_downward): Likewise.
7484         (ctan_test_upward): Likewise.
7485         (ctanh_test): Likewise.
7486         (ctanh_test_tonearest): Likewise.
7487         (ctanh_test_towardzero): Likewise.
7488         (ctanh_test_downward): Likewise.
7489         (ctanh_test_upward): Likewise.
7490         (erf_test): Likewise.
7491         (erfc_test): Likewise.
7492         (exp_test): Likewise.
7493         (exp_test_tonearest): Likewise.
7494         (exp_test_towardzero): Likewise.
7495         (exp_test_downward): Likewise.
7496         (exp_test_upward): Likewise.
7497         (exp10_test): Likewise.
7498         (exp2_test): Likewise.
7499         (expm1_test): Likewise.
7500         (fmod_test): Likewise.
7501         (gamma_test): Likewise.
7502         (hypot_test): Likewise.
7503         (j0_test): Likewise.
7504         (j1_test): Likewise.
7505         (jn_test): Likewise.
7506         (lgamma_test): Likewise.
7507         (log_test): Likewise.
7508         (log10_test): Likewise.
7509         (log1p_test): Likewise.
7510         (log2_test): Likewise.
7511         (logb_test_downward): Likewise.
7512         (pow_test): Likewise.
7513         (pow_test_tonearest): Likewise.
7514         (pow_test_towardzero): Likewise.
7515         (pow_test_downward): Likewise.
7516         (pow_test_upward): Likewise.
7517         (remainder_test): Likewise.
7518         (remquo_test): Likewise.
7519         (sin_test): Likewise.
7520         (sin_test_tonearest): Likewise.
7521         (sin_test_towardzero): Likewise.
7522         (sin_test_downward): Likewise.
7523         (sin_test_upward): Likewise.
7524         (sincos_test): Likewise.
7525         (sinh_test): Likewise.
7526         (sinh_test_tonearest): Likewise.
7527         (sinh_test_towardzero): Likewise.
7528         (sinh_test_downward): Likewise.
7529         (sinh_test_upward): Likewise.
7530         (sqrt_test): Likewise.
7531         (tan_test): Likewise.
7532         (tan_test_tonearest): Likewise.
7533         (tan_test_towardzero): Likewise.
7534         (tan_test_downward): Likewise.
7535         (tan_test_upward): Likewise.
7536         (tanh_test): Likewise.
7537         (tgamma_test): Likewise.
7538         (y0_test): Likewise.
7539         (y1_test): Likewise.
7540         (yn_test): Likewise.
7542         * math/gen-libm-test.pl (adjust_arg): Remove function.
7543         (special_function): Remove argument $in_func.  Only handle
7544         generating output for tables of tests, not inside functions.
7545         (parse_args): Likewise.
7546         (generate_testfile): Remove variable $in_func.  Update call to
7547         parse_args.
7548         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
7549         (MINUS_ZERO_INIT): Rename macro to minus_zero.
7550         (PLUS_INFTY_INIT): Rename macro to plus_infty.
7551         (MINUS_INFTY_INIT): Rename macro to minus_infty.
7552         (QNAN_VALUE_INIT): Rename macro to qnan_value.
7553         (MAX_VALUE_INIT): Rename macro to max_value.
7554         (MIN_VALUE_INIT): Rename macro to min_value.
7555         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
7556         (plus_zero): Remove variable.
7557         (minus_zero): Likewise.
7558         (plus_infty): Likewise.
7559         (minus_infty): Likewise.
7560         (qnan_value): Likewise.
7561         (max_value): Likewise.
7562         (min_value): Likewise.
7563         (min_subnorm_value): Likewise.
7565 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7567         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
7568         uint64_t or uint32_t usage.
7569         * crypt/sha256-block.c: Likewise.
7570         * crypt/sha256-crypt.c: Likewise.
7571         * crypt/sha256.c: Likewise.
7572         * crypt/sha512-block.c: Likewise.
7573         * crypt/sha512-crypt.c: Likewise.
7574         * crypt/sha512.c: Likewise.
7575         * debug/backtrace-tst.c: Likewise.
7576         * debug/pcprofiledump.c: Likewise.
7577         * elf/cache.c: Likewise.
7578         * elf/dl-cache.c: Likewise.
7579         * elf/dl-misc.c: Likewise.
7580         * elf/dl-profile.c: Likewise.
7581         * elf/dl-support.c: Likewise.
7582         * elf/ldconfig.c: Likewise.
7583         * elf/sprof.c: Likewise.
7584         * iconv/dummy-repertoire.c: Likewise.
7585         * iconv/iconv_charmap.c: Likewise.
7586         * iconv/skeleton.c: Likewise.
7587         * iconvdata/8bit-generic.c: Likewise.
7588         * iconvdata/cp737.h: Likewise.
7589         * iconvdata/cp775.h: Likewise.
7590         * iconvdata/ibm1008.h: Likewise.
7591         * iconvdata/ibm1025.h: Likewise.
7592         * iconvdata/ibm1046.h: Likewise.
7593         * iconvdata/ibm1097.h: Likewise.
7594         * iconvdata/ibm1112.h: Likewise.
7595         * iconvdata/ibm1122.h: Likewise.
7596         * iconvdata/ibm1123.h: Likewise.
7597         * iconvdata/ibm1124.h: Likewise.
7598         * iconvdata/ibm1129.h: Likewise.
7599         * iconvdata/ibm1130.h: Likewise.
7600         * iconvdata/ibm1132.h: Likewise.
7601         * iconvdata/ibm1133.h: Likewise.
7602         * iconvdata/ibm1137.h: Likewise.
7603         * iconvdata/ibm1140.h: Likewise.
7604         * iconvdata/ibm1141.h: Likewise.
7605         * iconvdata/ibm1142.h: Likewise.
7606         * iconvdata/ibm1143.h: Likewise.
7607         * iconvdata/ibm1144.h: Likewise.
7608         * iconvdata/ibm1145.h: Likewise.
7609         * iconvdata/ibm1146.h: Likewise.
7610         * iconvdata/ibm1147.h: Likewise.
7611         * iconvdata/ibm1148.h: Likewise.
7612         * iconvdata/ibm1149.h: Likewise.
7613         * iconvdata/ibm1153.h: Likewise.
7614         * iconvdata/ibm1154.h: Likewise.
7615         * iconvdata/ibm1155.h: Likewise.
7616         * iconvdata/ibm1156.h: Likewise.
7617         * iconvdata/ibm1157.h: Likewise.
7618         * iconvdata/ibm1158.h: Likewise.
7619         * iconvdata/ibm1160.h: Likewise.
7620         * iconvdata/ibm1161.h: Likewise.
7621         * iconvdata/ibm1162.h: Likewise.
7622         * iconvdata/ibm1163.h: Likewise.
7623         * iconvdata/ibm1164.h: Likewise.
7624         * iconvdata/ibm1166.h: Likewise.
7625         * iconvdata/ibm1167.h: Likewise.
7626         * iconvdata/ibm12712.h: Likewise.
7627         * iconvdata/ibm1390.h: Likewise.
7628         * iconvdata/ibm1399.h: Likewise.
7629         * iconvdata/ibm16804.h: Likewise.
7630         * iconvdata/ibm4517.h: Likewise.
7631         * iconvdata/ibm4899.h: Likewise.
7632         * iconvdata/ibm4909.h: Likewise.
7633         * iconvdata/ibm4971.h: Likewise.
7634         * iconvdata/ibm5347.h: Likewise.
7635         * iconvdata/ibm803.h: Likewise.
7636         * iconvdata/ibm856.h: Likewise.
7637         * iconvdata/ibm901.h: Likewise.
7638         * iconvdata/ibm902.h: Likewise.
7639         * iconvdata/ibm9030.h: Likewise.
7640         * iconvdata/ibm9066.h: Likewise.
7641         * iconvdata/ibm921.h: Likewise.
7642         * iconvdata/ibm922.h: Likewise.
7643         * iconvdata/ibm9448.h: Likewise.
7644         * iconvdata/isiri-3342.h: Likewise.
7645         * iconvdata/jis0201.h: Likewise.
7646         * include/link.h: Likewise.
7647         * include/netdb.h: Likewise.
7648         * inet/check_native.c: Likewise.
7649         * inet/check_pf.c: Likewise.
7650         * inet/getipv4sourcefilter.c: Likewise.
7651         * inet/getnameinfo.c: Likewise.
7652         * inet/getsourcefilter.c: Likewise.
7653         * inet/htonl.c: Likewise.
7654         * inet/setipv4sourcefilter.c: Likewise.
7655         * inet/setsourcefilter.c: Likewise.
7656         * inet/test-inet6_opt.c: Likewise.
7657         * inet/tst-network.c: Likewise.
7658         * locale/C-collate.c: Likewise.
7659         * locale/C-ctype.c: Likewise.
7660         * locale/C-time.c: Likewise.
7661         * locale/C-translit.h: Likewise.
7662         * locale/loadarchive.c: Likewise.
7663         * locale/programs/3level.h: Likewise.
7664         * locale/programs/charmap.c: Likewise.
7665         * locale/programs/charmap.h: Likewise.
7666         * locale/programs/ld-address.c: Likewise.
7667         * locale/programs/ld-collate.c: Likewise.
7668         * locale/programs/ld-ctype.c: Likewise.
7669         * locale/programs/ld-identification.c: Likewise.
7670         * locale/programs/ld-measurement.c: Likewise.
7671         * locale/programs/ld-messages.c: Likewise.
7672         * locale/programs/ld-monetary.c: Likewise.
7673         * locale/programs/ld-name.c: Likewise.
7674         * locale/programs/ld-numeric.c: Likewise.
7675         * locale/programs/ld-paper.c: Likewise.
7676         * locale/programs/ld-telephone.c: Likewise.
7677         * locale/programs/ld-time.c: Likewise.
7678         * locale/programs/linereader.c: Likewise.
7679         * locale/programs/locale.c: Likewise.
7680         * locale/programs/locarchive.c: Likewise.
7681         * locale/programs/locfile.h: Likewise.
7682         * locale/programs/repertoire.c: Likewise.
7683         * locale/programs/simple-hash.c: Likewise.
7684         * locale/programs/simple-hash.h: Likewise.
7685         * malloc/memusage.c: Likewise.
7686         * malloc/memusagestat.c: Likewise.
7687         * nis/nis_defaults.c: Likewise.
7688         * nis/nis_hash.c: Likewise.
7689         * nis/nis_print.c: Likewise.
7690         * nis/nis_xdr.c: Likewise.
7691         * nscd/connections.c: Likewise.
7692         * nscd/hstcache.c: Likewise.
7693         * nscd/nscd_gethst_r.c: Likewise.
7694         * nscd/nscd_getserv_r.c: Likewise.
7695         * nscd/nscd_helper.c: Likewise.
7696         * nscd/servicescache.c: Likewise.
7697         * nss/makedb.c: Likewise.
7698         * nss/nss_db/db-XXX.c: Likewise.
7699         * nss/nss_db/db-initgroups.c: Likewise.
7700         * nss/nss_db/db-netgrp.c: Likewise.
7701         * nss/nss_files/files-network.c: Likewise.
7702         * nss/nss_files/files-parse.c: Likewise.
7703         * posix/bug-regex5.c: Likewise.
7704         * posix/fnmatch_loop.c: Likewise.
7705         * posix/regcomp.c: Likewise.
7706         * posix/regexec.c: Likewise.
7707         * posix/tst-rfc3484-2.c: Likewise.
7708         * posix/tst-rfc3484-3.c: Likewise.
7709         * posix/tst-rfc3484.c: Likewise.
7710         * resolv/nss_dns/dns-canon.c: Likewise.
7711         * resolv/nss_dns/dns-network.c: Likewise.
7712         * resolv/res_init.c: Likewise.
7713         * resolv/res_mkquery.c: Likewise.
7714         * resolv/tst-aton.c: Likewise.
7715         * stdlib/cxa_atexit.c: Likewise.
7716         * stdlib/cxa_finalize.c: Likewise.
7717         * stdlib/gen-fpioconst.c: Likewise.
7718         * stdlib/strtol_l.c: Likewise.
7719         * string/tst-endian.c: Likewise.
7720         * sunrpc/auth_des.c: Likewise.
7721         * sunrpc/clnt_udp.c: Likewise.
7722         * sunrpc/rtime.c: Likewise.
7723         * sunrpc/svcauth_des.c: Likewise.
7724         * sunrpc/xdr.c: Likewise.
7725         * sunrpc/xdr_intXX_t.c: Likewise.
7726         * sunrpc/xdr_rec.c: Likewise.
7727         * sysdeps/generic/ldconfig.h: Likewise.
7728         * sysdeps/generic/ldsodefs.h: Likewise.
7729         * sysdeps/generic/memusage.h: Likewise.
7730         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7731         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
7732         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
7733         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7734         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7735         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7736         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7737         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7738         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7739         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7740         * sysdeps/posix/getaddrinfo.c: Likewise.
7741         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7742         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7743         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7744         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7745         * sysdeps/powerpc/test-gettimebase.c: Likewise.
7746         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7747         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
7748         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
7749         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7750         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
7751         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7752         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7753         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
7754         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
7755         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
7756         * sysdeps/x86_64/dl-tls.h: Likewise.
7757         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
7758         * time/alt_digit.c: Likewise.
7759         * time/era.c: Likewise.
7760         * wcsmbs/tst-c16c32-1.c: Likewise.
7762 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
7764         * math/libm-test.inc (struct test_sincos_data): New type.
7765         (RUN_TEST_LOOP_sincos): New macro.
7766         (sincos_test_data): New variable.
7767         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
7769 2013-05-16  Richard Henderson  <rth@redhat.com>
7771         * math/atest-exp2.c (LIMB64): New macro.
7772         (CONSTSZ): New macro.
7773         (mp_exp1, mp_exp_m1, mp_log2): New variables.
7774         (hexdig): Move ...
7775         (print_mpn_fp): ... to function scope.
7776         (read_mpn_hex): Remove.
7777         (get_log2): Remove.
7778         (exp2_mpn): Use mp_log2.
7779         (main): Use mp_exp1.
7781 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
7783         * math/libm-test.inc: Remove comment about not testing "inexact"
7784         exceptions.
7785         (INEXACT_EXCEPTION): New macro.
7786         (NO_INEXACT_EXCEPTION): Likewise.
7787         (INVALID_EXCEPTION_OK): Update value.
7788         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7789         (OVERFLOW_EXCEPTION_OK): Likewise.
7790         (UNDERFLOW_EXCEPTION_OK): Likewise.
7791         (IGNORE_ZERO_INF_SIGN): Likewise.
7792         (ERRNO_UNCHANGED): Likewise.
7793         (ERRNO_EDOM): Likewise.
7794         (ERRNO_ERANGE): Likewise.
7795         (test_exceptions): Handle testing "inexact" exceptions.
7796         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
7797         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
7798         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
7799         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
7800         INEXACT_EXCEPTION.
7801         (rint_towardzero_test_data): Likewise.
7802         (rint_downward_test_data): Likewise.
7803         (rint_upward_test_data): Likewise.
7805         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
7806         with OVERFLOW_EXCEPTION.
7807         (exp10_test_data): Likewise.
7808         (exp2_test_data): Likewise.
7809         (expm1_test_data): Likewise.
7810         (lgamma_test_data): Likewise.
7811         (pow_test_data): Likewise.
7812         (tgamma_test_data): Likewise.
7813         (yn_test_data): Remove duplicate test of overflow.
7815         * math/libm-test.inc (struct test_cc_c_data): New type.
7816         (RUN_TEST_LOOP_cc_c): New macro.
7817         (cpow_test_data): New variable.
7818         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
7820         * math/libm-test.inc (struct test_f_L_data): New type.
7821         (RUN_TEST_LOOP_f_L): New macro.
7822         (llrint_test_data): New variable.
7823         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
7824         (llrint_tonearest_test_data): New variable.
7825         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
7826         (llrint_towardzero_test_data): New variable.
7827         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
7828         (llrint_downward_test_data): New variable.
7829         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
7830         (llrint_upward_test_data): New variable.
7831         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
7832         (llround_test_data): New variable.
7833         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
7835 2013-05-13  Peter Collingbourne  <pcc@google.com>
7837         * math/atest-exp2.c (get_log2): Remove const attribute.
7839 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
7841         * math/libm-test.inc (struct test_f_l_data): New type.
7842         (RUN_TEST_LOOP_f_l): New macro.
7843         (lrint_test_data): New variable.
7844         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
7845         (lrint_tonearest_test_data): New variable.
7846         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
7847         (lrint_towardzero_test_data): New variable.
7848         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
7849         (lrint_downward_test_data): New variable.
7850         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
7851         (lrint_upward_test_data): New variable.
7852         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
7853         (lround_test_data): New variable.
7854         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
7856 2013-05-15  Peter Collingbourne  <pcc@google.com>
7858         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
7859         (EXTRACT_WORDS64) Use where appropriate.
7860         (INSERT_WORDS64) Likewise.
7862         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
7863         constraints with x constraints.
7864         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
7866         * malloc/obstack.c (_obstack_compat): Add initializer.
7868 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
7870         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
7871         si_trapno and add si_addr_lsb to _sifields.sigfault.
7872         (si_trapno): Remove macro.
7873         (si_addr_lsb): Define new macro.
7874         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7876 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
7878         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
7879         instead of TEST_f_l.
7880         (llrint_test_tonearest): Likewise.
7881         (llrint_test_towardzero): Likewise.
7882         (llrint_test_downward): Likewise.
7883         (llrint_test_upward): Likewise.
7884         (llround_test): Likewise.
7886         * math/libm-test.inc (struct test_f_i_data): Add comment.
7887         (RUN_TEST_LOOP_f_b): New macro.
7888         (RUN_TEST_LOOP_f_b_tg): Likewise.
7889         (finite_test_data): New variable.
7890         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
7891         (isfinite_test_data): New variable.
7892         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7893         (isinf_test_data): New variable.
7894         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7895         (isnan_test_data): New variable.
7896         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7897         (isnormal_test_data): New variable.
7898         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7899         (issignaling_test_data): New variable.
7900         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7901         (signbit_test_data): New variable.
7902         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7904         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
7905         with INVALID_EXCEPTION.
7906         (acosh_test_data): Likewise.
7907         (asin_test_data): Likewise.
7908         (atanh_test_data): Likewise.
7909         (fmod_test_data): Likewise.
7910         (log_test_data): Likewise.
7911         (log10_test_data): Likewise.
7912         (log2_test_data): Likewise.
7913         (pow_test_data): Likewise.
7914         (sqrt_test_data): Likewise.
7915         (y0_test_data): Likewise.
7916         (y1_test_data): Likewise.
7917         (yn_test_data): Likewise.
7919         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
7920         function contents.
7922         * math/libm-test.inc (struct test_ff_i_data): New type.
7923         (RUN_TEST_LOOP_ff_i_tg): New macro.
7924         (isgreater_test_data): New variable.
7925         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7926         (isgreaterequal_test_data): New variable.
7927         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7928         (isless_test_data): New variable.
7929         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7930         (islessequal_test_data): New variable.
7931         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7932         (islessgreater_test_data): New variable.
7933         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7934         (isunordered_test_data): New variable.
7935         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7937 2013-05-14  David S. Miller  <davem@davemloft.net>
7939         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7941 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
7943         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
7945         * math/libm-test.inc (struct test_fF_f1_data): Change type of
7946         extra_test to int.
7947         (struct test_f_i_data): Change type of max_ulp to int.
7949         * math/libm-test.inc (test_ffI_f1_data): New type.
7950         (RUN_TEST_LOOP_ffI_f1): New macro.
7951         (remquo_test_data): New variable.
7952         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
7954         * setjmp/tst-setjmp-fp.c: New file.
7955         * setjmp/Makefile (tests): Add tst-setjmp-fp.
7956         (link-libm): New variable.
7957         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
7959         * math/libm-test.inc (struct test_f_i_data): New type.
7960         (RUN_TEST_LOOP_f_i): New macro.
7961         (RUN_TEST_LOOP_f_i_tg): Likewise.
7962         (fpclassify_test_data): New variable.
7963         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
7964         (ilogb_test_data): New variable.
7965         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
7967         * math/libm-test.inc (scalbln_test): Correct function name in END
7968         call.
7970         * math/libm-test.inc (struct test_f_f1_data): Add comment.
7971         (RUN_TEST_LOOP_fI_f1): New macro.
7972         (frexp_test_data): New variable.
7973         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
7975         * math/libm-test.inc (struct test_fF_f1_data): New type.
7976         (RUN_TEST_LOOP_fF_f1): New macro.
7977         (modf_test_data): New variable.
7978         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
7980         * math/libm-test.inc (struct test_f_f1_data): New type.
7981         (RUN_TEST_LOOP_f_f1): New macro.
7982         (gamma_test_data): New variable.
7983         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7984         (lgamma_test_data): New variable.
7985         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7987 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
7989         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
7990         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
7991         (main): Comment "tls" pseudo-hwcap.
7993 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
7995         * math/libm-test.inc (struct test_fl_f_data): New type.
7996         (RUN_TEST_LOOP_fl_f): New variable.
7997         (scalbln_test_data): New variable.
7998         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
8000         * math/libm-test.inc (struct test_fi_f_data): New type.
8001         (RUN_TEST_LOOP_fi_f): New macro.
8002         (ldexp_test_data): New variable.
8003         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
8004         (scalbn_test_data): New variable.
8005         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
8007         * math/libm-test.inc (struct test_c_f_data): New type.
8008         (RUN_TEST_LOOP_c_f): New macro.
8009         (cabs_test_data): New variable.
8010         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
8011         (carg_test_data): New variable.
8012         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
8013         (cimag_test_data): New variable.
8014         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
8015         (creal_test_data): New variable.
8016         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
8018         * math/libm-test.inc (struct test_if_f_data): New type.
8019         (RUN_TEST_LOOP_if_f): New macro.
8020         (jn_test_data): New variable.
8021         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
8022         (yn_test_data): New variable.
8023         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
8025         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
8027 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8029         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
8030         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
8032 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
8034         * benchtests/Makefile (CPPFLAGS-nonlib): Add
8035         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
8036         (bench-deps): Add bench-timing.h.
8037         * benchtests-bench-skeleton.c: Include bench-timing.h.
8038         (main): Use TIMING_* macros instead of clock_gettime.
8039         * benchtests/bench-timing.h: New file.
8041         [BZ #14582]
8042         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
8043         Renamed from _LIB_VERSION.
8044         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
8046 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
8048         * math/libm-test.inc (struct test_fff_f_data): New type.
8049         (RUN_TEST_LOOP_fff_f): New macro.
8050         (fma_test_data): New variable.
8051         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
8052         (fma_towardzero_test_data): New variable.
8053         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
8054         (fma_downward_test_data): New variable.
8055         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
8056         (fma_upward_test_data): New variable.
8057         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
8059         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
8060         (struct test_c_c_data): New type.
8061         (RUN_TEST_LOOP_c_c): New macro.
8062         (cacos_test_data): New variable.
8063         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
8064         (cacosh_test_data): New variable.
8065         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
8066         (casin_test_data): New variable.
8067         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
8068         (casinh_test_data): New variable.
8069         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
8070         (catan_test_data): New variable.
8071         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
8072         (catanh_test_data): New variable.
8073         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
8074         (ccos_test_data): New variable.
8075         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
8076         (ccosh_test_data): New variable.
8077         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
8078         (cexp_test_data): New variable.
8079         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
8080         (clog_test_data): New variable.
8081         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
8082         (clog10_test_data): New variable.
8083         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
8084         (conj_test_data): New variable.
8085         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
8086         (cproj_test_data): New variable.
8087         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
8088         (csin_test_data): New variable.
8089         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
8090         (csinh_test_data): New variable.
8091         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
8092         (csqrt_test_data): New variable.
8093         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
8094         (ctan_test_data): New variable.
8095         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
8096         (ctan_tonearest_test_data): New variable.
8097         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8098         (ctan_towardzero_test_data): New variable.
8099         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8100         (ctan_downward_test_data): New variable.
8101         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8102         (ctan_upward_test_data): New variable.
8103         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8104         (ctanh_test_data): New variable.
8105         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
8106         (ctanh_tonearest_test_data): New variable.
8107         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8108         (ctanh_towardzero_test_data): New variable.
8109         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8110         (ctanh_downward_test_data): New variable.
8111         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8112         (ctanh_upward_test_data): New variable.
8113         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8114         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
8115         of BUILD_COMPLEX.
8117         * math/libm-test.inc (struct test_ff_f_data): New type.
8118         (struct test_ff_f_data_nexttoward): Likewise.
8119         (RUN_TEST_LOOP_2_f): New macro.
8120         (RUN_TEST_LOOP_ff_f): Likewise.
8121         (atan2_test_data): New variable.
8122         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
8123         (copysign_test_data): New variable.
8124         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
8125         (fdim_test_data): New variable.
8126         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
8127         (fmax_test_data): New variable.
8128         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
8129         (fmin_test_data): New variable.
8130         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
8131         (fmod_test_data): New variable.
8132         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
8133         (hypot_test_data): New variable.
8134         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
8135         (nextafter_test_data): New variable.
8136         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
8137         (nexttoward_test_data): New variable.
8138         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
8139         (pow_test_data): New variable.
8140         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
8141         (pow_tonearest_test_data): New variable.
8142         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
8143         (pow_towardzero_test_data): New variable.
8144         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
8145         (pow_downward_test_data): New variable.
8146         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
8147         (pow_upward_test_data): New variable.
8148         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
8149         (remainder_test_data): New variable.
8150         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
8151         (scalb_test_data): New variable.
8152         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
8153         * sysdeps/i386/fpu/libm-test-ulps: Update.
8155 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
8157         * math/libm-test.inc (fma_test): Use max_value instead of local
8158         variable fltmax.
8159         (nextafter_test): Likewise.
8161         * math/libm-test.inc (acos_towardzero_test_data): New variable.
8162         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8163         (acos_downward_test_data): New variable.
8164         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8165         (acos_upward_test_data): New variable.
8166         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8167         (acosh_test_data): New variable.
8168         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
8169         (asin_test_data): New variable.
8170         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
8171         (asin_tonearest_test_data): New variable.
8172         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8173         (asin_towardzero_test_data): New variable.
8174         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8175         (asin_downward_test_data): New variable.
8176         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8177         (asin_upward_test_data): New variable.
8178         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8179         (asinh_test_data): New variable.
8180         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
8181         (atan_test_data): New variable.
8182         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
8183         (atanh_test_data): New variable.
8184         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
8185         (cbrt_test_data): New variable.
8186         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
8187         (ceil_test_data): New variable.
8188         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
8189         (cos_test_data): New variable.
8190         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
8191         (cos_tonearest_test_data): New variable.
8192         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8193         (cos_towardzero_test_data): New variable.
8194         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8195         (cos_downward_test_data): New variable.
8196         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8197         (cos_upward_test_data): New variable.
8198         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8199         (cosh_test_data): New variable.
8200         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
8201         (cosh_tonearest_test_data): New variable.
8202         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8203         (cosh_towardzero_test_data): New variable.
8204         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8205         (cosh_downward_test_data): New variable.
8206         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8207         (cosh_upward_test_data): New variable.
8208         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8209         (erf_test_data): New variable.
8210         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
8211         (erfc_test_data): New variable.
8212         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
8213         (exp_test_data): New variable.
8214         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
8215         (exp_tonearest_test_data): New variable.
8216         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8217         (exp_towardzero_test_data): New variable.
8218         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8219         (exp_downward_test_data): New variable.
8220         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8221         (exp_upward_test_data): New variable.
8222         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8223         (exp10_test_data): New variable.
8224         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
8225         (exp2_test_data): New variable.
8226         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
8227         (expm1_test_data): New variable.
8228         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
8229         (fabs_test_data): New variable.
8230         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
8231         (floor_test_data): New variable.
8232         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
8233         (j0_test_data): New variable.
8234         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
8235         (j1_test_data): New variable.
8236         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
8237         (log_test_data): New variable.
8238         (log_test): Run tests with RUN_TEST_LOOP_f_f.
8239         (log10_test_data): New variable.
8240         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
8241         (log1p_test_data): New variable.
8242         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
8243         (log2_test_data): New variable.
8244         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
8245         (logb_test_data): New variable.
8246         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
8247         (logb_downward_test_data): New variable.
8248         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8249         (nearbyint_test_data): New variable.
8250         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
8251         (rint_test_data): New variable.
8252         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
8253         (rint_tonearest_test_data): New variable.
8254         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8255         (rint_towardzero_test_data): New variable.
8256         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8257         (rint_downward_test_data): New variable.
8258         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8259         (rint_upward_test_data): New variable.
8260         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8261         (round_test_data): New variable.
8262         (round_test): Run tests with RUN_TEST_LOOP_f_f.
8263         (sin_test_data): New variable.
8264         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
8265         (sin_tonearest_test_data): New variable.
8266         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8267         (sin_towardzero_test_data): New variable.
8268         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8269         (sin_downward_test_data): New variable.
8270         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8271         (sin_upward_test_data): New variable.
8272         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8273         (sinh_test_data): New variable.
8274         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
8275         (sinh_tonearest_test_data): New variable.
8276         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8277         (sinh_towardzero_test_data): New variable.
8278         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8279         (sinh_downward_test_data): New variable.
8280         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8281         (sinh_upward_test_data): New variable.
8282         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8283         (sqrt_test_data): New variable.
8284         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
8285         (tan_test_data): New variable.
8286         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
8287         (tan_tonearest_test_data): New variable.
8288         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8289         (tan_towardzero_test_data): New variable.
8290         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8291         (tan_downward_test_data): New variable.
8292         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8293         (tan_upward_test_data): New variable.
8294         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8295         (tanh_test_data): New variable.
8296         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
8297         (tgamma_test_data): New variable.
8298         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
8299         (trunc_test_data): New variable.
8300         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
8301         (y0_test_data): New variable.
8302         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
8303         (y1_test_data): New variable.
8304         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
8305         (significand_test_data): New variable.
8306         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
8308 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
8310         [BZ #12387]
8311         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
8313 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
8315         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
8317 2013-05-10  Andreas Jaeger  <aj@suse.de>
8319         [BZ #15448]
8320         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
8321         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
8323 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
8325         * math/gen-libm-test.pl (adjust_arg): New function.
8326         (special_functions): Handle generating output in both functions
8327         and arrays.
8328         (parse_args): Likewise.
8329         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
8330         $in_func argument to parse_args.
8331         * math/libm-test.inc (struct test_f_f_data): New type.
8332         (IF_ROUND_INIT_): New macro.
8333         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8334         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8335         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8336         (IF_ROUND_INIT_FE_UPWARD): Likewise.
8337         (ROUND_RESTORE_): Likewise.
8338         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
8339         (ROUND_RESTORE_FE_TONEAREST): Likewise.
8340         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
8341         (ROUND_RESTORE_FE_UPWARD): Likewise.
8342         (RUN_TEST_LOOP_f_f): New macro.
8343         (acos_test_data): New variable.
8344         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
8345         (acos_tonearest_test_data): New variable.
8346         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8348 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8350         * benchtests/bench-skeleton.c (startup): Fix coding style.
8352 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
8354         [BZ #6809]
8355         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
8356         negative infinity argument.
8357         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
8358         negative infinity argument.
8359         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
8360         negative infinity argument.
8361         * math/libm-test.inc (tgamma_test): Expect errno to be set for
8362         domain errors.
8364 2013-05-10  Florian Weimer  <fweimer@redhat.com>
8366         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
8367         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
8368         * iconv/iconv_prog.c (main): Likewise.
8369         * locale/programs/charmap-dir.c (charmap_readdir)
8370         (fopen_uncompressed): Likewise.
8371         * locale/programs/locfile.c (siblings_uncached)
8372         (write_locale_data): Use lstat64 instead of lstat.
8373         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
8374         stat.
8376 2013-05-10  Andreas Jaeger  <aj@suse.de>
8378         [BZ #15395]
8379         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
8380         localization.
8381         Include <locale.h>.
8383 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
8385         * elf/dl-close.c (_dl_close_worker): Add comments.
8387 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
8389         [BZ #15359]
8390         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
8391         high part of pi/2.
8392         (__ieee754_rem_pio2l): Update comments.
8394         [BZ #15429]
8395         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
8396         high part of pi/2.
8397         (__ieee754_rem_pio2l): Update comments.
8399         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
8400         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
8402         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
8403         M_PI_4l.
8405         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
8406         (M_PI_34_LOG10El): Likewise.
8407         (M_PI2_LOG10El): Likewise.
8408         (M_PI4_LOG10El): Likewise.
8409         (M_PI_LOG10El): Likewise.
8411 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8413         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8415 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
8417         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
8418         (MINUS_ZERO_INIT): Likewise.
8419         (PLUS_INFTY_INIT): Likewise.
8420         (MINUS_INFTY_INIT): Likewise.
8421         (QNAN_VALUE_INIT): Likewise.
8422         (MAX_VALUE_INIT): Likewise.
8423         (MIN_VALUE_INIT): Likewise.
8424         (MIN_SUBNORM_VALUE_INIT): Likewise.
8425         (plus_zero): Initialize with PLUS_ZERO_INIT.
8426         (minus_zero): Initialize with MINUS_ZERO_INIT.
8427         (plus_infty): Initialize with PLUS_INFTY_INIT.
8428         (minus_infty): Initialize with MINUS_INFTY_INIT.
8429         (qnan_value): Initialize with QNAN_VALUE_INIT.
8430         (max_value): Initialize with MAX_VALUE_INIT.
8431         (min_value): Initialize with MIN_VALUE_INIT.
8432         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
8434         * math/libm-test.inc (RUN_TEST_if_f): New macro.
8435         (jn_test): Use TEST_if_f instead of TEST_ff_f.
8436         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
8437         (yn_test): Use TEST_if_f instead of TEST_ff_f.
8439         * math/libm-test.inc (RUN_TEST_f_f): New macro.
8440         (RUN_TEST_2_f): Likewise.
8441         (RUN_TEST_ff_f): Likewise.
8442         (RUN_TEST_fi_f): Likewise.
8443         (RUN_TEST_fl_f): Likewise.
8444         (RUN_TEST_fff_f): Likewise.
8445         (RUN_TEST_c_f): Likewise.
8446         (RUN_TEST_f_f1): Likewise.
8447         (RUN_TEST_fF_f1): Likewise.
8448         (RUN_TEST_fI_f1): Likewise.
8449         (RUN_TEST_ffI_f1): Likewise.
8450         (RUN_TEST_c_c): Likewise.
8451         (RUN_TEST_cc_c): Likewise.
8452         (RUN_TEST_f_i): Likewise.
8453         (RUN_TEST_f_i_tg): Likewise.
8454         (RUN_TEST_ff_i_tg): Likewise.
8455         (RUN_TEST_f_b): Likewise.
8456         (RUN_TEST_f_b_tg): Likewise.
8457         (RUN_TEST_f_l): Likewise.
8458         (RUN_TEST_f_L): Likewise.
8459         (RUN_TEST_sincos): Likewise.
8460         * math/gen-libm-test.pl (new_test): Take new argument to indicate
8461         whether to show exceptions.  Do not include ");\n" in return
8462         value.
8463         (special_functions): Output call to RUN_TEST_sincos instead of
8464         check_float calls.  Update calls to new_test.
8465         (parse_args): Output call to single RUN_TEST_* macro instead of
8466         check_* calls and other assignments.  Update calls to new_test.
8468         [BZ #2546]
8469         [BZ #2560]
8470         [BZ #5159]
8471         [BZ #15426]
8472         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
8473         input to result for tgamma overflow.
8474         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
8475         (gamma_coeff): New variable.
8476         (NCOEFF): New macro.
8477         (gamma_positive): New function.
8478         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
8479         underflow here.  Use gamma_positive instead of exp (lgamma) for
8480         other arguments.
8481         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
8482         (gamma_coeff): New variable.
8483         (NCOEFF): New macro.
8484         (gammaf_positive): New function.
8485         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
8486         underflow here.  Use gamma_positive instead of exp (lgamma) for
8487         other arguments.
8488         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
8489         (gamma_coeff): New variable.
8490         (NCOEFF): New macro.
8491         (gammal_positive): New function.
8492         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
8493         underflow here.  Use gamma_positive instead of exp (lgamma) for
8494         other arguments.
8495         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
8496         (gamma_coeff): New variable.
8497         (NCOEFF): New macro.
8498         (gammal_positive): New function.
8499         (__ieee754_gammal_r): Handle positive infinity, overflow and
8500         underflow here.  Handle NaN the same as positive infinity.  Remove
8501         check x < 0xffffffff for negative integers.  Use gamma_positive
8502         instead of exp (lgamma) for other arguments.
8503         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
8504         (gamma_coeff): New variable.
8505         (NCOEFF): New macro.
8506         (gammal_positive): New function.
8507         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
8508         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
8509         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8510         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
8511         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
8512         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8513         * sysdeps/generic/math_private.h (__gamma_productf): New
8514         prototype.
8515         (__gamma_product): Likewise.
8516         (__gamma_productl): Likewise.
8517         * math/Makefile (libm-calls): Add gamma_product.
8518         * math/libm-test.inc (tgamma_test): Add more tests.
8519         * sysdeps/i386/fpu/libm-test-ulps: Update.
8520         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8522 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
8524         * benchtests/bench-skeleton.c (main): Preheat CPU.
8526 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
8528         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
8530 2013-05-07  Roland McGrath  <roland@hack.frob.com>
8532         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
8533         and _dl_skip_args_internal.
8535 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
8537         * manual/message.texi (Message Translation): Talk about users.
8538         Message to key mapping impacts design.
8540 2013-05-06  Roland McGrath  <roland@hack.frob.com>
8542         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
8544         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
8546         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
8547         * sysdeps/wordsize-64/glob64.c: ... here.
8549         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
8550         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
8551         New macros.
8553         * debug/getlogin_r_chk.c: Moved to ...
8554         * login/getlogin_r_chk.c: ... here.
8555         * debug/Makefile (routines): Move getlogin_r_chk to ...
8556         * login/Makefile (routines): ... here.
8557         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
8558         * login/Versions (libc: GLIBC_2.4): ... here.
8560         * io/poll.c (__poll): Renamed from poll.
8561         Add libc_hidden_def.
8562         (poll): Define as weak alias.
8564         * debug/ptsname_r_chk.c: Moved to ...
8565         * login/ptsname_r_chk.c: ... here.
8566         * debug/Makefile (routines): Move ptsname_r_chk to ...
8567         * login/Makefile (routines): ... here.
8568         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
8569         * login/Versions (libc: GLIBC_2.4): ... here.
8571         * posix/getlogin.c: Moved to ...
8572         * login/getlogin.c: ... here.
8573         * posix/getlogin_r.c: Moved to ...
8574         * login/getlogin_r.c: ... here.
8575         * posix/getlogin_r.c: Moved to ...
8576         * login/getlogin_r.c: ... here.
8577         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
8578         * login/Makefile (routines): ... here.
8579         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
8580         * login/Versions (libc: GLIBC_2.0): ... here.
8582         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
8583         (setrlimit): Define as weak alias.
8585         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
8586         Call __ names for open, ftruncate, and close.
8587         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
8588         (truncate): Define as weak alias.
8590 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
8592         * math/gen-libm-test.pl (parse_args): Initialize x before each
8593         test of frexp, modf and remquo.
8595         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
8596         test signgam value.
8598 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8600         [BZ #15418]
8601         [BZ #15419]
8602         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
8603         internal tests.
8604         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8606 2013-05-06  Roland McGrath  <roland@hack.frob.com>
8608         * elf/dl-writev.h: New file.
8609         * elf/dl-misc.c: Include it.
8610         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
8611         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
8613 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
8615         * math/libm-test.inc (noXFails): Remove variable.
8616         (noXPasses): Likewise.
8617         (BUILD_COMPLEX_INT): Remove macro.
8618         (print_screen): Remove xfail argument.
8619         (print_screen_max_error): Likewise.
8620         (update_stats): Likewise.
8621         (print_max_error): Likewise.  Update calls to other affected
8622         functions.
8623         (print_complex_max_error): Likewise.
8624         (test_single_exception): Update calls to print_screen.
8625         (test_single_errno): Likewise.
8626         (check_float_internal): Remove xfail argument.  Update calls to
8627         other affected functions.
8628         (check_float): Likewise.
8629         (check_complex): Likewise.
8630         (check_int): Likewise.
8631         (check_long): Likewise.
8632         (check_bool): Likewise.
8633         (check_longlong): Likewise.
8634         (main): Don't print noXFails and noXPasses.
8635         * math/gen-libm-test.pl (top level): Don't mention expected
8636         failure handling in comment.
8637         (new_test): Don't handle expected failures.
8638         (parse_args): Don't mention expected failure handling in comment.
8639         (generate_testfile): Don't handle expected failures.
8640         (parse_ulps): Likewise.
8641         (print_ulps_file): Likewise.
8642         (get_failure): Remove function.
8643         (output_test): Don't handle expected failures.
8644         * make/README.libm-test: Don't mention expected failure handling.
8646         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
8647         (minus_zero): Likewise.
8648         (plus_infty): Likewise.
8649         (minus_infty): Likewise.
8650         (qnan_value): Likewise.
8651         (max_value): Likewise.
8652         (min_value): Likewise.
8653         (min_subnorm_value): Likewise.
8654         (initialize): Do not initialize those variables dynamically.
8656 2013-05-03  Roland McGrath  <roland@hack.frob.com>
8658         * io/open.c (__open_2): Moved to ...
8659         * io/open_2.c: ... this new file.
8660         * io/open64.c (__open64_2): Moved to ...
8661         * io/open64_2.c: ... this new file.
8662         * io/openat.c (__openat_2): Moved to ...
8663         * io/openat_2.c: ... this new file.
8664         * io/openat64.c (__openat64_2): Moved to ...
8665         * io/openat64_2.c: ... this new file.
8666         * io/Makefile (routines): Add them.
8667         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
8668         * sysdeps/unix/sysv/linux/open_2.c: File removed.
8669         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
8670         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
8671         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
8672         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
8673         (__openat64): Add hidden_ver.
8674         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
8675         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
8677         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
8678         Separately conditionalize setting of GLRO(dl_sysinfo) so
8679         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
8680         as well, but the actual setting is only under [NEED_DL_SYSINFO].
8682 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8684         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
8685         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
8686         definition.
8687         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
8688         * sysdeps/unix/sysv/linux/powerpc/init-first.c
8689         (_libc_vdso_platform_setup): Add __vdso_time initialization.
8690         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
8691         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
8693 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
8695         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
8696         test signgam value.
8698         * math/libm-test.inc (hypot_test): Do not use
8699         IGNORE_ZERO_INF_SIGN.
8701 2013-05-03  Andreas Jaeger  <aj@suse.de>
8703         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
8704         Linux 3.9.
8705         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
8706         (PF_MAX): Adjust for VSOCK change.
8708 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8710         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8712 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
8714         [BZ #15264]
8715         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
8716         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
8717         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
8719 2013-05-02  David S. Miller  <davem@davemloft.net>
8721         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8723 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
8725         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
8727 2013-05-01  Roland McGrath  <roland@hack.frob.com>
8729         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
8731 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
8733         [BZ #14952]
8734         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
8735         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8736         Use __attribute__ ((__gnu_inline__)).
8737         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8738         Don't use __attribute__ ((__gnu_inline__)).
8740 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
8742         [BZ #15423]
8743         * math/s_catan.c (__catan): Handle small real or imaginary part of
8744         input specially to avoid spurious underflow.
8745         * math/s_catanf.c (__catanf): Likewise.
8746         * math/s_catanh.c (__catanh): Likewise.
8747         * math/s_catanhf.c (__catanhf): Likewise.
8748         * math/s_catanhl.c (__catanhl): Likewise.
8749         * math/s_catanl.c (__catanl): Likewise.
8750         * math/libm-test.inc (catan_test): Add more tests.
8751         (catanh_test): Likewise.
8752         * sysdeps/i386/fpu/libm-test-ulps: Update.
8753         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8755 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8757         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8759 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
8761         [BZ #15416]
8762         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
8763         accurately for denominator in atan2.
8764         * math/s_catanf.c (__catanf): Likewise.
8765         * math/s_catanh.c (__catanh): Likewise.
8766         * math/s_catanhf.c (__catanhf): Likewise.
8767         * math/s_catanhl.c (__catanhl): Likewise.
8768         * math/s_catanl.c (__catanl): Likewise.
8769         * math/libm-test.inc (catan_test): Add more tests.
8770         (catanh_test): Likewise.
8771         * sysdeps/i386/fpu/libm-test-ulps: Update.
8772         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8774 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8776         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
8778         * benchtests/Makefile (bench): Remove slow benchmarks.
8779         * benchtests/atan-inputs: Add slow benchmark inputs.
8780         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
8781         (BENCH_FUNC): Accept variant offset.
8782         (VARIANT): Define.
8783         * benchtests/bench-skeleton.c (main): Run benchmark for each
8784         variant.
8785         * benchtests/cos-inputs: Add slow benchmark inputs.
8786         * benchtests/exp-inputs: Likewise.
8787         * benchtests/pow-inputs: Likewise.
8788         * benchtests/sin-inputs: Likewise.
8789         * benchtests/slowatan-inputs: Remove.
8790         * benchtests/slowatan.c: Remove.
8791         * benchtests/slowcos-inputs: Remove.
8792         * benchtests/slowcos.c: Remove.
8793         * benchtests/slowexp-inputs: Remove.
8794         * benchtests/slowexp.c: Remove.
8795         * benchtests/slowpow-inputs: Remove.
8796         * benchtests/slowpow.c: Remove.
8797         * benchtests/slowsin-inputs: Remove.
8798         * benchtests/slowsin.c: Remove.
8799         * benchtests/slowtan-inputs: Remove.
8800         * benchtests/slowtan.c: Remove.
8801         * benchtests/tan-inputs: Add slow benchmark inputs.
8802         * scripts/bench.pl: Parse comments and directives.
8804         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
8805         in CPPFLAGS.
8806         ($(objpfx)bench-%.c): Remove *-ITER.
8807         * benchtests/bench-modf.c: Remove definition of ITER.
8808         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
8809         (main): Loop for DURATION seconds instead of fixed number of
8810         iterations.
8811         * scripts/bench.pl: Don't expect iterations in parameters.
8813 2013-04-29  Roland McGrath  <roland@hack.frob.com>
8815         * io/fchdir.c (__fchdir): Renamed from fchdir.
8816         (fchdir): Define as weak alias.
8818 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
8820         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
8821         (ERRNO_EDOM): Likewise.
8822         (ERRNO_ERANGE): Likewise.
8823         (noErrnoTests): New variable.
8824         (init_max_error): Set errno to 0.
8825         (test_single_errno): New function.
8826         (test_errno): Likewise.
8827         (check_float_internal): Call test_errno.  Set errno to 0.
8828         (check_complex): Refer to errno tests in comment.
8829         (check_int): Call test_errno.  Set errno to 0.
8830         (check_long): Likewise.
8831         (check_bool): Likewise.
8832         (check_longlong): Likewise.
8833         (cos_test): Use ERRNO_* flags for errno tests instead of
8834         check_int.
8835         (expm1_test): Likewise.
8836         (fmod_test): Likewise.
8837         (ilogb_test): Likewise.
8838         (lgamma_test): Likewise.
8839         (pow_test): Likewise.
8840         (remainder_test): Likewise.
8841         (sin_test): Likewise.
8842         (tan_test): Likewise.
8843         (yn_test): Likewise.
8844         (initialize): Set errno to 0.
8845         (main): Print number of errno tests.
8846         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
8848 2013-04-29  Andreas Jaeger  <aj@suse.de>
8850         [BZ #15084]
8851         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
8852         and RES_USEVC.
8854         [BZ #15085]
8855         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
8856         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
8857         unimplemented.
8859         [BZ #15380]
8860         * stdlib/random.c (__initstate): Return NULL if
8861         __initstate fails.
8863         [BZ #15086]
8864         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
8865         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
8866         RES_SNGLKUPREOP.
8868 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8870         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8872 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
8874         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
8875         of individual tests.
8876         (casin_test): Likewise.
8877         (casinh_test): Likewise.
8879 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
8881         [BZ #15409]
8882         * math/s_catan.c (__catan): Handle arguments with large real or
8883         imaginary part separately without squaring.
8884         * math/s_catanf.c (__catanf): Likewise.
8885         * math/s_catanh.c (__catanh): Likewise.
8886         * math/s_catanhf.c (__catanhf): Likewise.
8887         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8888         and redefine.
8889         (__catanhl): Handle arguments with large real or imaginary part
8890         separately without squaring.
8891         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8892         and redefine.
8893         (__catanl): Handle arguments with large real or imaginary part
8894         separately without squaring.
8895         * math/libm-test.inc (catan_test): Add more tests.
8896         (catanh_test): Likewise.
8897         * sysdeps/i386/fpu/libm-test-ulps: Update.
8898         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8900 2013-04-27  Andreas Jaeger  <aj@suse.de>
8902         [BZ #15007]
8903         * stdlib/stdlib.h: Update guards for qecvt.
8904         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
8905         <stdlib.h>.
8907 2013-04-27  Allan McRae  <allan@archlinux.org>
8909         * sysdeps/i386/fpu/libm-test-ulps: Update.
8911 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
8913         [BZ #15406]
8914         * math/s_catan.c: Include <float.h>.
8915         (__catan): Ensure underflow exception occurs for underflowed
8916         result.
8917         * math/s_catanf.c: Include <float.h>.
8918         (__catanf): Ensure underflow exception occurs for underflowed
8919         result.
8920         * math/s_catanh.c: Include <float.h>.
8921         (__catanh): Ensure underflow exception occurs for underflowed
8922         result.
8923         * math/s_catanhf.c: Include <float.h>.
8924         (__catanhf): Ensure underflow exception occurs for underflowed
8925         result.
8926         * math/s_catanhl.c: Include <float.h>.
8927         (__catanhl): Ensure underflow exception occurs for underflowed
8928         result.
8929         * math/s_catanl.c: Include <float.h>.
8930         (__catanl): Ensure underflow exception occurs for underflowed
8931         result.
8932         * math/libm-test.inc (catan_test): Add more tests.
8933         (catanh_test): Likewise.
8935         [BZ #15405]
8936         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
8937         underflowed result.
8938         * math/s_ccoshf.c (__ccoshf): Likewise.
8939         * math/s_ccoshl.c (__ccoshl): Likewise.
8940         * math/s_csin.c (__csin): Likewise.
8941         * math/s_csinf.c (__csinf): Likewise.
8942         * math/s_csinh.c (__csinh): Likewise.
8943         * math/s_csinhf.c (__csinhf): Likewise.
8944         * math/s_csinhl.c (__csinhl): Likewise.
8945         * math/s_csinl.c (__csinl): Likewise.
8946         * math/libm-test.inc (ccos_test): Add more tests.
8947         (ccosh_test): Likewise.
8948         (csin_test): Likewise.
8949         (csinh_test): Likewise.
8951 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8953         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
8954         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
8955         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
8956         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
8957         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
8958         powerpc/power5+/fpu folders.
8959         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
8962 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
8964         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8966 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
8968         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
8969         additions to variable.
8970         [$(config-machine) = x86_64] (modules-names): Likewise.
8971         ($(objpfx)tst-audit3): Remove dependency.
8972         ($(objpfx)tst-audit3.out): Likewise.
8973         ($(objpfx)tst-audit4): Likewise.
8974         ($(objpfx)tst-audit4.out): Likewise.
8975         ($(objpfx)tst-audit5): Likewise.
8976         ($(objpfx)tst-audit5.out): Likewise.
8977         ($(objpfx)tst-audit6): Likewise.
8978         ($(objpfx)tst-audit6.out): Likewise.
8979         ($(objpfx)tst-audit7): Likewise.
8980         ($(objpfx)tst-audit7.out): Likewise.
8981         (tst-audit3-ENV): Remove variable.
8982         (tst-audit4-ENV): Likewise.
8983         (tst-audit5-ENV): Likewise.
8984         (tst-audit6-ENV): Likewise.
8985         (tst-audit7-ENV): Likewise.
8986         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
8987         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
8988         addition to variable.
8989         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
8990         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
8991         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
8992         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
8993         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
8994         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
8995         tst-audit3, tst-audit4 and tst-audit5.
8996         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
8997         tst-audit6 and tst-audit7.
8998         [$(subdir) = elf] (modules-names): Add audit modules for those
8999         tests.
9000         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
9001         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
9002         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
9003         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
9004         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
9005         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
9006         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
9007         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
9008         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
9009         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
9010         [$(subdir) = elf] (tst-audit3-ENV): New variable.
9011         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
9012         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
9013         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
9014         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
9015         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
9016         Likewise.
9017         [$(subdir) = elf && $(config-cflags-avx) = yes]
9018         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
9019         [$(subdir) = elf && $(config-cflags-avx) = yes]
9020         (CFLAGS-tst-auditmod4a.c): Likewise.
9021         [$(subdir) = elf && $(config-cflags-avx) = yes]
9022         (CFLAGS-tst-auditmod4b.c): Likewise.
9023         [$(subdir) = elf && $(config-cflags-avx) = yes]
9024         (CFLAGS-tst-auditmod6b.c): Likewise.
9025         [$(subdir) = elf && $(config-cflags-avx) = yes]
9026         (CFLAGS-tst-auditmod6c.c): Likewise.
9027         [$(subdir) = elf && $(config-cflags-avx) = yes]
9028         (CFLAGS-tst-auditmod7b.c): Likewise.
9029         * elf/tst-audit3.c: Move to ...
9030         * sysdeps/x86_64/tst-audit3.c: ... here.
9031         * elf/tst-audit4.c: Move to ...
9032         * sysdeps/x86_64/tst-audit4.c: ... here.
9033         * elf/tst-audit5.c: Move to ...
9034         * sysdeps/x86_64/tst-audit5.c: ... here.
9035         * elf/tst-audit6.c: Move to ...
9036         * sysdeps/x86_64/tst-audit6.c: ... here.
9037         * elf/tst-audit7.c: Move to ...
9038         * sysdeps/x86_64/tst-audit7.c: ... here.
9039         * elf/tst-auditmod3a.c: Move to ...
9040         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
9041         * elf/tst-auditmod3b.c: Move to ...
9042         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
9043         * elf/tst-auditmod4a.c: Move to ...
9044         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
9045         * elf/tst-auditmod4b.c: Move to ...
9046         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
9047         * elf/tst-auditmod5a.c: Move to ...
9048         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
9049         * elf/tst-auditmod5b.c: Move to ...
9050         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
9051         * elf/tst-auditmod6a.c: Move to ...
9052         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
9053         * elf/tst-auditmod6b.c: Move to ...
9054         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
9055         * elf/tst-auditmod6c.c: Move to ...
9056         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
9057         * elf/tst-auditmod7a.c: Move to ...
9058         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
9059         * elf/tst-auditmod7b.c: Move to ...
9060         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
9062 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
9064         [BZ #15366]
9065         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
9066         define unconditionally.
9067         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
9068         define unconditionally.
9069         (INT8_C, INT16_C, etc.): Likewise.
9071 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
9073         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
9074         __ehdr_start with hidden visibility.
9076         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
9078 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
9080         * math/libm-test.inc (cos_test): Use accurate hex constants.
9081         (sincost_test): Likewise.
9083 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
9085         * math/libm-test.inc (catan_test): Add more tests.
9086         (catanh_test): Likewise.
9088         * math/s_catanf.c (__catanf): Use suffixed floating-point
9089         constants.
9090         * math/s_catanhf.c (__catanhf): Likewise.
9091         * math/s_catanhl.c (__catanhl): Likewise.
9092         * math/s_catanl.c (__catanl): Likewise.
9094         [BZ #15394]
9095         * math/s_catan.c (__catan): Calculate imaginary part of result
9096         with log1p not log unless computing log of number close to 0.
9097         * math/s_catanf.c (__catanf): Likewise.
9098         * math/s_catanl.c (__catanl): Likewise.
9099         * math/s_catanh.c (__catanh): Calculate real part of result with
9100         log1p not log unless computing log of number close to 0.
9101         * math/s_catanhf.c (__catanhf): Likewise.
9102         * math/s_catanhl.c (__catanhl): Likewise.
9103         * math/libm-test.inc (catan_test): Add more tests.
9104         (catanh_test): Likewise.
9105         * sysdeps/i386/fpu/libm-test-ulps: Update.
9106         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9108 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9110         * benchtests/Makefile: Mention files in which fast and slow
9111         paths of math functions are implemented.
9113 2013-04-23  Roland McGrath  <roland@hack.frob.com>
9115         * sysdeps/posix/timespec_get.c: New file.
9117 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9119         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
9120         POWER.
9121         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
9122         for POWER.
9123         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
9124         powerpc/power5/fpu folders.
9125         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
9126         * benchtests/Makefile: Add modf testcase.
9127         * benchtests/bench-modf.c: New file: Benchmark test for mo
9129 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
9131         [BZ #14888]
9132         * time/Makefile (tests): Add tst-strptime-whitespace.
9133         * time/strptime_l.c (get_number): Use ISSPACE.
9134         (__strptime_internal): Likewise.
9135         * time/tst-strptime-whitespace.c: New test case.
9137 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
9139         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
9140         member.
9141         (_nss_files_init): Set it here.
9143 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
9145         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
9146         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
9147         unsigned.
9149 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
9151         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
9153 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
9155         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
9156         size just once.
9158 2013-04-21  David S. Miller  <davem@davemloft.net>
9160         * po/ru.po: Update Russion translation from translation project.
9162 2013-04-17  Adam Conrad  <adconrad@0c3.net>
9164         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
9165         and setfsgid.
9167 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
9169         * configure.in: Remove i386 configure warning. Remove i386 case.
9170         * configure: Regenerate.
9171         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
9172         Add example to error message.
9173         * sysdeps/i386/configure: Regenerate.
9175 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9177         * benchtests/Makefile (bench): Add cos, tan, slowcos and
9178         slowtan.
9179         * benchtests/cos-inputs: New file.
9180         * benchtests/slowcos-inputs: New file.
9181         * benchtests/slowcos.c: New file.
9182         * benchtests/slowtan-inputs: New file.
9183         * benchtests/slowtan.c: New file.
9184         * benchtests/tan-inputs: New file.
9186 2013-04-16  Roland McGrath  <roland@hack.frob.com>
9188         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
9189         considered kosher.
9191 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9193         * benchtests/Makefile: Include cppflags-iterator.mk to add
9194         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
9196         * Makefile.in (bench-clean): New target.
9197         * benchtests/Makefile (bench-clean): Likewise.
9199 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
9201         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
9203 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
9205         * stdio-common/tstdiomisc.c: Fix coding-style violation.
9207 2013-04-15  Andreas Schwab  <schwab@suse.de>
9209         * nscd/grpcache.c (cache_addgr): Properly check for short write.
9210         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9211         * nscd/pwdcache.c (cache_addpw): Likewise.
9212         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
9213         more than recsize.
9215 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9217         * benchtests/Makefile (bench): Write all output to
9218         bench-out.tmp together.
9220 2013-04-15  Andreas Schwab  <schwab@suse.de>
9222         * nscd/nscd.c (main): Don't fork again after closing files.
9224 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9226         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
9228         * benchtests/Rules (bench-deps): Collect dependencies into a
9229         single variable.  Add Makefile to dependencies.
9230         ($(objpfx)bench-%.c): Depend on bench-deps.
9232 2013-04-12  Roland McGrath  <roland@hack.frob.com>
9233             Xavier Roche  <roche+kml2@exalead.com>
9235         [BZ #15361]
9236         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
9237         just that it's a file descriptor.
9238         * manual/llio.texi (Synchronizing AIO Operations): Update description
9239         for EBADF error from aio_fsync.
9241 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9243         * Rules (bench): Move target definition...
9244         * benchtests/Makefile: ... here.
9246 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
9248         * math/libm-test.inc (cos_test): Fix PI/2 test.
9249         (sincos_test): Likewise.
9250         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9251         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9253 2013-04-11  Andreas Schwab  <schwab@suse.de>
9255         [BZ #13988]
9256         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
9257         accept exponent character only when digits were seen.
9258         * stdio-common/Makefile (tests): Add bug26.
9259         * stdio-common/bug26.c: New file.
9261         [BZ #14293]
9262         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
9263         non-freeable.
9265 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9267         * Makeconfig (rtld-prefix): Define built linker prefix.
9268         * Rules (run-bench): Use it.
9269         * math/Makefile (run-regen-ulps): Likewise.
9271         * Rules (bench): Remove eval.
9273 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9274             Roland McGrath  <roland@hack.frob.com>
9275             Ondrej Bilka  <neleai@seznam.cz>
9277         [BZ #15346]
9278         * time/getdate.c: Include ctype.h and alloca.h.
9279         (__getdate_r): Trim leading and trailing spaces of input.
9280         * time/tst-getdate.c (tests): Add tests with leading and
9281         trailing spaces.
9283 2013-04-08  Roland McGrath  <roland@hack.frob.com>
9285         [BZ #14280]
9286         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
9287         when computing value.
9289 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9291         * math/README.libm-test (How can I generate "libm-test-ulps"?):
9292         Use testrun.sh to run libm tests.
9294         [BZ #15309]
9295         * elf/dl-open.c (dl_open_worker): memset all of seen array.
9297 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
9299         [BZ #15264]
9300         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
9302 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9304         * Makefile.in (regen-ulps): New target.
9305         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
9306         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
9307         [ifneq (no,$(PERL)] (regen-ulps): New target.
9308         [ifeq (no,$(PERL)] (regen-ulps): New target.
9309         * math/libm-test.inc (ulps_file_name): Define.
9310         (output_dir): New variable.
9311         (options): Add "output-dir" option.
9312         (parse_opt): Handle 'o' case.
9313         (main): If output_dir is non-NULL use it as a prefix
9314         otherwise use "".
9315         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
9317 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9319         [BZ #10060, #10062]
9320         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
9321         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
9322         fail configure if __sync_val_compare_and_swap is not inlined.
9323         * sysdeps/i386/configure: Regenerate.
9324         * configure.in: Build for i686 when configured for i386.
9325         * configure: Regenerate.
9326         * README: Remove i386 reference.
9328 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9330         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
9331         * sysdeps/s390/s390-64/sysdep.h: Likewise.
9333 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
9335         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
9336         (lmsnanval): New variables.
9337         (F): Add conversion tests.
9338         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
9339         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
9341         * stdio-common/tstdiomisc.c (F): Properly collect individual
9342         tests' results.
9344         [BZ #14686, #15336]
9345         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
9346         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9347         Instead, use input NaN values or generate a qNaN by arithmetic
9348         operation.  Also fix bugs to comply with the standard.
9349         * math/libm-test.inc (remainder_test): Add more tests.
9351         [BZ #15335, #15342]
9352         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
9353         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
9354         input NaN values or generate a qNaN by arithmetic operation.
9356         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
9357         unreachable code.
9359         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
9360         definitions.
9362 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
9364         [BZ #14478]
9365         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
9366         underflowed result.
9367         * math/s_cexpf.c (__cexpf): Likewise.
9368         * math/s_cexpl.c (__cexpl): Likewise.
9369         * math/libm-test.inc (cexp_test): Add more tests.
9371 2013-04-03  Andreas Schwab  <schwab@suse.de>
9373         [BZ #15330]
9374         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
9375         order arrays from heap if bigger than alloca cutoff.
9377 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
9379         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
9380         (SNAN_TESTS_double): Refer to GCC PR56831.
9381         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
9382         GCC PR56828.
9384 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
9386         * Rules (bench): Move bench.out after the run is complete.
9388         * Rules (bench): Echo currently running benchmark.
9390         * benchtests/Makefile (bench): Add atan and slowatan.
9391         * benchtests/atan-inputs: New file.
9392         * benchtests/slowatan-inputs: New file.
9393         * benchtests/slowatan.c: New file.
9395         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
9396         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
9397         its value.
9399         [BZ #15305]
9400         * sysdeps/unix/sysv/linux/kernel-features.h
9401         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
9402         __ASSUME_XFS_RESTRICTED_CHOWN.
9403         * sysdeps/unix/sysv/linux/pathconf.c
9404         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9405         Save and restore errno.
9407 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
9409         [BZ #15327]
9410         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
9411         arguments using __kernel_casinh.
9412         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
9413         arguments using __kernel_casinhf.
9414         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
9415         arguments using __kernel_casinhl.
9416         * math/libm-test.inc (cacosh_test): Add more tests.
9417         * sysdeps/i386/fpu/libm-test-ulps: Update.
9418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9420 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9422         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
9423         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
9425         * bench/Makefile (bench): Add sin and slowsin.
9426         * benchtests/sin-inputs: New file.
9427         * benchtests/slowsin-inputs: New file.
9428         * benchtests/slowsin.c: New file.
9430         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
9431         (bench): Add slowexp and slowpow.
9432         (exp-ITER): Increase iterations.
9433         (pow-ITER): Likewise.
9434         * benchtests/exp-inputs: Change input.
9435         * benchtests/pow-inputs: Likewise.
9436         * benchtests/slowexp-inputs: New file.
9437         * benchtests/slowexp.c: New file.
9438         * benchtests/slowpow-inputs: New file.
9439         * benchtests/slowpow.c: New file.
9441 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9443         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
9444         instructions.
9445         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9446         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
9447         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9448         * benchtests/Makefile: Add rint benchtest.
9449         * benchtests/rint-inputs: Input for rint benchtest.
9451 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
9453         * Versions.def (libm): Add GLIBC_2.18.
9454         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
9455         hidden libm prototypes.
9456         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
9457         * math/Makefile (libm-calls): Add s_issignaling.
9458         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
9459         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
9460         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
9461         declaration.
9462         * math/math.h [__USE_GNU] (issignaling): New macro.
9463         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
9464         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
9465         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
9466         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
9467         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
9468         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
9469         * manual/arith.texi (issignaling): New section.
9470         * manual/libm-err-tab.pl (@all_functions): Update comment.
9471         * math/gen-libm-test.pl (parse_args): Apply special handling for
9472         issignaling.
9473         * math/libm-test.inc (print_float, issignaling_test): New
9474         functions.
9475         (check_float_internal): Add issignaling checks.
9476         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
9477         default definition.
9478         * sysdeps/powerpc/math-tests.h: New file.
9479         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
9480         tests.
9481         * math/test-snan.c (TEST_FUNC): Likewise.
9483 2013-03-30  David S. Miller  <davem@davemloft.net>
9485         * po/de.po: Update from translation team.
9487 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
9489         [BZ #10357]
9490         * math/k_casinh.c (__kernel_casinh): Handle arguments with
9491         imaginary part less than 1.0 and real part less than 0.5
9492         specially.
9493         * math/k_casinhf.c (__kernel_casinhf): Likewise.
9494         * math/k_casinhl.c (__kernel_casinhl): Likewise.
9495         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
9496         (cacos_test): Add more tests.
9497         (casin_test): Likewise.
9498         (casinh_test): Likewise.
9499         * sysdeps/i386/fpu/libm-test-ulps: Update.
9500         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9502 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9504         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
9505         ONE with its value.
9507         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
9508         (__pow_mp): Replace ONE and MONE with their values.
9509         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9510         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
9511         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9512         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
9513         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9514         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9516         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
9518         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
9519         (__pow_mp): Replace ZERO and MZERO with their values.
9520         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9521         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9522         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9523         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9524         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9525         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
9526         (__sqr): Likewise.
9528         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
9530         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
9532 2013-03-28  Roland McGrath  <roland@hack.frob.com>
9534         * include/stdlib.h [!SHARED] (__call_tls_dtors):
9535         Declare with __attribute__ ((weak)).
9536         * stdlib/exit.c (__libc_atexit) [!SHARED]:
9537         Call __call_tls_dtors only if it's not NULL.
9539 2013-03-28  Roland McGrath  <roland@hack.frob.com>
9541         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
9542         didn't do it already, then set _dl_phdr and _dl_phnum based on the
9543         magic __ehdr_start linker symbol if it's defined.
9544         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
9545         them up here if it was already done.
9547         * elf/dl-support.c (_dl_phdr): Make pointer to const.
9548         (_dl_aux_init): Use const in cast when setting it.
9549         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
9550         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
9551         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
9553         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
9554         Declare them here.
9555         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
9556         * csu/libc-tls.c: Nor here.
9557         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
9559         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
9560         (__libc_message): Never call vsyslog.
9562 2013-03-28  Alan Modra  <amodra@gmail.com>
9564         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
9565         Define as empty.
9566         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
9567         Likewise.
9569 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9571         [BZ #15214]
9572         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
9573         underflow.
9574         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9576 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9578         [BZ #15304]
9579         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9580         Don't add gid passed as argument.
9582         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
9584 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
9586         [BZ #15307]
9587         * math/k_casinh.c (__kernel_casinh): Handle arguments with
9588         imaginary part between 1.0 and 1.5 and real part less than 0.5
9589         specially.
9590         * math/k_casinhf.c (__kernel_casinhf): Likewise.
9591         * math/k_casinhl.c (__kernel_casinhl): Likewise.
9592         * math/libm-test.inc (cacos_test): Add more tests.
9593         (casin_test): Likewise.
9594         (casinh_test): Likewise.
9595         * sysdeps/i386/fpu/libm-test-ulps: Update.
9596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9598 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9600         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
9601         constants.
9602         (norm): Likewise.
9603         (denorm): Likewise.
9604         (__dbl_mp): Likewise.
9605         (add_magnitudes): Likewise.
9606         (sub_magnitudes): Likewise.
9607         (__add): Likewise.
9608         (__sub): Likewise.
9609         (__mul): Likewise.
9610         (__sqr): Likewise.
9611         (__inv): Likewise.
9612         (__dvd): Likewise.
9614         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
9615         commented code.
9616         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
9617         (__dubcos): Likewise.
9618         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
9619         (__ieee754_acos): Likewise.
9620         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9621         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
9622         (__exp1): Likewise.
9623         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9624         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9625         (log1): Likewise.
9626         (my_log2): Likewise.
9627         (checkint): Likewise.
9628         * sysdeps/ieee754/dbl-64/e_remainder.c
9629         (__ieee754_remainder): Likewise.
9630         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9631         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
9632         (bsloww): Likewise.
9633         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9635         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9636         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
9637         MANTISSA_STORE_T to store computations on mantissa.  Use
9638         macros for rounding and division.
9639         (denorm): Likewise.
9640         (__dbl_mp): Likewise.
9641         (add_magnitudes): Likewise.
9642         (sub_magnitudes): Likewise.
9643         (__mul): Likewise.
9644         (__sqr): Likewise.
9645         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
9646         powers of two in terms of TWOPOW macro.
9647         (mp_no): Make type of mantissa as MANTISSA_T.
9648         [!RADIXI]: Define RADIXI.
9649         [!TWO52]: Define TWO52.
9650         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9652 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9654         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
9655         llroundl symbol when building for PPC32.
9657 2013-03-24  Mark H Weaver  <mhw@netris.org>
9659         * manual/arith.texi (Normalization Functions): Fix prototypes for
9660         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
9662 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9664         [BZ #13889]
9665         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
9666         high value to check if expl overflow.
9667         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
9668         to check for underflow and overflow.
9669         * math/libm-test.inc: Add exp test.
9671 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
9673         [BZ #11120]
9674         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
9675         with NOT_IN_libc.
9677 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9679         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
9680         symbol.
9682 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
9684         * math/gen-libm-test.pl (parse_args, special_functions): Properly
9685         wrap blocks consisting of several statements.
9687         * sysdeps/generic/math-tests.h: New file.
9688         * sysdeps/i386/fpu/math-tests.h: Likewise.
9689         * math/test-snan.c: Include it.
9690         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
9692 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
9694         [BZ #15285]
9695         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
9696         (__ieee754_j0l): Do not improve calculations using cos of twice
9697         input for inputs above LDBL_MAX / 2.0L.
9698         (__ieee754_y0l): Likewise.
9699         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
9700         (__ieee754_j1l): Do not improve calculations using cos of twice
9701         input for inputs above LDBL_MAX / 2.0L.
9702         (__ieee754_y1l): Likewise.
9703         * math/libm-test.inc (j0_test): Add another test.
9704         (j1_test): Likewise.
9705         (y0_test): Likewise.
9706         (y1_test): Likewise.
9707         * sysdeps/i386/fpu/libm-test-ulps: Update.
9709 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9711         * Rules ($(objpfx)bench-%.c): Include code from a C source
9712         file.
9714 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
9716         [BZ #15287]
9717         * math/k_casinh.c (__kernel_casinh): Handle arguments with
9718         imaginary part 1.0 and real part less than 0.5 specially.
9719         * math/k_casinhf.c (__kernel_casinhf): Likewise.
9720         * math/k_casinhl.c (__kernel_casinhl): Likewise.
9721         * math/libm-test.inc (cacos_test): Add more tests.
9722         (casin_test): Likewise.
9723         (casinh_test): Likewise.
9724         * sysdeps/i386/fpu/libm-test-ulps: Update.
9725         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9727 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9729         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
9730         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
9732 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
9734         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
9735         * config.make.in (config-cflags-sse4): Remove variable.
9736         (config-cflags-avx): Likewise.
9737         (config-cflags-sse2avx): Likewise.
9738         (config-cflags-novzeroupper): Likewise.
9739         (config-asflags-i686): Likewise.
9740         (have-mfma4): Likewise.
9741         (have-as-vis3): Likewise.
9742         (MIG): Likewise.
9743         * configure.in (MIG): Do not AC_SUBST.
9744         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
9745         (libc_cv_cc_sse4): Do not AC_SUBST.
9746         (libc_cv_cc_avx): Likewise.
9747         (libc_cv_cc_sse2avx): Likewise.
9748         (libc_cv_cc_novzeroupper): Likewise.
9749         (libc_cv_cc_fma4): Likewise.
9750         (libc_cv_as_i686): Likewise.
9751         (libc_cv_sparc_as_vis3): Likewise.
9752         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
9753         LIBC_CONFIG_VAR.
9754         (config-asflags-i686): Likewise.
9755         (config-cflags-avx): Likewise.
9756         (config-cflags-sse2avx): Likewise.
9757         (have-mfma4): Likewise.
9758         (config-cflags-novzeroupper): Likewise.
9759         * sysdeps/mach/configure.in (MIG): Likewise.
9760         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
9761         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
9762         LIBC_CONFIG_VAR.
9763         (config-cflags-avx): Likewise.
9764         (config-cflags-sse2avx): Likewise.
9765         (have-mfma4): Likewise.
9766         (config-cflags-novzeroupper): Likewise.
9767         * configure: Regenerated.
9768         * sysdeps/i386/configure: Likewise.
9769         * sysdeps/mach/configure: Likewise.
9770         * sysdeps/sparc/configure: Likewise.
9771         * sysdeps/x86_64/configure: Likewise.
9773 2013-03-20  Roland McGrath  <roland@hack.frob.com>
9775         [BZ #14812]
9776         * locale/programs/localedef.c (options): Put N_ translation marker
9777         on argument names, not just descriptions.
9779 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9781         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
9783 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
9785         [BZ #14176]
9786         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
9788 2013-03-19  Roland McGrath  <roland@hack.frob.com>
9790         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
9791         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
9792         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
9793         [!BEFORE_ABORT] (before_abort): New function.
9794         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
9795         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
9796         (writev_for_fatal): New function.
9797         (WRITEV_FOR_FATAL): New macro; call that.
9798         (backtrace_and_maps): New function.
9799         (BEFORE_ABORT): New macro; call that.
9800         (struct str_list): Type removed.
9801         (__libc_message, __libc_fatal): Functions removed.
9802         Include <sysdeps/posix/libc_fatal.c> instead.
9804 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
9806         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
9807         constants.
9808         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
9809         double constants.
9811 2013-03-19  Andreas Schwab  <schwab@suse.de>
9813         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
9814         * sysdeps/gnu/configure: Regenerate.
9816         * configure.in: Substitute libc_cv_rtlddir.
9817         * configure: Regenerate.
9818         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
9819         * Makeconfig (rtlddir, inst_rtlddir): New variables.
9820         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
9821         * elf/Makefile (install-others, CFLAGS-interp.c)
9822         (ldso_install, common-ldd-rewrite): Likewise.
9823         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
9824         $(inst_slibdir)/$(rtld-installed-name).
9825         * scripts/rellns-sh: Add -p option.
9826         * Makerules (make-shlib-link): Use rellns-sh to get relative name
9827         for source.
9829 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9831         * manual/nptl.texi: Renamed to ...
9832         * manual/threads.texi: ... this.
9833         * manual/Makefile (chapters): Update.
9835 2013-03-18  Roland McGrath  <roland@hack.frob.com>
9837         [BZ #14812]
9838         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
9839         on argument names, not just descriptions.
9840         * malloc/memusagestat.c (options): Likewise.
9841         * nss/getent.c (options): Likewise.
9843 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
9845         [BZ #14812]
9846         * iconv/iconv_prog.c (options): Put N_ translation marker
9847         on argument names, not just descriptions.
9848         * iconv/iconvconfig.c (options): Likewise.
9850 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
9852         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
9853         implementation which is faster on all x86_64 architectures.
9854         Tested on AMD, Intel Nehalem, SNB, IVB.
9855         * sysdeps/x86_64/strnlen.S: Likewise.
9857         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9858         Remove all multiarch strlen and strnlen versions.
9859         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9860         Remove strlen and strnlen related parts.
9862         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
9863         Inline strlen part.
9864         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9866         * sysdeps/x86_64/multiarch/strlen.S: Remove.
9867         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
9868         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
9869         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
9870         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
9871         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
9873 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
9875         * manual/memory.texi (Malloc Tunable Parameters):
9876         Sort parameters alphabetically. Add comments for missing entries.
9878 2013-03-17  David S. Miller  <davem@davemloft.net>
9880         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9882 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
9884         [BZ #15283]
9885         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
9886         for arguments at most half maximum finite value.
9887         * math/libm-test.inc (j0_test): Add more tests.
9888         (j1_test): Likewise.
9889         (y0_test): Likewise.
9890         (y1_test): Likewise.
9891         * sysdeps/i386/fpu/libm-test-ulps: Update.
9892         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9894         [BZ #14155]
9895         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
9896         1 / x and functions P and Q for arguments above 0x1p256L.
9897         (__ieee754_y0l): Likewise.
9898         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
9899         (__ieee754_y1l): Likewise.
9900         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
9901         (j1_test): Likewise.
9902         (y0_test): Likewise.
9903         (y1_test): Likewise.
9905 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
9907         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
9908         variable.
9910 2013-03-15  Roland McGrath  <roland@hack.frob.com>
9912         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
9913         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
9914         zero since it's initialized to EXEC_PAGESIZE.
9916         * sysdeps/unix/sysv/linux/ldsodefs.h
9917         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
9918         * sysdeps/generic/ldsodefs.h: ... here.
9920 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
9922         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
9924         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
9925         math/test-snan.c.
9926         * math/test-snan.c: Renamed from
9927         sysdeps/powerpc/fpu/test-powerpc-snan.c.
9928         * math/Makefile (tests): Add test-snan.
9929         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
9930         test-powerpc-snan.
9932         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
9933         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
9934         functions.
9935         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
9936         __builtin_nan family of functions.
9937         * math/libm-test.inc (initialize): Initialize qnan_value with
9938         __builtin_nan family of functions.
9939         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
9940         Remove variables.
9941         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
9942         Remove functions.
9943         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
9944         storage class.  Initialize qNaN_var and sNaN_var with
9945         __builtin_nan and __builtin_nans families of functions,
9946         respectively.
9948         * math/libm-test.inc (acosh_test): Also test with qNaN input.
9949         (sqrt_test): Remove duplicate test with qNaN input.
9950         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
9951         (round_test, signbit_test, significand_test): Note missing +/-Inf
9952         as well as qNaN tests.
9954         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
9955         qNaN_var.  Fix a few strings, too.
9956         * math/libm-test.inc (nan_value): Rename to qnan_value.
9957         * math/gen-libm-test.pl (%beautify): Adjust to that.
9958         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
9959         * math/test-misc.c (main): Likewise.
9960         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
9961         to __qnan_bytes, and __qnan_union, respectively.
9962         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
9963         Likewise.
9964         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
9965         and lqnanval, respectively.
9966         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
9967         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
9968         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
9969         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
9971         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
9972         * math/test-misc.c (main) [__x86_64__]: Enable test for long
9973         doubles.
9975         * math/test-misc.c (main): Fix copy'n'pastos.
9976         * misc/tst-efgcvt.c (special): Likewise.
9978         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
9979         Remove declarations.
9981 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9983         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
9984         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
9985         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
9986         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
9988 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9990         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
9991         macro to return vdso values correctly in IFUNC implementations.
9992         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9993         Optimization by using IFUNC.
9995 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9996             Richard Henderson  <rth@redhat.com>
9997             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9999         * Makefile.in (bench): New target.
10000         * NEWS: Mention the benchmark framework.
10001         * Rules (bench): Likewise.
10002         (binaries-bench): Generate binaries for functions to
10003         benchmark.
10004         * benchtests/Makefile: New makefile for benchmark tests.
10005         * benchtests/bench-skeleton.c: New skeleton file for benchmark
10006         programs.
10007         * benchtests/exp-inputs: New input file for EXP function.
10008         * benchtests/pow-inputs: New input file for POW function.
10009         * scripts/bench.pl: New script to generate source files for
10010         benchmark programs.
10012 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
10014         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
10015         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
10016         computations on mantissa.  Use macros for rounding and
10017         division.
10018         (denorm): Likewise.
10019         (__dbl_mp): Likewise.
10020         (add_magnitudes): Likewise.
10021         (sub_magnitudes): Likewise.
10022         (__mul): Likewise.
10023         (__sqr): Likewise.
10024         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
10025         powers of two in terms of TWOPOW macro.
10026         (mp_no): Make type of mantissa as MANTISSA_T.
10027         [!RADIXI]: Define RADIXI.
10028         [!TWO52]: Define TWO52.
10029         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
10031         * manual/nptl.texi (cindex): Modify threads to pthreads.
10033 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
10035         * sysdeps/x86_64/preconfigure: Regenerated.
10037 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
10039         [BZ #14155]
10040         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
10041         0x1p28 and above.
10042         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
10043         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
10044         0x1p28 and above.
10045         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
10046         * math/libm-test.inc (j0_test): Do not allow one spurious
10047         underflow exception.
10048         (y1_test): Likewise.
10050 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
10052         * manual/Makefile (chapters): Add nptl.
10053         * manual/debug.texi (Debugging Support): Add link to Threads
10054         chapter.
10055         * manual/nptl.texi: New file.
10057         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
10059 2013-03-14  Petr Baudis  <pasky@ucw.cz>
10061         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
10062         for non-NULL pointer before the memory validity test. Pointed
10063         out by Holger Brunck <holger.brunck@keymile.com>.
10065 2013-03-13  Andreas Schwab  <schwab@suse.de>
10067         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
10068         instead of .os.
10070 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
10072         * timezone/zic.c: Update from tzcode 2013b.
10074 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
10076         * manual/install.texi (Configuring and compiling):
10077         Mention i686 and i586.
10078         * INSTALL: Regenerate.
10080 2013-03-12  Roland McGrath  <roland@hack.frob.com>
10082         * sysdeps/init_array/elf-init.c: New file.
10083         * csu/elf-init.c
10084         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
10085         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
10087         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
10088         __gmon_start__ as global, but as static with a .preinit_array pointer.
10089         * sysdeps/init_array/gmon-start.c: New file.  Use that.
10090         * sysdeps/init_array/crti.S: New file, empty except for comments.
10091         * sysdeps/init_array/crtn.S: Likewise.
10093 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
10095         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
10096         definining bcopy.
10097         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10098         Remove Prefer_SSE_for_memop.
10099         * sysdeps/x86_64/multiarch/init-arch.h: Remove
10100         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
10101         HAS_PREFER_SSE_FOR_MEMOP.
10102         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10103         memset-x86-64.
10104         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10105         Remove bzero, memset ifunc support.
10106         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
10107         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
10108         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10109         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10111 2013-03-11  Andreas Schwab  <schwab@suse.de>
10113         [BZ #15234]
10114         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
10115         by SHLIB_COMPAT.
10116         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
10117         (GLIBC_2.16): Remove pthread_atfork.
10119 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
10121         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
10122         (ptestcases.h): Likewise.
10124 2013-03-08  Roland McGrath  <roland@hack.frob.com>
10126         * Makeconfig ($(common-objpfx)config.status): Depend on
10127         sysdeps/*/preconfigure{,.in} too.
10129 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
10131         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
10132         (__free_hook): Use void * instead of __malloc_ptr_t.
10133         (__malloc_hook): Likewise.
10134         (__realloc_hook): Likewise.
10135         (__memalign_hook): Likewise.
10136         (__after_morecore_hook): Likewise.
10137         * malloc/arena.c (save_malloc_hook): Likewise.
10138         (save_free_hook): Likewise.
10139         * malloc/hooks.c (malloc_hook_ini): Likewise.
10140         (realloc_hook_ini): Likewise.
10141         (memalign_hook_ini): Likewise.
10142         * malloc/malloc.c (malloc_hook_ini): Likewise.
10143         (realloc_hook_ini): Likewise.
10144         (memalign_hook_ini): Likewise.
10145         (__free_hook): Likewise.
10146         (__malloc_hook): Likewise.
10147         (__realloc_hook): Likewise.
10148         (__memalign_hook): Likewise.
10149         (__libc_malloc): Likewise.
10150         (__libc_free): Likewise.
10151         (__libc_realloc): Likewise.
10152         (__libc_memalign): Likewise.
10153         (__libc_valloc): Likewise.
10154         (__libc_pvalloc): Likewise.
10155         (__libc_calloc): Likewise.
10156         (__posix_memalign): Likewise.
10157         * malloc/morecore.c (__sbrk): Likewise.
10158         (__default_morecore): Likewise.
10160         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
10162         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
10163         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
10164         __malloc_ptrdiff_t.
10166         * malloc/malloc.h (__malloc_size_t): Remove macro.
10167         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
10168         __malloc_size_t.
10169         (old_memalign_hook): Likewise.
10170         (old_realloc_hook): Likewise.
10171         (struct hdr): Likewise.
10172         (flood): Likewise.
10173         (mallochook): Likewise.
10174         (memalignhook): Likewise.
10175         (reallochook): Likewise.
10176         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
10177         (tr_old_realloc_hook): Likewise.
10178         (tr_old_memalign_hook): Likewise.
10179         (tr_mallochook): Likewise.
10180         (tr_reallochook): Likewise.
10181         (tr_memalignhook): Likewise.
10183 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10185         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
10186         default_ldbl_pack and using as default implementation.
10187         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
10188         implementation.
10189         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
10190         redundant definition.
10191         (ldbl_insert_mantissa): Likewise.
10192         (ldbl_canonicalize): Likewise.
10193         (ldbl_nearbyint): Likewise.
10194         (ldbl_pack): Rename to ldbl_pack_ppc.
10195         (ldbl_unpack): Rename to ldbl_unpack_ppc.
10196         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
10197         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
10199 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
10201         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
10202         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
10203         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
10204         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
10205         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
10206         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
10207         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
10208         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
10210 2013-03-07  Andreas Jaeger  <aj@suse.de>
10212         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10213         bits/mman-linux.h.
10215 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
10217         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
10218         Include mpa.h and declare __MPEXP.
10219         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
10220         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10221         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10222         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
10223         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10224         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10225         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
10227         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
10228         (__slowpow): Use long double EXPL and LOGL functions to
10229         compute POW.
10230         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10231         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10232         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
10233         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10234         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10235         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
10237         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
10238         intermediate variable to calculate exponent.
10239         (__sqr): Likewise.
10240         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10241         Likewise.
10242         (__sqr): Likewise.
10244         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
10245         [!NO__SQR]: Define __sqr.
10246         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
10247         and NO__SQR.  Remove all code except __mul and __sqr.  Include
10248         sysdeps/ieee754/dbl-64/mpa.c.
10249         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10251         [BZ #12723]
10252         * posix/Makefile (tests): Add tst-pathconf.
10253         * posix/tst-pathconf.c: New test case.
10254         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
10255         _PC_PIPE_BUF.
10256         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
10258 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
10260         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
10262 2013-03-06  Andreas Jaeger  <aj@suse.de>
10264         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
10265         definition via __MAP_ANONYMOUS.
10267         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
10268         it's not part of Linux headers.
10270         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
10271         (MAP_HUGE_MASK): Define.
10273         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10274         Define.
10275         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10276         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10277         Define.
10278         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10279         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10280         Define.
10281         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10282         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
10283         Define.
10284         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10286         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
10287         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
10288         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
10289         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
10290         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
10291         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
10293         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10294         Handle f2fs.
10296         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10297         Handle f2fs and efivarfs.
10299         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
10300         f2fs.
10302         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
10303         (EFIVARFS_MAGIC): Add.
10304         (F2FS_LINK_MAX): Add.
10306 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
10308         * stdio-common/vfprintf.c: Replace __builtin_expect with
10309         __glibc_unlikely.
10311 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
10313         [BZ #13550]
10314         * sysdeps/generic/bp-sym.h: Remove file.
10315         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
10316         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
10317         <bp-sym.h> and <bp-asm.h>.
10318         (__longjmp): Don't use BP_SYM.
10319         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
10320         and <bp-asm.h>.
10321         (memcpy): Don't use BP_SYM.
10322         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
10323         <bp-sym.h> and <bp-asm.h>.
10324         (memcpy): Don't use BP_SYM.
10325         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
10326         <bp-asm.h>.
10327         (memcpy): Don't use BP_SYM.
10328         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
10329         <bp-asm.h>.
10330         (memset): Don't use BP_SYM.
10331         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10332         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10333         (__bzero): Don't use BP_SYM.
10334         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10335         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10336         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
10337         <bp-sym.h> and <bp-asm.h>.
10338         (memcmp): Don't use BP_SYM.  Remove comment about bounded
10339         pointers.
10340         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
10341         <bp-sym.h> and <bp-asm.h>.
10342         (memcpy): Don't use BP_SYM.
10343         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
10344         <bp-sym.h> and <bp-asm.h>.
10345         (memset): Don't use BP_SYM.
10346         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10347         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10348         (__bzero): Don't use BP_SYM.
10349         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10350         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10351         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
10352         <bp-sym.h> and <bp-asm.h>.
10353         (strncmp): Don't use BP_SYM.  Remove comment about bounded
10354         pointers.
10355         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
10356         <bp-sym.h> and <bp-asm.h>.
10357         (memcpy): Don't use BP_SYM.
10358         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
10359         <bp-sym.h> and <bp-asm.h>.
10360         (memset): Don't use BP_SYM.
10361         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10362         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10363         (__bzero): Don't use BP_SYM.
10364         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10365         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10366         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
10367         <bp-sym.h> and <bp-asm.h>.
10368         (__memchr): Don't use BP_SYM.
10369         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
10370         <bp-sym.h> and <bp-asm.h>.
10371         (memcmp): Don't use BP_SYM.  Remove comment about bounded
10372         pointers.
10373         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
10374         <bp-sym.h> and <bp-asm.h>.
10375         (memcpy): Don't use BP_SYM.
10376         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
10377         <bp-sym.h> and <bp-asm.h>.
10378         (__mempcpy): Don't use BP_SYM.
10379         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
10380         <bp-sym.h> and <bp-asm.h>.
10381         (__memrchr): Don't use BP_SYM.
10382         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
10383         <bp-sym.h> and <bp-asm.h>.
10384         (memset): Don't use BP_SYM.
10385         (__bzero): Likewise.
10386         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
10387         <bp-sym.h> and <bp-asm.h>.
10388         (__rawmemchr): Don't use BP_SYM.
10389         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
10390         <bp-sym.h> and <bp-asm.h>.
10391         (__STRCMP): Don't use BP_SYM.
10392         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
10393         <bp-sym.h> and <bp-asm.h>.
10394         (strchr): Don't use BP_SYM.
10395         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
10396         <bp-sym.h> and <bp-asm.h>.
10397         (__strchrnul): Don't use BP_SYM.
10398         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
10399         <bp-sym.h> and <bp-asm.h>.
10400         (strlen): Don't use BP_SYM.
10401         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
10402         <bp-sym.h> and <bp-asm.h>.
10403         (strncmp): Don't use BP_SYM.  Remove comment about bounded
10404         pointers.
10405         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
10406         <bp-sym.h> and <bp-asm.h>.
10407         (__strnlen): Don't use BP_SYM.
10408         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
10409         <bp-sym.h> and <bp-asm.h>.
10410         (__GI__setjmp): Don't use BP_SYM.
10411         (_setjmp): Likewise.
10412         (__sigsetjmp): Likewise.
10413         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
10414         (L(start_addresses)): Don't use BP_SYM.
10415         (_start): Likewise.
10416         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
10417         <bp-asm.h>.
10418         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
10419         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
10420         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10421         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10422         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
10423         <bp-asm.h>.
10424         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
10425         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
10426         about bounded pointers.
10427         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10428         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10429         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
10430         <bp-asm.h>.
10431         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
10432         about bounded pointers.  Remove GKM FIXME comments.
10433         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10434         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
10435         <bp-asm.h>.
10436         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
10437         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
10438         Remove GKM FIXME comments.
10439         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10440         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10441         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
10442         <bp-asm.h>.
10443         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
10444         about bounded pointers.  Remove GKM FIXME comment.
10445         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
10446         and <bp-asm.h>.
10447         (strncmp): Don't use BP_SYM.  Remove comment about bounded
10448         pointers.
10449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
10450         <bp-sym.h> and <bp-asm.h>.
10451         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
10453         <bp-sym.h> and <bp-asm.h>.
10454         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
10455         comment.
10457 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10459         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
10460         call free(NULL).
10462 2013-03-05  David S. Miller  <davem@davemloft.net>
10464         * po/es.po: Update from translation team.
10466 2013-03-05  Andreas Jaeger  <aj@suse.de>
10468         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
10469         <bits/mman-linux.h>.
10470         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10471         is fine.
10472         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
10473         <bits/mman-linux.h> to end of file.
10474         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10475         is fine.
10476         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
10477         <bits/mman-linux.h> to end of file.
10478         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10479         is fine.
10480         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
10481         <bits/mman-linux.h> to end of file.
10483         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
10484         (MCL_CURRENT, MCL_FUTURE): Define here.
10486 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10488         [BZ #15232]
10489         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
10490         attribute_hidden.
10491         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10493 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10495         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
10496         fourth parameter needed for rt_sigprocmask syscall.
10497         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10498         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
10499         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10500         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
10501         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
10502         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
10504 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
10506         [BZ #13550]
10507         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
10508         comment about bounded pointers.
10509         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
10510         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
10512 2013-03-04  Andreas Jaeger  <aj@suse.de>
10514         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
10515         common definitions.
10517         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
10518         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
10519         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
10520         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10521         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10522         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10524 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10526         [BZ #15055]
10527         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
10528         __ieee754_sqrl instead of __sqrl.
10530 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
10532         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
10533         * sysdeps/powerpc/fpu_control.h: ... here.
10534         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
10535         * sysdeps/powerpc/bits/fenvinline.h: ... here.
10536         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
10537         * sysdeps/powerpc/bits/mathinline.h: ... here.
10539 2013-03-01  Roland McGrath  <roland@hack.frob.com>
10541         * elf/dl-hwcaps.c (_dl_important_hwcaps):
10542         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
10543         to just [NEED_DL_SYSINFO_DSO].
10544         * elf/dl-support.c: Likewise.
10545         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10546         * elf/rtld.c (dl_main): Likewise.
10547         * elf/setup-vdso.h (setup_vdso): Likewise.
10548         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
10549         * sysdeps/unix/sysv/linux/dl-sysdep.c
10550         (_dl_discover_osversion): Likewise.
10552 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
10554         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
10555         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10557 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
10559         * NEWS: Mention libm performance improvements and non-x86 PI
10560         futex support.
10562         * csu/libc-start.c (__pthread_initialize_minimal): Change
10563         function arguments.
10564         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10566 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
10568         [BZ #13550]
10569         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
10570         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
10571         <bp-sym.h> and <bp-asm.h>.
10572         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10573         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
10574         and <bp-asm.h>.
10575         (memcpy): Don't use BP_SYM.
10576         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
10577         <bp-asm.h>.
10578         (__mpn_add_n): Don't use BP_SYM.
10579         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
10580         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
10581         and <bp-asm.h>.
10582         (__mpn_addmul_1): Don't use BP_SYM.
10583         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10584         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
10585         <bp-sym.h>.
10586         (_setjmp): Don't use BP_SYM.
10587         (__novmx_setjmp): Likewise.
10588         (__GI__setjmp): Likewise.
10589         (__vmx_setjmp): Likewise.
10590         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
10591         <bp-sym.h>.
10592         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
10593         (__bzero): Don't use BP_SYM.
10594         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10595         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10596         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
10597         <bp-sym.h> and <bp-asm.h>.
10598         (memcpy): Don't use BP_SYM.
10599         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
10600         <bp-sym.h> and <bp-asm.h>.
10601         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10602         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
10603         <bp-sym.h> and <bp-asm.h>.
10604         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10605         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
10606         <bp-asm.h>.
10607         (__mpn_lshift): Don't use BP_SYM.
10608         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10609         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
10610         <bp-asm.h>.
10611         (memset): Don't use BP_SYM.
10612         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10613         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10614         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
10615         <bp-asm.h>.
10616         (__mpn_mul_1): Don't use BP_SYM.
10617         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10618         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
10619         <bp-sym.h> and <bp-asm.h>.
10620         (memcmp): Don't use BP_SYM.
10621         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
10622         <bp-sym.h> and <bp-asm.h>.
10623         (memcpy): Don't use BP_SYM.
10624         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
10625         <bp-sym.h> and <bp-asm.h>.
10626         (memset): Don't use BP_SYM.
10627         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
10628         <bp-sym.h> and <bp-asm.h>.
10629         (strncmp): Don't use BP_SYM.
10630         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
10631         <bp-sym.h> and <bp-asm.h>.
10632         (memcpy): Don't use BP_SYM.
10633         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
10634         <bp-sym.h> and <bp-asm.h>.
10635         (memset): Don't use BP_SYM.
10636         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
10637         <bp-sym.h> and <bp-asm.h>.
10638         (__memchr): Don't use BP_SYM.
10639         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
10640         <bp-sym.h> and <bp-asm.h>.
10641         (memcmp): Don't use BP_SYM.
10642         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
10643         <bp-sym.h> and <bp-asm.h>.
10644         (memcpy): Don't use BP_SYM.
10645         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
10646         <bp-sym.h> and <bp-asm.h>.
10647         (__mempcpy): Don't use BP_SYM.
10648         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
10649         <bp-sym.h> and <bp-asm.h>.
10650         (__memrchr): Don't use BP_SYM.
10651         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
10652         <bp-sym.h> and <bp-asm.h>.
10653         (memset): Don't use BP_SYM.
10654         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
10655         <bp-sym.h> and <bp-asm.h>.
10656         (__rawmemchr): Don't use BP_SYM.
10657         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
10658         <bp-sym.h> and <bp-asm.h>.
10659         (__STRCMP): Don't use BP_SYM.
10660         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
10661         <bp-sym.h> and <bp-asm.h>.
10662         (strchr): Don't use BP_SYM.
10663         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
10664         <bp-sym.h> and <bp-asm.h>.
10665         (__strchrnul): Don't use BP_SYM.
10666         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
10667         <bp-sym.h> and <bp-asm.h>.
10668         (strlen): Don't use BP_SYM.
10669         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
10670         <bp-sym.h> and <bp-asm.h>.
10671         (strncmp): Don't use BP_SYM.
10672         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
10673         <bp-sym.h> and <bp-asm.h>.
10674         (__strnlen): Don't use BP_SYM.
10675         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
10676         <bp-asm.h>.
10677         (__mpn_rshift): Don't use BP_SYM.
10678         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10679         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
10680         <bp-sym.h> and <bp-asm.h>.
10681         (__sigsetjmp): Don't use BP_SYM.
10682         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
10683         (L(start_addresses)): Don't use BP_SYM.
10684         (_start): Likewise.
10685         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
10686         <bp-asm.h>.
10687         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
10688         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10689         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10690         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
10691         <bp-asm.h>.
10692         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
10693         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10694         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10695         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
10696         <bp-asm.h>.
10697         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
10698         comments.
10699         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10700         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
10701         <bp-asm.h>.
10702         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
10703         FIXME comments.
10704         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10705         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10706         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
10707         <bp-asm.h>.
10708         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
10709         comment.
10710         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
10711         and <bp-asm.h>.
10712         (strncmp): Don't use BP_SYM,
10713         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
10714         <bp-asm.h>.
10715         (__mpn_sub_n): Don't use BP_SYM.
10716         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10717         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
10718         and <bp-asm.h>.
10719         (__mpn_submul_1): Don't use BP_SYM.
10720         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
10722         <bp-sym.h> and <bp-asm.h>.
10723         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
10725         <bp-sym.h> and <bp-asm.h>.
10726         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
10727         comment.
10729 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10731         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
10732         Use ZK to minimize writes to Z.
10733         (sub_magnitudes): Simplify code a bit.
10734         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
10735         Use ZK to minimize writes to Z.
10736         (sub_magnitudes): Simplify code a bit.
10738 2013-02-27  Roland McGrath  <roland@hack.frob.com>
10740         * csu/gmon-start.c: Add special exception to license text.
10742 2013-02-27  Richard Henderson  <rth@redhat.com>
10744         * scripts/config.guess: Update from config.git.
10745         * scripts/config.sub: Likewise.
10747 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10749         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
10751         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
10753         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
10755         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
10757         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
10759 2013-02-26  Roland McGrath  <roland@hack.frob.com>
10761         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
10762         [$(build-shared = yes].
10764 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10766         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
10767         (__mul): Reduce iterations for calculating mantissa.
10769         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
10770         MPTWO.
10771         (__mpranred): Likewise.
10773         [BZ #15160]
10774         * malloc/memusagestat.c (main): Draw graphs for heap and stack
10775         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
10777 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
10779         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
10780         Define __attribute__.
10782 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10784         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
10785         unused.
10786         * posix/regex_internal.h (__attribute): Remove.
10787         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
10788         (re_string_context_at): Likewise.
10789         (bitset_not): Use __attribute__ and mark function as possibly
10790         unused.
10791         (bitset_merge): Likewise.
10792         (bitset_mask): Likewise.
10793         (re_string_char_size_at): Likewise.
10794         (re_string_wchar_at): Likewise.
10795         (re_string_elem_size_at): Likewise.
10797 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
10799         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
10800         code.
10801         (cc32): Likewise.
10803         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
10804         (__acr): Likewise.
10805         (__cpy): Likewise.
10806         (norm): Likewise.
10807         (denorm): Likewise.
10808         (__dbl_mp): Likewise.
10809         (add_magnitudes): Likewise.
10810         (sub_magnitudes): Likewise.
10811         (__mul): Likewise.
10812         (__inv): Likewise.
10814         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
10815         style.
10817         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
10818         style.
10820         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
10821         code.
10823         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
10824         up changes with default code.
10825         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
10826         Likewise.
10828 2013-02-24  Allan McRae  <allan@archlinux.org>
10830         * manual/socket.texi (The Internet Namespace): Order menu items
10831         to match that in the file.
10833         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
10834         node listing of the info page menu.
10836 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
10838         [BZ #13550]
10839         * sysdeps/i386/bp-asm.h: Remove file.
10840         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10841         (PARMS): Do not use macros from bp-asm.h.
10842         (S1): Likewise.
10843         (S2): Likewise.
10844         (SIZE): Likewise.
10845         (__mpn_add_n): Do not use BP_SYM
10846         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
10847         "bp-asm.h".
10848         (PARMS): Do not use macros from bp-asm.h.
10849         (S1): Likewise.
10850         (SIZE): Likewise.
10851         (__mpn_addmul_1): Do not use BP_SYM
10852         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
10853         "bp-asm.h".
10854         (PARMS): Do not use macros from bp-asm.h.
10855         (SIGMSK): Likewise.
10856         (_setjmp): Likewise.  Do not use BP_SYM.
10857         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
10858         "bp-asm.h".
10859         (PARMS): Do not use macros from bp-asm.h.
10860         (SIGMSK): Likewise.
10861         (setjmp): Likewise.  Do not use BP_SYM.
10862         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
10863         "bp-asm.h".
10864         (PARMS): Do not use macros from bp-asm.h.
10865         (__frexp): Do not use BP_SYM.
10866         (frexp): Likewise.
10867         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
10868         "bp-asm.h".
10869         (PARMS): Do not use macros from bp-asm.h.
10870         (__frexpf): Do not use BP_SYM.
10871         (frexpf): Likewise.
10872         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
10873         "bp-asm.h".
10874         (PARMS): Do not use macros from bp-asm.h.
10875         (__frexpl): Do not use BP_SYM.
10876         (frexpl): Likewise.
10877         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
10878         "bp-asm.h".
10879         (PARMS): Do not use macros from bp-asm.h.
10880         (__remquo): Do not use BP_SYM.
10881         (remquo): Likewise.
10882         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
10883         "bp-asm.h".
10884         (PARMS): Do not use macros from bp-asm.h.
10885         (__remquof): Do not use BP_SYM.
10886         (remquof): Likewise.
10887         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
10888         "bp-asm.h".
10889         (PARMS): Do not use macros from bp-asm.h.
10890         (__remquol): Do not use BP_SYM.
10891         (remquol): Likewise.
10892         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
10893         "bp-asm.h".
10894         (PARMS): Do not use macros from bp-asm.h.
10895         (DEST): Likewise.
10896         (SRC): Likewise.
10897         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
10898         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
10899         "bp-asm.h".
10900         (PARMS): Do not use macros from bp-asm.h.
10901         (strlen): Do not use BP_SYM.
10902         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
10903         "bp-asm.h".
10904         (PARMS): Do not use macros from bp-asm.h.
10905         (S1): Likewise.
10906         (S2): Likewise.
10907         (SIZE): Likewise.
10908         (__mpn_add_n): Do not use BP_SYM.
10909         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
10910         "bp-asm.h".
10911         (PARMS): Do not use macros from bp-asm.h.
10912         (S1): Likewise.
10913         (SIZE): Likewise.
10914         (__mpn_addmul_1): Do not use BP_SYM.
10915         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
10916         weak_alias.
10917         (bzero): Likewise.
10918         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
10919         "bp-asm.h".
10920         (PARMS): Do not use macros from bp-asm.h.
10921         (S): Likewise.
10922         (SIZE): Likewise.
10923         (__mpn_lshift): Do not use BP_SYM.
10924         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
10925         "bp-asm.h".
10926         (PARMS): Do not use macros from bp-asm.h.
10927         (DEST): Likewise.
10928         (SRC): Likewise.
10929         (LEN): Likewise.
10930         (memcpy): Likewise.  Do not use BP_SYM.
10931         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
10932         libc_hidden_def and weak_alias.
10933         (mempcpy): Do not use BP_SYM in weak_alias.
10934         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
10935         "bp-asm.h".
10936         (PARMS): Do not use macros from bp-asm.h.
10937         (DEST): Likewise.
10938         (LEN): Likewise.
10939         [!BZERO_P] (CHR): Likewise.
10940         (memset): Likewise.  Do not use BP_SYM.
10941         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
10942         "bp-asm.h".
10943         (PARMS): Do not use macros from bp-asm.h.
10944         (S1): Likewise.
10945         (SIZE): Likewise.
10946         (__mpn_mul_1): Do not use BP_SYM.
10947         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
10948         "bp-asm.h".
10949         (PARMS): Do not use macros from bp-asm.h.
10950         (S): Likewise.
10951         (SIZE): Likewise.
10952         (__mpn_rshift): Do not use BP_SYM.
10953         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
10954         "bp-asm.h".
10955         (PARMS): Do not use macros from bp-asm.h.
10956         (STR): Likewise.
10957         (CHR): Likewise.
10958         (strchr): Likewise.  Do not use BP_SYM.
10959         (index): Do not use BP_SYM in weak_alias.
10960         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
10961         "bp-asm.h".
10962         (PARMS): Do not use macros from bp-asm.h.
10963         (DEST): Likewise.
10964         (SRC): Likewise.
10965         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
10966         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
10967         "bp-asm.h".
10968         (PARMS): Do not use macros from bp-asm.h.
10969         (strlen): Do not use BP_SYM.
10970         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
10971         "bp-asm.h".
10972         (PARMS): Do not use macros from bp-asm.h.
10973         (S1): Likewise.
10974         (S2): Likewise.
10975         (SIZE): Likewise.
10976         (__mpn_sub_n): Do not use BP_SYM.
10977         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
10978         "bp-asm.h".
10979         (PARMS): Do not use macros from bp-asm.h.
10980         (S1): Likewise.
10981         (SIZE): Likewise.
10982         (__mpn_submul_1): Do not use BP_SYM.
10983         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
10984         "bp-asm.h".
10985         (PARMS): Do not use macros from bp-asm.h.
10986         (S1): Likewise.
10987         (S2): Likewise.
10988         (SIZE): Likewise.
10989         (__mpn_add_n): Do not use BP_SYM.
10990         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
10991         weak_alias.
10992         (bzero): Likewise.
10993         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
10994         "bp-asm.h".
10995         (PARMS): Do not use macros from bp-asm.h.
10996         (BLK2): Likewise.
10997         (LEN): Likewise.
10998         (memcmp): Do not use BP_SYM.
10999         (bcmp): Do not use BP_SYM in weak_alias.
11000         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
11001         "bp-asm.h".
11002         (PARMS): Do not use macros from bp-asm.h.
11003         (DEST): Likewise.
11004         (SRC): Likewise.
11005         (LEN): Likewise.
11006         (memcpy): Likewise.  Do not use BP_SYM.
11007         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
11008         "bp-asm.h".
11009         (PARMS): Do not use macros from bp-asm.h.
11010         (DEST): Likewise.
11011         (SRC): Likewise.
11012         (LEN): Likewise.
11013         (memmove): Likewise.  Do not use BP_SYM.
11014         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
11015         "bp-asm.h".
11016         (PARMS): Do not use macros from bp-asm.h.
11017         (DEST): Likewise.
11018         (SRC): Likewise.
11019         (LEN): Likewise.
11020         (__mempcpy): Likewise.  Do not use BP_SYM.
11021         (mempcpy): Do not use BP_SYM in weak_alias.
11022         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
11023         "bp-asm.h".
11024         (PARMS): Do not use macros from bp-asm.h.
11025         (DEST): Likewise.
11026         (LEN): Likewise.
11027         [!BZERO_P] (CHR): Likewise.
11028         (memset): Likewise.  Do not use BP_SYM.
11029         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
11030         "bp-asm.h".
11031         (PARMS): Do not use macros from bp-asm.h.
11032         (STR2): Likewise.
11033         (strcmp): Do not use BP_SYM.
11034         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
11035         "bp-asm.h".
11036         (PARMS): Do not use macros from bp-asm.h.
11037         (STR): Likewise.
11038         (DELIM): Likewise.
11039         [USE_AS_STRTOK_R] (SAVE): Likewise.
11040         (FUNCTION): Likewise.  Do not use BP_SYM.
11041         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
11042         aliases.
11043         (strtok_r): Likewise.
11044         (__GI___strtok_r): Likewise.
11045         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11046         (PARMS): Do not use macros from bp-asm.h.
11047         (S): Likewise.
11048         (SIZE): Likewise.
11049         (__mpn_lshift): Do not use BP_SYM.
11050         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11051         (PARMS): Do not use macros from bp-asm.h.
11052         (STR): Likewise.
11053         (CHR): Likewise.
11054         (__memchr): Do not use BP_SYM.
11055         (memchr): Do not use BP_SYM in weak_alias.
11056         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11057         (PARMS): Do not use macros from bp-asm.h.
11058         (BLK2): Likewise.
11059         (LEN): Likewise.
11060         (memcmp): Do not use BP_SYM.
11061         (bcmp): Do not use BP_SYM in weak_alias.
11062         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
11063         (PARMS): Do not use macros from bp-asm.h.
11064         (S1): Likewise.
11065         (SIZE): Likewise.
11066         (__mpn_mul_1): Do not use BP_SYM.
11067         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
11068         "bp-asm.h".
11069         (PARMS): Do not use macros from bp-asm.h.
11070         (STR): Likewise.
11071         (CHR): Likewise.
11072         (__rawmemchr): Do not use BP_SYM.
11073         (rawmemchr): Do not use BP_SYM in weak_alias.
11074         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11075         (PARMS): Do not use macros from bp-asm.h.
11076         (S): Likewise.
11077         (SIZE): Likewise.
11078         (__mpn_rshift): Do not use BP_SYM.
11079         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11080         (PARMS): Do not use macros from bp-asm.h.
11081         (SIGMSK): Likewise.
11082         (__sigsetjmp): Likewise.  Do not use BP_SYM.
11083         * sysdeps/i386/start.S: Do not include "bp-sym.h".
11084         (_start): Do not use BP_SYM.
11085         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
11086         (PARMS): Do not use macros from bp-asm.h.
11087         (DEST): Likewise.
11088         (SRC): Likewise.
11089         (__stpcpy): Likewise.  Do not use BP_SYM.
11090         (stpcpy): Do not use BP_SYM in weak_alias.
11091         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
11092         "bp-asm.h".
11093         (PARMS): Do not use macros from bp-asm.h.
11094         (DEST): Likewise.
11095         (SRC): Likewise.
11096         (LEN): Likewise.
11097         (__stpncpy): Likewise.  Do not use BP_SYM.
11098         (stpncpy): Do not use BP_SYM in weak_alias.
11099         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11100         (PARMS): Do not use macros from bp-asm.h.
11101         (STR): Likewise.
11102         (CHR): Likewise.
11103         (strchr): Likewise.  Do not use BP_SYM.
11104         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
11105         "bp-asm.h".
11106         (PARMS): Do not use macros from bp-asm.h.
11107         (STR): Likewise.
11108         (CHR): Likewise.
11109         (__strchrnul): Likewise.  Do not use BP_SYM.
11110         (strchrnul): Do not use BP_SYM in weak_alias.
11111         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
11112         "bp-asm.h".
11113         (PARMS): Do not use macros from bp-asm.h.
11114         (STOP): Likewise.
11115         (strcspn): Do not use BP_SYM.
11116         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
11117         "bp-asm.h".
11118         (PARMS): Do not use macros from bp-asm.h.
11119         (STR): Likewise.
11120         (STOP): Likewise.
11121         (strpbrk): Likewise.  Do not use BP_SYM.
11122         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
11123         "bp-asm.h".
11124         (PARMS): Do not use macros from bp-asm.h.
11125         (STR): Likewise.
11126         (CHR): Likewise.
11127         (strrchr): Likewise.  Do not use BP_SYM.
11128         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
11129         (PARMS): Do not use macros from bp-asm.h.
11130         (SKIP): Likewise.
11131         (strspn): Do not use BP_SYM.
11132         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
11133         (PARMS): Do not use macros from bp-asm.h.
11134         (STR): Likewise.
11135         (DELIM): Likewise.
11136         (SAVE): Likewise.
11137         (FUNCTION): Likewise.  Do not use BP_SYM.
11138         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
11139         aliases.
11140         (strtok_r): Likewise.
11141         (__GI___strtok_r): Likewise.
11142         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11143         (PARMS): Do not use macros from bp-asm.h.
11144         (S1): Likewise.
11145         (S2): Likewise.
11146         (SIZE): Likewise.
11147         (__mpn_sub_n): Do not use BP_SYM.
11148         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
11149         "bp-asm.h".
11150         (PARMS): Do not use macros from bp-asm.h.
11151         (S1): Likewise.
11152         (SIZE): Likewise.
11153         (__mpn_submul_1): Do not use BP_SYM.
11154         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
11155         <bp-sym.h>.
11156         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
11157         and <bp-asm.h>.
11158         (PARMS): Do not use macros from bp-asm.h.
11159         (FLAGS): Likewise.
11160         (PTID): Likewise.
11161         (TLS): Likewise.
11162         (CTID): Likewise.
11163         (__clone): Do not use BP_SYM.
11164         (clone): Do not use BP_SYM in weak_alias.
11165         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
11166         and <bp-asm.h>.
11167         (PARMS): Do not use macros from bp-asm.h.
11168         (LEN): Likewise.
11169         (__mmap64): Do not use BP_SYM.
11170         (mmap64): Do not use BP_SYM in weak_alias.
11171         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11172         <bp-sym.h> and <bp-asm.h>.
11173         (PARMS): Do not use macros from bp-asm.h.
11174         (__posix_fadvise64_l64): Do not use BP_SYM.
11175         * sysdeps/unix/sysv/linux/i386/semtimedop.S
11176         (PARMS): Do not use macros from bp-asm.h.
11177         (NSOPS): Likewise.
11178         (semtimedop): Do not use BP_SYM.
11179         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
11180         and <bp-asm.h>.
11182 2013-02-21  Allan McRae  <allan@archlinux.org>
11184         * manual/message.texi (Charset conversion in gettext):
11185         Move @end statement to beginning of line.
11187 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11189         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
11190         static.
11191         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11192         Likewise.
11194         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
11195         (denorm): Likewise.
11196         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
11197         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
11199 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11201         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
11202         tail-call to the resolved function if pltexit isn't needed.
11204 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11206         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
11207         or Y being zero as being unlikely.
11208         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11209         Likewise.
11211 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
11213         * manual/nss.texi (System Databases and Name Service Switch):
11214         Remove frobnicate @pxref.
11216 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
11218         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11219         __attribute__ ((unused)) to __attribute__ ((__unused__)).
11221 2013-02-20  Petr Machata  <pmachata@redhat.com>
11223         * elf/elf.h (R_ARM_TARGET1): New macro.
11224         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
11225         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
11226         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
11227         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
11228         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
11229         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
11230         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
11231         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
11232         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
11233         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
11234         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
11235         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
11236         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
11237         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
11238         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
11239         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
11240         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
11241         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
11242         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
11243         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
11244         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
11245         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
11246         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
11247         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
11248         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
11249         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
11250         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
11251         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
11252         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
11253         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
11254         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
11255         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
11256         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
11257         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
11258         (R_ARM_THM_GOT_BREL12): Likewise.
11259         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
11260         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
11261         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
11262         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
11263         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
11264         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
11265         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
11266         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
11267         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
11269 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
11271         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11272         __attribute_used__ to __attribute__ ((unused)).
11274 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11276         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
11277         powerpc mpa.c.
11278         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
11279         comment formatting.
11280         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
11282 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
11284         [BZ #13550]
11285         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
11286         Remove macro.
11287         (ENTER): Remove both macro definitions.
11288         (LEAVE): Likewise.
11289         (CHECK_BOUNDS_LOW): Likewise.
11290         (CHECK_BOUNDS_HIGH): Likewise.
11291         (CHECK_BOUNDS_BOTH): Likewise.
11292         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
11293         (RETURN_BOUNDED_POINTER): Likewise.
11294         (RETURN_NULL_BOUNDED_POINTER): Likewise.
11295         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
11296         (POP_ERRNO_LOCATION_RETURN): Likewise.
11297         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
11298         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11299         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
11300         macros.
11301         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11302         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
11303         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
11304         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
11305         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
11306         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
11307         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
11308         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
11309         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
11310         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
11311         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
11312         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
11313         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11314         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
11315         removed macros.
11316         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11317         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
11318         macros.
11319         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11320         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
11321         * sysdeps/i386/i586/memset.S (memset): Likewise.
11322         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
11323         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11324         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
11325         macros.
11326         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11327         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
11328         Change uses of L(2) to L(out).
11329         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
11330         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
11331         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
11332         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11333         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
11334         removed macros.
11335         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11336         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
11337         macros.
11338         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11339         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
11340         (RETURN): Do not use macro LEAVE.
11341         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
11342         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
11343         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
11344         * sysdeps/i386/i686/memset.S (memset): Likewise.
11345         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
11346         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
11347         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11348         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
11349         Likewise.
11350         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11351         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
11352         L(1_2) and L(1_3) into L(1).
11353         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11354         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
11355         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11356         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
11357         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11358         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
11359         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
11360         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11361         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
11362         macros.
11363         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
11364         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11365         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
11366         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
11367         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
11368         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11369         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
11370         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
11371         * sysdeps/i386/strcspn.S (strcspn): Likewise.
11372         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
11373         * sysdeps/i386/strrchr.S (strrchr): Likewise.
11374         * sysdeps/i386/strspn.S (strspn): Likewise.
11375         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
11376         conditional code.
11377         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11378         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
11379         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11380         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
11381         L(1_3) into L(1_1).
11382         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
11383         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11384         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
11385         macros.
11386         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11388 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
11390         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
11391         macro.
11393 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11395         * math/atest-exp.c (exp_mpn): Remove ROUND.
11396         * math/atest-exp2.c (exp_mpn): Likewise.
11397         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
11399         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
11400         * stdlib/tst-tls-atexit-lib.c: Likewise.
11401         * stdlib/tst-tls-atexit.c: Likewise.
11403 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
11405         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
11406         and __attribute_alloc_size__.
11408 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
11410         * include/programs/xmalloc.h: Change __attribute_alloc_size to
11411         __attribute_alloc_size__.
11412         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
11413         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
11415 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
11417         * include/programs/xmalloc.h: New file.
11418         * catgets/gencat.c: Include it.
11419         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
11420         * elf/pldd.c: Likewise.
11421         * iconv/iconv_charmap.c: Likewise.
11422         * iconv/iconvconfig.c: Likewise.
11423         * iconv/strtab.c: Likewise.
11424         * locale/programs/locale.c: Likewise.
11425         * locale/programs/localedef.h: Likewise.
11426         * locale/programs/simple-hash.c: Likewise.
11427         * nscd/nscd.h: Likewise.
11428         * nss/makedb.c: Likewise.
11429         * sysdeps/generic/ldconfig.h: Likewise.
11431 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11433         * Versions.def: Add GLIBC_2.18.
11434         * include/link.h (struct link_map): New member l_tls_dtor_count.
11435         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
11436         (__call_tls_dtors): Likewise.
11437         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
11438         __cxa_thread_atexit_impl.
11439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11440         Likewise.
11441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11442         Likewise.
11443         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11444         Likewise.
11445         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11446         Likewise.
11447         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11448         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
11449         Likewise.
11450         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
11451         Likewise.
11452         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11453         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11454         Likewise.
11455         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
11456         (tests): Add test case tst-tls-atexit.
11457         (modules-names): Add shared library for tst-tls-atexit.
11458         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
11459         (GLIBC_PRIVATE): Add __call_tls_dtors.
11460         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
11461         for libstdc++.
11462         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
11463         * stdlib/tst-tls-atexit.c: New test case.
11464         * stdlib/tst-tls-atexit-lib.c: New test case.
11466         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
11468         * elf/Versions (ld): Add _dl_find_dso_for_object.
11469         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
11470         * elf/dl-open.c (_dl_find_dso_for_object): New function.
11471         (dl_open_worker): Use _dl_find_dso_for_object.
11472         * elf/dl-sym.c (do_sym): Likewise.
11473         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
11475 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11477         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
11478         Syntactic changes only.
11479         (_dl_runtime_profile): Do a tail-call to the resolved function.
11481 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
11483         [BZ #13550]
11484         * sysdeps/x86_64/bp-asm.h: Remove file.
11485         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
11486         <bp-sym.h> and <bp-asm.h>.
11487         (__clone): Do not use BP_SYM.
11488         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
11489         <bp-sym.h> and <bp-asm.h>.
11490         * sysdeps/unix/x86_64/sysdep.S: Likewise.
11491         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
11492         "bp-asm.h".
11493         (_setjmp): Do not use BP_SYM.
11494         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
11495         "bp-asm.h".
11496         (setjmp): Do not use BP_SYM.
11497         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
11498         libc_hidden_def.
11499         (mempcpy): Do not use BP_SYM in weak_alias.
11500         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
11501         "bp-asm.h".
11502         (strchr): Do not use BP_SYM.
11503         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
11504         "bp-asm.h".
11505         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
11506         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
11507         (_start): Do not use BP_SYM.
11508         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
11509         "bp-asm.h".
11510         (strcat): Do not use BP_SYM.
11511         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
11512         "bp-asm.h".
11513         (STRCMP): Do not use BP_SYM.
11514         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
11515         "bp-asm.h".
11516         (STRCPY): Do not use BP_SYM.
11517         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
11518         "bp-asm.h".
11519         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
11520         "bp-asm.h".
11521         (FUNCTION): Do not use BP_SYM.
11522         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
11523         weak_alias.
11524         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
11526 2013-02-17  Andreas Jaeger  <aj@suse.de>
11528         * time/Versions: Sort entries.
11529         * string/Versions: Likewise.
11530         * resolv/Versions: Likewise.
11531         * posix/Versions: Likewise.
11532         * iconv/Versions: Likewise.
11533         * elf/Versions: Likewise.
11534         * wcsmbs/Versions: Likewise.
11536 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11538         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
11539         loop termination condition.
11541         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
11542         variable to calculate EZ.
11543         (__sqr): Likewise.
11545         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
11546         the lower precision input.
11548 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
11550         [BZ #13550]
11551         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
11552         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
11553         (run-via-rtld-prefix): Do not handle %-bp tests.
11554         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
11555         (all-object-suffixes): Remove .ob.
11556         (bppfx): Remove variable.
11557         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
11558         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
11559         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
11560         [$(build-bounded) = yes] (libtype.ob): Likewise.
11561         * Makerules (elide-routines.ob): Remove variable.
11562         (do-tests-clean): Do not handle *-bp.out.
11563         (common-mostlyclean): Do not handle *-bp and *-bp.out.
11564         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
11565         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
11566         (tests): Do not include $(tests-bp.out).
11567         (xtests): Do not include $(xtests-bp.out).
11568         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
11569         [$(build-bounded) = yes] ($(addprefix
11570         $(objpfx),$(binaries-bounded))): Remove rule.
11571         ($(objpfx)%-bp.out): Remove rule.
11572         * config.make.in (build-bounded): Remove variable.
11573         * crypt/Makefile [$(build-bounded) = yes]
11574         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
11575         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
11576         append to variable.
11577         [$(build-bounded) = yes] (install-lib): Likewise.
11578         [$(build-bounded) = yes] (generated): Likewise.
11579         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
11580         Remove rule.
11581         * intl/Makefile [$(build-bounded) = yes]
11582         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
11583         * math/Makefile [$(build-bounded) = yes]
11584         ($(tests:%=$(objpfx)%-bp): Likewise.
11585         * misc/Makefile [$(build-bounded) = yes]
11586         ($(objpfx)tst-tsearch-bp): Likewise.
11587         * nptl/Makeconfig (bounded-thread-library): Remove variable.
11588         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
11589         Remove dependency.
11590         * string/Makefile (o-objects.ob): Remove variable.
11591         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
11592         (CFLAGS-.ob): Remove variable.
11593         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
11594         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
11595         both definitions of variable.
11596         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
11597         (ASFLAGS-.ob): Remove variable.
11599 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
11601         [BZ #13550]
11602         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
11603         Remove __BOUNDED_POINTERS__ from condition.
11604         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
11605         * string/bits/string2.h [!__NO_STRING_INLINES &&
11606         !__BOUNDED_POINTERS__]: Likewise.
11607         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
11608         Likewise.
11609         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
11610         Remove conditional code.
11611         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
11612         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
11613         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
11614         condition.
11616         [BZ #13550]
11617         * csu/libc-start.c: Do not include <bp-sym.h>.
11618         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
11619         * elf/dl-open.c: Do not include <bp-sym.h>.
11620         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
11621         * math/fegetenv.c: Do not include <bp-sym.h>.
11622         (fegetenv): Do not use BP_SYM in versioned symbols.
11623         * nptl/sysdeps/pthread/bits/libc-lockP.h
11624         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
11625         <bp-sym.h>.
11626         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11627         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
11628         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11629         (__pthread_mutex_destroy): Likewise.
11630         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11631         (__pthread_mutex_lock): Likewise.
11632         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11633         (__pthread_mutex_trylock): Likewise.
11634         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11635         (__pthread_mutex_unlock): Likewise.
11636         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11637         (__pthread_mutexattr_init): Likewise.
11638         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11639         (__pthread_mutexattr_destroy): Likewise.
11640         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11641         (__pthread_mutexattr_settype): Likewise.
11642         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11643         (__pthread_rwlock_init): Likewise.
11644         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11645         (__pthread_rwlock_destroy): Likewise.
11646         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11647         (__pthread_rwlock_rdlock): Likewise.
11648         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11649         (__pthread_rwlock_tryrdlock): Likewise.
11650         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11651         (__pthread_rwlock_wrlock): Likewise.
11652         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11653         (__pthread_rwlock_trywrlock): Likewise.
11654         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11655         (__pthread_rwlock_unlock): Likewise.
11656         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11657         (__pthread_key_create): Likewise.
11658         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11659         (__pthread_setspecific): Likewise.
11660         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11661         (__pthread_getspecific): Likewise.
11662         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
11663         Likewise.
11664         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11665         (_pthread_cleanup_push_defer): Likewise.
11666         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11667         (_pthread_cleanup_pop_restore): Likewise.
11668         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11669         (pthread_setcancelstate): Likewise.
11670         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
11671         <bp-sym.h>.
11672         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
11673         (memchr): Do not use BP_SYM in weak_alias.
11674         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
11675         (fegetenv): Do not use BP_SYM in versioned symbols.
11676         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
11677         (fesetenv): Do not use BP_SYM in versioned symbols.
11678         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11679         (feupdateenv): Do not use BP_SYM in versioned symbols.
11680         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11681         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11682         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
11683         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
11684         (open64): Do not use BP_SYM in weak_alias.
11685         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
11686         (fegetenv): Do not use BP_SYM in versioned symbols.
11687         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
11688         (fesetenv): Do not use BP_SYM in versioned symbols.
11689         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11690         (feupdateenv): Do not use BP_SYM in versioned symbols.
11691         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
11692         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
11693         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
11694         (feraiseexcept): Do not use BP_SYM in versioned symbols.
11695         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11696         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11697         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
11698         <bp-sym.h>.
11699         (__libc_start_main): Do not use BP_SYM.
11701 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11703         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
11704         redundant return line.
11705         (norm): Likewise.
11706         (denorm): Likewise.
11707         (dbl_mp): Likewise.
11708         (sub_magnitudes): Likewise.
11709         (__add): Likewise.
11710         (__sub): Likewise.
11711         (__mul): Likewise.
11712         (__inv): Likewise.
11713         (__dvd): Likewise.
11714         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
11715         (norm): Likewise.
11716         (denorm): Likewise.
11717         (dbl_mp): Likewise.
11718         (sub_magnitudes): Likewise.
11719         (__add): Likewise.
11720         (__sub): Likewise.
11721         (__mul): Likewise.
11722         (__inv): Likewise.
11723         (__dvd): Likewise.
11725         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
11726         instead of __mul.
11727         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11728         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
11729         (cc32): Likewise.
11731         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
11732         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
11733         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
11734         of __mul for squares.
11735         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
11736         function
11737         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
11738         Likewise.
11739         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
11740         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11742 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
11744         [BZ #13550]
11745         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
11746         code.
11747         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
11748         prototype or function definition.  Rename ubp_* variables and
11749         parameters.  Remove argv definitions conditional on
11750         [__BOUNDED_POINTERS__].
11751         * debug/backtrace.c (__backtrace): Do not use __unbounded.
11752         * elf/dl-runtime.c (_dl_fixup): Likewise.
11753         * include/set-hooks.h (RUN_HOOK): Likewise.
11754         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
11755         definition.
11756         * string/strcpy.c (strcpy): Do not use __unbounded.
11757         * sysdeps/generic/frame.h (struct layout): Likewise.
11758         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
11759         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
11760         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
11761         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
11762         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
11763         (__backtrace): Likewise.
11764         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
11765         use __ptrvalue.
11766         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
11767         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11768         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11769         Likewise.
11770         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
11771         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
11772         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11773         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11774         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
11775         Do not use __unbounded.
11776         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
11777         Rename __unboundedrlimits parameter to rlimits in prototype.
11778         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
11779         Do not use __unbounded.
11780         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
11781         not use __ptrvalue.
11782         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11783         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
11784         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11785         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
11786         __ptrvalue or __unbounded.
11787         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
11788         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
11789         use __unbounded.
11790         (__new_msgctl): Do not use __ptrvalue.
11791         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
11792         __unbounded.
11793         (__libc_msgrcv): Do not use __ptrvalue.
11794         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
11795         startup_info): Do not use __unbounded.
11796         (__libc_start_main): Likewise.  Rename ubp_* variables and
11797         parameters.  Remove argv definitions conditional on
11798         [__BOUNDED_POINTERS__].
11799         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
11800         __ptrvalue.
11801         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
11802         use __unbounded.
11803         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
11804         or __ptrvalue.
11805         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
11806         use __unbounded.
11807         (__new_shmctl): Do not use __ptrvalue.
11808         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11809         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11810         Likewise.
11811         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11812         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
11813         (__libc_sigaction): Likewise.
11814         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
11815         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
11816         Likewise.
11817         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11819 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
11821         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
11823         * string/mempcpy.c: Implement by calling memcpy.
11825 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
11827         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
11829         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
11830         evaluation.
11832         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
11833         values in the mantissa.
11835         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
11836         minimize writes to Z.
11837         (sub_magnitudes): Simplify code a bit.
11839 2013-02-12  Roland McGrath  <roland@hack.frob.com>
11841         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
11842         from the message.  The linker prefixes all warnings with that already.
11844 2013-02-12  Andreas Schwab  <schwab@suse.de>
11846         [BZ #15078]
11847         * posix/regexec.c (extend_buffers): Add parameter min_len.
11848         (check_matching): Pass minimum needed length.
11849         (clean_state_log_if_needed): Likewise.
11850         (get_subexp): Likewise.
11851         * posix/Makefile (tests): Add bug-regex34.
11852         (bug-regex34-ENV): Define.
11853         * posix/bug-regex34.c: New file.
11855         [BZ #11561]
11856         * posix/regcomp.c (parse_bracket_exp): When looking up collating
11857         elements compare against the byte sequence of it, not its name.
11858         * posix/Makefile (tests): Add bug-regex35.
11859         (bug-regex35-ENV): Define.
11860         * posix/bug-regex35.c: New file.
11862 2013-02-11  Tom de Vries  <tom@codesourcery.com>
11864         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
11865         comment.
11866         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
11867         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
11868         (CHECK_EOL): Add undef.
11870 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
11872         * bits/stdlib-bsearch.h: New file.
11873         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
11874         * stdlib/stdlib.h: Likewise.
11876 2013-02-11  Roland McGrath  <roland@hack.frob.com>
11878         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
11879         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
11880         declaration.
11881         * manual/search.texi (Array Search Function): Add missing const in
11882         lfind prototype.
11883         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
11884         declaration to use rlim_t.
11885         (Basic Scheduling Functions): Remove erroneous const from
11886         sched_getparam prototype.  Remove erroneous * from
11887         sched_get_priority_max and sched_get_priority_min prototypes.
11888         (Resource Usage): Fix summary @comment on vtimes to refer to
11889         sys/vtimes.h rather than vtimes.h.
11890         Add missing *s in vtimes prototype.
11891         (Limits on Resources): Fix ulimit prototype to return long int.
11892         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
11893         prototypes to use long int rather than double.
11894         (BSD Random): Fix initstate and setstate to use char *, not void *.
11895         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
11896         prototype to make second argument 'struct aiocb64 *const[]'.
11897         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
11898         (Status of AIO Operations): Remove erroneous const in aio_return and
11899         aio_return64 prototypes.
11900         (Synchronizing I/O): Fix sync prototype to return void.
11901         * manual/startup.texi (Suboptions): Remove an erroneous const in
11902         getsubopt prototype.
11903         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
11904         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
11905         use size_t rather than int.
11906         (Scanning All Users): Likewise for getpwent_r.
11907         (Setting Groups): Add missing const to setgroups prototype.
11908         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
11909         * manual/socket.texi (Host Names): Fix gethostbyaddr and
11910         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
11911         'const void *' rather than 'const char *'.
11912         (Host Address Functions): Likewise for inet_ntop.
11913         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
11914         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
11915         ssize_t for return value.
11916         (Sending Data): Likewise for send, sendto, sendmsg.
11917         (Socket Option Functions): Add a missing const in setsockopt prototype.
11918         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
11919         use wchar_t for the argument.
11920         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
11921         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
11922         take no arguments.
11923         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
11924         double/float/long double for second argument.
11925         Fix return types of significand, significandf, significandl.
11926         * manual/filesys.texi (Setting Permissions): Use mode_t for second
11927         argument in fchmod prototype.
11928         (File Owner): Use uid_t and gid_t in fchown prototype.
11929         (File Times): Add const to utimes, futimes, and lutimes prototypes.
11930         (Making Special Files): Use mode_t and dev_t in mknod prototype.
11931         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
11932         use 'const struct dirent **' as argument types to CMP function pointer
11933         argument.
11934         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
11935         (File Times): Fix summary magic @comment for struct utimbuf and utime
11936         to refer to utime.h, not time.h.
11937         * manual/string.texi (Argz Functions): Add missing const in
11938         argz_extract and argz_next prototypes.
11939         (Finding Tokens in a String): Likewise for basename.
11940         (String/Array Comparison): Fix typo in wcscasecmp prototype.
11941         (Copying and Concatenation): Fix typo in wmemmove prototype.
11942         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
11943         (Signal Stack): Remove erroneous const in sigstack prototype.
11944         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
11945         prototype.
11946         (Simple Calendar Time): Likewise for stime.
11947         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
11948         prototype.
11949         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
11950         say sys/sysctl.h instead.
11951         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
11952         and vsyslog prototypes.
11954 2013-02-11  Tom de Vries  <tom@codesourcery.com>
11956         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
11957         Remove.
11959 2013-02-11  Roland McGrath  <roland@hack.frob.com>
11961         * misc/sys/mman.h: Fix typo in mremap comment.
11963 2013-02-08  Roland McGrath  <roland@hack.frob.com>
11965         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
11966         the '\0' terminator.
11968 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
11970         [BZ #13550]
11971         * debug/segfault.c: Don't include <bp-checks.h>.
11972         * sysdeps/generic/bp-checks.h: Remove file.
11973         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
11974         (__GETDENTS): Don't use CHECK_N.
11975         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
11976         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11977         (__getgroups): Don't use CHECK_N.
11978         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
11979         (setgroups): Don't use CHECK_N.
11980         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
11981         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
11982         (__libc_msgrcv): Don't use CHECK_N.
11983         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
11984         (__libc_msgsnd): Don't use CHECK_N.
11985         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
11986         <bp-checks.h>.
11987         (__libc_pread): Don't use CHECK_N.
11988         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
11989         include <bp-checks.h>.
11990         (__libc_pread64): Don't use CHECK_N.
11991         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
11992         include <bp-checks.h>.
11993         (__libc_pwrite): Don't use CHECK_N.
11994         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
11995         include <bp-checks.h>.
11996         (__libc_pwrite64): Don't use CHECK_N.
11997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
11998         <bp-checks.h>.
11999         (__libc_pread): Don't use CHECK_N.
12000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
12001         include <bp-checks.h>.
12002         (__libc_pread64): Don't use CHECK_N.
12003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
12004         include <bp-checks.h>.
12005         (__libc_pwrite): Don't use CHECK_N.
12006         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
12007         include <bp-checks.h>.
12008         (__libc_pwrite64): Don't use CHECK_N.
12009         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
12010         (do_pread): Don't use CHECK_N.
12011         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
12012         (do_pread64): Don't use CHECK_N.
12013         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
12014         (do_pwrite): Don't use CHECK_N.
12015         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
12016         (do_pwrite64): Don't use CHECK_N.
12017         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
12018         (__libc_readv): Don't use CHECK_N.
12019         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
12020         (semop): Don't use CHECK_N.
12021         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
12022         <bp-checks.h>.
12023         (semtimedop): Don't use CHECK_N.
12024         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
12025         (__libc_pread): Don't use CHECK_N.
12026         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
12027         <bp-checks.h>.
12028         (__libc_pread64): Don't use CHECK_N.
12029         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
12030         <bp-checks.h>.
12031         (__libc_pwrite): Don't use CHECK_N.
12032         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
12033         <bp-checks.h>.
12034         (__libc_pwrite64): Don't use CHECK_N.
12035         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
12036         <bp-checks.h>.
12037         (__libc_msgrcv): Don't use CHECK_N.
12038         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
12039         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
12040         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
12041         (__libc_writev): Don't use CHECK_N.
12043 2013-02-08  Roland McGrath  <roland@hack.frob.com>
12045         * string/strcpy.c: Removed unused variable.
12047         * Makeconfig (+sysdep-includes): Define with := rather than =.
12048         Use an existing include/ subdir of each sysdeps dir before it.
12050 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
12052         * nscd/connection.c (register_traced_file): Comment function.
12053         [HAVE_INOTIFY] (union __inev): Define.
12054         [HAVE_INOTIFY] (inotify_check_files): New function.
12055         [HAVE_INOTIFY] (clear_db_cache): Likewise.
12056         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
12057         clear_db_cache.
12058         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
12060 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
12062         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
12063         loaded if not already and that a failure is permanent.
12065 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
12067         [BZ #15006]
12068         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
12069         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
12071 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
12073         [BZ #13550]
12074         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
12075         (CHECK_1_NULL_OK): Likewise.
12076         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
12077         (__fxstat): Do not use CHECK_1.
12078         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
12079         <bp-checks.h>.
12080         (___fxstat64): Do not use CHECK_1.
12081         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12082         <bp-checks.h>.
12083         (__fxstatat): Do not use CHECK_1.
12084         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12085         <bp-checks.h>.
12086         (__fxstatat64): Do not use CHECK_1.
12087         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
12088         <bp-checks.h>.
12089         (__fxstat): Do not use CHECK_1.
12090         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12091         <bp-checks.h>.
12092         (__fxstatat): Do not use CHECK_1.
12093         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12094         <bp-checks.h>.
12095         (__getresgid): Do not use CHECK_1.
12096         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12097         <bp-checks.h>.
12098         (__getresuid): Do not use CHECK_1.
12099         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
12100         <bp-checks.h>.
12101         (__lxstat): Do not use CHECK_1.
12102         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12103         <bp-checks.h>.
12104         (__old_msgctl): Do not use CHECK_1.
12105         (__new_msgctl): Likewise.
12106         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
12107         <bp-checks.h>.
12108         (__new_setrlimit): Do not use CHECK_1.
12109         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12110         <bp-checks.h>.
12111         (__old_shmctl): Do not use CHECK_1.
12112         (__new_shmctl): Likewise.
12113         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
12114         <bp-checks.h>.
12115         (__xstat): Do not use CHECK_1.
12116         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
12117         (__lxstat): Do not use CHECK_1.
12118         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
12119         <bp-checks.h>.
12120         (___lxstat64): Do not use CHECK_1.
12121         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
12122         (__old_msgctl): Do not use CHECK_1.
12123         (__new_msgctl): Likewise.
12124         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
12125         <bp-checks.h>.
12126         (__gettimeofday): Do not use CHECK_1.
12127         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
12128         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
12129         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
12130         <bp-checks.h>.
12131         (__gettimeofday): Do not use CHECK_1.
12132         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
12133         (__old_shmctl): Do not use CHECK_1_NULL_OK.
12134         (__new_shmctl): Do not use CHECK_1.
12135         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
12136         <bp-checks.h>.
12137         (do_sigtimedwait): Do not use CHECK_1.
12138         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
12139         <bp-checks.h>.
12140         (do_sigwaitinfo): Do not use CHECK_1.
12141         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
12142         <bp-checks.h>.
12143         (msgctl): Do not use CHECK_1.
12144         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
12145         <bp-checks.h>.
12146         (shmctl): Do not use CHECK_1.
12147         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
12148         (ustat): Do not use CHECK_1.
12149         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
12150         <bp-checks.h>.
12151         (__fxstat): Do not use CHECK_1.
12152         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12153         <bp-checks.h>.
12154         (__fxstatat): Do not use CHECK_1.
12155         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
12156         <bp-checks.h>.
12157         (__lxstat): Do not use CHECK_1.
12158         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
12159         <bp-checks.h>.
12160         (__xstat): Do not use CHECK_1.
12161         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
12162         (__xstat): Do not use CHECK_1.
12163         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
12164         (___xstat64): Do not use CHECK_1.
12166         [BZ #13550]
12167         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
12168         definitions.
12169         (CHECK_BOUNDS_HIGH): Likewise.
12170         * string/strcpy.c: Do not include <bp-checks.h>.
12171         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
12173 2013-02-07  Roland McGrath  <roland@hack.frob.com>
12175         * nscd/nscd-client.h (__nscd_drop_map_ref):
12176         Add __attribute__ ((unused)).
12177         * nis/nss-nisplus.h (niserr2nss): Likewise.
12179         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
12180         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
12182         * csu/libc-tls.c (init_static_tls, init_slotinfo):
12183         Remove inline keyword.
12184         * include/rounding-mode.h (round_away): Likewise.
12185         * libio/wfileops.c (adjust_wide_data): Likewise.
12186         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
12187         (__m128i_strloadu_tolower): Likewise.
12188         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
12189         (__m128i_strloadu_tolower): Likewise.
12190         * time/mktime.c (ydhms_diff): Likewise.
12191         * locale/elem-hash.h (elem_hash): Likewise.
12192         * locale/setlocale.c (setdata): Likewise.
12193         * posix/regex_internal.h (re_string_char_size_at): Likewise.
12194         (re_string_wchar_at): Likewise.
12195         (bitset_not, bitset_merge, bitset_mask): Likewise.
12196         [!(__GNUC__ > 3)] (inline): Remove macro.
12197         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
12198         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
12199         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12200         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
12201         * string/memcmp.c (memcmp_bytes): Likewise.
12202         * locale/programs/locarchive.c (compute_hashval): Likewise.
12203         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
12204         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
12205         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
12206         * nss/getent.c (print_rpc, print_protocols): Likewise.
12207         (print_passwd, print_group, print_aliases): Likewise.
12208         * nis/nss-nisplus.h (niserr2nss): Likewise.
12209         * nscd/connections.c (restart_p): Likewise.
12210         Change return type to bool.
12212 2013-02-05  Roland McGrath  <roland@hack.frob.com>
12214         * Makeconfig (all-Depend-files): Add existing
12215         $(sorted-subdirs:=/Depend) files.
12216         (all-subdirs): Remove nss.
12217         * sysdeps/unix/inet/Subdirs: Add it here instead.
12218         * hesiod/Depend: New file.
12220         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
12221         instead of calling alloca.
12223         * io/lseek.c (__lseek): Rename to __libc_lseek.
12224         Define __lseek as an alias.
12226         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
12228 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
12230         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
12231         else clause and remove check for non-standard endianness.
12233 2013-02-04  David S. Miller  <davem@davemloft.net>
12235         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12237 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
12239         [BZ #13550]
12240         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
12241         (__ubp_memchr): Remove prototype.
12242         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
12243         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12244         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
12245         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12246         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
12247         Remove alias.
12248         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
12249         (__ubp_memchr): Likewise.
12250         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
12251         (__ubp_memchr): Likewise.
12252         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
12253         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
12254         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
12255         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
12256         CHECK_STRING.
12257         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12258         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
12259         (__getcwd): Do not use CHECK_STRING.
12260         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12261         <bp-checks.h>.
12262         (__real_chown): Do not use CHECK_STRING.
12263         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
12264         <bp-checks.h>.
12265         (fchownat): Do not use CHECK_STRING.
12266         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
12267         CHECK_STRING.
12268         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12269         <bp-checks.h>.
12270         (__lchown): Do not use CHECK_STRING.
12271         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12272         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12273         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12274         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12275         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12276         include <bp-checks.h>.
12277         (truncate64): Do not use CHECK_STRING.
12278         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12279         <bp-checks.h>.
12280         (__real_chown): Do not use CHECK_STRING.
12281         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12282         <bp-checks.h>.
12283         (__lchown): Do not use CHECK_STRING.
12284         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12285         <bp-checks.h>.
12286         (__chown): Do not use CHECK_STRING.
12287         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
12288         <bp-checks.h>.
12289         (truncate64): Do not use CHECK_STRING.
12290         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
12291         Likewise.
12292         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
12293         (__xmknod): Do not use CHECK_STRING.
12294         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12295         <bp-checks.h>.
12296         (__xmknodat): Do not use CHECK_STRING.
12297         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12298         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12300 2013-02-04  Andreas Schwab  <schwab@suse.de>
12302         [BZ #14142]
12303         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
12304         * include/netdb.h: Likewise for h_errno.
12305         * elf/tst-stackguard1.c: Include <tls.h>.
12307 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
12309         * elf/link.h (struct link_map): Extend the l_addr comment.
12310         * include/link.h (struct link_map): Likewise.
12312 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
12314         [BZ #13550]
12315         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
12316         (BOUNDED_1): Remove macro.
12317         * debug/backtrace.c: Don't include <bp-checks.h>.
12318         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
12319         (__backtrace): Likewise.
12320         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
12321         <bp-checks.h>.
12322         (__backtrace): Don't use BOUNDED_1.
12323         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
12324         <bp-checks.h>.
12325         (__backtrace): Don't use BOUNDED_1.
12326         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
12327         (__backtrace): Don't use BOUNDED_1.
12328         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
12329         (shmat): Don't use BOUNDED_N.
12331 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
12333         [BZ #13550]
12334         * sysdeps/generic/bp-start.h: Remove file.
12335         * csu/libc-start.c: Don't include <bp-start.h>.
12336         (LIBC_START_MAIN): Set up __environ directly instead of using
12337         INIT_ARGV_and_ENVIRON.
12338         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
12339         <bp-start.h>.
12341         [BZ #13550]
12342         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
12343         definitions.
12344         (CHECK_FCNTL): Likewise.
12345         (CHECK_N_PAGES): Likewise.
12347         [BZ #13550]
12348         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
12349         definitions.
12350         (CHECK_SIGSET_NULL_OK): Likewise.
12351         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
12352         <bp-checks.h>.
12353         (sigpending): Don't use CHECK_SIGSET.
12354         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
12355         <bp-checks.h>.
12356         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12357         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
12358         <bp-checks.h>.
12359         (do_sigsuspend): Don't use CHECK_SIGSET.
12360         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
12361         use CHECK_SIGSET.
12362         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
12363         (do_sigwait): Don't use CHECK_SIGSET.
12364         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
12365         use CHECK_SIGSET.
12366         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
12367         include <bp-checks.h>.
12368         (sigpending): Don't use CHECK_SIGSET.
12369         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
12370         include <bp-checks.h>.
12371         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12372         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
12373         <bp-checks.h>.
12374         (sigpending): Don't use CHECK_SIGSET.
12375         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
12376         <bp-checks.h>.
12377         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12379         [BZ #13550]
12380         * sysdeps/generic/bp-semctl.h: Remove file.
12381         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
12382         <bp-checks.h> and <bp-semctl.h>.
12383         (__old_semctl): Don't use CHECK_SEMCTL.
12384         (__new_semctl): Likewise.
12385         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
12386         and <bp-semctl.h>.
12387         (__old_semctl): Don't use CHECK_SEMCTL.
12388         (__new_semctl): Likewise.
12389         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
12390         <bp-checks.h> and <bp-semctl.h>.
12391         (__old_semctl): Don't use CHECK_SEMCTL.
12392         (__new_semctl): Likewise.
12393         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
12394         <bp-checks.h> and <bp-semctl.h>.
12395         (semctl): Don't use CHECK_SEMCTL.
12397         [BZ #13550]
12398         * Makerules (elide-bp-thunks): Remove variable.
12399         (elide-routines.oS): Don't use $(elide-bp-thunks).
12400         (elide-routines.os): Likewise.
12401         (elide-routines.o): Likewise.
12402         (elide-routines.op): Likewise.
12403         (elide-routines.og): Likewise.
12404         (objects): Don't use $(bp-thunks).
12405         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
12406         include.
12407         (common-generated): Do not add s-proto-bp.d.
12408         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
12409         (int): Likewise.
12410         (typ): Likewise.
12411         Do not generate makefile rules for bounded-pointer thunks.
12412         * sysdeps/generic/bp-thunks.h: Remove file.
12413         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
12414         * sysdeps/unix/s-proto-bp.S: Likewise.
12416         [BZ #15062]
12417         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
12418         parts of result separately when argument is not close to line from
12419         -i to i and one part of argument is small.
12420         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12421         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12422         * math/libm-test.inc (cacos_test): Add more tests.
12423         (casin_test): Likewise.
12424         (casinh_test): Likewise.
12425         * sysdeps/i386/fpu/libm-test-ulps: Update.
12426         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12428 2013-01-31  David S. Miller  <davem@davemloft.net>
12430         * po/de.po: Update from translation team.
12432 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
12434         * time/tzfile.c: Include stdint.h for SIZE_MAX.
12436 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
12438         * configure.in (_AC_PROG_CC_C89): New definition.
12439         * configure: Regenerate.
12441         * configure.in (AC_PROG_CPP): New definition.
12442         * configure: Regenerate.
12444 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
12446         * debug/tst-backtrace.h: New file.
12447         * debug/tst-backtrace2.c: Include tst-backtrace.h.
12448         (ret): Remove variable.
12449         (x): Likewise.
12450         (FAIL): Remove macro.
12451         (NO_INLINE): Likewise.
12452         (fn1): Use match function instead of strstr.
12453         * debug/tst-backtrace3.c: Include tst-backtrace.h.
12454         (ret): Remove variable.
12455         (x): Likewise.
12456         (FAIL): Remove macro.
12457         (NO_INLINE): Likewise.
12458         (fn): Use match function instead of strstr.
12459         * debug/tst-backtrace4.c: Include tst-backtrace.h.
12460         (ret): Remove variable.
12461         (x): Likewise.
12462         (FAIL): Remove macro.
12463         (NO_INLINE): Likewise.
12464         (handle_signal): Use match function instead of strstr.
12465         * debug/tst-backtrace5.c: Include tst-backtrace.h.
12466         (ret): Remove variable.
12467         (x): Likewise.
12468         (FAIL): Remove macro.
12469         (NO_INLINE): Likewise.
12470         (handle_signal): Use match function instead of strstr.
12472 2013-01-23  Roland McGrath  <roland@hack.frob.com>
12474         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
12476 2013-01-23  David S. Miller  <davem@davemloft.net>
12478         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
12479         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
12480         argument of CAS if possible.
12481         * sysdeps/sparc/sparc64/bits/atomic.h
12482         (__arch_compare_and_exchange_val_32_acq): Likewise.
12483         (__arch_compare_and_exchange_val_64_acq): Likewise.
12485 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
12487         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
12488         * sysdeps/posix/ulimit.c: ... this.
12489         Include <limits.h>.
12490         * sysdeps/unix/bsd/ulimit.c: Remove file.
12492 2013-01-23  Adam Conrad  <adconrad@0c3.net>
12494         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
12495         (LDFLAGS-tst-array5): Likewise.
12497 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
12499         [BZ #15036]
12500         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
12501         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
12502         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
12503         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
12505 2013-01-21  David S. Miller  <davem@davemloft.net>
12507         * sysdeps/sparc/backtrace.c: New file.
12508         * sysdeps/sparc/sparc32/backtrace.h: New file.
12509         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
12510         * sysdeps/sparc/sparc64/backtrace.h: New file.
12511         * sysdeps/sparc/sparc64/backtrace.c: Delete.
12512         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
12513         -funwind-tables.
12515 2013-01-21  Andreas Schwab  <schwab@suse.de>
12517         [BZ #15020]
12518         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
12519         closed its stdout.
12521 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
12523         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
12524         "mpa2.h".
12525         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12527 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
12528             Mark Mitchell  <mark@codesourcery.com>
12529             Tom de Vries  <tom@codesourcery.com>
12530             Paul Pluzhnikov  <ppluzhnikov@google.com>
12532         * debug/tst-backtrace2.c: New file.
12533         * debug/tst-backtrace3.c: Likewise.
12534         * debug/tst-backtrace4.c: Likewise.
12535         * debug/tst-backtrace5.c: Likewise.
12536         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
12537         (CFLAGS-tst-backtrace3.c): Likewise.
12538         (CFLAGS-tst-backtrace4.c): Likewise.
12539         (CFLAGS-tst-backtrace5.c): Likewise.
12540         (LDFLAGS-tst-backtrace2): Likewise.
12541         (LDFLAGS-tst-backtrace3): Likewise.
12542         (LDFLAGS-tst-backtrace4): Likewise.
12543         (LDFLAGS-tst-backtrace5): Likewise.
12544         (tests): Add new tests tst-backtrace2, tst-backtrace3,
12545         tst-backtrace4 and tst-backtrace5.
12547 2013-01-18  Anton Blanchard  <anton@samba.org>
12548             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12550         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
12551         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
12552         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
12553         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
12554         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12555         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
12556         "+r" and remove output regs list as redundant.  Add explicit inline
12557         asm to specify register of return val to work around compiler codegen
12558         bug.  Remove (int) cast on return value.  Add return type parameter to
12559         use in macro so that this macro does not truncate return value for
12560         64-bit values.
12561         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
12562         pass to INTERNAL_VSYSCALL_NCS.
12563         (INLINE_VSYSCALL): Add 'long int' as return type to
12564         INTERNAL_VSYSCALL_NCS macro invocation.
12565         (INTERNAL_VSYSCALL): Add 'long int' as return type to
12566         INTERNAL_VSYSCALL_NCS macro invocation.
12567         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12569 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12571         [BZ #14496]
12572         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
12573         Fix application of SIMD FP exception mask.
12575         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
12576         mp_no from a power of two.
12577         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
12578         __mpexp_twomm1.  Use __pow_mp.
12580         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
12581         multiplication.
12583 2013-01-17  David S. Miller  <davem@davemloft.net>
12585         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12587 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
12589         [BZ #15023]
12590         * include/complex.h: Condition contents on [!_COMPLEX_H].
12591         (__kernel_casinhf): New prototype.
12592         (__kernel_casinh): Likewise.
12593         (__kernel_casinhl): Likewise.
12594         * math/Makefile (libm_calls): Add k_casinh.
12595         * math/k_casinh.c: New file.
12596         * math/k_casinhf.c: Likewise.
12597         * math/k_casinhl.c: Likewise.
12598         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
12599         finite nonzero arguments.
12600         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
12601         finite nonzero arguments.
12602         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
12603         finite nonzero arguments.
12604         * math/s_casinh.c: Do not include <float.h>.
12605         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
12606         * math/s_casinhf.c: Do not include <float.h>.
12607         (__casinhf): Move code for finite nonzero arguments to
12608         k_casinhf.c.
12609         * math/s_casinhl.c: Do not include <float.h>.
12610         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
12611         redefine.
12612         (__casinhl): Move code for finite nonzero arguments to
12613         k_casinhl.c.
12614         * math/libm-test.inc (cacos_test): Add more tests.
12615         * sysdeps/i386/fpu/libm-test-ulps: Update.
12616         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12618 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
12620         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
12621         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
12622         [!HAVE_MREMAP]: Remove [defined linux] case.
12623         * malloc/arena.c: Do not include <malloc-sysdep.h>.
12625 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12627         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
12629 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
12631         * elf/elf.h (R_386_SIZE32): New relocation.
12632         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
12633         R_386_SIZE32.
12634         (elf_machine_rela): Likewise.
12635         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12636         R_X86_64_SIZE64 and R_X86_64_SIZE32.
12638 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
12640         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
12641         (FP_FAST_FMA): Do not define.
12642         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
12643         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
12644         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
12645         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
12646         !_SOFT_FLOAT]: Likewise.
12647         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
12648         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
12649         value.
12650         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
12651         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
12652         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
12653         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
12654         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
12655         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
12656         file.
12658 2013-01-16  Andreas Schwab  <schwab@suse.de>
12660         [BZ #14327]
12661         * include/stdlib.h (__mktemp): Add declaration.
12662         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
12663         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
12665 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12667         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
12668         definitions.
12669         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12670         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
12671         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
12672         definitions here.
12673         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
12674         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
12675         definitions.
12676         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
12677         and ONE.
12678         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
12679         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
12680         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
12681         definitions.
12682         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
12683         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
12684         definitions.
12685         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12687         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
12689 2013-01-15  David S. Miller  <davem@davemloft.net>
12691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12692         trunc{,f} to libm-sysdep_routes.
12693         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12694         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
12695         file.
12696         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
12697         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
12698         file.
12699         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
12700         file.
12701         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
12702         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
12703         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
12704         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
12705         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
12706         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
12707         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
12708         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
12710         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12711         nearbyint{,f} to libm-sysdep_routes.
12712         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
12714         New file.
12715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
12716         file.
12717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
12718         New file.
12719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
12720         file.
12721         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
12722         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
12723         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
12724         file.
12725         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
12726         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
12727         file.
12728         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
12729         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
12730         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
12732         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12733         libc_feholdexcept and libc_fesetenv.
12735 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
12737         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
12739 2013-01-14  David S. Miller  <davem@davemloft.net>
12741         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
12742         (SPARC_ASM_VIS2_IFUNC): Likewise.
12743         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
12744         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
12745         use of 'siam' instruction.
12746         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
12747         Likewise.
12748         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
12749         Likewise.
12750         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
12751         Likewise.
12752         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
12753         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12754         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
12755         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
12756         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
12757         file.
12758         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
12759         file.
12760         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
12761         file.
12762         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
12763         file.
12764         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
12765         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
12766         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
12767         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
12768         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
12769         new VIS2 routines.
12770         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12771         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12772         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12773         Likewise.
12774         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12775         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12776         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12777         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
12779         routines to libm-sysdep_routines.
12780         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12782         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12783         fdim/fdimf to libm-sysdep_routines.
12784         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
12785         file.
12786         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
12787         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
12788         file.
12789         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
12790         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
12791         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
12792         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
12793         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
12794         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
12795         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
12797 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12799         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
12800         to optimize copies.
12802         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
12803         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12804         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12806         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
12807         local variable MPTWO.
12808         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12809         Likewise.
12811 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
12813         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
12814         GLOB_NOESCAPE.
12816 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
12818         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
12820 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
12822         * manual/pattern.texi (glob_t): Document gl_flags.
12823         (glob64_t): Likewise.
12825 2013-01-11  David S. Miller  <davem@davemloft.net>
12827         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
12828         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
12829         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
12830         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
12831         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
12832         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
12833         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
12834         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
12835         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
12836         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
12837         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
12838         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
12839         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
12841         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12842         sparc V9 rather than using V8 code.
12843         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12844         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12846         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12847         Move to...
12848         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
12849         Here.
12851 2013-01-11  Roland McGrath  <roland@hack.frob.com>
12853         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
12854         not in the main loop.
12855         * configure: Regenerated.
12857 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
12859         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
12860         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
12861         to just #else.
12862         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
12863         [!__GLIBC_HAVE_LONG_LONG] case.
12864         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
12865         condition to just #else.
12866         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
12867         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
12868         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
12869         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
12870         unconditional.
12871         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
12872         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12873         #elif condition to just #else.
12874         * sysdeps/unix/sysv/linux/sys/sysmacros.h
12875         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
12876         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12877         #elif condition to just #else.
12879 2013-01-11  Steve Ellcey  <sellcey@mips.com>
12881         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
12882         (EF_MIPS_ARCH_64): Fix value.
12883         (EF_MIPS_ARCH_32R2): New.
12884         (EF_MIPS_ARCH_64R2): New.
12886 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
12888         * Makeconfig (+link-pie-before-libc): New.
12889         (+link-pie-after-libc): Likewise.
12890         (+link-pie-tests): Likewise.
12891         (+link-pie): Rewritten.
12892         (link-before-libc): Remove $(config-LDFLAGS).
12893         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
12894         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
12895         (config-LDFLAGS): Renamed to ...
12896         (rtld-LDFLAGS): This.
12897         (rtld-tests-LDFLAGS): New macro.
12898         (link-libc-rpath-link): Likewise.
12899         (link-libc-tests-rpath-link): Likewise.
12900         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
12901         (link-libc): Prepand $(link-libc-rpath-link).
12902         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
12903         (test-program-prefix): New macro.
12904         (test-via-rtld-prefix): Likewise.
12905         (test-program-cmd): Likewise.
12906         (host-test-program-cmd): Likewise.
12907         * Makefile ($(common-objpfx)testrun.sh): Replace
12908         $(run-program-prefix) with $(test-program-prefix).
12909         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
12910         $(rtld-LDFLAGS).
12911         ($(common-objpfx)shlib.lds): Likewise.
12912         (build-module-helper): Likewise.
12913         ($(common-objpfx)format.lds): Likewise.
12914         * Rules (binaries-pie-tests): New.
12915         (binaries-pie-notests): Likewise.
12916         (binaries-pie): Rewritten.
12917         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
12918         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
12919         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
12920         (make-test-out): Replace $(host-built-program-cmd) with
12921         $(host-test-program-cmd).
12922         * config.make.in (build-hardcoded-path-in-tests): New variable.
12923         * configure.in (--enable-hardcoded-path-in-tests): New configure
12924         option.
12925         (hardcoded_path_in_tests): New AC_SUBST.
12926         * configure: Regenerated.
12927         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
12928         $(built-program-cmd) with $(test-program-cmd).
12929         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
12930         (test_program_cmd): This.
12931         * elf/Makefile ($(objpfx)order.out): Run test with
12932         $(test-program-prefix).
12933         ($(objpfx)order2.out): Likewise.
12934         ($(objpfx)tst-initorder.out): Likewise.
12935         ($(objpfx)tst-initorder2.out): Likewise.
12936         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
12937         $(test-program-cmd).
12938         ($(objpfx)tst-array1-static.out): Likewise.
12939         ($(objpfx)tst-array2.out): Likewise.
12940         ($(objpfx)tst-array3.out): Likewise.
12941         ($(objpfx)tst-array4.out): Likewise.
12942         ($(objpfx)tst-array5.out): Likewise.
12943         ($(objpfx)tst-array5-static.out): Likewise.
12944         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
12945         $(test-program-cmd).
12946         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
12947         $(run-program-prefix) with $(test-program-prefix).
12948         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
12949         (test_program_prefix): This.
12950         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
12951         $(run-program-prefix) with $(test-program-prefix).
12952         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
12953         (test_program_prefix): This.
12954         * iconvdata/tst-tables.sh: Likewise.
12955         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
12956         $(run-program-prefix) with $(test-program-prefix).
12957         ($(objpfx)tst-translit.out): Likewise.
12958         ($(objpfx)tst-gettext2.out): Likewise.
12959         ($(objpfx)tst-gettext4.out): Likewise.
12960         ($(objpfx)tst-gettext6.out): Likewise.
12961         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
12962         (test_program_prefix): This.
12963         * intl/tst-gettext2.sh: Likewise.
12964         * intl/tst-gettext4.sh  Likewise.
12965         * intl/tst-gettext6.sh: Likewise.
12966         * intl/tst-translit.sh: Likewise.
12967         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
12968         with $(test-program-cmd).
12969         * libio/Makefile ($(objpfx)test-freopen.out): Replace
12970         $(run-program-prefix) with $(test-program-prefix).
12971         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
12972         (test_program_prefix): This.
12973         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
12974         $(run-program-prefix) with $(test-program-prefix).
12975         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
12976         (test_program_prefix): This.
12977         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
12978         * posix/Makefile ($(objpfx)globtest.out): Replace
12979         $(run-via-rtld-prefix) and $(test-wrapper) with
12980         $(test-program-prefix) and $(test-via-rtld-prefix).
12981         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
12982         $(test-program-prefix).
12983         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
12984         $(host-test-program-cmd).
12985         (tst-spawn-ARGS): Likewise.
12986         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
12987         $(test-program-prefix).
12988         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
12989         (test_via_rtld_prefix): This.
12990         (test_wrapper): Renamed to ...
12991         (test_program_prefix): This.
12992         (run_program_prefix): Replaced by test_program_prefix.
12993         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
12994         (test_program_prefix): This.
12995         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
12996         with $(host-test-program-cmd).
12997         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
12998         $(run-program-prefix) with $(test-program-prefix).
12999         ($(objpfx)tst-printf.out): Likewise.
13000         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
13001         $(test-program-cmd).
13002         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
13003         (test_program_prefix): This.
13004         * stdio-common/tst-unbputc.sh: Likewise.
13005         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
13006         $(run-program-prefix) with $(test-program-prefix).
13007         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
13008         (test_program_prefix): This.
13009         * string/Makefile ($(objpfx)tst-svc.out):  Replace
13010         $(built-program-cmd) with $(test-program-cmd).
13012 2013-01-11  Andreas Jaeger  <aj@suse.de>
13014         [BZ #15003]
13015         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
13016         value. Sync with Linux 3.7.
13018 2013-01-10  David S. Miller  <davem@davemloft.net>
13020         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
13021         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13022         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13024 2013-01-10  Roland McGrath  <roland@hack.frob.com>
13026         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
13027         never set.
13028         * configure: Regenerated.
13030 2013-01-10  David S. Miller  <davem@davemloft.net>
13032         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
13033         sparc V9 rather than using V8 code.
13034         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
13035         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
13037 2013-01-10  Roland McGrath  <roland@hack.frob.com>
13039         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
13040         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
13041         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
13042         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
13043         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
13044         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
13045         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
13046         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
13047         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
13048         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
13049         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
13050         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
13051         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
13052         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
13053         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
13054         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
13055         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
13056         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
13057         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
13058         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
13059         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
13060         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
13061         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
13062         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
13063         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
13064         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
13065         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
13067 2013-01-10  David S. Miller  <davem@davemloft.net>
13069         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13071 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
13073         * posix/Makefile (tests-static): New variable.
13074         (tests): Add $(tests-static).
13075         (tst-exec-static-ARGS): New variable.
13076         (tst-spawn-static-ARGS): Likewise.
13077         * posix/tst-exec-static.c: New file.
13078         * posix/tst-spawn-static.c: Likewise.
13079         * posix/tst-exec.c: Support run directly.
13080         * posix/tst-spawn.c: Likewise.
13082 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
13084         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
13085         long.
13086         * math/bits/mathcalls.h (llrint): Likewise.
13087         (llround): Likewise.
13088         * stdlib/stdlib.h (struct drand48_data): Likewise.
13089         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
13090         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
13091         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
13092         Likewise.
13093         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
13094         Likewise.
13095         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
13096         (elf_greg_t): Likewise.
13097         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
13098         (__jmp_buf): Likewise.
13099         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
13100         definitions.
13101         (llrint): Likewise, for all definitions.
13102         (llrintl): Likewise.
13104         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
13105         Remove [__GNUC__] condition.
13106         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
13107         condition to just [__USE_ISOC99].
13108         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
13110 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
13112         [BZ #14200]
13113         * sysdeps/unix/sysv/linux/x86/bits/environments.h
13114         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
13115         defined.
13116         (_POSIX_V6_ILP32_OFF32): Likewise.
13117         (_XBS5_ILP32_OFF32): Likewise.
13118         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
13119         (__ILP32_OFFBIG_LDFLAGS): Likewise.
13121 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13123         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
13125         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
13126         doubles __mpexp_twomm1.  Adjust usage.
13127         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
13128         Remove.
13130 2013-01-10  Andreas Schwab  <schwab@suse.de>
13132         [BZ #14964]
13133         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
13134         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
13136 2013-01-09  David S. Miller  <davem@davemloft.net>
13138         [BZ #15003]
13139         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
13140         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
13141         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
13142         TCP_FASTOPEN): Define.
13143         (tcp_repair_opt): New structure.
13144         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
13145         enum values.
13146         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
13147         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
13148         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
13149         (tcp_cookie_transactions): New structure.
13151 2013-01-09  Anton Blanchard  <anton@samba.org>
13153         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
13154         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
13155         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
13156         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13158 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
13160         * include/features.h (__USE_ANSI): Remove.
13162 2013-01-09  Roland McGrath  <roland@hack.frob.com>
13164         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
13166         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
13168 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
13170         * sysdeps/s390/fpu/libm-test-ulps: Update.
13172         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13174         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
13175         (__acr): Likewise.
13176         (__cpy): Likewise.
13177         (norm): Likewise.
13178         (denorm): Likewise.
13179         (__mp_dbl): Likewise.
13180         (__dbl_mp): Likewise.
13181         (add_magnitudes): Likewise.
13182         (sub_magnitudes): Likewise.
13183         (__add): Likewise.
13184         (__sub): Likewise.
13185         (__mul): Likewise.
13186         (__inv): Likewise.
13187         (__dvd): Likewise.
13188         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
13189         (__acr): Likewise.
13190         (__cpy): Likewise.
13191         (norm): Likewise.
13192         (denorm): Likewise.
13193         (__mp_dbl): Likewise.
13194         (__dbl_mp): Likewise.
13195         (add_magnitudes): Likewise.
13196         (sub_magnitudes): Likewise.
13197         (__add): Likewise.
13198         (__sub): Likewise.
13199         (__mul): Likewise.
13200         (__inv): Likewise.
13201         (__dvd): Likewise.
13202         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
13203         (__acr): Likewise.
13204         (__cpy): Likewise.
13205         (norm): Likewise.
13206         (denorm): Likewise.
13207         (__mp_dbl): Likewise.
13208         (__dbl_mp): Likewise.
13209         (add_magnitudes): Likewise.
13210         (sub_magnitudes): Likewise.
13211         (__add): Likewise.
13212         (__sub): Likewise.
13213         (__mul): Likewise.
13214         (__inv): Likewise.
13215         (__dvd): Likewise.
13217 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
13219         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
13220         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
13221         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
13222         2 && __USE_EXTERN_INLINES]: Likewise.
13224 2013-01-08  Andreas Jaeger  <aj@suse.de>
13226         [BZ# 14985]
13227         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
13228         Remove.
13229         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13230         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13232 2013-01-07  Anton Blanchard  <anton@samba.org>
13234         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
13235         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13236         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
13237         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13238         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13239         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13240         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
13241         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13242         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13243         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13244         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13245         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13246         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13247         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13248         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13249         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13250         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13251         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13252         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13253         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13254         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13255         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
13256         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13257         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13258         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
13259         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13260         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13261         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13262         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
13263         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13264         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13265         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13266         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13267         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13268         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13269         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13270         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13271         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13272         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
13273         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13274         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
13275         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13276         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13278 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
13280         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
13281         (__MALLOC_PMT): Likewise.
13282         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
13283         [__GNUC__], only on [_LIBC].
13284         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13285         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
13286         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13287         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
13288         forward declaration.
13289         (realloc_hook_ini): Likewise.
13290         (memalign_hook_ini): Likewise.
13291         (__libc_memalign): Do not use __MALLOC_PMT in variable
13292         declaration.
13293         (__libc_valloc): Likewise.
13294         (__libc_pvalloc): Likewise.
13295         (__libc_calloc): Likewise.
13296         (__posix_memalign): Likewise.
13298         [BZ #14996]
13299         * math/s_casinh.c: Include <float.h>.
13300         (__casinh): Do not do computation with squaring and square root
13301         for large arguments.
13302         * math/s_casinhf.c: Include <float.h>.
13303         (__casinhf): Do not do computation with squaring and square root
13304         for large arguments.
13305         * math/s_casinhl.c: Include <float.h>.
13306         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
13307         (__casinhl): Do not do computation with squaring and square root
13308         for large arguments.
13309         * math/libm-test.inc (casin_test): Add more tests.
13310         (casinh_test): Likewise.
13311         * sysdeps/i386/fpu/libm-test-ulps: Update.
13312         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13314 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
13316         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
13317         (__x86_64_raw_data_cache_size): Likewise.
13318         (__x86_64_data_cache_size_half): Likewise.
13319         (__x86_64_raw_data_cache_size_half): Likewise.
13320         (__x86_64_shared_cache_size): Likewise.
13321         (__x86_64_raw_shared_cache_size): Likewise.
13322         (__x86_64_shared_cache_size_half): Likewise.
13323         (__x86_64_raw_shared_cache_size_half): Likewise.
13324         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
13325         to ...
13326         (__x86_data_cache_size): This.
13327         (__x86_64_raw_data_cache_size): Renamed to ...
13328         (__x86_raw_data_cache_size): This.
13329         (__x86_64_data_cache_size_half): Renamed to ...
13330         (__x86_data_cache_size_half): This.
13331         (__x86_64_raw_data_cache_size_half): Renamed to ...
13332         (__x86_raw_data_cache_size_half): This.
13333         (__x86_64_shared_cache_size): Renamed to ...
13334         (__x86_shared_cache_size): This.
13335         (__x86_64_raw_shared_cache_size): Renamed to ...
13336         (__x86_raw_shared_cache_size): This.
13337         (__x86_64_shared_cache_size_half): Renamed to ...
13338         (__x86_shared_cache_size_half): This.
13339         (__x86_64_raw_shared_cache_size_half): Renamed to ...
13340         (__x86_raw_shared_cache_size_half): This.
13341         * sysdeps/x86_64/memcpy.S: Updated.
13342         * sysdeps/x86_64/memset.S: Likewise.
13343         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13344         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13345         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13347 2013-01-04  David S. Miller  <davem@davemloft.net>
13349         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13351 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
13353         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
13354         1 to avoid redefinition warning.
13355         (__USE_GNU): Don't define.
13356         (init_signaling_nan): Protoize.
13358         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13360 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13362         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
13363         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
13364         (__cpymn): Likewise.
13365         (norm): Remove commented code.
13366         (denorm): Likewise.
13367         (__mp_dbl): Likewise.
13368         (__inv): Likewise.
13369         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
13370         (__cpymn): Likewise.
13371         (norm): Remove commented code.
13372         (denorm): Likewise.
13373         (__mp_dbl): Likewise.
13374         (__inv): Likewise.
13376         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
13377         mp_no value for 1.0 and 2.0.
13378         (norm): Use RADIXI instead of radixi.d.
13379         (denorm): Likewise.
13380         (__mul): Use 0.0 instead of zero.d.
13381         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
13382         mp_no value for 1.0 and 2.0.
13383         (norm): Use RADIXI instead of radixi.d.
13384         (denorm): Likewise.
13385         (__mul): Use 0.0 instead of zero.d.
13387 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
13389         [BZ #14994]
13390         * math/s_casinh.c (__casinh): Reduce finite argument to first
13391         quadrant then set signs of results at the end.
13392         * math/s_casinhf.c (__casinhf): Likewise.
13393         * math/s_casinhl.c (__casinhl): Likewise.
13394         * math/libm-test.inc (casin_test): Add more tests.
13395         (casinh_test): Likewise.
13396         * sysdeps/i386/fpu/libm-test-ulps: Update.
13397         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13399 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13401         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
13403         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
13405         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
13406         declarations.
13407         (denorm): Likewise.
13408         (__mp_dbl): Likewise.
13409         (__inv): Likewise.
13411         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
13412         and adjust the header comment.
13414         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
13415         variable name from declaration.
13417 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
13419         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13420         Initialize COMMON_CPUID_INDEX_7 element.
13421         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
13422         (CPUID_RTM): Likewise.
13423         (HAS_RTM): Likewise.
13424         (COMMON_CPUID_INDEX_7): New enum.
13426 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
13428         [BZ #14981]
13429         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
13430         size is zero, record memory as freed.
13432 2013-01-03  Andreas Jaeger  <aj@suse.de>
13434         * po/ia.po: Add new Interlingua translation.
13436 2012-01-03  Allan McRae  <allan@archlinux.org>
13438         * locale/programs/localedef.c: Fix description of '--posix' flag.
13440 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
13442         * NEWS: Update dates in second copyright notice.
13443         * README: Update copyright dates in example.
13444         * manual/libc.texinfo: Update copyright dates.
13445         * scripts/test-installation.pl: Update copyright date in --version
13446         output.
13448         * hurd/ctty-input.c: Fix copyright notice formatting.
13449         * hurd/ctty-output.c: Likewise.
13450         * hurd/dtable.c: Likewise.
13451         * hurd/hurd-raise.c: Likewise.
13452         * hurd/hurdprio.c: Likewise.
13453         * hurd/msgportdemux.c: Likewise.
13454         * misc/sys/file.h: Likewise.
13455         * misc/sys/ioctl.h: Likewise.
13456         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13457         * sysdeps/mach/hurd/chdir.c: Likewise.
13458         * sysdeps/mach/hurd/fchdir.c: Likewise.
13459         * sysdeps/mach/hurd/rename.c: Likewise.
13460         * sysdeps/mach/hurd/rmdir.c: Likewise.
13461         * sysdeps/mach/hurd/seekdir.c: Likewise.
13462         * sysdeps/mach/hurd/setsid.c: Likewise.
13463         * sysdeps/posix/wait3.c: Likewise.
13465         * All files with FSF copyright notices: Update copyright dates
13466         using scripts/update-copyrights.
13467         * intl/plural.c: Regenerated.
13468         * locale/programs/charmap-kw.h: Likewise.
13469         * locale/programs/locfile-kw.h: Likewise.
13471 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13473         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
13474         four values.
13476         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
13477         calculation loop and add branch prediction.
13479         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
13480         check access beyond bounds of m1np.
13482         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13483         MPTWO.
13484         (__inv): Remove local variable MPTWO to use the global
13485         constant.
13486         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
13487         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13488         variable MPTWO.
13489         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
13490         MP3HALFS static const.
13492 2013-01-01  David S. Miller  <davem@davemloft.net>
13494         * po/ca.po: Update from translation team.
13496 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
13498         * scripts/update-copyrights: New file.
13499         * Makeconfig: Reformat copyright notice.
13500         * ctype/ctype.h: Likewise.
13501         * debug/swprintf_chk.c: Likewise.
13502         * elf/dl-cache.c: Likewise.
13503         * elf/dl-debug.c: Likewise.
13504         * elf/dl-object.c: Likewise.
13505         * grp/initgroups.c: Likewise.
13506         * hurd/Makefile: Likewise.
13507         * hurd/hurd/signal.h: Likewise.
13508         * hurd/hurdfault.c: Likewise.
13509         * hurd/hurdioctl.c: Likewise.
13510         * hurd/hurdlookup.c: Likewise.
13511         * hurd/intr-msg.c: Likewise.
13512         * iconv/gconv_open.c: Likewise.
13513         * libio/swprintf.c: Likewise.
13514         * locale/lc-ctype.c: Likewise.
13515         * locale/nl_langinfo.c: Likewise.
13516         * mach/Machrules: Likewise.
13517         * mach/Makefile: Likewise.
13518         * malloc/obstack.h: Likewise.
13519         * manual/Makefile: Likewise.
13520         * manual/tsort.awk: Likewise.
13521         * misc/bits/stab.def: Likewise.
13522         * nis/nis_print_group_entry.c: Likewise.
13523         * nis/nis_table.c: Likewise.
13524         * nis/nss_compat/compat-pwd.c: Likewise.
13525         * nis/nss_compat/compat-spwd.c: Likewise.
13526         * po/Makefile: Likewise.
13527         * posix/fnmatch.c: Likewise.
13528         * posix/regex.h: Likewise.
13529         * resolv/Makefile: Likewise.
13530         * resolv/nss_dns/dns-network.c: Likewise.
13531         * resolv/res_hconf.c: Likewise.
13532         * scripts/gen-sorted.awk: Likewise.
13533         * soft-fp/soft-fp.h: Likewise.
13534         * stdio-common/printf.h: Likewise.
13535         * stdlib/monetary.h: Likewise.
13536         * stdlib/random.c: Likewise.
13537         * stdlib/random_r.c: Likewise.
13538         * sysdeps/generic/Makefile: Likewise.
13539         * sysdeps/gnu/Makefile: Likewise.
13540         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13541         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13542         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13543         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13544         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13545         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13546         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13547         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13548         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13549         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13550         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13551         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13552         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13553         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13554         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
13555         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13556         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13557         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13558         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13559         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13560         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13561         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13562         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13563         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13564         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
13565         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13566         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13567         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
13568         * sysdeps/mach/hurd/errnos.awk: Likewise.
13569         * sysdeps/mach/hurd/fork.c: Likewise.
13570         * sysdeps/mach/hurd/getcwd.c: Likewise.
13571         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
13572         * sysdeps/mach/hurd/mmap.c: Likewise.
13573         * sysdeps/mach/hurd/utimes.c: Likewise.
13574         * sysdeps/mach/hurd/xmknod.c: Likewise.
13575         * sysdeps/posix/profil.c: Likewise.
13576         * sysdeps/posix/readdir_r.c: Likewise.
13577         * sysdeps/powerpc/bits/mathdef.h: Likewise.
13578         * sysdeps/powerpc/bits/setjmp.h: Likewise.
13579         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
13580         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13581         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13582         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13583         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13584         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13585         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13586         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13587         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13588         * sysdeps/pthread/lio_listio.c: Likewise.
13589         * sysdeps/sparc/dl-procinfo.h: Likewise.
13590         * sysdeps/unix/i386/sysdep.S: Likewise.
13591         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
13592         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
13593         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
13594         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
13595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13596         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13597         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13598         * sysdeps/unix/sysv/linux/speed.c: Likewise.
13599         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
13600         * sysdeps/wordsize-32/divdi3.c: Likewise.
13601         * time/sys/time.h: Likewise.
13602         * wcsmbs/Makefile: Likewise.
13604 2013-01-01  David S. Miller  <davem@davemloft.net>
13606         * po/fr.po: Update from translation team.
13608         * catgets/gencat.c: Update copyright year.
13609         * csu/version.c: Likewise.
13610         * debug/catchsegv.sh: Likewise.
13611         * debug/pcprofiledump.c: Likewise.
13612         * debug/xtrace.sh: Likewise.
13613         * elf/ldconfig.c: Likewise.
13614         * elf/ldd.bash.in: Likewise.
13615         * elf/pldd.c: Likewise.
13616         * elf/sotruss.ksh: Likewise.
13617         * elf/sprof.c: Likewise.
13618         * iconv/iconv_prog.c: Likewise.
13619         * iconv/iconvconfig.c: Likewise.
13620         * locale/programs/locale.c: Likewise.
13621         * locale/programs/localedef.c: Likewise.
13622         * login/programs/pt_chown.c: Likewise.
13623         * malloc/memusage.sh: Likewise.
13624         * malloc/memusagestat.c: Likewise.
13625         * malloc/mtrace.pl: Likewise.
13626         * nscd/nscd.c: Likewise.
13627         * nss/getent.c: Likewise.
13628         * nss/makedb.c: Likewise.
13629         * posix/getconf.c: Likewise.
13631 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
13633         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
13634         numbers.
13636 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
13638         * math/bits/mathcalls.h (modf): Use __nonnull.
13640 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13642         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
13643         (split): Use macro CN instead of the bare value.
13644         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
13645         could be used.
13646         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
13647         instead of the bare value.
13648         (power1): Likewise.
13650 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13652         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
13653         __ATAN_TWOM.
13654         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13656         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
13657         their values.
13658         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13659         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13660         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
13661         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13663 2012-12-28  Andreas Jaeger  <aj@suse.de>
13665         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
13666         values are from Linux 3.7.
13668         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
13669         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
13671 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13673         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
13674         TRUE case.
13676         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
13677         (norm): Likewise.
13678         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
13679         variables with preprocessor constants.
13680         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13681         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13682         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13684 2012-12-27  Bruno Haible  <bruno@clisp.org>
13686         [BZ #14317]
13687         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
13688         only if needed.
13690 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13692         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
13693         and use variable directly.
13694         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
13696         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13697         MPONE.
13698         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
13699         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13700         variable MPONE.
13701         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13702         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13703         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
13704         include directive.  Remove local variable MPONE.
13705         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
13706         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
13707         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13709 2012-12-25  David S. Miller  <davem@davemloft.net>
13711         * version.h (RELEASE): Set to "development".
13712         (VERSION): Set to "2.17.90".
13713         * NEWS: Add 2.18 section.
13715 2012-12-21  David S. Miller  <davem@davemloft.net>
13717         * po/hr.po: Update from translation team.
13719 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13721         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
13723 2012-12-19  Steve Ellcey  <sellcey@mips.com>
13725         * NEWS:  Mention new memcpy for MIPS.
13727 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13729         * manual/contrib.texi (Contributors): Spelling correction.
13731 2012-12-15  David S. Miller  <davem@davemloft.net>
13733         * po/ru.po: Update from translation team.
13735 2012-12-13  David S. Miller  <davem@davemloft.net>
13737         * NEWS: Mention IFUNC testsuite enhancements.
13739         * po/pl.po: Update from translation team.
13740         * po/bg.po: Likewise.
13742         * manual/contrib.texi (Contributors): Update entries for Hongjiu
13743         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
13745 2012-12-11  David S. Miller  <davem@davemloft.net>
13747         * po/sv.po: Update from translation team.
13749         * po/vi.po: Update from translation team.
13751         * po/cs.po: Update from translation team.
13753         * po/de.po: Update from translation team.
13754         * po/eo.po: Likewise.
13755         * po/nl.po: Likewise.
13757 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13759         [BZ #14246]
13760         * manual/argp.texi (Argp Helper Functions): Move node to follow
13761         Argp Parsing State.
13763         [BZ #14872]
13764         * manual/conf.texi (Limits on File System Capacity): Mention if
13765         terminating null is included in the max size.
13767 2012-12-10  Andreas Jaeger  <aj@suse.de>
13769         * po/cs.po: Update from translation team.
13771 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13773         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
13774         void pointer and cast to uintptr_t.
13775         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
13776         path.
13777         * sysdeps/s390/s390-64/memcpy.S: Likewise.
13778         * sysdeps/s390/s390-64/memset.S: Likewise.
13780 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
13782         [BZ #14833]
13783         * menual/message.texi (Message Translation): Fix typos.
13784         (Helper programs for gettext): Likewise.
13786 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
13788         [BZ #14898]
13789         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
13790         Change to -1.
13792 2012-12-07  David S. Miller  <davem@davemloft.net>
13794         * po/libc.pot: Update.
13796 2012-12-07  Richard Henderson  <rth@redhat.com>
13798         [BZ #10114]
13799         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
13800         normal/normal case to before the switch.
13801         (_FP_DIV): Likewise.
13803 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
13804             Mike Frysinger  <vapier@gentoo.org>
13806         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
13807         check for __NR_fadvise64_64.
13809 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
13811         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
13812         0, not just to plain "0" as a statement.
13813         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
13814         with cw.
13816 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
13818         * NEWS: Use sourceware.org in Bugzilla URL.
13820 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
13822         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13823         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13825         * stdio-common/tst-put-error.c (do_test): Add newline to the
13826         padded test to ensure flush.
13828 2012-12-05  Jeff Law  <law@redhat.com>
13830         * sunrpc/etc.rpc (fedfs_admin): Add entry.
13832 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
13834         * README: Don't refer to ports add-on as distributed separately.
13835         Mention AArch64 in list of systems supported in the ports add-on.
13837         * LICENSES: Add more non-FSF copyright and license notices.
13839         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
13840         ((unused)).
13842         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
13844         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
13845         10000 as width of padded output.
13847 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
13849         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
13851         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
13852         variable LX with __attribute__ ((unused)).
13853         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13854         Likewise.
13855         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13856         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13857         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
13858         with __attribute__ ((unused)).
13860 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
13862         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
13864 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
13866         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
13867         (CFLAGS-nldbl-acos.c): New variable.
13868         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
13869         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
13870         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
13871         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
13872         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
13873         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
13874         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
13875         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
13876         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
13877         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
13878         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
13879         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
13880         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
13881         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
13882         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
13883         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
13884         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
13885         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
13886         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
13887         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
13888         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
13889         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
13890         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
13891         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
13892         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
13893         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
13894         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
13895         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
13896         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
13897         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
13898         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
13899         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
13900         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
13901         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
13902         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
13903         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
13904         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
13905         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
13906         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
13907         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
13908         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
13909         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
13910         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
13911         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
13912         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
13913         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
13914         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
13915         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
13916         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
13917         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
13918         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
13919         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
13920         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
13921         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
13922         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
13923         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
13924         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
13925         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
13926         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
13927         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
13928         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
13929         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
13930         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
13931         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
13932         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
13933         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
13934         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
13935         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
13936         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
13937         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
13938         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
13939         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
13940         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
13941         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
13942         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
13943         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
13944         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
13945         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
13946         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
13947         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
13948         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
13949         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
13950         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
13951         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
13952         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
13953         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
13954         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
13955         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
13956         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
13957         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
13958         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
13959         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
13960         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
13961         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
13962         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
13963         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
13964         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
13966         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13967         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13969         [BZ #14914]
13970         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
13971         whole low double instead of just low 47 bits when splitting values
13972         into two parts.
13974 2012-12-03  Allan McRae  <allan@archlinux.org>
13976         * manual/stdio.texi (Predefined Printf Handlers): Remove
13977         @hsep and @vsep usage.
13979 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
13981         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
13982         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
13984 2012-12-03  Jeff Law  <law@redhat.com>
13986         * time/sys/time.h (settimeofday): Do not mark TV argument
13987         as __nonnull.
13989 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
13991         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
13992         when currently writing and seek to current position when not.
13993         * libio/Makefile (tests): Remove bug-fclose1.
13994         * libio/bug-fclose1.c: Delete.
13996 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
13998         * manual/arith.texi (feenableexcept): Fix typo.
13999         (fedisableexcept): Likewise.
14001 2012-11-30  Roland McGrath  <roland@hack.frob.com>
14003         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
14004         second, differently-typed declaration, rather than a cast.
14006 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
14008         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
14009         * include/rpc/svc.h: ... here.
14011 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
14013         [BZ #13013]
14014         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
14015         depending n and resplen2 to catch cases where answer
14016         equals answerp2.
14018 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
14020         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
14021         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
14023 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
14025         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
14027 2012-11-29  Roland McGrath  <roland@hack.frob.com>
14029         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
14031 2012-11-28  Jeff Law  <law@redhat.com>
14033         [BZ #13761]
14034         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
14035         dataset_temporary.  Track alloca usage into alloca_used.
14036         If dataset is large allocate and release it via malloc/free.
14038 2012-06-04  Florian Weimer  <fweimer@redhat.com>
14040         [BZ #14197]
14041         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
14043 2012-11-28  David S. Miller  <davem@davemloft.net>
14045         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14047 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
14049         [BZ #14803]
14050         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
14051         of pi/2 rounded to nearest to 64 bits.
14052         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
14053         nearest to 64 bits.
14054         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
14055         bits.
14057 2012-11-28  Jeff Law <law@redhat.com>
14058             Martin Osvald <mosvald@redhat.com>
14060         [BZ #14889]
14061         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
14062         * sunrpc/svc.c: Include time.h.
14063         (__svc_accept_failed): New function.
14064         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
14065         any reason other than EINTR, call __svc_accept_failed.
14066         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
14067         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
14069 2012-11-28  Andreas Schwab  <schwab@suse.de>
14071         * scripts/abilist.awk: Also handle indirect functions in .opd
14072         section.
14074 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
14076         [BZ #13881]
14077         * sysdeps/x86/fpu/powl_helper.c: New file.
14078         * sysdeps/x86/fpu/Makefile: Likewise.
14079         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
14080         (p3): New object.
14081         (__ieee754_powl): Use __powl_helper for finite arguments except
14082         integer exponents below 8.
14083         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
14084         (p3): New object.
14085         (__ieee754_powl): Use __powl_helper for finite arguments except
14086         integer exponents below 8.
14087         * math/libm-test.inc (pow_test): Add more tests and enable some
14088         previously disabled tests.
14089         * sysdeps/i386/fpu/libm-test-ulps: Update.
14090         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14092 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14093             Carlos O'Donell  <carlos_odonell@mentor.com>
14095         * nss/makedb.c (is_prime): Assert that input is odd and greater
14096         than 4.  Note that fact in a comment too.
14097         (next_prime): Add 4 to input.
14099 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14101         [BZ #11741]
14102         * libio/Makefile (tests): Add test case tst-fwrite-error.
14103         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
14104         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14105         * libio/tst-fwrite-error.c: New test case.
14107 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
14109         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
14110         before casting to void *.
14111         * include/libc-internal.h (__pointer_type): New macro.
14112         (__integer_if_pointer_type_sub): Likewise.
14113         (__integer_if_pointer_type): Likewise.
14114         (cast_to_integer): Likewise.
14115         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
14116         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
14117         before casting to atomic64_t.
14118         (atomic_exchange_acq): Likewise.
14119         (__arch_exchange_and_add_body): Likewise.
14120         (__arch_add_body): Likewise.
14121         (atomic_add_negative): Likewise.
14122         (atomic_add_zero): Likewise.
14124 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
14126         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
14127         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
14128         (add_fdes): Likewise.
14129         (linear_search_fdes): Likewise.
14130         (binary_search_unencoded_fdes): Likewise.
14132 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
14134         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
14136 2012-11-24  Adam Conrad  <adconrad@0c3.net>
14138         * configure.in: Autodetect C++ header directories.
14139         * configure: Regenerated.
14141 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
14143         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
14145 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
14147         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14149 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
14151         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
14152         LDBL_MANT_DIG == 106]: Disable some tests.
14153         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14154         Likewise.
14155         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14156         Likewise.
14158         [BZ #14871]
14159         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
14160         input for small inputs.  Return +/- pi/2 for large inputs.
14161         * math/libm-test.inc (atan_test): Add more tests.
14163         * sysdeps/generic/unwind-dw2-fde-glibc.c
14164         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
14165         __attribute__ ((unused)).
14167         [BZ #14645]
14168         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
14169         x * y if x and y are nonzero and z is zero.
14171         [BZ #14811]
14172         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
14173         nonzero exponents with absolute value below 0x1p-117 to +/-
14174         0x1p-117.
14176         [BZ #14869]
14177         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
14178         up arguments below 2**-450, not just those below 2**-500.
14179         * math/libm-test.inc (hypot_test): Add another test.
14181         [BZ #14868]
14182         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14183         Return a+b for ratio over 2**120, not 2**60.
14184         * math/libm-test.inc (hypot_test): Add another test.
14186         * math/libm-test.inc (clog_test): Use
14187         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
14188         (clog10_test): Likewise.
14190         [BZ #6778]
14191         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
14193 2012-11-22  Andreas Schwab  <schwab@suse.de>
14195         * sysdeps/i386/fpu/libm-test-ulps: Update.
14197 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
14199         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
14200         printf output with newline.
14202 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
14204         [BZ #14865]
14205         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
14206         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
14207         -z nodlopen, -z initfirst and -z execstack support.
14208         * configure: Regenerated.
14210         * elf/elf.h (DF_1_NODIRECT): New macro.
14211         (DF_1_IGNMULDEF): Likewise.
14212         (DF_1_NOKSYMS): Likewise.
14213         (DF_1_NOHDR): Likewise.
14214         (DF_1_EDITED): Likewise.
14215         (DF_1_NORELOC): Likewise.
14216         (DF_1_SYMINTPOSE): Likewise.
14217         (DF_1_GLOBAUDIT): Likewise.
14218         (DF_1_SINGLETON): Likewise.
14219         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
14220         DT_1_SUPPORTED_MASK bits.
14221         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
14223 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
14225         * sysdeps/unix/make-syscalls.sh: Document prefixes.
14227 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
14229         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
14230         macro.
14232         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
14233         (sendmmsg): Move declarations...
14234         * socket/sys/socket.h: ... here.
14235         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
14236         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
14237         include it from...
14238         * socket/recvmmsg.c: ... this new file.
14239         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
14240         (sendmmsg): Rename to __sendmmsg, create weak alias and make
14241         definition of __sendmmsg hidden.
14242         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
14243         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
14244         Move ENOSYS stub into and include it from...
14245         * socket/sendmmsg.c: ... this new file.
14246         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
14247         (sysdep_routines): Move recvmmsg and sendmmsg...
14248         * socket/Makefile (routines): ... here.
14249         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
14250         (GLIBC_PRIVATE): Add __sendmmsg.
14251         * include/sys/socket.h (__sendmmsg): Add declarations.
14252         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
14253         sendmmsg.
14255 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
14257         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
14258         variable I1 with __attribute__ ((unused)).
14259         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14261 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
14263         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
14264         DUMMY variables with __attribute__ ((unused)).
14266         * bits/byteswap.h: Include <bits/types.h>.
14267         (__bswap_64): Use __uint64_t instead of unsigned long long int.
14269 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
14271         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
14272         string_t.  Do not manually set errno.
14273         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
14274         length with __strnlen.  Make sure to both set errno and return it on
14275         failure.
14277 2012-11-19  David S. Miller  <davem@davemloft.net>
14279         With help from Joseph Myers.
14280         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
14281         very large arguments properly.
14282         * math/libm-test.inc (atan_test): New tests.
14283         (atan2_test): New tests.
14284         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14285         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14287 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
14289         [BZ #14856]
14290         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
14291         Define to 3.
14293         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
14294         [POSIX] (EADDRNOTAVAIL): Likewise.
14295         [POSIX] (EAFNOSUPPORT): Likewise.
14296         [POSIX] (EALREADY): Likewise.
14297         [POSIX] (ECONNABORTED): Likewise.
14298         [POSIX] (ECONNREFUSED): Likewise.
14299         [POSIX] (ECONNRESET): Likewise.
14300         [POSIX] (EDESTADDRREQ): Likewise.
14301         [POSIX] (EDQUOT): Likewise.
14302         [POSIX] (EHOSTUNREACH): Likewise.
14303         [POSIX] (EIDRM): Likewise.
14304         [POSIX] (EISCONN): Likewise.
14305         [POSIX] (ELOOP): Likewise.
14306         [POSIX] (EMULTIHOP): Likewise.
14307         [POSIX] (ENETDOWN): Likewise.
14308         [POSIX] (ENETUNREACH): Likewise.
14309         [POSIX] (ENOBUFS): Likewise.
14310         [POSIX] (ENODATA): Likewise.
14311         [POSIX] (ENOLINK): Likewise.
14312         [POSIX] (ENOMSG): Likewise.
14313         [POSIX] (ENOPROTOOPT): Likewise.
14314         [POSIX] (ENOSR): Likewise.
14315         [POSIX] (ENOSTR): Likewise.
14316         [POSIX] (ENOTCONN): Likewise.
14317         [POSIX] (ENOTSOCK): Likewise.
14318         [POSIX] (EOPNOTSUPP): Likewise.
14319         [POSIX] (EOVERFLOW): Likewise.
14320         [POSIX] (EPROTO): Likewise.
14321         [POSIX] (EPROTONOSUPPORT): Likewise.
14322         [POSIX] (EPROTOTYPE): Likewise.
14323         [POSIX] (ESTALE): Likewise.
14324         [POSIX] (ETIME): Likewise.
14325         [POSIX] (ETXTBSY): Likewise.
14326         [POSIX] (EWOULDBLOCK): Likewise.
14327         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
14328         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
14329         [POSIX] (SEEK_CUR): Likewise.
14330         [POSIX] (SEEK_END): Likewise.
14331         [POSIX || UNIX98] (mode_t): Do not require.
14332         [POSIX] (off_t): Likewise.
14333         [POSIX] (pid_t): Likewise.
14334         [POSIX] (sys/stat.h): Do not allow header.
14335         [POSIX] (unistd.h): Likewise.
14336         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
14337         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
14338         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
14339         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
14340         require.
14341         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
14342         sigevent): Specify elements.
14343         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
14344         entry.
14345         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
14346         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
14348         * conform/data/cpio.h-data [POSIX]: Disable whole file.
14349         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
14350         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
14351         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
14352         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
14353         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
14354         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
14355         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
14356         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
14357         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
14358         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
14359         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
14360         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
14361         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
14362         Likewise.
14363         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
14364         Likewise.
14365         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
14366         Likewise.
14367         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
14368         Likewise.
14369         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
14370         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
14371         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
14372         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
14373         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
14374         Specify lower bound on value.
14375         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
14376         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
14377         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
14378         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
14379         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
14380         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
14381         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
14382         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
14383         value.
14384         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
14385         as optional.
14386         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
14387         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
14388         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
14389         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
14390         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
14391         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
14392         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
14393         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
14394         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
14395         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
14396         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
14397         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
14398         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
14399         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
14400         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
14401         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
14402         entry.
14403         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
14404         optional.
14405         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
14406         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
14407         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
14408         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
14409         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
14410         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
14411         Likewise.
14412         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
14413         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
14414         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
14415         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
14416         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
14417         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
14418         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
14419         as optional.
14420         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
14421         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
14422         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
14423         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
14424         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
14425         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
14426         specify as optional.
14427         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
14428         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
14429         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
14430         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
14431         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
14432         [XPG3] (NL_LANGMAX): Likewise.
14433         [POSIX || XPG3] (NL_MSGMAX): Likewise.
14434         [POSIX || XPG3] (NL_NMAX): Likewise.
14435         [POSIX || XPG3] (NL_SETMAX): Likewise.
14436         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
14437         [XPG3] (NZERO): Likewise.
14438         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
14439         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
14440         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
14441         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
14442         (REG_ERANGE): Expect.
14443         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
14444         optional-constant.
14445         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
14446         Use (void) in prototype.
14447         [POSIX] (*_t): Allow.
14448         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
14449         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
14450         (WRDE_BADVAL): Expect.
14452         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
14453         expect.
14454         [XPG3 || XPG4] (O_RSYNC): Likewise.
14455         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
14456         Likewise.
14457         [XPG3 || XPG4] (pthread_sigmask): Likewise.
14458         [XPG3 || XPG4] (sigqueue): Likewise.
14459         [XPG3 || XPG4] (sigtimedwait): Likewise.
14460         [XPG3 || XPG4] (sigwaitinfo): Likewise.
14461         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
14462         [XPG3 || XPG4] (vsnprintf): Likewise.
14463         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
14464         Likewise.
14465         [XPG3 || XPG4] (blksize_t): Likewise.
14466         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
14467         Likewise.
14468         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
14469         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14470         [XPG3 || XPG4] (struct itimerspec): Likewise.
14471         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
14472         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
14473         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
14474         [XPG3 || XPG4] (clockid_t): Likewise.
14475         [XPG3 || XPG4] (timer_t): Likewise.
14476         [XPG3 || XPG4] (clock_getres): Likewise.
14477         [XPG3 || XPG4] (clock_gettime): Likewise.
14478         [XPG3 || XPG4] (clock_settime): Likewise.
14479         [XPG3 || XPG4] (nanosleep): Likewise.
14480         [XPG3 || XPG4] (timer_create): Likewise.
14481         [XPG3 || XPG4] (timer_delete): Likewise.
14482         [XPG3 || XPG4] (timer_gettime): Likewise.
14483         [XPG3 || XPG4] (timer_getoverrun): Likewise.
14484         [XPG3 || XPG4] (timer_settime): Likewise.
14485         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
14486         [XPG3 || XPG4] (getlogin_r): Likewise.
14487         [XPG3 || XPG4] (pread): Likewise.
14488         [XPG3 || XPG4] (pthread_atfork): Likewise.
14489         [XPG3 || XPG4] (pwrite): Likewise.
14491         [BZ #14835]
14492         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
14493         <bits/siginfo.h>.
14495 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
14497         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
14498         finalizing MALLSTREAM.
14500         * sysdeps/mach/hurd/syncfs.c: New file.
14502 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14504         [BZ #14719]
14505         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
14506         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
14507         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
14508         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
14509         (_nss_dns_gethostbyname4_r): Likewise.
14510         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
14511         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
14513 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
14515         [BZ #13763]
14516         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
14518 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
14520         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
14521         * elf/cache.c (print_entry): Print ",AArch64" for
14522         FLAG_AARCH64_LIB64
14524         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
14525         * elf/cache.c (print_entry): Print ",hard-float" for
14526         FLAG_ARM_LIBHF.
14528 2012-11-18  David S. Miller  <davem@davemloft.net>
14530         With help from Joseph Myers.
14531         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
14532         cutoff to 2**-13.
14533         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
14534         cutoff to 2**-25.
14535         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
14536         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
14537         small.
14538         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
14539         * math/libm-test.inc (y0_test): New tests.
14540         (y1_test): New tests.
14541         * sysdeps/i386/fpu/libm-test-ulps: Update.
14542         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14543         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14545 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
14547         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
14548         64-bit targets.
14549         * configure: Regenerated.
14551 2012-11-17  David S. Miller  <davem@davemloft.net>
14553         [BZ #14811]
14554         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
14555         nonzero exponents with absolute value below 0x1p-128 to +/-
14556         0x1p-128.
14558 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
14560         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
14562         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
14564         * posix/getconf-speclist.c: New file.
14565         * posix/posix-envs.def: Likewise.
14566         * posix/confstr.c (START_ENV_GROUP): New macro.
14567         (END_ENV_GROUP): Likewise.
14568         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14569         (KNOWN_PRESENT_ENV_STRING): Likewise.
14570         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14571         (UNKNOWN_ENVIRONMENT): Likewise.
14572         (confstr): Include posix-envs.def instead of handling
14573         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
14574         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
14575         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
14576         (END_ENV_GROUP): Likewise.
14577         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14578         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14579         (UNKNOWN_ENVIRONMENT): Likewise.
14580         (__sysconf): Include posix-envs.def instead of handling associated
14581         cases directly here.
14582         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
14583         preprocessing getconf-speclist.c rather than running getconf or
14584         generating empty file.
14586 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
14588         * scripts/check-local-headers.sh: Ignore 'mach' headers.
14590 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
14592         [BZ #14672]
14593         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
14595 2012-11-16  David S. Miller  <davem@davemloft.net>
14597         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
14598         smaller than LDBL_EPSILON/2.0L, just return xm1.
14600 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
14602         * elf/tst-array1.c (init): Set constructor priority to 1000.
14603         (fini): Set destructor priority to 1000.
14604         * elf/tst-array2dep.c: Likewise.
14606 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14608         [BZ #11741]
14609         * libio/fileops.c (_IO_new_file_write): Correctly return error.
14610         (_IO_new_file_xsputn): Also return EOF if none of the input
14611         data was written when overflow failed.
14612         * libio/iopadn.c (_IO_padn): Likewise.
14613         * libio/iowpadn.c (_IO_wpadn): Likewise.
14614         * stdio-common/tst-put-error.c: Add copyright notice.
14615         (do_test): Add case for printing padded string.
14616         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
14617         _IO_padn returned error.
14618         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
14619         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
14620         return EOF.
14622 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14624         * libio/libioP.h: Add comment note that the references to C++
14625         bits are now obsolete.
14627 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14629         * math/libm-test.inc (check_complex): Use asprintf.
14631 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
14633         * debug/pcprofiledump.c (print_version): Update copyright year.
14634         * malloc/memusagestat.c (print_version): Likewise.
14636 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
14638         [BZ #14831]
14639         * elf/Makefile (tests): Add tst-audit8.
14640         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
14641         ($(objpfx)tst-audit8.out): New target.
14642         (tst-audit8-ENV): New variable.
14643         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
14644         audit if l_reloc_result is NULL.
14645         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
14646         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
14647         * elf/tst-audit8.c: New file.
14649 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14651         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
14652         * misc/Makefile (CFLAGS-select.c): Define.
14653         * posix/Makefile (CFLAGS-pause.c): Define.
14655 2012-11-13  David S. Miller  <davem@davemloft.net>
14657         * crypt/Makefile: Move test targets after toplevel Rules
14658         inclusion.  Grab any necessary sysdep routines when linking.
14659         * crypt/md5.c (md5_process_block): Remove define, we will always
14660         name it __md5_process_block.
14661         (md5_finish_ctx): Update md5_process_block call.
14662         (md5_stream): Likewise.
14663         (md5_process_bytes): Likewise.
14664         (md5_process_block): Rename to __md5_process_block and move to ...
14665         * crypt/md5-block.c: ... here.
14666         * crypt/sha256.c (sha256_process_block): Move to ...
14667         * crypt/sha256-block.c: ... here.
14668         * crypt/sha512.c (sha512_process_block): Move to ...
14669         * crypt/sha512-block.c: ... here.
14670         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
14671         path.
14672         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
14673         * sysdeps/sparc/sparc64/multiarch/Makefile
14674         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
14675         crypt subdir.
14676         (localedef-aux): Add md5 crypto assembler when in locale subdir.
14677         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
14678         multiarch changes.
14679         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
14680         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
14681         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
14682         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
14683         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
14684         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
14685         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
14686         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
14687         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
14688         file.
14689         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
14690         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
14691         file.
14692         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
14694 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
14696         * timezone/tzselect.ksh: Update from tzcode git revision
14697         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
14698         * timezone/zdump.c: Likewise.
14699         * timezone/zic.c: Likewise.
14700         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
14701         in TZVERSION setting, not $(PKGVERSION).
14702         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
14703         REPORT_BUGS_TO settings.
14705         [BZ #14838]
14706         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
14707         macro.
14709 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14711         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
14712         detection to immediately after _FP_ROUND().
14713         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
14714         bits are 0.
14716 2012-11-11  David S. Miller  <davem@davemloft.net>
14718         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
14719         inttypes.h
14720         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
14721         __close rather than their public counterparts.
14723 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
14725         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
14726         file.
14727         [UNIX98] (sem_timedwait): Do not expect.
14728         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
14729         [XPG4 || UNIX98] (sockatmark): Do not expect.
14730         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
14731         (clock_getcpuclockid): Do not expect.
14732         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
14733         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
14734         Do not expect.
14735         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
14736         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
14737         [UNIX98] (vwscanf): Likewise.
14738         [UNIX98] (vswscanf): Likewise.
14740 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
14742         * timezone/version.h: Remove file.
14743         * timezone/README: Do not refer to version.h.
14744         * timezone/Makefile ($(objpfx)zic.o): New dependency on
14745         $(objpfx)version.h.
14746         ($(objpfx)zdump.o): Likewise.
14747         ($(objpfx)version.h): New target.
14749         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
14750         2012i.
14751         * timezone/README: Don't mention modification to tzselect.ksh.
14752         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
14753         work on unmodified tzselect.ksh.  Substitute version numbers in
14754         tzselect.ksh.
14756         * Makefile (format-me): Remove.
14757         (INSTALL): Adjust indentation.  Use commands directly instead of
14758         using $(format-me).
14760         * aclocal.m4 (ACX_PKGVERSION): New macro.
14761         (ACX_BUGURL): Likewise.
14762         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
14763         (PKGVERSION): New AC_DEFINE_UNQUOTED.
14764         (REPORT_BUGS_TO): Likewise.
14765         * configure: Regenerated.
14766         * config.h.in (PKGVERSION): New macro.
14767         (REPORT_BUGS_TO): Likewise.
14768         * config.make.in (PKGVERSION): New variable.
14769         (PKGVERSION_TEXI): Likewise.
14770         (REPORT_BUGS_TO): Likewise.
14771         (REPORT_BUGS_TEXI): Likewise.
14772         * Makefile (format-me): Use -I$(common-objpfx)manual.
14773         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
14774         ($(common-objpfx)manual/%): New target.
14775         (manual/%): Remove target.
14776         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
14777         (print_version): Use PKGVERSION.
14778         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
14779         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
14780         and REPORT_BUGS_TO.
14781         ($(objpfx)xtrace): Likewise.
14782         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
14783         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
14784         (print_version): Use PKGVERSION.
14785         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
14786         (do_version): Use PKGVERSION.
14787         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
14788         REPORT_BUGS_TO.
14789         (common-ldd-rewrite): Likewise.
14790         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
14791         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
14792         (print_version): Use PKGVERSION.
14793         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
14794         * elf/pldd.c (argp_program_bug_address): Remove variable.
14795         (more_help): New function.
14796         (argp): Use more_help.
14797         (print_version): Use PKGVERSION.
14798         * elf/sln.c (main): Use PKGVERSION.
14799         (usage): Use REPORT_BUGS_TO.
14800         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
14801         (top level): Use PKGVERSION.
14802         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
14803         (print_version): Use PKGVERSION.
14804         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
14805         (print_version): Use PKGVERSION.
14806         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
14807         (print_version): Use PKGVERSION.
14808         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
14809         (print_version): Use PKGVERSION.
14810         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
14811         (print_version): Use PKGVERSION.
14812         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
14813         (print_version): Use PKGVERSION.
14814         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
14815         and BUGURL.
14816         ($(objpfx)memusage): Likewise.
14817         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
14818         (do_version): Use PKGVERSION.
14819         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
14820         (print_version): Use PKGVERSION.
14821         * malloc/mtrace.pl ($PACKAGE): Remove variable.
14822         ($PKGVERSION): New variable.
14823         ($REPORT_BUGS_TO): Likewise.
14824         (usage): Use $REPORT_BUGS_TO.
14825         (top level): Use $PKGVERSION.
14826         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
14827         ($(objpfx)pkgvers.texi): New rule.
14828         ($(objpfx)stamp-pkgvers): Likewise.
14829         * manual/install.texi: Include pkgvers.texi.
14830         (--with-pkgversion): Document new configure option.
14831         (--with-bugurl): Likewise.
14832         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
14833         than necessarily for this particular distribution.  Use
14834         REPORT_BUGS_TO for where to report bugs.
14835         * INSTALL: Regenerated.
14836         * manual/libc.texinfo: Include pkgvers.texi.
14837         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
14838         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
14839         (print_version): Use PKGVERSION.
14840         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
14841         (print_version): Use PKGVERSION.
14842         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
14843         (print_version): Use PKGVERSION.
14844         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
14845         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
14846         macro.
14847         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
14848         (print_version): Use PKGVERSION.
14849         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
14850         (print_version): Use PKGVERSION.
14851         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
14852         and PKGVERSION.
14854         * timezone/checktab.awk: Update from tzcode 2012i.
14855         * timezone/ialloc.c: Likewise.
14856         * timezone/private.h: Likewise.
14857         * timezone/scheck.c: Likewise.
14858         * timezone/tzfile.h: Likewise.
14859         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
14860         (TZVERSION): Hardcode tzcode version number.
14861         * timezone/zdump.c: Update from tzcode 2012i.
14862         * timezone/zic.c: Likewise.
14863         * timezone/version.h: New file.
14864         * timezone/README: Describe version.h.  Update upstream location.
14866         [BZ #14824]
14867         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
14868         (mktemp): Enable declaration.
14869         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
14870         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
14871         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
14872         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
14873         Likewise.
14874         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
14875         Likewise.
14876         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
14877         Likewise.
14878         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
14879         Likewise.
14880         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
14881         Likewise.
14882         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
14883         Likewise.
14885         [BZ #14821]
14886         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
14887         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
14888         for copies of such integer values.
14889         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14890         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14892 2012-11-09  Andreas Jaeger  <aj@suse.de>
14894         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
14895         definitions and declarations that are provided by
14896         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14898 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14900         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
14901         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
14902         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
14903         definition.
14905 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14907         * elf/elf.h: Update comment before AArch64 relocations.
14909 2012-11-07  David S. Miller  <davem@davemloft.net>
14911         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
14912         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14913         (__start_context): Declare.
14914         (__makecontext_ret): Delete.
14915         (__makecontext): Hook up __start_context instead of
14916         __makecontext_ret.
14917         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
14918         (sysdep_routines): Add __start_context when in stdlib.
14920 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
14922         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
14923         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
14924         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
14925         hardcoded "nm".
14926         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
14927         (READELF): New variable.  Use it instead of hardcoded "readelf".
14929 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
14931         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
14932         * sysdeps/x86/Makefile: Here.
14933         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
14934         * sysdeps/x86/tst-xmmymm.sh: This.
14936 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
14938         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
14939         expectations.
14940         [UNIX98] (pthread_barrier_t): Do not expect.
14941         [UNIX98] (pthread_barrierattr_t): Likewise.
14942         [UNIX98] (pthread_spinlock_t): Likewise.
14943         [UNIX98] (pthread_barrier_destroy): Likewise.
14944         [UNIX98] (pthread_barrier_init): Likewise.
14945         [UNIX98] (pthread_barrier_wait): Likewise.
14946         [UNIX98] (pthread_barrierattr_destroy): Likewise.
14947         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
14948         [UNIX98] (pthread_barrierattr_init): Likewise.
14949         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
14950         [UNIX98] (pthread_getcpuclockid): Likewise.
14951         [UNIX98] (pthread_mutex_timedlock): Likewise.
14952         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
14953         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
14954         [UNIX98] (pthread_sigmask): Likewise.
14955         [UNIX98] (pthread_spin_destroy): Likewise.
14956         [UNIX98] (pthread_spin_init): Likewise.
14957         [UNIX98] (pthread_spin_lock): Likewise.
14958         [UNIX98] (pthread_spin_trylock): Likewise.
14959         [UNIX98] (pthread_spin_unlock): Likewise.
14960         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
14961         Do not expect.
14962         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
14963         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
14964         [XPG3 || XPG4] (pthread_cond_t): Likewise.
14965         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
14966         [XPG3 || XPG4] (pthread_key_t): Likewise.
14967         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
14968         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
14969         [XPG3 || XPG4] (pthread_once_t): Likewise.
14970         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
14971         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
14972         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
14973         [XPG3 || XPG4] (pthread_t): Likewise.
14975         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
14976         not expect.
14977         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
14979         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
14980         Change function return type to int.
14982         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
14983         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
14984         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
14985         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
14986         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
14987         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
14988         [!POSIX] (posix_madvise): Likewise.
14989         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
14990         && !UNIX98].
14991         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
14992         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
14993         (mode_t): Likewise.
14994         (posix_mem_offset): Likewise.
14995         (posix_typed_mem_get_info): Likewise.
14996         (posix_typed_mem_open): Likewise.
14998         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
14999         Change condition to [XOPEN2K8].
15001         * conform/conformtest.pl: Preprocess allow-header data with -x c
15002         instead of from stdin.
15003         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
15004         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
15005         [C99-based standards] (cerfc): Likewise.
15006         [C99-based standards] (cexp2): Likewise.
15007         [C99-based standards] (cexpm1): Likewise.
15008         [C99-based standards] (clog10): Likewise.
15009         [C99-based standards] (clog1p): Likewise.
15010         [C99-based standards] (clog2): Likewise.
15011         [C99-based standards] (clgamma): Likewise.
15012         [C99-based standards] (ctgamma): Likewise.
15013         [C99-based standards] (cerff): Likewise.
15014         [C99-based standards] (cerfcf): Likewise.
15015         [C99-based standards] (cexp2f): Likewise.
15016         [C99-based standards] (cexpm1f): Likewise.
15017         [C99-based standards] (clog10f): Likewise.
15018         [C99-based standards] (clog1pf): Likewise.
15019         [C99-based standards] (clog2f): Likewise.
15020         [C99-based standards] (clgammaf): Likewise.
15021         [C99-based standards] (ctgammaf): Likewise.
15022         [C99-based standards] (cerfl): Likewise.
15023         [C99-based standards] (cerfcl): Likewise.
15024         [C99-based standards] (cexp2l): Likewise.
15025         [C99-based standards] (cexpm1l): Likewise.
15026         [C99-based standards] (clog10l): Likewise.
15027         [C99-based standards] (clog1pl): Likewise.
15028         [C99-based standards] (clog2l): Likewise.
15029         [C99-based standards] (clgammal): Likewise.
15030         [C99-based standards] (ctgammal): Likewise.
15031         * conform/data/inttypes.h-data [C99-based standards]: Include
15032         stdint.h-data.  Remove all expectations for stdint.h contents.
15033         [C99-based standards] (PRI*): Do not allow.
15034         [C99-based standards] (SCN*): Likewise.
15035         [C99-based standards] (*_t): Likewise.
15036         [C99-based-standards] (PRId8): Expect macro.
15037         [C99-based-standards] (PRIi8): Likewise.
15038         [C99-based-standards] (PRIo8): Likewise.
15039         [C99-based-standards] (PRIu8): Likewise.
15040         [C99-based-standards] (PRIx8): Likewise.
15041         [C99-based-standards] (PRIX8): Likewise.
15042         [C99-based-standards] (SCNd8): Likewise.
15043         [C99-based-standards] (SCNi8): Likewise.
15044         [C99-based-standards] (SCNo8): Likewise.
15045         [C99-based-standards] (SCNu8): Likewise.
15046         [C99-based-standards] (SCNx8): Likewise.
15047         [C99-based-standards] (PRIdLEAST8): Likewise.
15048         [C99-based-standards] (PRIiLEAST8): Likewise.
15049         [C99-based-standards] (PRIoLEAST8): Likewise.
15050         [C99-based-standards] (PRIuLEAST8): Likewise.
15051         [C99-based-standards] (PRIxLEAST8): Likewise.
15052         [C99-based-standards] (PRIXLEAST8): Likewise.
15053         [C99-based-standards] (SCNdLEAST8): Likewise.
15054         [C99-based-standards] (SCNiLEAST8): Likewise.
15055         [C99-based-standards] (SCNoLEAST8): Likewise.
15056         [C99-based-standards] (SCNuLEAST8): Likewise.
15057         [C99-based-standards] (SCNxLEAST8): Likewise.
15058         [C99-based-standards] (PRIdFAST8): Likewise.
15059         [C99-based-standards] (PRIiFAST8): Likewise.
15060         [C99-based-standards] (PRIoFAST8): Likewise.
15061         [C99-based-standards] (PRIuFAST8): Likewise.
15062         [C99-based-standards] (PRIxFAST8): Likewise.
15063         [C99-based-standards] (PRIXFAST8): Likewise.
15064         [C99-based-standards] (SCNdFAST8): Likewise.
15065         [C99-based-standards] (SCNiFAST8): Likewise.
15066         [C99-based-standards] (SCNoFAST8): Likewise.
15067         [C99-based-standards] (SCNuFAST8): Likewise.
15068         [C99-based-standards] (SCNxFAST8): Likewise.
15069         [C99-based-standards] (PRId16): Likewise.
15070         [C99-based-standards] (PRIi16): Likewise.
15071         [C99-based-standards] (PRIo16): Likewise.
15072         [C99-based-standards] (PRIu16): Likewise.
15073         [C99-based-standards] (PRIx16): Likewise.
15074         [C99-based-standards] (PRIX16): Likewise.
15075         [C99-based-standards] (SCNd16): Likewise.
15076         [C99-based-standards] (SCNi16): Likewise.
15077         [C99-based-standards] (SCNo16): Likewise.
15078         [C99-based-standards] (SCNu16): Likewise.
15079         [C99-based-standards] (SCNx16): Likewise.
15080         [C99-based-standards] (PRIdLEAST16): Likewise.
15081         [C99-based-standards] (PRIiLEAST16): Likewise.
15082         [C99-based-standards] (PRIoLEAST16): Likewise.
15083         [C99-based-standards] (PRIuLEAST16): Likewise.
15084         [C99-based-standards] (PRIxLEAST16): Likewise.
15085         [C99-based-standards] (PRIXLEAST16): Likewise.
15086         [C99-based-standards] (SCNdLEAST16): Likewise.
15087         [C99-based-standards] (SCNiLEAST16): Likewise.
15088         [C99-based-standards] (SCNoLEAST16): Likewise.
15089         [C99-based-standards] (SCNuLEAST16): Likewise.
15090         [C99-based-standards] (SCNxLEAST16): Likewise.
15091         [C99-based-standards] (PRIdFAST16): Likewise.
15092         [C99-based-standards] (PRIiFAST16): Likewise.
15093         [C99-based-standards] (PRIoFAST16): Likewise.
15094         [C99-based-standards] (PRIuFAST16): Likewise.
15095         [C99-based-standards] (PRIxFAST16): Likewise.
15096         [C99-based-standards] (PRIXFAST16): Likewise.
15097         [C99-based-standards] (SCNdFAST16): Likewise.
15098         [C99-based-standards] (SCNiFAST16): Likewise.
15099         [C99-based-standards] (SCNoFAST16): Likewise.
15100         [C99-based-standards] (SCNuFAST16): Likewise.
15101         [C99-based-standards] (SCNxFAST16): Likewise.
15102         [C99-based-standards] (PRId32): Likewise.
15103         [C99-based-standards] (PRIi32): Likewise.
15104         [C99-based-standards] (PRIo32): Likewise.
15105         [C99-based-standards] (PRIu32): Likewise.
15106         [C99-based-standards] (PRIx32): Likewise.
15107         [C99-based-standards] (PRIX32): Likewise.
15108         [C99-based-standards] (SCNd32): Likewise.
15109         [C99-based-standards] (SCNi32): Likewise.
15110         [C99-based-standards] (SCNo32): Likewise.
15111         [C99-based-standards] (SCNu32): Likewise.
15112         [C99-based-standards] (SCNx32): Likewise.
15113         [C99-based-standards] (PRIdLEAST32): Likewise.
15114         [C99-based-standards] (PRIiLEAST32): Likewise.
15115         [C99-based-standards] (PRIoLEAST32): Likewise.
15116         [C99-based-standards] (PRIuLEAST32): Likewise.
15117         [C99-based-standards] (PRIxLEAST32): Likewise.
15118         [C99-based-standards] (PRIXLEAST32): Likewise.
15119         [C99-based-standards] (SCNdLEAST32): Likewise.
15120         [C99-based-standards] (SCNiLEAST32): Likewise.
15121         [C99-based-standards] (SCNoLEAST32): Likewise.
15122         [C99-based-standards] (SCNuLEAST32): Likewise.
15123         [C99-based-standards] (SCNxLEAST32): Likewise.
15124         [C99-based-standards] (PRIdFAST32): Likewise.
15125         [C99-based-standards] (PRIiFAST32): Likewise.
15126         [C99-based-standards] (PRIoFAST32): Likewise.
15127         [C99-based-standards] (PRIuFAST32): Likewise.
15128         [C99-based-standards] (PRIxFAST32): Likewise.
15129         [C99-based-standards] (PRIXFAST32): Likewise.
15130         [C99-based-standards] (SCNdFAST32): Likewise.
15131         [C99-based-standards] (SCNiFAST32): Likewise.
15132         [C99-based-standards] (SCNoFAST32): Likewise.
15133         [C99-based-standards] (SCNuFAST32): Likewise.
15134         [C99-based-standards] (SCNxFAST32): Likewise.
15135         [C99-based-standards] (PRId64): Likewise.
15136         [C99-based-standards] (PRIi64): Likewise.
15137         [C99-based-standards] (PRIo64): Likewise.
15138         [C99-based-standards] (PRIu64): Likewise.
15139         [C99-based-standards] (PRIx64): Likewise.
15140         [C99-based-standards] (PRIX64): Likewise.
15141         [C99-based-standards] (SCNd64): Likewise.
15142         [C99-based-standards] (SCNi64): Likewise.
15143         [C99-based-standards] (SCNo64): Likewise.
15144         [C99-based-standards] (SCNu64): Likewise.
15145         [C99-based-standards] (SCNx64): Likewise.
15146         [C99-based-standards] (PRIdLEAST64): Likewise.
15147         [C99-based-standards] (PRIiLEAST64): Likewise.
15148         [C99-based-standards] (PRIoLEAST64): Likewise.
15149         [C99-based-standards] (PRIuLEAST64): Likewise.
15150         [C99-based-standards] (PRIxLEAST64): Likewise.
15151         [C99-based-standards] (PRIXLEAST64): Likewise.
15152         [C99-based-standards] (SCNdLEAST64): Likewise.
15153         [C99-based-standards] (SCNiLEAST64): Likewise.
15154         [C99-based-standards] (SCNoLEAST64): Likewise.
15155         [C99-based-standards] (SCNuLEAST64): Likewise.
15156         [C99-based-standards] (SCNxLEAST64): Likewise.
15157         [C99-based-standards] (PRIdFAST64): Likewise.
15158         [C99-based-standards] (PRIiFAST64): Likewise.
15159         [C99-based-standards] (PRIoFAST64): Likewise.
15160         [C99-based-standards] (PRIuFAST64): Likewise.
15161         [C99-based-standards] (PRIxFAST64): Likewise.
15162         [C99-based-standards] (PRIXFAST64): Likewise.
15163         [C99-based-standards] (SCNdFAST64): Likewise.
15164         [C99-based-standards] (SCNiFAST64): Likewise.
15165         [C99-based-standards] (SCNoFAST64): Likewise.
15166         [C99-based-standards] (SCNuFAST64): Likewise.
15167         [C99-based-standards] (SCNxFAST64): Likewise.
15168         [C99-based-standards] (PRIdMAX): Likewise.
15169         [C99-based-standards] (PRIiMAX): Likewise.
15170         [C99-based-standards] (PRIoMAX): Likewise.
15171         [C99-based-standards] (PRIuMAX): Likewise.
15172         [C99-based-standards] (PRIxMAX): Likewise.
15173         [C99-based-standards] (PRIXMAX): Likewise.
15174         [C99-based-standards] (SCNdMAX): Likewise.
15175         [C99-based-standards] (SCNiMAX): Likewise.
15176         [C99-based-standards] (SCNoMAX): Likewise.
15177         [C99-based-standards] (SCNuMAX): Likewise.
15178         [C99-based-standards] (SCNxMAX): Likewise.
15179         [C99-based-standards] (PRIdPTR): Likewise.
15180         [C99-based-standards] (PRIiPTR): Likewise.
15181         [C99-based-standards] (PRIoPTR): Likewise.
15182         [C99-based-standards] (PRIuPTR): Likewise.
15183         [C99-based-standards] (PRIxPTR): Likewise.
15184         [C99-based-standards] (PRIXPTR): Likewise.
15185         [C99-based-standards] (SCNdPTR): Likewise.
15186         [C99-based-standards] (SCNiPTR): Likewise.
15187         [C99-based-standards] (SCNoPTR): Likewise.
15188         [C99-based-standards] (SCNuPTR): Likewise.
15189         [C99-based-standards] (SCNxPTR): Likewise.
15190         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
15191         allow.
15192         * conform/data/stdint.h-data: Update comments to clarify
15193         requirements.
15194         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
15195         type.
15196         [C99-based standards] (INT8_MAX): Likewise.
15197         [C99-based standards] (INT16_MIN): Likewise.
15198         [C99-based standards] (INT16_MAX): Likewise.
15199         [C99-based standards] (INT32_MIN): Likewise.
15200         [C99-based standards] (INT32_MAX): Likewise.
15201         [C99-based standards] (INT64_MIN): Likewise.
15202         [C99-based standards] (INT64_MAX): Likewise.
15203         [C99-based standards] (UINT8_MAX): Likewise.
15204         [C99-based standards] (UINT16_MAX): Likewise.
15205         [C99-based standards] (UINT32_MAX): Likewise.
15206         [C99-based standards] (UINT64_MAX): Likewise.
15207         [C99-based standards] (INT_LEAST8_MIN): Likewise.
15208         [C99-based standards] (INT_LEAST8_MAX): Likewise.
15209         [C99-based standards] (INT_LEAST16_MIN): Likewise.
15210         [C99-based standards] (INT_LEAST16_MAX): Likewise.
15211         [C99-based standards] (INT_LEAST32_MIN): Likewise.
15212         [C99-based standards] (INT_LEAST32_MAX): Likewise.
15213         [C99-based standards] (INT_LEAST64_MIN): Likewise.
15214         [C99-based standards] (INT_LEAST64_MAX): Likewise.
15215         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
15216         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
15217         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
15218         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
15219         [C99-based standards] (INT_FAST8_MIN): Likewise.
15220         [C99-based standards] (INT_FAST8_MAX): Likewise.
15221         [C99-based standards] (INT_FAST16_MIN): Likewise.
15222         [C99-based standards] (INT_FAST16_MAX): Likewise.
15223         [C99-based standards] (INT_FAST32_MIN): Likewise.
15224         [C99-based standards] (INT_FAST32_MAX): Likewise.
15225         [C99-based standards] (INT_FAST64_MIN): Likewise.
15226         [C99-based standards] (INT_FAST64_MAX): Likewise.
15227         [C99-based standards] (UINT_FAST8_MAX): Likewise.
15228         [C99-based standards] (UINT_FAST16_MAX): Likewise.
15229         [C99-based standards] (UINT_FAST32_MAX): Likewise.
15230         [C99-based standards] (UINT_FAST64_MAX): Likewise.
15231         [C99-based standards] (INTPTR_MIN): Likewise.
15232         [C99-based standards] (INTPTR_MAX): Likewise.
15233         [C99-based standards] (UINTPTR_MAX): Likewise.
15234         [C99-based standards] (INTMAX_MIN): Likewise.
15235         [C99-based standards] (INTMAX_MAX): Likewise.
15236         [C99-based standards] (UINTMAX_MAX): Likewise.
15237         [C99-based standards] (PTRDIFF_MIN): Likewise.
15238         [C99-based standards] (PTRDIFF_MAX): Likewise.
15239         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
15240         [C99-based standards] (SIZE_MAX): Likewise.
15241         [C99-based standards] (WCHAR_MAX): Likewise.
15242         [C99-based standards] (WINT_MAX): Likewise.
15243         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
15244         constraint on value.
15245         [C99-based standards] (WCHAR_MIN): Likewise.
15246         [C99-based standards] (WINT_MIN): Likewise.
15247         [C99-based standards] (*_t): Allow.
15248         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
15249         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
15250         Include math.h-data and complex.h-data.  Remove all expectations
15251         of math.h and complex.h contents.
15252         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
15253         at end of line.
15254         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
15255         (struct tm): Expect tag.
15256         [C99-based-standards] (wcstof): Expect function.
15257         [C99-based-standards] (wcstold): Likewise.
15258         [C99-based-standards] (wcstoll): Likewise.
15259         [C99-based-standards] (wcstoull): Likewise.
15260         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
15261         macro-int-constant.  Specify type.
15262         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
15263         constraint on value.
15264         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15265         Specify type.
15266         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
15267         Specify value.
15268         [ISO C standards]: Do not allow headers.
15269         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
15270         wcs[abcdefghijklmnopqrstuvwxyz]*.
15271         [ISO C standards] (*_t): Do not allow.
15272         * conform/data/wctype.h-data [C99-based standards] (iswblank):
15273         Expect function.
15274         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
15275         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15276         Specify type.
15277         [ISO C standards]: Do not allow headers.
15278         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
15279         is[abcdefghijklmnopqrstuvwxyz]*.
15280         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
15281         to[abcdefghijklmnopqrstuvwxyz]*.
15282         [ISO C standards] (*_t): Do not allow.
15283         * conform/data/stdalign.h-data: New file.
15284         * conform/data/stdbool.h-data: Likewise.
15285         * conform/data/stdnoreturn.h-data: Likewise.
15287 2012-11-07  Roland McGrath  <roland@hack.frob.com>
15289         [BZ #14815]
15290         * manual/filesys.texi (Directory Entries): Typo fix.
15291         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
15293 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15295         * elf/elf.h (EM_AARCH64): New macro.
15296         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
15297         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
15298         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
15299         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
15300         (R_AARCH64_TLSDESC): Likewise.
15301         (NT_ARM_TLS): Likewise.
15302         (NT_ARM_HW_BREAK): Likewise.
15303         (NT_ARM_HW_WATCH): Likewise.
15305 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15307         [BZ #14811]
15308         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
15309         (__ieee754_powl): Saturate nonzero exponents with absolute value
15310         below 0x1p-79 to +/- 0x1p-79.
15311         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
15312         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
15313         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
15314         nonzero exponents with absolute value below 0x1p-32 to +/-
15315         0x1p-32.
15316         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
15317         (__ieee754_powl): Saturate nonzero exponents with absolute value
15318         below 0x1p-79 to +/- 0x1p-79.
15319         * math/libm-test.inc (pow_test): Add more tests.
15321 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15323         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
15324         _dl_s390_cap_flags with kernel. Increase string length.
15325         (_dl_s390_platforms): Add z196 and zEC12.
15327 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15329         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
15330         Change XOPEN21K to XOPEN2K.
15332 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
15334         * string/memmove.c: Use memcpy when possible.
15336 2012-11-06  Andreas Jaeger  <aj@suse.de>
15338         * po/eo.po: Update from translation team.
15340 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
15342         [BZ #14793]
15343         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
15344         exponent and small x and y exponents, scale x or y up.  Increase
15345         by 2 the exponent used in scaling up.
15346         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15347         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15348         * math/libm-test.inc (fma_test): Add more tests.
15349         (fma_test_towardzero): Likewise.
15350         (fma_test_downward): Likewise.
15351         (fma_test_upward): Likewise.
15353 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
15355         [BZ #14805]
15356         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
15357         fenv_t *.
15359         [BZ #14801]
15360         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
15361         namespace for names of struct fields.
15362         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
15363         fenv_t fields.
15364         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15365         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
15367 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15369         [BZ #3665]
15370         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
15372 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
15374         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
15375         PTR_DEMANGLE.
15377         [BZ #5246]
15378         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
15379         PTR_DEMANGLE.
15381 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
15383         [BZ #14797]
15384         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
15385         definitely overflow as x * y not x * y + z.
15386         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15387         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15388         * math/libm-test.inc (fma_test): Add more tests.
15389         (fma_test_towardzero): Likewise.
15390         (fma_test_downward): Likewise.
15391         (fma_test_upward): Likewise.
15393 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
15395         [BZ #157]
15397         * include/stub-tag.h: Remove file.
15398         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
15399         '#include' of it.
15400         * manual/maint.texi (Porting): Don't reference it.
15401         * Makerules ($(objpfx)stubs): Likewise.
15402         * dirent/closedir.c: Don't include <stub-tag.h>.
15403         * dirent/dirfd.c: Likewise.
15404         * dirent/fdopendir.c: Likewise.
15405         * dirent/getdents.c: Likewise.
15406         * dirent/getdents64.c: Likewise.
15407         * dirent/opendir.c: Likewise.
15408         * dirent/readdir.c: Likewise.
15409         * dirent/readdir64.c: Likewise.
15410         * dirent/readdir64_r.c: Likewise.
15411         * dirent/readdir_r.c: Likewise.
15412         * dirent/rewinddir.c: Likewise.
15413         * dirent/seekdir.c: Likewise.
15414         * dirent/telldir.c: Likewise.
15415         * gmon/profil.c: Likewise.
15416         * grp/setgroups.c: Likewise.
15417         * inet/if_index.c: Likewise.
15418         * io/access.c: Likewise.
15419         * io/chdir.c: Likewise.
15420         * io/chmod.c: Likewise.
15421         * io/chown.c: Likewise.
15422         * io/close.c: Likewise.
15423         * io/dup.c: Likewise.
15424         * io/dup2.c: Likewise.
15425         * io/dup3.c: Likewise.
15426         * io/euidaccess.c: Likewise.
15427         * io/faccessat.c: Likewise.
15428         * io/fchdir.c: Likewise.
15429         * io/fchmod.c: Likewise.
15430         * io/fchmodat.c: Likewise.
15431         * io/fchown.c: Likewise.
15432         * io/fchownat.c: Likewise.
15433         * io/fcntl.c: Likewise.
15434         * io/flock.c: Likewise.
15435         * io/fstatfs.c: Likewise.
15436         * io/fstatfs64.c: Likewise.
15437         * io/fstatvfs.c: Likewise.
15438         * io/fstatvfs64.c: Likewise.
15439         * io/futimens.c: Likewise.
15440         * io/fxstat.c: Likewise.
15441         * io/fxstat64.c: Likewise.
15442         * io/fxstatat.c: Likewise.
15443         * io/fxstatat64.c: Likewise.
15444         * io/getcwd.c: Likewise.
15445         * io/isatty.c: Likewise.
15446         * io/lchmod.c: Likewise.
15447         * io/lchown.c: Likewise.
15448         * io/link.c: Likewise.
15449         * io/linkat.c: Likewise.
15450         * io/lseek.c: Likewise.
15451         * io/lseek64.c: Likewise.
15452         * io/lxstat64.c: Likewise.
15453         * io/mkdir.c: Likewise.
15454         * io/mkdirat.c: Likewise.
15455         * io/mkfifo.c: Likewise.
15456         * io/mkfifoat.c: Likewise.
15457         * io/open.c: Likewise.
15458         * io/open64.c: Likewise.
15459         * io/openat.c: Likewise.
15460         * io/openat64.c: Likewise.
15461         * io/pipe.c: Likewise.
15462         * io/pipe2.c: Likewise.
15463         * io/poll.c: Likewise.
15464         * io/posix_fadvise.c: Likewise.
15465         * io/posix_fadvise64.c: Likewise.
15466         * io/posix_fallocate.c: Likewise.
15467         * io/posix_fallocate64.c: Likewise.
15468         * io/read.c: Likewise.
15469         * io/readlink.c: Likewise.
15470         * io/readlinkat.c: Likewise.
15471         * io/rmdir.c: Likewise.
15472         * io/sendfile.c: Likewise.
15473         * io/sendfile64.c: Likewise.
15474         * io/statfs.c: Likewise.
15475         * io/statfs64.c: Likewise.
15476         * io/statvfs.c: Likewise.
15477         * io/statvfs64.c: Likewise.
15478         * io/symlink.c: Likewise.
15479         * io/symlinkat.c: Likewise.
15480         * io/ttyname.c: Likewise.
15481         * io/ttyname_r.c: Likewise.
15482         * io/umask.c: Likewise.
15483         * io/unlink.c: Likewise.
15484         * io/unlinkat.c: Likewise.
15485         * io/utime.c: Likewise.
15486         * io/utimensat.c: Likewise.
15487         * io/write.c: Likewise.
15488         * io/xmknod.c: Likewise.
15489         * io/xmknodat.c: Likewise.
15490         * io/xstat.c: Likewise.
15491         * io/xstat64.c: Likewise.
15492         * login/getpt.c: Likewise.
15493         * login/grantpt.c: Likewise.
15494         * login/unlockpt.c: Likewise.
15495         * math/e_acoshl.c: Likewise.
15496         * math/e_acosl.c: Likewise.
15497         * math/e_asinl.c: Likewise.
15498         * math/e_atan2l.c: Likewise.
15499         * math/e_atanhl.c: Likewise.
15500         * math/e_coshl.c: Likewise.
15501         * math/e_expl.c: Likewise.
15502         * math/e_fmodl.c: Likewise.
15503         * math/e_gammal_r.c: Likewise.
15504         * math/e_hypotl.c: Likewise.
15505         * math/e_j0l.c: Likewise.
15506         * math/e_j1l.c: Likewise.
15507         * math/e_jnl.c: Likewise.
15508         * math/e_lgammal_r.c: Likewise.
15509         * math/e_log10l.c: Likewise.
15510         * math/e_log2l.c: Likewise.
15511         * math/e_logl.c: Likewise.
15512         * math/e_powl.c: Likewise.
15513         * math/e_rem_pio2l.c: Likewise.
15514         * math/e_sinhl.c: Likewise.
15515         * math/e_sqrtl.c: Likewise.
15516         * math/fclrexcpt.c: Likewise.
15517         * math/fedisblxcpt.c: Likewise.
15518         * math/feenablxcpt.c: Likewise.
15519         * math/fegetenv.c: Likewise.
15520         * math/fegetexcept.c: Likewise.
15521         * math/fegetround.c: Likewise.
15522         * math/feholdexcpt.c: Likewise.
15523         * math/fesetenv.c: Likewise.
15524         * math/fesetround.c: Likewise.
15525         * math/feupdateenv.c: Likewise.
15526         * math/fgetexcptflg.c: Likewise.
15527         * math/fraiseexcpt.c: Likewise.
15528         * math/fsetexcptflg.c: Likewise.
15529         * math/ftestexcept.c: Likewise.
15530         * math/k_cosl.c: Likewise.
15531         * math/k_rem_pio2l.c: Likewise.
15532         * math/k_sinl.c: Likewise.
15533         * math/k_tanl.c: Likewise.
15534         * math/s_asinhl.c: Likewise.
15535         * math/s_atanl.c: Likewise.
15536         * math/s_cbrtl.c: Likewise.
15537         * math/s_erfl.c: Likewise.
15538         * math/s_expm1l.c: Likewise.
15539         * math/s_log1pl.c: Likewise.
15540         * math/s_tanhl.c: Likewise.
15541         * misc/acct.c: Likewise.
15542         * misc/brk.c: Likewise.
15543         * misc/chflags.c: Likewise.
15544         * misc/chroot.c: Likewise.
15545         * misc/fchflags.c: Likewise.
15546         * misc/fgetxattr.c: Likewise.
15547         * misc/flistxattr.c: Likewise.
15548         * misc/fremovexattr.c: Likewise.
15549         * misc/fsetxattr.c: Likewise.
15550         * misc/fsync.c: Likewise.
15551         * misc/ftruncate.c: Likewise.
15552         * misc/futimes.c: Likewise.
15553         * misc/futimesat.c: Likewise.
15554         * misc/getdomain.c: Likewise.
15555         * misc/getdtsz.c: Likewise.
15556         * misc/gethostid.c: Likewise.
15557         * misc/gethostname.c: Likewise.
15558         * misc/getloadavg.c: Likewise.
15559         * misc/getpagesize.c: Likewise.
15560         * misc/getsysstats.c: Likewise.
15561         * misc/getxattr.c: Likewise.
15562         * misc/gtty.c: Likewise.
15563         * misc/ioctl.c: Likewise.
15564         * misc/lgetxattr.c: Likewise.
15565         * misc/listxattr.c: Likewise.
15566         * misc/llistxattr.c: Likewise.
15567         * misc/lremovexattr.c: Likewise.
15568         * misc/lsetxattr.c: Likewise.
15569         * misc/lutimes.c: Likewise.
15570         * misc/madvise.c: Likewise.
15571         * misc/mincore.c: Likewise.
15572         * misc/mlock.c: Likewise.
15573         * misc/mlockall.c: Likewise.
15574         * misc/mmap.c: Likewise.
15575         * misc/mprotect.c: Likewise.
15576         * misc/msync.c: Likewise.
15577         * misc/munlock.c: Likewise.
15578         * misc/munlockall.c: Likewise.
15579         * misc/munmap.c: Likewise.
15580         * misc/preadv.c: Likewise.
15581         * misc/preadv64.c: Likewise.
15582         * misc/ptrace.c: Likewise.
15583         * misc/pwritev.c: Likewise.
15584         * misc/pwritev64.c: Likewise.
15585         * misc/readv.c: Likewise.
15586         * misc/reboot.c: Likewise.
15587         * misc/remap_file_pages.c: Likewise.
15588         * misc/removexattr.c: Likewise.
15589         * misc/revoke.c: Likewise.
15590         * misc/select.c: Likewise.
15591         * misc/setdomain.c: Likewise.
15592         * misc/setegid.c: Likewise.
15593         * misc/seteuid.c: Likewise.
15594         * misc/sethostid.c: Likewise.
15595         * misc/sethostname.c: Likewise.
15596         * misc/setregid.c: Likewise.
15597         * misc/setreuid.c: Likewise.
15598         * misc/setxattr.c: Likewise.
15599         * misc/sstk.c: Likewise.
15600         * misc/stty.c: Likewise.
15601         * misc/swapoff.c: Likewise.
15602         * misc/swapon.c: Likewise.
15603         * misc/sync.c: Likewise.
15604         * misc/syncfs.c: Likewise.
15605         * misc/syscall.c: Likewise.
15606         * misc/truncate.c: Likewise.
15607         * misc/ualarm.c: Likewise.
15608         * misc/usleep.c: Likewise.
15609         * misc/ustat.c: Likewise.
15610         * misc/utimes.c: Likewise.
15611         * misc/vhangup.c: Likewise.
15612         * misc/writev.c: Likewise.
15613         * posix/_exit.c: Likewise.
15614         * posix/alarm.c: Likewise.
15615         * posix/execve.c: Likewise.
15616         * posix/fexecve.c: Likewise.
15617         * posix/fork.c: Likewise.
15618         * posix/fpathconf.c: Likewise.
15619         * posix/getaddrinfo.c: Likewise.
15620         * posix/getegid.c: Likewise.
15621         * posix/geteuid.c: Likewise.
15622         * posix/getgid.c: Likewise.
15623         * posix/getgroups.c: Likewise.
15624         * posix/getlogin.c: Likewise.
15625         * posix/getlogin_r.c: Likewise.
15626         * posix/getpgid.c: Likewise.
15627         * posix/getpid.c: Likewise.
15628         * posix/getppid.c: Likewise.
15629         * posix/getresgid.c: Likewise.
15630         * posix/getresuid.c: Likewise.
15631         * posix/getsid.c: Likewise.
15632         * posix/getuid.c: Likewise.
15633         * posix/glob64.c: Likewise.
15634         * posix/nanosleep.c: Likewise.
15635         * posix/pathconf.c: Likewise.
15636         * posix/pause.c: Likewise.
15637         * posix/posix_madvise.c: Likewise.
15638         * posix/pread.c: Likewise.
15639         * posix/pread64.c: Likewise.
15640         * posix/pwrite.c: Likewise.
15641         * posix/pwrite64.c: Likewise.
15642         * posix/sched_getaffinity.c: Likewise.
15643         * posix/sched_getp.c: Likewise.
15644         * posix/sched_gets.c: Likewise.
15645         * posix/sched_primax.c: Likewise.
15646         * posix/sched_primin.c: Likewise.
15647         * posix/sched_rr_gi.c: Likewise.
15648         * posix/sched_setaffinity.c: Likewise.
15649         * posix/sched_setp.c: Likewise.
15650         * posix/sched_sets.c: Likewise.
15651         * posix/sched_yield.c: Likewise.
15652         * posix/setgid.c: Likewise.
15653         * posix/setlogin.c: Likewise.
15654         * posix/setpgid.c: Likewise.
15655         * posix/setresgid.c: Likewise.
15656         * posix/setresuid.c: Likewise.
15657         * posix/setsid.c: Likewise.
15658         * posix/setuid.c: Likewise.
15659         * posix/sleep.c: Likewise.
15660         * posix/spawni.c: Likewise.
15661         * posix/sysconf.c: Likewise.
15662         * posix/times.c: Likewise.
15663         * posix/wait.c: Likewise.
15664         * posix/wait3.c: Likewise.
15665         * posix/wait4.c: Likewise.
15666         * posix/waitpid.c: Likewise.
15667         * resolv/gai_sigqueue.c: Likewise.
15668         * resource/getpriority.c: Likewise.
15669         * resource/getrlimit.c: Likewise.
15670         * resource/getrusage.c: Likewise.
15671         * resource/nice.c: Likewise.
15672         * resource/setpriority.c: Likewise.
15673         * resource/setrlimit.c: Likewise.
15674         * resource/ulimit.c: Likewise.
15675         * rt/aio_cancel.c: Likewise.
15676         * rt/aio_fsync.c: Likewise.
15677         * rt/aio_read.c: Likewise.
15678         * rt/aio_sigqueue.c: Likewise.
15679         * rt/aio_suspend.c: Likewise.
15680         * rt/aio_write.c: Likewise.
15681         * rt/clock_getres.c: Likewise.
15682         * rt/clock_gettime.c: Likewise.
15683         * rt/clock_nanosleep.c: Likewise.
15684         * rt/clock_settime.c: Likewise.
15685         * rt/lio_listio.c: Likewise.
15686         * rt/mq_close.c: Likewise.
15687         * rt/mq_getattr.c: Likewise.
15688         * rt/mq_notify.c: Likewise.
15689         * rt/mq_open.c: Likewise.
15690         * rt/mq_receive.c: Likewise.
15691         * rt/mq_send.c: Likewise.
15692         * rt/mq_setattr.c: Likewise.
15693         * rt/mq_timedreceive.c: Likewise.
15694         * rt/mq_timedsend.c: Likewise.
15695         * rt/mq_unlink.c: Likewise.
15696         * rt/shm_open.c: Likewise.
15697         * rt/shm_unlink.c: Likewise.
15698         * rt/timer_create.c: Likewise.
15699         * rt/timer_delete.c: Likewise.
15700         * rt/timer_getoverr.c: Likewise.
15701         * rt/timer_gettime.c: Likewise.
15702         * rt/timer_settime.c: Likewise.
15703         * setjmp/__longjmp.c: Likewise.
15704         * setjmp/setjmp.c: Likewise.
15705         * signal/kill.c: Likewise.
15706         * signal/killpg.c: Likewise.
15707         * signal/raise.c: Likewise.
15708         * signal/sigaction.c: Likewise.
15709         * signal/sigaltstack.c: Likewise.
15710         * signal/sigblock.c: Likewise.
15711         * signal/sigignore.c: Likewise.
15712         * signal/sigintr.c: Likewise.
15713         * signal/signal.c: Likewise.
15714         * signal/sigpause.c: Likewise.
15715         * signal/sigpending.c: Likewise.
15716         * signal/sigqueue.c: Likewise.
15717         * signal/sigreturn.c: Likewise.
15718         * signal/sigset.c: Likewise.
15719         * signal/sigsetmask.c: Likewise.
15720         * signal/sigstack.c: Likewise.
15721         * signal/sigsuspend.c: Likewise.
15722         * signal/sigtimedwait.c: Likewise.
15723         * signal/sigvec.c: Likewise.
15724         * signal/sigwait.c: Likewise.
15725         * signal/sigwaitinfo.c: Likewise.
15726         * signal/sysv_signal.c: Likewise.
15727         * socket/accept.c: Likewise.
15728         * socket/accept4.c: Likewise.
15729         * socket/bind.c: Likewise.
15730         * socket/connect.c: Likewise.
15731         * socket/getpeername.c: Likewise.
15732         * socket/getsockname.c: Likewise.
15733         * socket/getsockopt.c: Likewise.
15734         * socket/isfdtype.c: Likewise.
15735         * socket/listen.c: Likewise.
15736         * socket/recv.c: Likewise.
15737         * socket/recvfrom.c: Likewise.
15738         * socket/recvmsg.c: Likewise.
15739         * socket/send.c: Likewise.
15740         * socket/sendmsg.c: Likewise.
15741         * socket/sendto.c: Likewise.
15742         * socket/setsockopt.c: Likewise.
15743         * socket/shutdown.c: Likewise.
15744         * socket/sockatmark.c: Likewise.
15745         * socket/socket.c: Likewise.
15746         * socket/socketpair.c: Likewise.
15747         * stdio-common/ctermid.c: Likewise.
15748         * stdio-common/cuserid.c: Likewise.
15749         * stdio-common/remove.c: Likewise.
15750         * stdio-common/rename.c: Likewise.
15751         * stdio-common/renameat.c: Likewise.
15752         * stdio-common/tempname.c: Likewise.
15753         * stdlib/getcontext.c: Likewise.
15754         * stdlib/makecontext.c: Likewise.
15755         * stdlib/setcontext.c: Likewise.
15756         * stdlib/swapcontext.c: Likewise.
15757         * stdlib/system.c: Likewise.
15758         * streams/fattach.c: Likewise.
15759         * streams/fdetach.c: Likewise.
15760         * streams/getmsg.c: Likewise.
15761         * streams/getpmsg.c: Likewise.
15762         * streams/putmsg.c: Likewise.
15763         * streams/putpmsg.c: Likewise.
15764         * sysdeps/unix/bsd/getpt.c: Likewise.
15765         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
15766         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
15767         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15768         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15769         Likewise.
15770         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
15771         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15772         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15773         * sysvipc/msgctl.c: Likewise.
15774         * sysvipc/msgget.c: Likewise.
15775         * sysvipc/msgrcv.c: Likewise.
15776         * sysvipc/msgsnd.c: Likewise.
15777         * sysvipc/semctl.c: Likewise.
15778         * sysvipc/semget.c: Likewise.
15779         * sysvipc/semop.c: Likewise.
15780         * sysvipc/semtimedop.c: Likewise.
15781         * sysvipc/shmat.c: Likewise.
15782         * sysvipc/shmctl.c: Likewise.
15783         * sysvipc/shmdt.c: Likewise.
15784         * sysvipc/shmget.c: Likewise.
15785         * termios/tcdrain.c: Likewise.
15786         * termios/tcflow.c: Likewise.
15787         * termios/tcflush.c: Likewise.
15788         * termios/tcgetattr.c: Likewise.
15789         * termios/tcgetpgrp.c: Likewise.
15790         * termios/tcsendbrk.c: Likewise.
15791         * termios/tcsetattr.c: Likewise.
15792         * termios/tcsetpgrp.c: Likewise.
15793         * time/adjtime.c: Likewise.
15794         * time/clock.c: Likewise.
15795         * time/getitimer.c: Likewise.
15796         * time/gettimeofday.c: Likewise.
15797         * time/setitimer.c: Likewise.
15798         * time/settimeofday.c: Likewise.
15799         * time/stime.c: Likewise.
15800         * time/time.c: Likewise.
15802 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
15804         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
15805         /usr/old/bin.
15807         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
15808         instead of spaces.
15809         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
15811 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
15813         [BZ #14796]
15814         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
15815         FE_TONEAREST before applying Dekker multiplication and Knuth
15816         addition.  Clear inexact exceptions and check for exact zero
15817         results afterwards.
15818         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15819         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15820         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15821         * math/libm-test.inc (fma_test): Add more tests.
15822         (fma_test_towardzero): Likewise.
15823         (fma_test_downward): Likewise.
15824         (fma_test_upward): Likewise.
15825         * sysdeps/generic/math_private.h (default_libc_fesetround): New
15826         function.
15827         (libc_fesetround): New macro.
15828         (libc_fesetroundf): Likewise.
15829         (libc_fesetroundl): Likewise.
15830         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
15831         function.
15832         (libc_fesetround_387): Likewise.
15833         (libc_fesetroundf): New macro.
15834         (libc_fesetround): Likewise.
15835         (libc_fesetroundl): Likewise.
15836         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
15837         function.
15838         (libc_fesetroundf): New macro.
15839         (libc_fesetround): Likewise.
15840         (libc_fesetroundl): Likewise.
15841         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
15842         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
15843         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
15844         libm_hidden_ver.
15845         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
15846         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
15847         libm_hidden_def.
15848         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
15849         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
15850         libm_hidden_ver.
15851         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
15852         libm_hidden_def.
15854         [BZ #3439]
15855         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
15856         integer constant usable in #if and use that to give value to enum
15857         constant.
15858         (FE_DIVBYZERO): Likewise.
15859         (FE_UNDERFLOW): Likewise.
15860         (FE_OVERFLOW): Likewise.
15861         (FE_INVALID): Likewise.
15862         (FE_INVALID_SNAN): Likewise.
15863         (FE_INVALID_ISI): Likewise.
15864         (FE_INVALID_IDI): Likewise.
15865         (FE_INVALID_ZDZ): Likewise.
15866         (FE_INVALID_IMZ): Likewise.
15867         (FE_INVALID_COMPARE): Likewise.
15868         (FE_INVALID_SOFTWARE): Likewise.
15869         (FE_INVALID_SQRT): Likewise.
15870         (FE_INVALID_INTEGER_CONVERSION): Likewise.
15871         (FE_TONEAREST): Likewise.
15872         (FE_TOWARDZERO): Likewise.
15873         (FE_UPWARD): Likewise.
15874         (FE_DOWNWARD): Likewise.
15875         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
15876         (FE_DIVBYZERO): Likewise.
15877         (FE_OVERFLOW): Likewise.
15878         (FE_UNDERFLOW): Likewise.
15879         (FE_INEXACT): Likewise.
15880         (FE_TONEAREST): Likewise.
15881         (FE_DOWNWARD): Likewise.
15882         (FE_UPWARD): Likewise.
15883         (FE_TOWARDZERO): Likewise.
15884         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
15885         (FE_UNDERFLOW): Likewise.
15886         (FE_OVERFLOW): Likewise.
15887         (FE_DIVBYZERO): Likewise.
15888         (FE_INVALID): Likewise.
15889         (FE_TONEAREST): Likewise.
15890         (FE_TOWARDZERO): Likewise.
15891         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
15892         (FE_OVERFLOW): Likewise.
15893         (FE_UNDERFLOW): Likewise.
15894         (FE_DIVBYZERO): Likewise.
15895         (FE_INEXACT): Likewise.
15896         (FE_TONEAREST): Likewise.
15897         (FE_TOWARDZERO): Likewise.
15898         (FE_UPWARD): Likewise.
15899         (FE_DOWNWARD): Likewise.
15900         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
15901         (FE_DIVBYZERO): Likewise.
15902         (FE_OVERFLOW): Likewise.
15903         (FE_UNDERFLOW): Likewise.
15904         (FE_INEXACT): Likewise.
15905         (FE_TONEAREST): Likewise.
15906         (FE_DOWNWARD): Likewise.
15907         (FE_UPWARD): Likewise.
15908         (FE_TOWARDZERO): Likewise.
15910 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
15912         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
15914 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
15916         * scripts/cross-test-ssh.sh (command): Use newlines to separate
15917         commands.  Quote $PWD.
15918         (blacklist_exports): Don't use remove_newlines.  Replace "declare
15919         -x" by "export".
15920         (remove_newlines): Remove.
15922 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
15924         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
15925         * stdlib/stdlib.h (atof): Moved to ...
15926         * include/bits/stdlib-float.h: Here.  New file.
15927         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
15928         * stdlib/bits/stdlib-float.h: New file.
15929         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
15930         -mno-sse -mno-mmx.
15931         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
15932         <xmmintrin.h>.
15934 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
15936         * conform/conformtest.pl (@headers): Add fenv.h.
15937         * conform/data/fenv.h-data: New file.
15938         * include/fenv.h [_ISOMAC]: Disable all contents of file except
15939         include of <math/fenv.h>.
15941         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
15942         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
15943         && !UNIX98].  Enables tests for XOPEN2K8.
15944         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
15945         POSIX2008]: Likewise.
15947         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
15948         (struct rusage): Do not expect type or its members.
15950         [BZ #3439]
15951         * math/math.h (FP_NAN): Define macro to integer constant usable in
15952         #if and use that to give value to enum constant.
15953         (FP_INFINITE): Likewise.
15954         (FP_ZERO): Likewise.
15955         (FP_SUBNORMAL): Likewise.
15956         (FP_NORMAL): Likewise.
15958 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
15960         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
15961         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
15962         arguments.
15964 2012-11-02  Roland McGrath  <roland@hack.frob.com>
15966         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
15967         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
15968         autoconf-time if not.
15969         * configure.in: Remove AC_PREREQ.
15971 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15973         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
15974         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
15975         of the internal implementation.
15977 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
15979         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
15980         except include of <misc/sys/syslog.h>.
15982 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
15984         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
15985         function returns with a NULL context exit with zero.
15987 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15989         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
15991 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
15993         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
15994         (run_program_cmd): This.
15995         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
15996         (tst_langinfo): New variable.  Use it.
15998 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
16000         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
16001         floating point opcodes.
16003 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
16005         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
16006         variable.
16008         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
16010         * sysdeps/mach/hurd/powerpc: Remove directory.
16011         * sysdeps/mach/powerpc: Likewise.
16013 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
16015         * scripts/check-local-headers.sh: Ignore c++ headers.
16017 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
16019         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
16020         __libc_cleanup_region_start argument.
16022 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
16024         [BZ #14784]
16025         [BZ #14785]
16026         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
16027         x * y using scaling, not as x * y + z.
16028         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16029         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16030         * math/libm-test.inc (fma_test): Add more tests.
16031         (fma_test_towardzero): Likewise.
16032         (fma_test_downward): Likewise.
16033         (fma_test_upward): Likewise.
16035 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
16037         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
16039 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
16041         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
16042         New variable.
16044 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
16046         * rt/tst-shm.c (worker): Correct checking for mmap failure.
16048 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
16050         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16051         Fix sort order.
16052         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16053         Likewise.
16055 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16058         Fix the order of the list for glibc 2.17.
16059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16060         Likewise.
16062 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
16064         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16066 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
16068         [BZ #14610]
16069         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
16070         for low part of x being zero before using __atanl (y).
16071         * math/libm-test.inc (atan2_test): Add another test.
16073         * manual/install.texi (Configuring and compiling): Document
16074         general use of test-wrapper and test-wrapper-env.
16075         * INSTALL: Regenerated.
16077         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
16078         (__fma): Do not extract and scale down low bits on after-rounding
16079         systems when result rounded to normal precision would have normal
16080         exponent.
16081         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
16082         (__fmal): Do not extract and scale down low bits on after-rounding
16083         systems when result rounded to normal precision would have normal
16084         exponent.
16085         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
16086         (__fmal): Do not extract and scale down low bits on after-rounding
16087         systems when result rounded to normal precision would have normal
16088         exponent.
16089         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
16090         macro.
16091         (fma_test): Add more tests.
16092         (fma_test_towardzero): Likewise.
16093         (fma_test_downward): Likewise.
16094         (fma_test_upward): Likewise.
16096 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
16098         * sysdeps/i386/tininess.h: Renamed to ...
16099         * sysdeps/x86/tininess.h: This.
16100         * sysdeps/x86_64/tininess.h: Removed.
16102 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
16104         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
16105         input.  Use $(build-program-cmd).
16106         ($(objpfx)tst-array1-static.out): Likewise.
16107         ($(objpfx)tst-array2.out): Likewise.
16108         ($(objpfx)tst-array3.out): Likewise.
16109         ($(objpfx)tst-array4.out): Likewise.
16110         ($(objpfx)tst-array5.out): Likewise.
16111         ($(objpfx)tst-array5-static.out): Likewise.
16113 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
16115         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
16116         if defined.
16118         * nss/nsswitch.h (nss_interface_function): Provide new
16119         macro for use with NSS functions.
16120         * grp/initgroups.c: Use new macro.
16121         * nss/getXXbyYY.c: Likewise.
16122         * nss/getXXbyYY_r.c: Likewise.
16123         * nss/getXXent.c: Likewise.
16124         * nss/getXXent_r.c: Likewise.
16125         * sysdeps/posix/getaddrinfo.c: Likewise.
16127 2012-10-30  Andreas Jaeger  <aj@suse.de>
16129         * po/ru.po: Update Russion translation from translation project.
16131 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
16133         [BZ #14152]
16134         [BZ #14783]
16135         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
16136         result and shift together with sticky bit instead of replicating
16137         round-to-nearest rounding.
16138         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16139         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16140         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
16141         missing underflow exceptions.
16142         (fma_test_towardzero): Add more tests.
16143         (fma_test_downward): Likewise.
16144         (fma_test_upward): Likewise.
16146         [BZ #14047]
16147         * sysdeps/generic/tininess.h: New file.
16148         * sysdeps/i386/tininess.h: Likewise.
16149         * sysdeps/sh/tininess.h: Likewise.
16150         * sysdeps/x86_64/tininess.h: Likewise.
16151         * stdlib/tst-strtod-underflow.c: Likewise.
16152         * stdlib/tst-tininess.c: Likewise.
16153         * stdlib/strtod_l.c: Include <tininess.h>.
16154         (round_and_return): Do not set errno for exact underflow cases.
16155         Force an underflow exception when setting errno for underflow.
16156         Determine underflow based on rounding to normal precision if
16157         TININESS_AFTER_ROUNDING.
16158         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
16159         ERANGE for exact underflow cases.
16160         * stdlib/Makefile (tests): Add tst-tininess and
16161         tst-strtod-underflow.
16162         ($(objpfx)tst-tininess): Use $(link-libm).
16163         ($(objpfx)tst-strtod-underflow): Likewise.
16165 2012-10-30  Andreas Jaeger  <aj@suse.de>
16167         [BZ#14767]
16168         * elf/Makefile (tests): Remove conditional for have-initfini-array
16169         since this is now always required and the variable does not exist
16170         anymore.
16171         (tests-static): Likewise.
16172         (modules-names): Likewise.
16174         * po/eo.po: Add Esperanto translation from translation project.
16176         * elf/tst-array1.c (fini_array): Make writeable so that it can be
16177         merged with constructor/destructor.
16178         (init_array): Likewise.
16179         * elf/tst-array2dep.c (fini_array): Likewise.
16180         (init_array): Likewise.
16182 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
16184         * manual/message.texi: Delete @cartouche tags.
16186 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
16188         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
16189         EOPNOTSUPP.
16190         * sysdeps/mach/hurd/fsync.c: Likewise.
16192         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
16193         [_POSIX_REALTIME_SIGNALS]: Change condition to
16194         [_POSIX_REALTIME_SIGNALS > 0].
16196 2012-10-27  Andreas Jaeger  <aj@suse.de>
16198         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
16199         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
16200         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
16201         [__WORDSIZE != 64]: Likewise.
16203 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
16205         *  iconvdata/tst-table.sh: Remove ${SHELL}.
16206         *  iconvdata/tst-tables.sh: Likewise.
16208 2012-10-25  David S. Miller  <davem@davemloft.net>
16210         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16211         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
16212         of strtoull.
16214         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
16215         ifunc-impl-list.c
16216         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16217         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
16218         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
16219         file.
16221 2012-10-25  Roland McGrath  <roland@hack.frob.com>
16223         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16224         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
16225         __getdirentries.
16227 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
16228             Jim Blandy  <jimb@codesourcery.com>
16230         * scripts/cross-test-ssh.sh: New file.
16231         * manual/install.texi (Configuring and compiling): Document use of
16232         cross-test-ssh.sh.
16233         * INSTALL: Regenerated.
16235 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
16237         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
16238         EOPNOTSUPP.
16240 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
16242         * Makeconfig (run-program-prefix): Fix comment.
16244 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
16245             Jim Blandy  <jimb@codesourcery.com>
16247         * Makeconfig (test-wrapper): New variable,
16248         (test-wrapper-env): Likewise.
16249         [$(cross-compiling) = yes && $(test-wrapper) != ""]
16250         (run-built-tests): Define to yes.
16251         (run-program-prefix): Use $(test-wrapper).
16252         (built-program-cmd): Likewise.
16253         * Rules (make-test-out): Use $(test-wrapper-env) and
16254         $(host-built-program-cmd).
16255         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
16256         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
16257         tst-pathopt.sh.
16258         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
16259         $(test-wrapper-env) to tst-rtld-load-self.sh.
16260         ($(objpfx)order2.out): Use $(test-wrapper).
16261         ($(objpfx)tst-initorder.out): Likewise.
16262         ($(objpfx)tst-initorder2.out): Likewise.
16263         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
16264         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
16265         (test_wrapper_env): New variable.  Use it to run ld.so.
16266         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
16267         Use it to run ld.so.
16268         (test_wrapper_env): Likewise.
16269         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
16270         $(test-wrapper) to run-iconv-test.sh.
16271         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
16272         (ICONV): Use $test_wrapper.
16273         * posix/Makefile ($(objpfx)globtest.out): Pass
16274         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
16275         globtest.sh, not $(run-program-prefix).
16276         * posix/globtest.sh (run_via_rtld_prefix): New variable.
16277         (test_wrapper): Likewise.
16278         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
16279         set together with run_via_rtld_prefix.
16280         (run_program_prefix): Define in terms of test_wrapper and
16281         run_via_rtld_prefix.
16283 2012-10-24  Roland McGrath  <roland@hack.frob.com>
16285         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
16286         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
16287         Targets removed.
16289         [BZ #14743]
16290         * include/time.h: Remove librt_hidden_proto (clock_gettime).
16291         Declare __clock_getres, __clock_gettime, __clock_settime,
16292         __clock_nanosleep, and __clock_getcpuclockid.
16293         * rt/clock_gettime.c: Define __clock_gettime as an alias.
16294         Remove librt_hidden_def (clock_gettime).
16295         * sysdeps/unix/clock_gettime.c: Likewise.
16296         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
16297         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16298         * rt/clock_getres.c: Define __clock_getres as an alias.
16299         * sysdeps/posix/clock_getres.c: Likewise.
16300         * rt/clock_settime.c: Define __clock_settime as an alias.
16301         * sysdeps/unix/clock_settime.c: Likewise.
16302         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
16303         * sysdeps/unix/clock_nanosleep.c: Likewise.
16304         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16305         * rt/clock-compat.c: New file.
16306         * rt/Makefile (librt-routines): Add clock-compat and move
16307         $(clock-routines) to ...
16308         (routines): ... here, new variable.
16309         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
16310         Don't add get_clockfreq here.
16311         * rt/Versions (libc: GLIBC_2.17): New version set.
16312         Add clock_* symbols here.
16313         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
16314         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
16315         (GLIBC_2.17): Add clock_* symbols.
16316         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16317         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16318         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16319         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16320         Likewise.
16321         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16322         Likewise.
16323         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16324         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16325         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16326         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16327         * NEWS: Mention the move.
16329         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16330         Use __open, __read, __close rather than their public counterparts.
16331         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16332         (__get_clockfreq_via_cpuinfo): Likewise.
16333         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
16334         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
16336         * config.h.in (HAVE_IFUNC): New #undef.
16337         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
16338         was successful.
16339         * configure: Regenerated.
16341 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
16343         * configure.in: Move READELF check to start of file.
16344         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
16345         libc_cv_asm_gnu_indirect_function in the process.
16346         * configure: Regenerated.
16348 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
16350         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
16351         send the output to /dev/null.
16352         (libc_cv_cc_with_libunwind): Likewise.
16353         (libc_cv_as_noexecstack): Likewise.
16354         * configure: Regenerate.
16356 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
16358         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
16360         * posix/globtest.sh (TMPDIR): Do not set.
16361         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
16362         (testout): Likewise.
16364 2012-10-24  Andreas Jaeger  <aj@suse.de>
16366         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
16367         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
16368         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
16369         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
16370         posix_fadvise64, posix_fallocate64.
16372         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
16373         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
16374         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
16375         Likewise.
16376         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
16377         Likewise.
16378         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
16380         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
16381         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
16382         <bits/fcntl-linux.h>.
16383         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
16385         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
16386         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
16387         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
16388         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
16389         [__WORDSIZE != 64]: Likewise.
16391 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
16393         * Makeconfig (run-built-tests): New variable.
16394         * Rules [$(cross-compiling) = yes]: Change condition to
16395         [$(run-built-tests) = no].
16396         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
16397         to [$(run-built-tests) = yes].
16398         * elf/Makefile [$(cross-compiling) = no]: Likewise
16399         * grp/Makefile [$(cross-compiling) = no]: Likewise.
16400         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
16401         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
16402         * intl/Makefile [$(cross-compiling) = no]: Likewise.
16403         * io/Makefile [$(cross-compiling) = no]: Likewise.
16404         * libio/Makefile [$(cross-compiling) = no]: Likewise.
16405         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
16406         * misc/Makefile [$(cross-compiling) = no]: Likewise.
16407         * posix/Makefile [$(cross-compiling) = no]: Likewise.
16408         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
16409         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
16410         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
16411         * string/Makefile [$(cross-compiling) = no]: Likewise.
16413         * posix/Makefile ($(objpfx)globtest.out): Pass
16414         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
16415         $(rtld-installed-name).
16416         * posix/globtest.sh (elf_objpfx): Remove variable.
16417         (rtld_installed_name): Likewise.
16418         (library_path): Likewise.
16419         (run_program_prefix): New variable.  Use for running globtest
16420         binary.
16422 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
16423             Joseph Myers  <joseph@codesourcery.com>
16425         * Makeconfig (host-built-program-cmd): New variable.
16426         * elf/Makefile (tst-stackguard1-ARGS): Use
16427         $(host-built-program-cmd).
16428         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
16429         (tst-spawn-ARGS): Likewise.
16430         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
16432 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
16433             Jim Blandy  <jimb@codesourcery.com>
16435         * Makeconfig (run-via-rtld-prefix): New variable.
16436         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
16437         (built-program-cmd): Likewise.
16439 2012-10-22  Andreas Jaeger  <aj@suse.de>
16441         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
16442         __O_RSYNC if it exists, otherwise to O_SYNC.
16444 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
16445             Joseph Myers  <joseph@codesourcery.com>
16447         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
16448         /dev/null.
16449         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
16450         from /dev/null
16451         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
16452         /dev/null.
16454 2012-10-22  Andreas Jaeger  <aj@suse.de>
16456         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
16457         Define always.
16458         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
16460         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16461         bits/fcntl-linux.h.
16463         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
16464         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
16466         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
16467         to __O_LARGEFILE.
16468         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
16469         to __O_LARGEFILE.
16471 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
16472             Joseph Myers  <joseph@codesourcery.com>
16474         * config.make.in (NM): New variable.
16476 2012-10-21  Andreas Jaeger  <aj@suse.de>
16478         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
16479         definitions and declarations that are provided by
16480         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16482 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
16484         [BZ #14683]
16485         * elf/Makefile (tests-static): Add tst-leaks1-static.
16486         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
16487         ($(objpfx)tst-leaks1-static): New rule.
16488         ($(objpfx)tst-leaks1-static-mem): Likewise.
16489         (tst-leaks1-static-ENV): New macro.
16490         * elf/dl-open.c (dl_open_worker): Check the main application
16491         only if SHARED is defined.
16492         * elf/tst-leaks1-static.c: New file.
16494 2012-10-20  Andreas Jaeger  <aj@suse.de>
16496         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
16497         generic values for Linux.
16498         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
16499         and declarations that are provided by <bits/fcntl-linux.h> and
16500         include <bits/fcntl-linux.h>.
16501         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16502         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16504 2012-10-20  Roland McGrath  <roland@hack.frob.com>
16506         * io/fcntl.h: Move include of <bits/types.h> to the top and
16507         include it unconditionally.
16509 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
16511         * wcsmbs/Makefile (tests-ifunc): New variable.
16512         (tests): Add $(tests-ifunc).
16513         * wcsmbs/test-wcschr-ifunc.c: New file.
16514         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
16515         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
16516         * wcsmbs/test-wcslen-ifunc.c: Likewise.
16517         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
16518         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
16520         * string/Makefile (tests-ifunc): New variable.
16521         (tests): Add $(tests-ifunc).
16522         * string/test-memccpy.c (TEST_NAME): New macro.
16523         * string/test-memchr.c (TEST_NAME): Likewise.
16524         * string/test-memcmp.c (TEST_NAME): Likewise.
16525         * string/test-memcpy.c (TEST_NAME): Likewise.
16526         * string/test-memmem.c (TEST_NAME): Likewise.
16527         * string/test-memmove.c (TEST_NAME): Likewise.
16528         * string/test-memset.c (TEST_NAME): Likewise.
16529         * string/test-rawmemchr.c (TEST_NAME): Likewise.
16530         * string/test-stpcpy.c (TEST_NAME): Likewise.
16531         * string/test-stpncpy.c (TEST_NAME): Likewise.
16532         * string/test-strcasecmp.c (TEST_NAME): Likewise.
16533         * string/test-strcasestr.c (TEST_NAME): Likewise.
16534         * string/test-strcat.c (TEST_NAME): Likewise.
16535         * string/test-strchr.c (TEST_NAME): Likewise.
16536         * string/test-strcmp.c(TEST_NAME): Likewise.
16537         * string/test-strcpy.c (TEST_NAME): Likewise.
16538         * string/test-strcspn.c (TEST_NAME): Likewise.
16539         * string/test-strlen.c (TEST_NAME): Likewise.
16540         * string/test-strncasecmp.c (TEST_NAME): Likewise.
16541         * string/test-strncmp.c (TEST_NAME): Likewise.
16542         * string/test-strncpy.c (TEST_NAME): Likewise.
16543         * string/test-strnlen.c (TEST_NAME): Likewise.
16544         * string/test-strpbrk.c (TEST_NAME): Likewise.
16545         * string/test-strrchr.c (TEST_NAME): Likewise.
16546         * string/test-strspn.c (TEST_NAME): Likewise.
16547         * string/test-strstr.c (TEST_NAME): Likewise.
16548         * string/test-bcopy-ifunc.c: New file.
16549         * string/test-bzero-ifunc.c: Likewise.
16550         * string/test-memccpy-ifunc.c: Likewise.
16551         * string/test-memchr-ifunc.c: Likewise.
16552         * string/test-memcmp-ifunc.c: Likewise.
16553         * string/test-memcpy-ifunc.c: Likewise.
16554         * string/test-memmem-ifunc.c: Likewise.
16555         * string/test-memmove-ifunc.c: Likewise.
16556         * string/test-mempcpy-ifunc.c: Likewise.
16557         * string/test-memset-ifunc.c: Likewise.
16558         * string/test-rawmemchr-ifunc.c: Likewise.
16559         * string/test-stpcpy-ifunc.c: Likewise.
16560         * string/test-stpncpy-ifunc.c: Likewise.
16561         * string/test-strcasecmp-ifunc.c: Likewise.
16562         * string/test-strcasestr-ifunc.c: Likewise.
16563         * string/test-strcat-ifunc.c: Likewise.
16564         * string/test-strchr-ifunc.c: Likewise.
16565         * string/test-strchrnul-ifunc.c: Likewise.
16566         * string/test-strcmp-ifunc.c: Likewise.
16567         * string/test-strcpy-ifunc.c: Likewise.
16568         * string/test-strcspn-ifunc.c: Likewise.
16569         * string/test-strlen-ifunc.c: Likewise.
16570         * string/test-strncasecmp-ifunc.c: Likewise.
16571         * string/test-strncat-ifunc.c: Likewise.
16572         * string/test-strncmp-ifunc.c: Likewise.
16573         * string/test-strncpy-ifunc.c: Likewise.
16574         * string/test-strnlen-ifunc.c: Likewise.
16575         * string/test-strpbrk-ifunc.c: Likewise.
16576         * string/test-strrchr-ifunc.c: Likewise.
16577         * string/test-strspn-ifunc.c: Likewise.
16578         * string/test-strstr-ifunc.c: Likewise.
16580         * debug/Makefile (tests-ifunc): New variable.
16581         (tests): Add $(tests-ifunc).
16582         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
16583         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
16584         * debug/test-stpcpy_chk-ifunc.c: New file.
16585         * debug/test-strcpy_chk-ifunc.c: Likewise.
16587 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16589         [BZ #13601]
16590         * elf/dl-load.c (open_verify): Retry read if the entire ELF
16591         header is not read in.
16593 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
16595         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
16596         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
16597         directly.  Pass built executable to script as
16598         $(built-program-cmd).
16599         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
16600         $testprogram without using LD_LIBRARY_PATH and $ldso.
16602         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
16603         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
16604         $(rtld-installed-name).
16605         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
16606         (rtld_installed_name): Likewise.
16607         (library_path): Likewise.
16608         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
16609         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
16610         $(run-program-prefix) to tst-tables.sh.
16611         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
16612         it to run tst-table-from and tst-table-to.
16613         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
16614         Pass it to tst-table.sh.
16615         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
16616         $(run-program-prefix) to tst-gettext.sh.
16617         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
16618         tst-translit.sh.
16619         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
16620         tst-gettext2.sh.
16621         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
16622         to run tst-gettext.
16623         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
16624         to run tst-gettext2.
16625         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
16626         to run tst-translit.
16627         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
16628         $(run-program-prefix) to tst-mtrace.sh.
16629         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
16630         to run tst-mtrace.
16631         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
16632         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
16633         $(rtld-installed-name).
16634         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
16635         (rtld_installed_name): Likewise.
16636         (run_program_prefix): New variable.  Use it to run wordexp-test.
16638         * Makeconfig (ARCH): Remove all definitions.
16639         (machine): Likewise.
16640         [ARCH]: Remove conditional code.
16641         [!objdir]: Give error.
16642         [!objdir] (objpfx): Remove.
16643         [!objdir] (common-objpfx): Likewise.
16644         [!objdir] (common-objdir): Likewise.
16645         * configure.in (config_makefile): Remove.  Hardcode Makefile in
16646         AC_CONFIG_FILES call.
16647         * configure: Regenerated.
16649         [BZ #13888]
16650         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
16651         or TMPDIR.
16652         (testout): Likewise.
16654         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
16655         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
16656         $(rtld-installed-name).
16657         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
16658         (rtld_installed_name): Likwise.
16659         (runit): Remove function.
16660         (run_getconf): New variable,  Use it for running getconf binary.
16662 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
16664         [BZ #14716]
16665         * string/test-memmem.c (check_result): New function.
16666         (do_one_test): Use it.
16667         (check1): New function.
16668         (test_main): Use it.
16670 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
16672         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
16674 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
16676         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
16677         (_G_LSEEK64): Likewise.
16678         (_G_MMAP64): Likewise.
16679         (_G_FSTAT64): Likewise.
16680         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
16681         (_G_LSEEK64): Likewise.
16682         (_G_MMAP64): Likewise.
16683         (_G_FSTAT64): Likewise.
16684         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
16685         unconditional.  Call __mmap64 directly.
16686         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
16687         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
16688         __lseek64 directly.
16689         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
16690         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
16691         __mmap64 directly.
16692         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
16693         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
16694         __lseek64 directly.
16695         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
16696         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
16697         __lseek64 directly.
16698         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
16699         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
16700         __lseek64 directly.
16701         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
16702         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
16703         __fxstat64 directly.
16704         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
16705         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
16706         unconditional.
16707         (freopen64) [!_G_OPEN64]: Remove conditional code.
16708         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
16709         unconditional.
16710         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
16711         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
16712         unconditional.
16713         (ftello64) [!_G_LSEEK64]: Remove conditional code.
16714         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
16715         unconditional.
16716         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16717         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
16718         unconditional.
16719         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
16720         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
16721         unconditional.
16722         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16723         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
16724         unconditional.
16725         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16726         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
16727         unconditional.
16728         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16730 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16732         [BZ #12140]
16733         * manual/memory.texi (Malloc Tunable Parameters): Add note
16734         about free list pointers overwriting some perturb bytes.
16735         Wording suggested by Roland McGrath.
16737 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
16739         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
16740         (lgamma_test): Likewise.
16741         (tgamma_test): Likewise.
16743 2012-10-16  Florian Weimer  <fweimer@redhat.com>
16745         [BZ #14700]
16746         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
16747         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
16749 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
16751         * NEWS: Mention BZ #14716.
16752         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
16753         when removing AVAILABLE1_USES_J macro.
16755 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
16757         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
16758         (__bswap_64): __uint64_t for unsigned 64-bit int.
16760 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
16762         * include/string.h (memmem): Declare libc hidden alias.
16763         * string/memmem.c (memmem): Define libc hidden alias.
16764         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
16765         __read, __close instead of open, read, close.
16767 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
16769         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
16770         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
16771         global and hidden.
16772         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
16773         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
16774         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
16775         Likewise.
16776         (__rawmemchr_sse2): Likewise.
16777         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
16778         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
16779         (__strchr_sse2): Likewise.
16780         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
16781         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
16782         (__strcasecmp_sse2): Likewise.
16783         (__strncasecmp_sse2): Likewise.
16784         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
16785         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
16786         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
16787         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
16788         (__strrchr_sse2): Likewise.
16789         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
16790         ifunc-impl-list.c.
16791         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16792         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16793         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16794         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16795         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16796         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16797         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16798         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16799         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
16800         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
16801         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
16802         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
16803         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
16804         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16805         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16806         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16807         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16808         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16809         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
16810         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
16811         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
16812         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
16813         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
16814         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16815         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
16816         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16817         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16818         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16819         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16820         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16822         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
16823         global and hidden.
16824         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
16825         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
16826         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
16827         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
16828         Likewise.
16829         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
16830         Likewise.
16831         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
16832         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
16833         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
16834         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
16835         ifunc-impl-list.c.
16836         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16837         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16838         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16839         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16840         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16841         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16842         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16843         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16844         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16845         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16846         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16847         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16848         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16849         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
16850         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
16851         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16852         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
16853         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
16854         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16855         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16856         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16857         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16858         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16859         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16860         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16861         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
16862         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
16863         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
16864         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
16865         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16866         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
16867         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16868         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16869         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
16870         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16871         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16872         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16873         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16874         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16875         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16876         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
16878         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
16879         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
16880         * include/ifunc-impl-list.h: New file.
16881         * misc/ifunc-impl-list.c: Likewise.
16882         * misc/Makefile (routines): Add ifunc-impl-list.
16883         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
16884         * string/test-string.h: Include <ifunc-impl-list.h>.
16885         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
16886         impl_array): New variables.
16887         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
16888         are defined.
16889         (test_init): Call __libc_ifunc_impl_list to initialize
16890         func_list if TEST_IFUNC and TEST_NAME are defined.
16892         * string/Makefile (strop-tests): Add bcopy and bzero.
16893         * string/test-bcopy.c: New file.
16894         * string/test-bzero.c: Likewise.
16895         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
16896         defined.
16897         * string/test-memset.c: Support bzero test if TEST_BZERO is
16898         defined.
16899         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
16900         __libc_memmove.
16901         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
16902         __libc_memset.
16903         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
16904         of memset.
16906 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
16908         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
16909         * configure: Regenerated.
16911         * Makeconfig (+link-static-before-libc): Don't include
16912         $(link-static-libc).
16914         * libio/libio.h (_IO_pos_t): Remove.
16916 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
16918         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
16919         McGrath.
16921 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
16923         * crypt/crypt-entry.c: Include fips-private.h.
16924         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
16925         * crypt/md5c-test.c (main): Tolerate disabled MD5.
16926         * sysdeps/unix/sysv/linux/fips-private.h: New file.
16927         * sysdeps/generic/fips-private.h: New file, dummy fallback.
16929 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
16931         * crypt/crypt-private.h: Include stdbool.h.
16932         (_ufc_setup_salt_r): Return bool.
16933         * crypt/crypt-entry.c: Include errno.h.
16934         (__crypt_r): Return NULL with EINVAL for bad salt.
16935         * crypt/crypt_util.c (bad_for_salt): New.
16936         (_ufc_setup_salt_r): Check that salt is long enough and within
16937         the specified alphabet.
16938         * crypt/badsalttest.c: New file.
16939         * crypt/Makefile (tests): Add it.
16940         ($(objpfx)badsalttest): New.
16942 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
16944         * NEWS: Add entry for BZ #14602.
16946 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
16948         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
16949         type-generic.
16950         * math/libm-test.inc: Update comment listing what functions and
16951         macros are tested.
16952         (isgreater_test): New function.
16953         (isgreaterequal_test): Likewise.
16954         (isless_test): Likewise.
16955         (islessequal_test): Likewise.
16956         (islessgreater_test): Likewise.
16957         (isunordered_test): Likewise.
16958         (main): Call the new functions.
16960 2012-10-09  Roland McGrath  <roland@hack.frob.com>
16962         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
16963         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
16964         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
16965         * sysdeps/i386/configure: Regenerated.
16966         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
16967         * sysdeps/mach/configure: Regenerated.
16968         * sysdeps/mach/hurd/configure: Regenerated.
16969         * sysdeps/powerpc/configure: Regenerated.
16970         * sysdeps/powerpc/powerpc32/configure: Regenerated.
16971         * sysdeps/powerpc/powerpc64/configure: Regenerated.
16972         * sysdeps/s390/s390-32/configure: Regenerated.
16973         * sysdeps/s390/s390-64/configure: Regenerated.
16974         * sysdeps/sh/configure: Regenerated.
16975         * sysdeps/sparc/configure: Regenerated.
16976         * sysdeps/unix/sysv/linux/configure: Regenerated.
16977         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16978         * sysdeps/x86_64/configure: Regenerated.
16980         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
16981         defined.  Don't check if MAP is NULL.
16983 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
16985         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
16986         (_G_stat64): Likewise.
16987         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
16988         (_G_stat64): Likewise.
16989         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
16990         instead of struct _G_stat64.
16991         * libio/fileops.c (mmap_remap_check): Likewise.
16992         (decide_maybe_mmap): Likewise.
16993         (_IO_new_file_seekoff): Likewise.
16994         (_IO_file_stat): Likewise.
16995         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
16996         _G_off64_t.
16997         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
16998         instead of struct _G_stat64.
16999         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17001 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
17003         [BZ #14602]
17004         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17005         Replace with ...
17006         (CHECK_EOL): New macro.
17007         (two_way_short_needle): Check beginning of haystack for EOL.  Use
17008         CHECK_EOL.
17009         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17010         Replace with CHECK_EOL.
17011         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
17012         Replace with CHECK_EOL.
17014 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
17016         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
17017         type-generic.
17018         * math/libm-test.inc: Update comment listing what functions and
17019         macros are tested.
17020         (finite_test): New function.
17021         (isinf_test): Likewise.
17022         (isnan_test): Likewise.
17023         (fpclassify_test): Test subnormal input.
17024         (isfinite_test): Likewise.
17025         (isnormal_test): Likewise.
17026         (main): Call the new functions.
17028 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
17030         [BZ #14660]
17031         * Makerules (%.dynsym): Force C locale when running
17032         $(OBJDUMP) --dynamic-syms.
17034 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
17036         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
17037         <stdint.h>.
17039 2012-10-06  David S. Miller  <davem@davemloft.net>
17041         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
17042         upper 32-bits of the length value in %o2 since we use branch-on-register
17043         tests which consider the entire 64-bit register.
17045 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
17047         * string/test-strstr.c (check2): Add a test for page boundary.
17049 2012-10-05  David S. Miller  <davem@davemloft.net>
17051         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
17052         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
17053         file.
17054         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17055         sysdep_routines.
17056         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17057         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
17058         and bzero when HWCAP_SPARC_CRYPTO is present.
17060 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
17062         [BZ #14602]
17063         * string/test-strstr.c (check2): New function.
17064         (test_main): Call check2.
17066         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
17067         and bug-strchr1.
17068         * string/bug-strcasestr1.c (do_test): Moved to ...
17069         * string/test-strcasestr.c (check1): Here.  New function.
17070         (do_one_test): Break out result checking code into ...
17071         (check_result): This.  New function.
17072         (do_one_test): Call check_result.
17073         (test_main): Call check1.
17074         * string/bug-strchr1.c (do_test): Moved to ...
17075         * string/test-strchr.c (check1): Here.  New function.
17076         (do_one_test): Break out result checking code into ...
17077         (check_result): This.  New function.
17078         (do_one_test): Call check_result.
17079         (test_main): Call check1.
17080         * string/bug-strstr1.c (main): Moved to ...
17081         * string/test-strstr.c (check1): Here.  New function.
17082         (do_one_test): Break out result checking code into ...
17083         (check_result): This.  New function.
17084         (do_one_test): Call check_result.
17085         (test_main): Call check1.
17086         * string/bug-strcasestr1.c: Removed.
17087         * string/bug-strchr1.c: Likewise.
17088         * string/bug-strstr1.c: Likewise.
17090         * elf/Makefile (dl-routines): Add hwcaps.
17091         * elf/dl-support.c (_dl_important_hwcaps): Removed.
17092         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
17093         (_dl_important_hwcaps): Moved to ...
17094         * elf/dl-hwcaps.c: Here.  New file.
17095         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
17097         [BZ #14557]
17098         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
17099         if IS_IN_rtld isn't defined.
17101         * elf/dl-support.c (_dl_sysinfo_map): New.
17102         Include "get-dynamic-info.h" and "setup-vdso.h".
17103         (_dl_non_dynamic_init): Call setup_vdso.
17104         * elf/dynamic-link.h: Don't include <assert.h>.
17105         (elf_get_dynamic_info): Moved to ...
17106         * elf/get-dynamic-info.h: Here.  New file.
17107         * elf/dynamic-link.h: Include "get-dynamic-info.h".
17108         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
17109         * elf/setup-vdso.h: Here.  New file.
17110         * elf/rtld.c: Include "setup-vdso.h".
17111         (dl_main): Call setup_vdso.
17113 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
17115         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
17116         creal in comment listing functions tested.  List finite, isinf,
17117         isnan, isless, islessequal, isgreater, isgreaterequal,
17118         islessgreater, isunordered, lgamma_r and pow10 as functions and
17119         macros not tested.  Mention which functions not tested are aliases
17120         for other functions.  Fix typo.  Note that signs of NaNs are not
17121         tested.
17123         * scripts/config.guess: Update from config.git.
17124         * scripts/config.sub: Likewise.
17126 2012-10-04  Roland McGrath  <roland@hack.frob.com>
17128         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
17129         * misc/madvise.c (madvise): Renamed to __madvise.
17130         Make madvise a weak alias.
17131         * include/sys/mman.h: Declare __madvise.
17132         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
17133         * sysdeps/unix/syscalls.list
17134         (madvise): Make __madvise the strong name, and madvise a weak alias.
17135         * sysdeps/unix/sysv/linux/syscalls.list
17136         (madvise, mmap): Remove redundant entries.
17137         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
17138         * malloc/malloc.c (mtrim): Likewise.
17139         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
17141 2012-10-03  Roland McGrath  <roland@hack.frob.com>
17143         * sysdeps/mach/hurd/dl-cache.c: File removed.
17144         * config.h.in (USE_LDCONFIG): New #undef.
17145         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
17146         * configure: Regenerated.
17147         * elf/Makefile (dl-routines): Add dl-cache only under
17148         [$(use-ldconfig) = yes].
17149         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
17150         cache on [USE_LDCONFIG].
17151         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
17152         [USE_LDCONFIG].
17153         * elf/rtld.c (dl_main): Likewise.
17155 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
17157         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
17158         _SC_LEVEL4_CACHE_LINESIZE.
17160 2012-10-03  Roland McGrath  <roland@hack.frob.com>
17162         * sysdeps/unix/bsd/confstr.h: File removed.
17164 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
17166         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
17167         sys/sdt-config.h.
17169 2012-10-02  Roland McGrath  <roland@hack.frob.com>
17171         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
17172         Make 'mapoff' field ElfW(Off) rather than off_t.
17174 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
17176         * nscd/Makefile: Remove nscd-cflags and all its users.
17177         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
17178         (CFLAGS-nonlib): Add compiler flags for nscd modules.
17180         [BZ #10631]
17181         * malloc.c (malloc_printerr): Clarify error message.
17183 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
17185         [BZ #14648]
17186         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17187         Set bit_FMA_Usable if FMA is supported.
17188         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
17189         macro.
17190         (bit_FMA4_Usable): Updated.
17191         (index_FMA_Usable): New macro.
17192         (CPUID_FMA): Likewise
17193         (HAS_FMA): Defined with bit_FMA_Usable.
17195 2012-10-01  Roland McGrath  <roland@hack.frob.com>
17197         * bits/types.h (__swblk_t): Type removed.
17198         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
17199         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
17200         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17201         (__SWBLK_T_TYPE): Likewise.
17202         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17203         (__SWBLK_T_TYPE): Likewise.
17204         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17205         (__SWBLK_T_TYPE): Likewise.
17206         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17207         (__SWBLK_T_TYPE): Likewise.
17209 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
17210             Honza Horak <hhorak@redhat.com>
17212         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
17213         (xdr_mapname): Use YPMAXMAP as maxsize.
17214         (xdr_peername): Use YPMAXPEER as maxsize.
17215         (xdr_keydat): Use YPAXRECORD as maxsize.
17216         (xdr_valdat): Use YPMAXRECORD as maxsize.
17218 2012-10-01  Roland McGrath  <roland@hack.frob.com>
17220         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
17222         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
17223         * csu/init-first.c: ... here.
17224         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
17225         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17226         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17227         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17228         * sysdeps/i386/init-first.c: File removed.
17229         * sysdeps/sh/init-first.c: File removed.
17231 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
17233         [BZ #14645]
17234         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
17235         if x * y might underflow to zero and z is zero.
17236         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17237         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17238         * math/libm-test.inc (min_subnorm_value): New variable.
17239         (fma_test): Add more tests.
17240         (fma_test_towardzero): Likewise.
17241         (fma_test_downward): Likewise
17242         (fma_test_upward): Likewise.
17243         (initialize): Set min_subnorm_value.
17245 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
17247         [BZ #14638]
17248         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
17249         0 + 0.
17250         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
17251         mode for addition resulting in exact zero.
17252         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
17253         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
17254         exact 0 + 0.
17255         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17256         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17257         * math/libm-test.inc (fma_test): Add more tests.
17258         (fma_test_towardzero): New function.
17259         (fma_test_downward): Likewise.
17260         (fma_test_upward): Likewise.
17261         (main): Call the new functions.
17263 2012-09-28  David S. Miller  <davem@davemloft.net>
17265         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
17267 2012-09-28  Roland McGrath  <roland@hack.frob.com>
17269         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
17270         instead of SIGALRM.
17272         * sysdeps/gnu/_G_config.h: Moved to ...
17273         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
17274         * sysdeps/mach/hurd/_G_config.h: Moved to ...
17275         * sysdeps/generic/_G_config.h: ... here.
17277         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
17279         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
17281         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
17282         Conditionalize target on [libnss_test1.so-version].
17284         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
17286         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
17287         (elfobjdir): Move out of conditionals.
17289         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
17290         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
17291         (__nss_lookup_function): Conditionalize label remove_from_tree on
17292         [!DO_STATIC_NSS || SHARED], matching its only use.
17294 2012-09-28  David S. Miller  <davem@davemloft.net>
17296         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
17297         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
17298         file.
17299         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17300         sysdep_routines.
17301         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17302         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
17303         when HWCAP_SPARC_CRYPTO is present.
17305 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
17307         * io/tst-mknodat.c: Create a FIFO instead of a socket.
17309 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
17311         [BZ #6530]
17312         * stdio-common/vfprintf.c (process_string_arg): Revert
17313         2000-07-22 change.
17315 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
17317         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
17318         for testcase.
17319         * stdio-common/tst-sprintf.c: Include <locale.h>
17320         (main): Test sprintf's handling of incomplete multibyte
17321         characters.
17323 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
17325         * elf/dl-runtime.c (VERSYMIDX): Removed.
17326         * elf/dl-version.c (VERSYMIDX): Likewise.
17327         * elf/do-rel.h (VERSYMIDX): Likewise.
17328         (VALIDX): Likewise.
17329         * elf/dynamic-link.h (VERSYMIDX): Likewise.
17330         * elf/rtld.c (VALIDX): Likewise.
17331         (ADDRIDX): Likewise.
17332         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
17333         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
17334         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
17335         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
17336         (VALIDX): Likewise.
17337         (ADDRIDX): Likewise.
17339 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
17341         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
17343 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
17345         [BZ #11438]
17346         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
17347         to global scope.
17348         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
17349         addresses are in the same scope as 192.0.2/24.
17350         * posix/gai.conf: Document new scope table defaults.
17352 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17354         [BZ #5298]
17355         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
17356         for ftell.  Compute offsets from write pointers instead.
17357         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17359 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17361         [BZ #14543]
17362         * libio/Makefile (tests): New test case tst-fseek.
17363         * libio/tst-fseek.c: New test case to verify that fseek/ftell
17364         combination works in wide mode.
17365         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
17366         state when the external buffer state changes.
17368 2012-09-27  David S. Miller  <davem@davemloft.net>
17370         [BZ #14376]
17371         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
17372         pass reloc->r_addend in as the 'high' argument to
17373         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
17375         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17377 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
17379         * rt/tst-aio2.c: Include <pthread.h>.
17380         * rt/tst-aio3.c: Likewise.
17382 2012-09-27  Steve Ellcey  <sellcey@mips.com>
17384         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
17386 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
17388         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
17389         contents on [SHARED].
17391 2012-09-26  Marek Polacek  <polacek@redhat.com>
17393         [BZ #14530]
17394         [BZ #13741]
17395         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
17396         for C++ and GCC <4.3 as well as for non GCC compilers.
17398 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
17400         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17402 2012-09-25  Roland McGrath  <roland@hack.frob.com>
17404         * Makefile.in (all, install): Declare with .PHONY.
17405         Reported by Michael Hope <michael.hope@linaro.org>.
17407 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17409         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
17410         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
17411         system header.
17412         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
17413         Likewise.
17414         (sydep_routines): Add the new and the internal functions.
17415         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
17416         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
17417         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
17418         (GLIBC_2.17): Add the new function.
17419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17420         (GLIBC_2.17): Likewise.
17421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
17422         (GLIBC_2.17): Likewise.
17423         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
17424         (GLIBC_2.17): Likewise.
17425         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
17427 2012-09-25  Alan Modra  <amodra@gmail.com>
17429         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
17430         Add release barrier before setting once_control to say
17431         initialisation is done.  Add hints on lwarx.  Use macro in
17432         place of isync.
17433         (clear_once_control): Add release barrier.
17435 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
17437         [BZ #13629]
17438         * math/s_clog.c (__clog): Handle more values close to |z| = 1
17439         specially.
17440         * math/s_clog10.c (__clog10): Likewise.
17441         * math/s_clog10f.c (__clog10f): Likewise.
17442         * math/s_clog10l.c (__clog10l): Likewise.
17443         * math/s_clogf.c (__clogf): Likewise.
17444         * math/s_clogl.c (__clogl): Likewise.
17445         * math/Makefile (libm-calls): Add x2y2m1.
17446         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
17447         (__x2y2m1): Likewise.
17448         (__x2y2m1l): Likewise.
17449         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
17450         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
17451         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17452         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17453         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
17454         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
17455         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
17456         * sysdeps/i386/fpu/libm-test-ulps: Update.
17457         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17459         [BZ #14621]
17460         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
17461         int as type of variable DEPTH.
17462         (glob): Use size_t instead of int as type of variables NEWCOUNT
17463         and OLD_PATHC.
17465 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17467         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17468         Add s_sincosf-sse2.
17469         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
17470         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
17471         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
17472         macros for using routine as __sincosf_ia32.
17473         Use macro for function declaration and weak_alias.
17474         * sysdeps/i386/fpu/libm-test-ulps: Update.
17476         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
17477         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17479         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
17480         subnormal argument.
17481         * math/s_cexpf.c (__cexpf): Likewise.
17482         * math/s_csinf.c (__csinf): Likewise.
17483         * math/s_csinhf.c (__csinhf): Likewise.
17484         * math/s_ctanf.c (__ctanf): Likewise.
17485         * math/s_ctanhf.c (__ctanhf): Likewise.
17486         * math/s_ccosh.c (__ccoshf): Likewise.
17487         * math/s_cexp.c (__cexpl): Likewise.
17488         * math/s_csin.c (__csin): Likewise.
17489         * math/s_csinh.c (__csinh): Likewise.
17490         * math/s_ctan.c (__ctan): Likewise.
17491         * math/s_ctanh.c (ctanh): Likewise.
17492         * math/s_ccoshl.c (__ccoshl): Likewise.
17493         * math/s_cexpl.c (__cexpl): Likewise.
17494         * math/s_csinl.c (__csinl): Likewise.
17495         * math/s_csinhl.c (__csinhl): Likewise.
17496         * math/s_ctanl.c (__ctanl): Likewise.
17497         * math/s_ctanhl.c (__ctanhl): Likewise.
17499 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
17501         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
17502         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
17503         (_IO_off_t): Define to __off_t, not _G_off_t.
17504         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
17505         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
17506         (_IO_wint_t): Define to wint_t, not _G_wint_t.
17507         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
17508         type of __dummy and __dummy2 fields.
17509         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
17510         (_G_ssize_t): Likewise.
17511         (_G_off_t): Likewise.
17512         (_G_pid_t): Likewise.
17513         (_G_uid_t): Likewise.
17514         (_G_wchar_t): Likewise.
17515         (_G_wint_t): Likewise.
17516         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
17517         (_G_ssize_t): Likewise.
17518         (_G_off_t): Likewise.
17519         (_G_pid_t): Likewise.
17520         (_G_uid_t): Likewise.
17521         (_G_wchar_t): Likewise.
17522         (_G_wint_t): Likewise.
17523         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
17524         (_G_ssize_t): Likewise.
17525         (_G_off_t): Likewise.
17526         (_G_pid_t): Likewise.
17527         (_G_uid_t): Likewise.
17528         (_G_wchar_t): Likewise.
17529         (_G_wint_t): Likewise.
17531 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17533         * malloc/arena.c: Include malloc-sysdep.h.
17534         (shrink_heap): Use check_may_shrink_heap to decide if madvise
17535         is sufficient to shrink the heap or an unmap is needed.
17536         * sysdeps/generic/malloc-sysdep.h: New file.  Define
17537         new function check_may_shrink_heap.
17538         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
17539         new function check_may_shrink_heap.
17541 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17543         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
17544         comments.
17546 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
17548         * catgets/test-gencat.sh: Add "set -e".
17549         * elf/tst-pathopt.sh: Likewise.
17550         * grp/tst_fgetgrent.sh: Likewise.
17551         * iconvdata/run-iconv-test.sh: Likewise.
17552         * intl/tst-gettext.sh: Likewise.
17553         * intl/tst-gettext2.sh: Likewise.
17554         * intl/tst-gettext4.sh: Likewise.
17555         * intl/tst-gettext6.sh: Likewise.
17556         * intl/tst-translit.sh: Likewise.
17557         * io/ftwtest-sh: Likewise.
17558         * libio/test-freopen.sh: Likewise.
17559         * malloc/tst-mtrace.sh: Likewise.
17560         * posix/globtest.sh: Likewise.
17561         * posix/tst-getconf.sh: Likewise.
17562         * posix/wordexp-tst.sh: Likewise.
17563         * stdio-common/tst-printf.sh: Likewise.
17564         * stdio-common/tst-unbputc.sh: Likewise.
17565         * stdlib/tst-fmtmsg.sh: Likewise.
17566         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17567         * catgets/Makefile: Do not specify -e option when running
17568         testsuite shell scripts.
17569         * elf/Makefile: Likewise.
17570         * grp/Makefile: Likewise.
17571         * iconvdata/Makefile: Likewise.
17572         * intl/Makefile: Likewise.
17573         * io/Makefile: Likewise.
17574         * libio/Makefile: Likewise.
17575         * malloc/Makefile: Likewise.
17576         * posix/Makefile: Likewise.
17577         * stdio-common/Makefile: Likewise.
17578         * stdlib/Makefile: Likewise.
17579         * sysdeps/x86_64/Makefile: Likewise.
17581         * io/ftwtest-sh: Add copyright header.
17582         * posix/globtest.sh: Likewise.
17583         * posix/tst-getconf.sh: Likewise.
17584         * posix/wordexp-tst.sh: Likewise.
17585         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17587 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
17589         [BZ #13679]
17590         * Makeconfig (+link): Defined as $(+link-static) if
17591         $(build-shared) isn't yes.
17592         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
17593         isn't yes.
17594         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
17596         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
17598         [BZ #14562]
17599         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
17600         new chunk size with MALLOC_ALIGN_MASK.
17602 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
17604         [BZ #5044]
17605         * stdio-common/printf_fphex.c: Include <stdbool.h> and
17606         <rounding-mode.h>.
17607         (__printf_fphex): Determine rounding using get_rounding_mode and
17608         round_away.
17609         * stdio-common/tst-printf-round.c (struct hex_test): New
17610         structure.
17611         (hex_tests): New variable.
17612         (test_hex_in_one_mode): New function.
17613         (do_test): Also run tests for hex float output.
17615 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
17617         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17618         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17619         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
17620         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17621         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17622         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
17623         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17624         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17626 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
17628         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
17629         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
17630         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
17631         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
17633 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
17635         [BZ #14579]
17636         * elf/rtld.c (dl_main): Limit the check for self loading to normal
17637         mode only.
17638         * elf/tst-rtld-load-self.sh: New test.
17639         * elf/Makefile: Run it.
17641 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
17643         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
17644         (tst-writev-ENV): Remove.
17645         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
17647 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
17649         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
17651 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
17653         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
17654         unconditional.
17655         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
17656         Likewise.
17657         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
17658         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
17659         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
17660         Likewise.
17662 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
17664         [BZ #14587]
17665         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
17666         * config.make.in (have-cpp-asm-debuginfo): Removed.
17667         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
17668         * configure: Regenerated.
17670 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
17672         [BZ #5044]
17673         * stdio-common/printf_fp.c: Include <stdbool.h> and
17674         <rounding-mode.h>.
17675         (___printf_fp): Determine rounding using get_rounding_mode and
17676         round_away.
17677         * stdio-common/tst-printf-round.c: New file.
17678         * stdio-common/Makefile (tests): Add tst-printf-round.
17679         (link-libm): New variable.
17680         ($(objpfx)tst-printf-round): Depend in $(link-libm).
17682 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
17684         [BZ #14576]
17685         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
17686         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
17687         Likewise.
17688         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
17689         Likewise.
17691 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
17693         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
17694         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17695         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17696         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17698 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
17700         [BZ #14518]
17701         * include/rounding-mode.h: New file.
17702         * sysdeps/generic/get-rounding-mode.h: Likewise.
17703         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
17704         * stdlib/strtod_l.c: Include <rounding-mode.h>.
17705         (MAX_VALUE): New macro.
17706         (MIN_VALUE): Likewise.
17707         (overflow_value): New function.
17708         (underflow_value): Likewise.
17709         (round_and_return): Use overflow_value and underflow_value to
17710         determine return values in overflow and underflow cases.  Use
17711         round_away to determine rounding depending on rounding mode.
17712         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
17713         determine return values in overflow and underflow cases.
17714         * stdlib/tst-strtod-round.c: Include <fenv.h>.
17715         (struct test_results): New structure.
17716         (struct test): Use struct test_results to store expected results
17717         for all rounding modes.
17718         (TEST): Include expected results for all rounding modes.
17719         (test_in_one_mode): New function.
17720         (do_test): Use test_in_one_mode to compute and check results.
17721         Check results for all rounding modes.
17722         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
17723         $(link-libm).
17725 2012-12-09  Allan McRae  <allan@archlinux.org>
17727         * sysdeps/i386/fpu/libm-test-ulps: Update
17729 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
17731         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
17732         (_G_int32_t): Likewise.
17733         (_G_uint16_t): Likewise.
17734         (_G_uint32_t): Likewise.
17735         (_G_HAVE_BOOL): Likewise.
17736         (_G_HAVE_ATEXIT): Likewise.
17737         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17738         (_G_HAVE_IO_FILE_OPEN): Likewise.
17739         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
17740         (_G_int32_t): Likewise.
17741         (_G_uint16_t): Likewise.
17742         (_G_uint32_t): Likewise.
17743         (_G_HAVE_BOOL): Likewise.
17744         (_G_HAVE_ATEXIT): Likewise.
17745         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17746         (_G_HAVE_IO_FILE_OPEN): Likewise.
17747         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
17748         (_G_int32_t): Likewise.
17749         (_G_uint16_t): Likewise.
17750         (_G_uint32_t): Likewise.
17751         (_G_HAVE_BOOL): Likewise.
17752         (_G_HAVE_ATEXIT): Likewise.
17753         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17754         (_G_HAVE_IO_FILE_OPEN): Likewise.
17756 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
17758         * csu/libc-tls.c: Update copyright years.
17760 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
17762         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
17763         [!_G_USING_THUNKS]: Remove conditional code.
17764         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
17765         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
17767         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
17768         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
17769         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17770         (_G_VTABLE_LABEL_PREFIX): Likewise.
17771         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17772         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17773         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17774         (_G_VTABLE_LABEL_PREFIX): Likewise.
17775         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17776         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17777         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17778         (_G_VTABLE_LABEL_PREFIX): Likewise.
17779         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17781 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
17783         * libio/Makefile: Include ../Makeconfig before tests.
17784         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
17785         only if $(build-shared) is yes.
17787         * iconv/gconv_db.c: Update copyright years.
17789 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17791         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
17792         unwind info if defined PIC. Fix special cases description.
17793         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
17795         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
17796         DP_HI_MASK entry.
17797         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
17799 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
17801         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
17803         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
17804         is NULL.
17806         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
17807         (LDLIBS-tst-chk4): This.
17808         (LDFLAGS-tst-chk5): Renamed to ...
17809         (LDLIBS-tst-chk5): This.
17810         (LDFLAGS-tst-chk6): Renamed to ...
17811         (LDLIBS-tst-chk6): This.
17812         (LDFLAGS-tst-lfschk4): Renamed to ...
17813         (LDLIBS-tst-lfschk4): This.
17814         (LDFLAGS-tst-lfschk5): Renamed to ...
17815         (LDLIBS-tst-lfschk5): This.
17816         (LDFLAGS-tst-lfschk6): Renamed to ...
17817         (LDLIBS-tst-lfschk6): This.
17819         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
17820         on $(common-objpfx)soversions.mk.
17822 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
17824         [BZ #10014]
17825         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
17826         example host name.
17828 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
17830         * malloc/arena.c (arena_get_retry): New function that gets
17831         another arena for the caller to try its request on.
17832         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
17833         current arena cannot fulfill the request.
17834         (__libc_memalign): Likewise.
17835         (__libc_memalign): Likewise.
17836         (__libc_pvalloc): Likewise.
17837         (__libc_calloc): Likewise.
17839 2012-09-05  John Tobey  <john.tobey@gmail.com>
17841         [BZ #13542]
17842         * manual/arith.texi (Operations on Complex): Fix description
17843         of carg branch cut.
17845 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
17847         [BZ #10014]
17848         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
17849         host name.
17851         [BZ #10038]
17852         * manual/memory.texi (Memory): Make order of menu items match
17853         order of sections.
17855 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
17857         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
17858         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
17859         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
17861 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
17863         * csu/libc-tls.c (static_dtv): Renamed to ...
17864         (_dl_static_dtv): This.  Make it global.
17865         (_dl_initial_dtv): Removed.
17866         (__libc_setup_tls): Updated.
17867         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
17868         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
17869         DL_INITIAL_DTV.
17871 2012-09-06  Petr Machata  <pmachata@redhat.com>
17873         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
17874         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
17875         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
17876         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
17878 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
17880         [BZ #14545]
17881         * csu/libc-tls.c (_dl_initial_dtv): New variable.
17882         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
17883         freeing dtv[-1].
17885 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
17887         [BZ #14544]
17888         * Makeconfig (link-static-before-libc): Replace $(+prector)
17889         with $(+prectorT).
17890         (link-static-after-libc): Replace $(+postctor) with
17891         $(+postctorT).
17892         (link-bounded): Replace $(+prector)/$(+postctor) with
17893         $(+prectorT)/$(+postctorT).
17894         (+prectorT): New macro.
17895         (+postctorT): Likewise.
17897 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
17899         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
17900         (round_str): Handle values above the maximum for IBM long double
17901         as inexact.
17902         * stdlib/tst-strtod-round.c (tests): Regenerated.
17904 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17906         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
17907         assembler flag.
17908         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
17909         zarch_nohighgprs around the zarch optimized routines.
17910         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
17911         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
17912         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
17913         for zarch.
17915 2012-09-05  David S. Miller  <davem@davemloft.net>
17917         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17919         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
17920         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
17921         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
17922         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17923         entries.
17925 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
17927         * malloc/arena.c: Fold copyright years.
17928         * malloc/mcheck.c, malloc/memusage.c: Likewise.
17930 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
17932         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
17934 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
17936         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
17938 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
17940         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
17941         change internal state upon failure.
17943 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
17945         * malloc/mcheck.c (mcheck_check_all): Fix typo.
17946         * malloc/memusage.c (mmap): Likewise.
17947         (mmap64, mremap): Likewise.  Adjust name in comment.
17949 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17951         * libio/fileops.c: Fix typos in comments.
17952         * libio/oldfileops.c: Likewise.
17953         * libio/wfileops.c: Likewise.
17955 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17957         [BZ #1349]
17958         * malloc/Makefile (tests): Add tst-malloc-usable test case.
17959         (tst-malloc-usable-ENV): Set environment for test case.
17960         * malloc/hooks.c (malloc_check_get_size): New function to get
17961         requested size.
17962         * malloc/malloc.c (musable): Use malloc_check_get_size.
17963         * malloc/tst-malloc-usable.c: New test case.
17965 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
17967         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
17969 2012-09-05  Allan McRae  <allan@archlinux.org>
17971         [BZ #13966]
17972         * configure.in (CXX_SYSINCLUDES): Use compiler output to
17973         determine header location.
17974         * configure: Regenerated.
17976 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
17978         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
17979         float format.
17980         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
17981         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
17982         format.
17983         (test): Regenerate.
17985 2012-09-04  David S. Miller  <davem@davemloft.net>
17987         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
17988         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
17989         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
17991 2012-09-04  Florian Weimer  <fweimer@redhat.com>
17993         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
17994         failures.
17996         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
17998 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
18000         [BZ #9914]
18001         * libio/iogetdelim.c: Include <limits.h>.
18002         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
18003         + len + 1 would overflow.
18005 2012-09-03  Andreas Jaeger  <aj@suse.de>
18007         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18008         * sysdeps/i386/fpu/libm-test-ulps: Update.
18010 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18012         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
18013         Add s_sinf-sse2, s_conf-sse2.
18015         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
18016         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
18017         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
18018         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
18020         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
18021         for using routine as __sinf_ia32.
18022         Use macro for function declaration and weak_alias.
18023         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
18024         for using routine as __cosf_ia32.
18025         Use macro for function declaration and weak_alias.
18027         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
18028         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
18030         * sysdeps/x86_64/fpu/s_sinf.S: New file.
18031         * sysdeps/x86_64/fpu/s_cosf.S: New file.
18032         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18034         * math/libm-test.inc (cos_test): Add more test cases.
18035         (sin_test): Likewise.
18036         (sincos_test): Likewise.
18038 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18040         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
18041         (IFUNC_RESOLVE): Make pointers to the specialized implementations
18042         hidden.
18043         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
18045 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
18047         [BZ #14538]
18048         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
18049         first element of the GOT.
18050         (elf_machine_load_address): Return the difference between
18051         the runtime address of _DYNAMIC and elf_machine_dynamic ().
18053 2012-09-01  Allan McRae  <allan@archlinux.org>
18055         [BZ #13412]
18056         * configure.in (AWK): Require gawk version 3.0 or later.
18057         * configure: Regenerated.
18059 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
18061         * sysdeps/unix/sysv/linux/kernel-features.h
18062         (__ASSUME_POSIX_CPU_TIMERS): Remove.
18063         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18064         [__NR_clock_getres]: Make code unconditional.
18065         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
18066         (clock_getcpuclockid): Remove code left unreachable by removal of
18067         conditionals.
18068         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
18069         code unconditional.
18070         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18071         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18072         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
18073         Make code unconditional.
18074         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18075         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18076         * sysdeps/unix/sysv/linux/clock_settime.c
18077         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
18078         conditional code.
18079         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
18080         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18082 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
18084         [BZ #14476]
18085         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
18086         scripts/test-installation.pl.
18088         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
18089         and $ld_so_version if it is set.
18091 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18093         [BZ #14516]
18094         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
18095         failure if reading from procfs failed.
18096         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
18098 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
18100         * sysdeps/unix/sysv/linux/kernel-features.h
18101         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
18102         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18103         Remove conditional code.
18104         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18105         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
18106         Remove conditional code.
18107         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18108         * sysdeps/unix/sysv/linux/i386/fxstat.c
18109         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18110         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18111         * sysdeps/unix/sysv/linux/i386/fxstatat.c
18112         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18113         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18114         * sysdeps/unix/sysv/linux/i386/lxstat.c
18115         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18116         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18117         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
18118         Remove conditional code.
18119         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18120         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18121         Remove conditional code.
18122         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18123         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
18124         <kernel-features.h>.
18125         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
18126         Remove.
18127         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
18128         Remove conditional code.
18129         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18130         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
18131         Remove conditional.
18133 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
18135         [BZ #5400]
18136         * NEWS: Add fixed bug number.
18138 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
18140         [BZ #14519]
18141         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
18142         underflowing exponent in case of negative sign.
18143         * stdlib/tst-strtod-round-data: Add more tests.
18144         * stdlib/tst-strtod-round.c (tests): Regenerated.
18146         [BZ #3479]
18147         * stdlib/strtod_l.c (NDIG): Remove.
18148         (HEXNDIG): Likewise.
18149         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
18150         smallest representable value.
18151         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
18152         lie within an exact representation of 1/2 ulp of the result.
18153         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
18154         unconditionally.
18155         (TENS_P9_IDX): Define unconditionally.
18156         (TENS_P9_SIZE): Likewise.
18157         (TENS_P10_IDX): Likewise.
18158         (TENS_P10_SIZE): Likewise.
18159         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
18160         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
18161         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
18162         entries for 10^2^13 and 10^2^14.
18163         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
18164         (TENS_P13_IDX): Define.
18165         (TENS_P13_SIZE): Likewise.
18166         (TENS_P14_IDX): Likewise.
18167         (TENS_P14_SIZE): Likewise.
18168         (_fpioconst_pow10): Change array size to
18169         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
18170         unconditional.
18171         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
18172         1024]: Add entries for 10^2^13 and 10^2^14.
18173         [LAST_POW10 > _LAST_POW10]: Remove #error.
18174         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
18175         (_fpioconst_pow10): Change array size to
18176         FPIOCONST_POW10_ARRAY_SIZE.
18177         * stdlib/gen-fpioconst.c: New file.
18178         * stdlib/gen-tst-strtod-round.c: Likewise.
18179         * stdlib/tst-strtod-round-data: Likewise.
18180         * stdlib/tst-strtod-round.c: Likewise.
18181         * stdlib/Makefile (tests): Add tst-strtod-round.
18183         [BZ #14459]
18184         * stdlib/strtod_l.c: Include <stdint.h>.
18185         (NDEBUG): Do not define.
18186         (round_and_return): Change EXPONENT parameter to type intmax_t.
18187         Rearrange calculations to avoid internal overflow possibilities.
18188         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
18189         Rearrange calculations to avoid internal overflow possibilities.
18190         Assert that number fits inside MPNSIZE limbs.
18191         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
18192         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
18193         calculations and add assertions to avoid internal overflow
18194         possibilities.  Add casts to avoid signed/unsigned operations.
18195         * stdlib/tst-strtod-overflow.c: New file.
18196         * stdlib/Makefile (tests): Add tst-strtod-overflow.
18198 2012-08-25  Marek Polacek  <polacek@redhat.com>
18200         * time/time.h: Fix some typos in comments.
18202 2012-08-23  Roland McGrath  <roland@hack.frob.com>
18204         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
18205         * posix/tst-rfc3484-2.c: Likewise.
18206         * posix/tst-rfc3484-3.c: Likewise.
18208 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
18210         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
18211         (EF_ARM_ABI_FLOAT_HARD): Likewise.
18213 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
18215         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
18216         #include of fxstatat64.c.
18218 2012-08-22  Roland McGrath  <roland@hack.frob.com>
18220         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
18221         * shadow/getspent_r.c: Likewise.
18222         * shadow/getspnam.c: Likewise.
18223         * shadow/getspnam_r.c: Likewise.
18224         * gshadow/getsgent.c: Likewise.
18225         * gshadow/getsgent_r.c: Likewise.
18226         * gshadow/getsgnam.c: Likewise.
18227         * gshadow/getsgnam_r.c: Likewise.
18228         * inet/getnetbyad.c: Likewise.
18229         * inet/getnetbyad_r.c: Likewise.
18230         * inet/getnetbynm.c: Likewise.
18231         * inet/getnetbynm_r.c: Likewise.
18232         * inet/getnetent.c: Likewise.
18233         * inet/getnetent_r.c: Likewise.
18234         * inet/getproto.c: Likewise.
18235         * inet/getproto_r.c: Likewise.
18236         * inet/getprtent.c: Likewise.
18237         * inet/getprtent_r.c: Likewise.
18238         * inet/getprtname.c: Likewise.
18239         * inet/getprtname_r.c: Likewise.
18240         * inet/getrpcbyname.c: Likewise.
18241         * inet/getrpcbyname_r.c: Likewise.
18242         * inet/getrpcbynumber.c: Likewise.
18243         * inet/getrpcbynumber_r.c: Likewise.
18244         * inet/getrpcent.c: Likewise.
18245         * inet/getrpcent_r.c: Likewise.
18246         * inet/getaliasent.c: Likewise.
18247         * inet/getaliasent_r.c: Likewise.
18248         * inet/getaliasname.c: Likewise.
18249         * inet/getaliasname_r.c: Likewise.
18250         * nscd/getgrgid_r.c: Likewise.
18251         * nscd/getgrnam_r.c: Likewise.
18252         * nscd/gethstbyad_r.c: Likewise.
18253         * nscd/gethstbynm3_r.c: Likewise.
18254         * nscd/getpwnam_r.c: Likewise.
18255         * nscd/getpwuid_r.c: Likewise.
18256         * nscd/getsrvbynm_r.c: Likewise.
18257         * nscd/getsrvbypt_r.c: Likewise.
18258         * nscd/gai.c: Likewise.
18260         * configure.in (build_nscd): New substituted variable, set
18261         by --disable-build-nscd and defaults to $use_nscd.
18262         * configure: Regenerated.
18263         * config.make.in (build-nscd): New substituted variable.
18264         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
18265         Change conditional to require [$(build-nscd) = yes] as well.
18266         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
18268         [BZ# 13696]
18269         * configure.in (use_nscd): New substituted variable, set by
18270         --disable-nscd.  If enabled, define USE_NSCD.
18271         * configure: Regenerated.
18272         * config.h.in: Add USE_NSCD.
18273         * config.make.in (use-nscd): New substituted variable.
18274         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18275         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
18276         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
18277         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
18278         (CFLAGS-getgrnam_r.c): Likewise.
18279         (CFLAGS-initgroups.c): Likewise.
18280         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
18281         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
18282         Variables removed.
18283         * inet/getnetgrent_r.c
18284         (nscd_setnetgrent): New function, broken out of ...
18285         (setnetgrent): ... here.  Call it.
18286         (innetgr): Conditionalize nscd bits on [USE_NSCD].
18287         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
18288         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
18289         * nscd/Makefile (routines, aux): Move definitions after include of
18290         Makeconfig.  Conditionalize on [$(use-nscd) != no].
18291         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
18292         Conditionalize on [USE_NSCD].
18293         (is_nscd, nscd_init_cb): Likewise.
18294         (nss_load_library): Conditionalize init callback on [USE_NSCD].
18295         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
18296         * nss/nss_db/db-init.c: Likewise.
18297         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
18298         [USE_NSCD].
18299         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
18300         (make_request): Use it.
18301         (cache_valid_p): New function.
18302         (__check_pf): Use it.
18303         * NEWS: Add item for --disable-nscd.
18305 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
18307         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
18308         to support sed >= 4.2.1-20-ga9bf076.
18309         * configure: Regenerated.
18311 2012-08-22  Roland McGrath  <roland@hack.frob.com>
18313         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
18314         Conditionalize whole body on [IREL].
18316 2012-08-22  Jeff Law <law@redhat.com>
18318         [BZ #14505]
18319         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
18320         if the family is PF_UNSPEC.
18322 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
18324         * Makerules (lib-version): Rename from V.
18325         (install-lib-nosubdir): Change V to lib-version.
18327 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
18329         [BZ #14252]
18330         * powerpc32/power6/wcschr.c: New file.
18331         * powerpc32/power6/wcscpy.c: New file.
18332         * powerpc32/power6/wcsrchr.c: New file.
18333         * powerpc64/power6/wcschr.c: New file.
18334         * powerpc64/power6/wcscpy.c: New file.
18335         * powerpc64/power6/wcsrchr.c: New file.
18337 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
18339         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
18340         (two_way_short_needle): Use it.
18341         * string/strstr.c (AVAILABLE1_USES_J): Define.
18342         * string/strcasestr.c: Likewise.
18344         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
18345         array references.
18346         * string/strcasestr.c (TOLOWER): Make side-effect safe.
18348         [BZ #11607]
18349         * NEWS: Add an entry.
18350         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
18351         define their defaults.
18352         (two_way_short_needle): Detect end-of-string on-the-fly.
18353         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
18354         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
18355         * string/bug-strcasestr1.c: New test.
18356         * string/Makefile: Run it.
18358 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
18360         [BZ #11607]
18361         * string/str-two-way.h (two_way_short_needle): Optimize matching of
18362         the first character.
18364 2012-08-21  Roland McGrath  <roland@hack.frob.com>
18366         * csu/elf-init.c (__libc_csu_irel): Function removed.
18367         * csu/libc-start.c (apply_irel): New function.
18368         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
18370 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
18372         * sysdeps/unix/sysv/linux/kernel-features.h
18373         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
18374         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18375         <kernel-features.h>.
18376         [__NR_fadvise64_64]: Make code unconditional.
18377         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
18378         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18379         !__NR_fadvise64_64)]: Likewise.
18380         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18381         !__NR_fadvise64_64))]: Likewise.
18382         [__NR_fadvise64]: Make code unconditional.
18383         [!__NR_fadvise64]: Remove conditional code.
18384         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
18385         <kernel-features.h>.
18386         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18387         unconditional.
18388         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18389         conditional code.
18390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
18391         not include <kernel-features.h>.
18392         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18393         unconditional.
18394         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18395         conditional code.
18396         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
18397         include <kernel-features.h>.
18398         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18399         unconditional.
18400         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18401         conditional code.
18403 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
18405         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
18406         slight instruction rearrangements per scrollpipe analysis.
18407         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18409 2012-08-20  Roland McGrath  <roland@hack.frob.com>
18411         * manual/syslog.texi (syslog; vsyslog, closelog):
18412         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
18413         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
18415         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
18416         DSOCAPS to match condition on defining it.
18418 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
18420         * sysdeps/unix/sysv/linux/kernel-features.h
18421         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
18422         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
18423         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18424         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
18426         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18427         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18428         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
18429         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18430         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18432         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
18433         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
18435         * sysdeps/unix/sysv/linux/kernel-features.h
18436         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
18437         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
18438         unconditional.
18439         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18440         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
18441         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18442         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18443         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
18444         Make code unconditional.
18445         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18446         (__mmap64) [!__NR_mmap2]: Likewise.
18447         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
18448         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18449         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18450         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
18451         [__NR_mmap2]: Make code unconditional.
18452         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18453         (__mmap64) [!__NR_mmap2]: Likewise.
18455 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18457         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
18459 2012-08-18  Andreas Jaeger  <aj@suse.de>
18461         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
18463 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
18465         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
18466         * include/unistd.h (__have_sock_cloexec): Likewise.
18467         (__have_pipe2): Likewise.
18468         (__have_dup3): Likewise.
18470 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
18472         [BZ #9685]
18473         * include/unistd.h (__have_pipe2): Change define into an extern int.
18474         (__have_dup3): Likewise.
18475         * socket/have_sock_cloexec.c: Include fcntl.h.
18476         (__have_pipe2): New variable.
18477         (__have_dup3): Likewise.
18479 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
18481         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
18483 2012-08-17  Marek Polacek  <polacek@redhat.com>
18485         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
18486         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
18488 2012-08-17  Roland McGrath  <roland@hack.frob.com>
18490         * configure.in: Add AC_SUBST for sysheaders.
18491         * configure: Regenerated.
18492         * config.make.in (sysheaders): New substituted variable.
18494         * sysdeps/unix/mkfifo.c: Moved ...
18495         * sysdeps/posix/mkfifo.c: ... here.
18496         * sysdeps/unix/mkfifoat.c: Moved ...
18497         * sysdeps/posix/mkfifoat.c: ... here.
18499         * sysdeps/unix/utime.c: Moved ...
18500         * sysdeps/posix/utime.c: ... here.
18502         * sysdeps/unix/time.c: Moved ...
18503         * sysdeps/posix/time.c: ... here.
18504         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
18505         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
18507         * sysdeps/unix/nice.c: Moved ...
18508         * sysdeps/posix/nice.c: ... here.
18510         * sysdeps/unix/alarm.c: Moved ...
18511         * sysdeps/posix/alarm.c: ... here.
18513         * intl/Makefile ($(codeset_mo)): Depend on the input file.
18515 2012-08-17  Jeff Law <law@redhat.com>
18517         * intl/Makefile (codeset_mo): New variable.
18518         ($(codeset_mo)): New target.
18519         (tst-codeset.out): Depend on that.  Remove explicit rule.
18520         (tst-gettext3.out, tst-gettext5.out): Likewise.
18521         (LOCPATH-ENV, tst-codeset-ENV): New variables.
18522         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
18523         * intl/tst-codeset.sh: Remove.
18524         * intl/tst-gettext3.sh: Likewise.
18525         * intl/tst-gettext5.sh: Likewise.
18527 2012-08-17  Roland McGrath  <roland@hack.frob.com>
18529         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
18530         * sysdeps/unix/syscalls.list: ... here.
18532         * sysdeps/posix/getaddrinfo.c
18533         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
18534         (gaiconf_init, gaiconf_reload): Use them.
18535         [!_STATBUF_ST_NSEC]
18536         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
18537         Define using time_t rather than struct timespec.
18539         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
18540         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
18541         Macros removed.
18542         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
18543         [!NO_THREADS].
18544         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
18545         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
18546         Likewise.
18548         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
18549         __libc_cleanup_push argument.
18551         * bits/param.h: New file.
18552         * misc/sys/param.h: New file.
18553         * include/sys/param.h: New file.
18554         * misc/Makefile (headers): Add bits/param.h.
18555         * sysdeps/generic/sys/param.h: File removed.
18556         * sysdeps/unix/sysv/linux/bits/param.h: New file.
18557         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
18558         * sysdeps/mach/hurd/bits/param.h: New file.
18559         * sysdeps/mach/hurd/sys/param.h: File removed.
18561         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
18562         last change.
18564         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
18565         [_IO_MTSAFE_IO].
18566         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
18567         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
18568         New macros.
18570         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
18571         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
18572         rather than -D_IO_MTSAFE_IO conditionally.
18573         * stdio-common/Makefile (CPPFLAGS): Likewise.
18574         * wcsmbs/Makefile (CPPFLAGS): Likewise.
18575         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
18576         Use $(libio-mtsafe).
18577         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
18578         of -D_IO_MTSAFE_IO.
18579         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
18580         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
18581         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
18582         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
18583         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
18584         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
18585         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
18586         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
18587         (CFLAGS-fread_u_chk.c): Likewise.
18588         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
18589         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
18590         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
18591         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
18592         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
18593         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
18594         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
18595         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
18596         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
18598         * libio/Makefile: Test [$(libc-reentrant) = yes]
18599         instead of [$(filter %REENTRANT, $(defines)) nonempty].
18601         * Makeconfig
18602         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
18603         * sysdeps/pthread/configure: File removed.
18604         * sysdeps/pthread/Makeconfig: New file.
18605         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
18606         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
18608 2012-08-16  Gary Benson  <gbenson@redhat.com>
18610         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
18611         unmapping the first object in a namespace.
18613 2012-08-16  Roland McGrath  <roland@hack.frob.com>
18615         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
18616         (__internal_setnetgrent): ... this.  Add internal_function to
18617         definition.  Add libc_hidden_def.
18618         (setnetgrent): Update caller.
18619         (internal_endnetgrent): Renamed to ...
18620         (__internal_endnetgrent): ... this.  Add internal_function to
18621         definition.  Add libc_hidden_def.
18622         (endnetgrent): Update caller.
18623         (internal_getnetgrent_r): Renamed to ...
18624         (__internal_getnetgrent_r): ... this.  Add internal_function to
18625         definition.  Add libc_hidden_def.
18626         (__getnetgrent_r): Update caller.
18627         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
18629 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
18631         * stdlib/longlong.h: Update from GCC.
18633 2012-08-16  Roland McGrath  <roland@hack.frob.com>
18635         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
18636         on _QL, which is set by umul_ppmm but never used.
18637         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
18638         variables, which are set by GMP macros but never used.
18639         * stdio-common/_itowa.c (_itowa): Likewise.
18640         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
18641         * stdlib/mod_1.c (mpn_mod_1): Likewise.
18643 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
18645         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
18646         struct La_sh_regs is not constant.
18647         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
18648         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
18649         and struct La_sparc64_regs are not constant.
18651 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
18653         * sysdeps/unix/sysv/linux/kernel-features.h
18654         (__ASSUME_POSIX_TIMERS): Remove.
18655         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18656         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18657         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
18658         Make code unconditional.
18659         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18660         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
18661         Make code unconditional.
18662         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18663         * sysdeps/unix/sysv/linux/clock_nanosleep.c
18664         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
18665         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18666         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
18667         Make code unconditional.
18668         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18669         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
18670         (__libc_missing_posix_timers): Remove.
18672 2012-08-15  Roland McGrath  <roland@hack.frob.com>
18674         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
18675         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
18677         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
18679         * elf/dl-sym.c: Include <stdlib.h>.
18681         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
18682         constants, which avoids warnings in 32-bit builds.
18684         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
18685         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
18687         * misc/lseek.c: File moved to ...
18688         * io/lseek.c: ... here.
18690         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
18692         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
18693         shifting LEN more than 31 bits at once.
18695 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18697         [BZ #14195]
18698         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
18699         segmentation fault for a case of two empty input strings.
18700         * string/test-strncasecmp.c (check1): Renamed to...
18701         (bz12205): ...this.
18702         (bz14195): Add new testcase for two empty input strings and N > 0.
18703         (test_main): Call new testcase, adapt for renamed function.
18705 2012-08-15  Andreas Jaeger  <aj@suse.de>
18707         [BZ #14090]
18708         * crypt/md5test2.c: New test, based on test supplied by Serge
18709         Belyshev <belyshev@depni.sinp.msu.ru>.
18710         * crypt/Makefile (xtests): Add md5test-giant..
18711         * crypt/Makefile ($(objpfx)md5test-giant): Add.
18713 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
18715         [BZ #14090]
18716         * crypt/md5.c (md5_process_block): Don't assume the buffer
18717         length is less than 2**32.
18718         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
18719         length is less than 2**64.
18721 2012-08-15  Roland McGrath  <roland@hack.frob.com>
18723         * string/str-two-way.h: Include <sys/param.h>.
18724         (MAX): Macro removed.
18726         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
18727         Move #define and #undef of memmove to just before and after
18728         including <string.h>.
18730         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
18731         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
18732         and after including <string.h>.  Move declarations of
18733         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
18734         to before #include "string/memmove.c".
18736         * include/dirent.h: Declare __getdirentries.
18738         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
18739         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
18741 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
18743         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
18744         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
18745         * sysdeps/i386/configure: Regenerated.
18746         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
18747         STABS_CURRENT_FILE, and STABS_FUN.
18748         (END): Remove call to STABS_FUN_END.
18749         (STABS_CURRENT_FILE1): Delete.
18750         (STABS_CURRENT_FILE): Likewise.
18751         (STABS_FUN): Likewise.
18752         (STABS_FUN_END): Likewise.
18753         (STABS_FUN2): Likewise.
18754         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
18755         * sysdeps/x86_64/configure: Regenerated.
18757 2012-08-14  Roland McGrath  <roland@hack.frob.com>
18759         * elf/dl-open.c: Include <atomic.h>.
18760         * elf/dl-lookup.c: Likewise.
18762 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
18764         * sysdeps/unix/sysv/linux/kernel-features.h
18765         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
18766         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
18767         unconditionally.
18768         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
18769         unconditionally.
18770         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
18771         condition on __ASSUME_CLONE_THREAD_FLAGS.
18773 2012-08-14  Andreas Jaeger  <aj@suse.de>
18775         * sysdeps/i386/fpu/libm-test-ulps: Update.
18777 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
18779         * include/atomic.h (atomic_exchange_and_add): Split into ...
18780         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
18781         New atomic macros.
18783 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
18785         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18787 2012-08-13  Jeff Law <law@redhat.com>
18789         * manual/stdio.texi (snprintf): Clarify handling of the trailing
18790         null byte in the output string.
18792 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
18794         * sysdeps/unix/sysv/linux/kernel-features.h
18795         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
18796         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
18797         (__ASSUME_ARG_MAX_STACK_BASED): Define.
18798         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18799         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
18800         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
18801         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
18803 2012-08-09  Jeff Law <law@redhat.com>
18805         [BZ #13939]
18806         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
18807         When avoid_arena is set, don't retry in the that arena.  Pick the
18808         next one, whatever it might be.
18809         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
18810         (arena_lock): Pass in new parameter to arena_get2.
18811         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
18812         arena_get2.
18813         (__libc_malloc): Unify retrying after main arena failure with
18814         __libc_memalign version.
18815         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
18817 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
18819         [BZ #14166]
18820         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
18821         to __redirect_strstr.
18822         (__strstr_sse42): Use typeof __redirect_strstr.
18823         (__strstr_ia32): Likewise.
18824         (__libc_strstr): New prototype.
18825         (strstr): Renamed to ...
18826         (__libc_strstr): This.
18827         (strstr): New strong alias of __libc_strstr.
18828         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18829         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
18830         __redirect_time.
18831         Include <time.h>.
18832         (__libc_time): New prototype.
18833         (time_ifunc): Replace time with __libc_time.
18834         (time): New strong alias and hidden definition of __libc_time.
18835         (__GI_time): Remove strong alias.
18836         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
18837         Include <stddef.h>.
18838         (memmove): Redefined to __redirect_memmove.
18839         (__memmove_sse2): Use typeof __redirect_memmove.
18840         (__memmove_ssse3): Likewise.
18841         (__memmove_ssse3_back): Likewise.
18842         (__libc_memmove): New prototype.
18843         (memmove): Renamed to ...
18844         (__libc_memmove): This.
18845         (memmove): New strong alias of __libc_memmove.
18847 2012-08-08  Mark Salter  <msalter@redhat.com>
18849         * elf/elf.h
18850         (R_MN10300_TLS_GD): Define.
18851         (R_MN10300_TLS_LD): Likewise.
18852         (R_MN10300_TLS_LDO): Likewise.
18853         (R_MN10300_TLS_GOTIE): Likewise.
18854         (R_MN10300_TLS_IE): Likewise.
18855         (R_MN10300_TLS_LE): Likewise.
18856         (R_MN10300_TLS_DTPMOD): Likewise.
18857         (R_MN10300_TLS_DTPOFF): Likewise.
18858         (R_MN10300_TLS_TPOFF): Likewise.
18859         (R_MN10300_SYM_DIFF): Likewise.
18860         (R_MN10300_ALIGN): Likewise.
18861         (R_MN10300_NUM): Update.
18863 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
18865         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
18866         Remove.
18868 2012-08-08  Roland McGrath  <roland@hack.frob.com>
18870         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
18872         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
18873         sysdeps/unix -> sysdeps/posix move.
18874         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18876 2012-08-07      Allan McRae     <allan@archlinux.org>
18878         [BZ #14303]
18879         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
18880         (SUNOS_CPP): Likewise.
18881         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
18882         not found.
18883         (open_input): Call CPP using execvp.
18885 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
18887         * sysdeps/unix/sysv/linux/kernel-features.h
18888         (__ASSUME_PROT_GROWSUPDOWN): Remove.
18889         (__ASSUME_NO_CLONE_DETACHED): Likewise.
18890         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18891         (__ASSUME_WAITID_SYSCALL): Likewise.
18892         * sysdeps/unix/sysv/linux/dl-execstack.c
18893         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
18894         code unconditional.
18895         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
18896         conditional code.
18897         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
18898         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
18899         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
18900         code.
18901         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
18902         unconditional.
18903         [__ASSUME_WAITID_SYSCALL]: Likewise.
18904         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
18906 2012-08-07  Roland McGrath  <roland@hack.frob.com>
18908         * sysdeps/unix/closedir.c: Renamed to ...
18909         * sysdeps/posix/closedir.c: ... here.
18910         * sysdeps/unix/dirfd.c: Renamed to ...
18911         * sysdeps/posix/dirfd.c: ... here.
18912         * sysdeps/unix/dirstream.h: Renamed to ...
18913         * sysdeps/posix/dirstream.h: ... here.
18914         * sysdeps/unix/fdopendir.c: Renamed to ...
18915         * sysdeps/posix/fdopendir.c: ... here.
18916         * sysdeps/unix/opendir.c: Renamed to ...
18917         * sysdeps/posix/opendir.c: ... here.
18918         * sysdeps/unix/readdir.c: Renamed to ...
18919         * sysdeps/posix/readdir.c: ... here.
18920         * sysdeps/unix/readdir_r.c: Renamed to ...
18921         * sysdeps/posix/readdir_r.c: ... here.
18922         * sysdeps/unix/rewinddir.c: Renamed to ...
18923         * sysdeps/posix/rewinddir.c: ... here.
18924         * sysdeps/unix/seekdir.c: Renamed to ...
18925         * sysdeps/posix/seekdir.c: ... here.
18926         * sysdeps/unix/telldir.c: Renamed to ...
18927         * sysdeps/posix/telldir.c: ... here.
18928         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
18929         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
18930         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18931         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18933         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
18934         * bits/fcntl.h: ... here.
18936         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
18937         not 0.
18938         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
18939         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
18940         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
18941         (struct flock): Move l_start, l_len to the beginning.
18942         Use __pid_t for l_pid.
18943         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
18944         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
18945         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
18946         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
18947         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
18948         [__USE_LARGEFILE64] (struct flock64): New type.
18949         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
18951         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
18952         * bits/dirent.h: ... here.
18954         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
18955         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
18957 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
18959         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18960         Change from 2.6.0 to 2.6.16.
18961         * sysdeps/unix/sysv/linux/configure: Regenerated.
18962         * sysdeps/unix/sysv/linux/kernel-features.h
18963         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
18964         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
18965         version.
18966         (__ASSUME_UTIMES): Likewise.
18967         (__ASSUME_CLONE_STOPPED): Remove.
18968         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
18969         architectures, not kernel version.
18970         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
18971         (__ASSUME_NO_CLONE_DETACHED): Likewise.
18972         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18973         (__ASSUME_WAITID_SYSCALL): Likewise.
18974         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
18975         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
18976         * README: State 2.6.16 as minimum Linux kernel version.  Do not
18977         refer to older versions.
18979 2012-08-06  Roland McGrath  <roland@hack.frob.com>
18981         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
18982         Define alphasort64 as an alias.
18983         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
18984         Define versionsort64 as an alias.
18985         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
18986         Define scandir64 as an alias.
18987         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
18988         Define scandirat64 as an alias.
18989         * dirent/alphasort64.c (alphasort64):
18990         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
18991         * dirent/versionsort64.c: Likewise.
18992         * dirent/scandir64.c: Likewise.
18993         * dirent/scandirat64.c: Likewise.
18994         * sysdeps/wordsize-64/alphasort.c: File removed.
18995         * sysdeps/wordsize-64/alphasort64.c: File removed.
18996         * sysdeps/wordsize-64/scandir.c: File removed.
18997         * sysdeps/wordsize-64/scandir64.c: File removed.
18998         * sysdeps/wordsize-64/scandirat.c: File removed.
18999         * sysdeps/wordsize-64/scandirat64.c: File removed.
19000         * sysdeps/wordsize-64/versionsort.c: File removed.
19001         * sysdeps/wordsize-64/versionsort64.c: File removed.
19002         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
19003         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
19004         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
19005         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
19006         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
19007         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
19008         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
19009         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
19011         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
19012         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19013         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
19014         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19015         [defined __arch64__ || defined __sparcv9]
19016         (__INO_T_MATCHES_INO64_T): New macro.
19017         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19018         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
19019         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
19020         * sysdeps/unix/sysv/linux/bits/dirent.h
19021         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
19022         (_DIRENT_MATCHES_DIRENT64): New macro.
19024         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
19025         Define lockf64 as an alias.
19026         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
19027         Define fseeko64 as an alias.
19028         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
19029         Define ftello64 as an alias.
19030         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
19031         Define _IO_fgetpos64 and fgetpos64 as aliases.
19032         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
19033         Define _IO_fsetpos64 and fsetpos64 as aliases.
19034         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
19035         Conditionalize body on this.
19036         * libio/fseeko64.c: Likewise.
19037         * libio/ftello64.c: Likewise.
19038         * libio/iofgetpos64.c: Likewise.
19039         * libio/iofsetpos64.c: Likewise.
19040         * sysdeps/wordsize-64/lockf.c: File removed.
19041         * sysdeps/wordsize-64/lockf64.c: File removed.
19042         * sysdeps/wordsize-64/fseeko.c: File removed.
19043         * sysdeps/wordsize-64/fseeko64.c: File removed.
19044         * sysdeps/wordsize-64/ftello.c: File removed.
19045         * sysdeps/wordsize-64/ftello64.c: File removed.
19046         * sysdeps/wordsize-64/iofgetpos.c: File removed.
19047         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
19048         * sysdeps/wordsize-64/iofsetpos.c: File removed.
19049         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
19050         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
19051         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
19052         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
19053         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
19054         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
19055         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
19056         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
19057         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
19058         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
19059         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
19061         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19062         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19063         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
19064         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19065         [defined __arch64__ || defined __sparcv9]
19066         (__OFF_T_MATCHES_OFF64_T): New macro.
19067         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19068         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19069         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19070         (__OFF_T_MATCHES_OFF64_T): New macro.
19072 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
19074         * stdlib/secure-getenv.c (__secure_getenv): Replace
19075         GLIBC_2_16 with GLIBC_2_17.
19077 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
19079         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
19080         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19082 2012-08-03  David S. Miller  <davem@davemloft.net>
19084         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19086 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
19088         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
19089         Remove.
19090         (__ASSUME_CORRECT_SI_PID): Likewise.
19091         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
19092         (__ASSUME_TMPFS_NAME): Likewise.
19093         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
19094         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
19095         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
19096         (HAVE_AUX_SECURE): Make definition unconditional.
19097         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
19098         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
19100 2012-08-03  Roland McGrath  <roland@hack.frob.com>
19102         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
19103         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
19104         * sysdeps/mach/hurd/eloop-threshold.h: New file.
19105         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19106         __eloop_threshold instead of SYMLOOP_MAX.
19108         * sysdeps/generic/eloop-threshold.h: New file.
19109         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
19110         of MAXSYMLINKS.
19111         * elf/chroot_canon.c (chroot_canon): Likewise.
19113 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
19115         [BZ #13717]
19116         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19117         Change to 2.6.0 everywhere.
19118         * sysdeps/unix/sysv/linux/configure: Regenerated.
19119         * sysdeps/unix/sysv/linux/kernel-features.h
19120         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
19121         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
19122         kernel versions.
19123         (__ASSUME_POSIX_TIMERS): Define unconditionally.
19124         (__ASSUME_FUTEX_REQUEUE): Remove.
19125         (__ASSUME_STATFS64): Define unconditionally.
19126         (__ASSUME_AT_SECURE): Likewise.
19127         (__ASSUME_CORRECT_SI_PID): Likewise.
19128         (__ASSUME_TGKILL): Define without depending on kernel version for
19129         i386.
19130         (__ASSUME_UTIMES): Likewise.
19131         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
19132         kernel version.
19133         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
19134         (__ASSUME_TMPFS_NAME): Likewise.
19135         * README: Update reference to Linux kernel versions.
19137 2012-08-02  Marek Polacek  <polacek@redhat.com>
19139         [BZ# 14150]
19140         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
19141         libc_cv_asm_type_prefix with %.
19142         * configure: Regenerated.
19143         * include/libc-symbols.h: Remove comment about
19144         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19145         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
19146         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
19147         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
19148         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
19149         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19150         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
19151         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
19152         * elf/tst-unique2mod1.c: Likewise.
19153         * elf/tst-unique1mod2.c: Likewise.
19154         * elf/tst-unique1mod1.c: Likewise.
19155         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
19156         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
19157         Replace ASM_TYPE_DIRECTIVE with .type.
19158         * sysdeps/s390/s390-64/sysdep.h: Likewise.
19159         * sysdeps/i386/sysdep.h: Likewise.
19160         * sysdeps/x86_64/sysdep.h: Likewise.
19161         * sysdeps/sh/sysdep.h: Likewise.
19162         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19163         Do not define ASM_TYPE_DIRECTIVE.
19164         * sysdeps/powerpc/sysdep.h: Likewise.
19165         * sysdeps/powerpc/powerpc32/sysdep.h:
19166         Replace ASM_TYPE_DIRECTIVE with .type.
19167         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19168         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19169         * sysdeps/i386/fpu/e_powf.S: Likewise.
19170         * sysdeps/i386/fpu/e_expl.S: Likewise.
19171         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19172         * sysdeps/i386/fpu/e_acosh.S: Likewise.
19173         * sysdeps/i386/fpu/e_pow.S: Likewise.
19174         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19175         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19176         * sysdeps/i386/fpu/s_expm1.S: Likewise.
19177         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19178         * sysdeps/i386/fpu/e_log2.S: Likewise.
19179         * sysdeps/i386/fpu/e_log2l.S: Likewise.
19180         * sysdeps/i386/fpu/e_scalb.S: Likewise.
19181         * sysdeps/i386/fpu/e_powl.S: Likewise.
19182         * sysdeps/i386/fpu/e_log10f.S: Likewise.
19183         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19184         * sysdeps/i386/fpu/e_logl.S: Likewise.
19185         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19186         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19187         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19188         * sysdeps/i386/fpu/e_log2f.S: Likewise.
19189         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19190         * sysdeps/i386/fpu/e_log.S: Likewise.
19191         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19192         * sysdeps/i386/fpu/e_logf.S: Likewise.
19193         * sysdeps/i386/fpu/e_log10l.S: Likewise.
19194         * sysdeps/i386/fpu/e_atanh.S: Likewise.
19195         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19196         * sysdeps/i386/fpu/e_log10.S: Likewise.
19197         * sysdeps/i386/fpu/s_frexp.S: Likewise.
19198         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19199         * sysdeps/i386/fpu/s_asinh.S: Likewise.
19200         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19201         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19202         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
19203         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19204         * sysdeps/i386/i686/strtok.S: Likewise.
19205         * sysdeps/i386/i386-mcount.S: Likewise.
19206         * sysdeps/i386/strtok.S: Likewise.
19207         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
19208         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19209         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19210         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19211         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19212         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19213         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19214         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19215         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19216         * sysdeps/x86_64/_mcount.S: Likewise.
19217         * sysdeps/x86_64/strtok.S: Likewise.
19218         * sysdeps/sh/_mcount.S: Likewise.
19220 2012-08-01  Roland McGrath  <roland@hack.frob.com>
19222         * libio/iofopen.c: Include <fcntl.h>.
19223         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
19224         (_IO_fopen64, fopen64): Define as aliases.
19225         * libio/iofopen64.c: Include <fcntl.h>.
19226         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
19227         Conditionalize body on this.
19228         * sysdeps/wordsize-64/iofopen.c: File removed.
19229         * sysdeps/wordsize-64/iofopen64.c: File removed.
19231 2012-08-01  Marek Polacek  <polacek@redhat.com>
19233         * libc/Makeconfig: Use elf in place of binfmt-subdir.
19234         Use dlfcn directly instead of a variable.
19235         (binfmt-subdir): Do not define.
19236         (dlfcn): Likewise.
19238 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
19240         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
19241         Remove all definitions.
19242         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
19243         <kernel-features.h>.
19244         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19245         (miss_F_GETOWN_EX): Remove all definitions.
19246         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
19247         macro definition.
19248         [!__ASSUME_FCNTL64]: Remove conditional code.
19249         [__ASSUME_FCNTL64]: Make code unconditional.
19250         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
19251         <kernel-features.h>.
19252         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19253         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
19254         (lockf64) [__NR_fcntl64]: Make code unconditional.
19255         (lockf64) [__ASSUME_FCNTL64]: Likewise.
19257         * sysdeps/unix/sysv/linux/kernel-features.h
19258         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
19259         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
19260         Make code unconditional.
19261         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19262         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
19264         [__NR_vfork]: Make code unconditional.
19265         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19266         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19267         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
19268         [__NR_vfork]: Make code unconditional.
19269         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19270         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19272 2012-08-01  Roland McGrath  <roland@hack.frob.com>
19274         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
19275         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
19277         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19278         Define mkstemp64 as an alias.
19279         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19280         Define mkstemps64 as an alias.
19281         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19282         Define mkostemp64 as an alias.
19283         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19284         Define mkostemps64 as an alias.
19285         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
19286         Conditionalize body on this.
19287         * misc/mkostemp64.c: Likewise.
19288         * misc/mkostemps64.c: Likewise.
19289         * misc/mkstemps64.c: Likewise.
19290         * sysdeps/wordsize-64/mkstemp64.c: File removed.
19291         * sysdeps/wordsize-64/mkostemp64.c: File removed.
19292         * sysdeps/wordsize-64/mkostemp.c: File removed.
19293         * sysdeps/wordsize-64/mkstemp.c: File removed.
19294         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
19295         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
19296         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
19297         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
19299         [BZ #14138]
19300         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
19301         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
19302         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
19303         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
19305         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
19306         compat_symbol macros from <shlib-compat.h> rather than the underlying
19307         default_symbol_version and symbol_version macros, so that DEFAULT
19308         lines in shlib-versions are respected.
19309         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
19311 2012-08-01  Florian Weimer  <fweimer@redhat.com>
19313         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
19314         Declare with warn_unused_result.
19315         (setgid, setregid, setegid, setresgid): Likewise.
19316         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
19317         Likewise.
19318         * WUR-REPORT: Remove set*id functions.
19320 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
19322         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
19324 2012-07-31  Roland McGrath  <roland@hack.frob.com>
19326         [BZ #10191]
19327         * include/sys/socket.h (__libc_accept, __libc_accept4):
19328         Add attribute_hidden.
19329         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
19331         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
19332         use of PTR_MANGLE.
19333         * inet/getnetgrent_r.c (setup): Likewise.
19335         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
19337 2012-07-31  David S. Miller  <davem@davemloft.net>
19339         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19341 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
19343         [BZ #13629]
19344         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
19345         value between 1.0 and 2.0 and smaller part has absolute value less
19346         than 1.0.
19347         * math/s_clog10.c (__clog10): Likewise.
19348         * math/s_clog10f.c (__clog10f): Likewise.
19349         * math/s_clog10l.c (__clog10l): Likewise.
19350         * math/s_clogf.c (__clogf): Likewise.
19351         * math/s_clogl.c (__clogl): Likewise.
19352         * math/libm-test.inc (clog_test): Add more tests.
19353         (clog10_test): Likewise.
19354         * sysdeps/i386/fpu/libm-test-ulps: Update.
19355         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19357 2012-07-31  Florian Weimer  <fweimer@redhat.com>
19359         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
19360         Exit with zero in case no suitable GID is found, and write a
19361         message to standard error.
19363 2012-07-30  Roland McGrath  <roland@hack.frob.com>
19365         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
19366         rather than to 1.
19367         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
19368         (MAXPATHLEN): Removed.
19369         (NOGROUP, NODEV): New macros.
19370         (setbit, clrbit, isset, isclr): New macros.
19371         (howmany, roundup, powerof2): New macros.
19372         (DEV_BSIZE): New macro.
19374         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
19375         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
19377         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
19378         definition on [!__NO_LONG_DOUBLE_MATH].
19380         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
19381         PTR_MANGLE and PTR_DEMANGLE.
19383         * socket/accept4.c (accept4): Rename to __libc_accept4.
19384         Define accept4 as a weak alias.
19386         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
19387         on [_DIRENT_HAVE_D_TYPE].
19388         * io/ftw.c (ftw_dir): Likewise.
19390         * io/xmknod.c (__xmknod): Don't check PATH for being null.
19392         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
19394         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
19395         Use the BSD numbers rather than the arbitrary ones we had.
19396         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
19397         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
19398         (SIGXCPU, SIGXFSZ): New macros.
19399         (_NSIG): Now 32.
19401         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
19402         initializer on [_LIBC_REENTRANT].
19404         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
19405         definitions inside [_POSIX_MAPPED_FILES].
19407         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
19409         * dirent/opendir.c: Include <fcntl.h>.
19411         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
19412         (__libc_getspecific): Likewise.
19413         (__libc_key_create): Likewise.
19415         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
19416         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
19417         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
19418         (tmpfile64): Define as alias.
19419         * sysdeps/wordsize-64/tmpfile.c: File removed.
19420         * sysdeps/wordsize-64/tmpfile64.c: File removed.
19421         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
19422         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
19424         * stdio-common/vfscanf.c: Include <stdbool.h>.
19425         * nss/makedb.c: Likewise.
19426         * stdio-common/_i18n_number.h: Likewise.
19427         * argp/argp-help.c: Likewise.
19428         * posix/wordexp.c: Likewise.
19429         * sysdeps/posix/spawni.c: Likewise.
19430         * nss/nss_files/files-initgroups.c: Likewise.
19431         * stdio-common/reg-modifier.c: Include <stdlib.h>.
19432         * nss/nss_files/files-initgroups.c: Likewise.
19433         * nss/nss_db/db-netgrp.c: Likewise.
19434         * nss/nss_db/db-initgroups.c: Likewise.
19435         * io/fchmodat.c: Include <sys/stat.h>.
19437         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
19438         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
19440         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
19441         [HAVE_MMAP].
19443         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
19444         Add multiple inclusion protection.
19446 2012-07-27  David S. Miller  <davem@davemloft.net>
19448         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19450 2012-07-27  Gary Benson  <gbenson@redhat.com>
19452         [BZ #14298]
19453         * elf/rtld.c: Include <stap-probe.h>.
19454         (dl_main): Added static probes "init_start" and "init_complete".
19455         * elf/dl-load.c: Include <stap-probe.h>.
19456         (lose): Take new parameter "nsid".
19457         Added static probe "map_failed".
19458         (_dl_map_object_from_fd): Pass namespace id to lose.
19459         Added static probe "map_start".
19460         (open_verify): Pass namespace id to lose.
19461         * elf/dl-open.c: Include <stap-probe.h>.
19462         (dl_open_worker) Added static probes "map_complete", "reloc_start"
19463         and "reloc_complete".
19464         * elf/dl-close.c: Include <stap-probe.h>.
19465         (_dl_close_worker): Added static probes "unmap_start" and
19466         "unmap_complete".
19467         * elf/rtld-debugger-interface.txt: New file documenting the above.
19469 2012-07-26  Roland McGrath  <roland@hack.frob.com>
19471         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
19472         rather than a string variable.
19473         * sunrpc/rpc_main.c (h_output): Likewise.
19474         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
19476 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
19478         * inet/check_native.c: New file.
19480 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
19482         [BZ #13629]
19483         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
19484         if larger part has absolute value 1.0.
19485         * math/s_clog10.c (__clog10): Likewise.
19486         * math/s_clog10f.c (__clog10f): Likewise.
19487         * math/s_clog10l.c (__clog10l): Likewise.
19488         * math/s_clogf.c (__clogf): Likewise.
19489         * math/s_clogl.c (__clogl): Likewise.
19490         * math/libm-test.inc (clog_test): Add more tests.
19491         (clog10_test): Likewise.
19492         * sysdeps/i386/fpu/libm-test-ulps: Update.
19493         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19495         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
19496         (pltexit): Likewise.
19497         (La_regs): Likewise.
19498         (La_retval): Likewise.
19499         (int_retval): Likewise.
19500         Update #error for removed macros to refer only to definitions in
19501         tst-audit.h.
19502         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
19503         macro.
19504         (pltexit): Likewise.
19505         (La_regs): Likewise.
19506         (La_retval): Likewise.
19507         (int_retval): Likewise.
19508         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
19509         macro.
19510         (pltexit): Likewise.
19511         (La_regs): Likewise.
19512         (La_retval): Likewise.
19513         (int_retval): Likewise.
19514         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
19515         macro.
19516         (pltexit): Likewise.
19517         (La_regs): Likewise.
19518         (La_retval): Likewise.
19519         (int_retval): Likewise.
19520         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
19521         macro.
19522         (pltexit): Likewise.
19523         (La_regs): Likewise.
19524         (La_retval): Likewise.
19525         (int_retval): Likewise.
19526         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
19527         macro.
19528         (pltexit): Likewise.
19529         (La_regs): Likewise.
19530         (La_retval): Likewise.
19531         (int_retval): Likewise.
19532         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
19533         macro.
19534         (pltexit): Likewise.
19535         (La_regs): Likewise.
19536         (La_retval): Likewise.
19537         (int_retval): Likewise.
19538         * sysdeps/generic/tst-audit.h: Update comment to refer only to
19539         macro definitions in tst-audit.h.
19540         * sysdeps/i386/tst-audit.h: New file.
19541         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
19542         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
19543         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
19544         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
19545         * sysdeps/sh/tst-audit.h: Likewise.
19546         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
19547         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
19548         * sysdeps/x86_64/tst-audit.h: Likewise.
19550 2012-07-26  Andreas Jaeger  <aj@suse.de>
19552         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
19553         ptrace.
19555         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
19556         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
19557         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
19558         PTRACE_O_MASK.
19559         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
19560         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
19561         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
19563         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
19564         value.
19566         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
19567         _sigsys.
19568         (si_call_addr, si_syscall, si_arch): Define new macro.
19569         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
19570         _sigsys.
19571         (si_call_addr, si_syscall, si_arch): Define new marcro.
19572         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
19573         _sigsys.
19574         (si_call_addr, si_syscall, si_arch): Define new macro.
19575         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
19576         _sigsys.
19577         (si_call_addr, si_syscall, si_arch): Define new macro.
19579 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
19581         [BZ #13717]
19582         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19583         Change to 2.4.21 where previously 2.4.1.
19584         * sysdeps/unix/sysv/linux/configure: Regenerated.
19585         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
19586         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
19587         Linux kernel version.
19588         (__ASSUME_STD_AUXV): Remove.
19589         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
19590         kernel version.
19591         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
19592         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
19593         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
19594         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
19595         (__ASSUME_NETLINK_SUPPORT): Likewise.
19596         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
19597         (__no_netlink_support): Remove conditional definition.
19598         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
19599         Remove.
19600         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19601         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
19602         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
19603         (if_nameindex_ioctl): Remove.
19604         (if_nameindex_netlink): Do not handle __no_netlink_support.
19605         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19606         code.
19607         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
19608         Remove conditional code.
19609         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19610         code.
19611         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
19612         unconditional.
19613         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19614         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
19615         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
19616         Remove.
19617         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
19618         [!__ASSUME_STD_AUXV]: Remove conditional code.
19619         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
19620         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
19621         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
19622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
19623         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
19624         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19625         code.
19626         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19628         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
19629         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19630         conditional code.
19631         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19632         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19633         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19634         code.
19635         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19636         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19637         conditional code.
19638         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
19639         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19640         code unconditional.
19641         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19642         conditional code.
19643         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19644         unconditional.
19645         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19646         conditional code.
19647         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19648         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19649         unconditional.
19650         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19651         conditional code.
19652         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
19653         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19654         code unconditional.
19655         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19656         conditional code.
19657         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19658         unconditional.
19659         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19660         conditional code.
19661         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
19662         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19663         code unconditional.
19664         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19665         conditional code.
19666         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19667         unconditional.
19668         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19669         conditional code.
19671 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
19673         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
19674         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
19675         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19676         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
19677         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
19678         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
19679         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
19680         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
19681         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
19682         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
19683         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
19684         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
19685         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
19686         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
19687         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
19688         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
19689         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
19690         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
19691         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
19692         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
19693         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
19694         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
19695         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19697 2012-07-25  Florian Weimer  <fweimer@redhat.com>
19699         * Versions.def: Add GLIBC_2.17.
19700         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
19701         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
19702         Introduce __libc_secure_getenv.
19703         * stdlib/Versions (2.17): Add secure_getenv
19704         (GLIBC_PRIVATE): Add __libc_secure_getenv.
19705         * stdlib/secure-getenv.c: Rename __secure_getenv to
19706         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
19707         symbol __secure_getenv for GLIBC_2.0.
19708         * stdlib/tst-secure-getenv.c: New.
19709         * stdlib/Makefile (tests): Add testcase.
19710         * manual/startup.texi (Environment Access): Document
19711         secure_getenv.
19712         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
19713         __libc_secure_getenv.
19714         * inet/ruserpass.c (ruserpass): Likewise.
19715         * malloc/mtrace.c (mtrace): Likewise.
19716         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
19717         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
19718         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
19719         * sysdeps/posix/tempname.c: Likewise.  Evaluate
19720         HAVE_SECURE_GETENV.
19721         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
19722         __secure_getenv to __libc_secure_getenv.
19723         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
19724         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19725         Likewise.
19726         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19727         Likewise.
19728         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19729         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19730         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19731         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19732         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19733         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19734         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
19736 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
19738         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
19739         (struct La_i86_retval): Likewise.
19740         (struct La_x86_64_regs): Likewise.
19741         (struct La_x86_64_retval): Likewise.
19742         (struct La_x32_regs): Likewise.
19743         (struct La_x32_retval): Likewise.
19744         (struct La_ppc32_regs): Likewise.
19745         (struct La_ppc32_retval): Likewise.
19746         (struct La_ppc64_regs): Likewise.
19747         (struct La_ppc64_retval): Likewise.
19748         (struct La_sh_regs): Likewise.
19749         (struct La_sh_retval): Likewise.
19750         (struct La_s390_32_regs): Likewise.
19751         (struct La_s390_32_retval): Likewise.
19752         (struct La_s390_64_regs): Likewise.
19753         (struct La_s390_64_retval): Likewise.
19754         (struct La_sparc32_regs): Likewise.
19755         (struct La_sparc32_retval): Likewise.
19756         (struct La_sparc64_regs): Likewise.
19757         (struct La_sparc64_retval): Likewise.
19758         (struct audit_ifaces): Remove architecture-specific pltenter and
19759         pltexit members.
19760         * sysdeps/i386/ldsodefs.h: New file.
19761         * sysdeps/powerpc/ldsodefs.h: Likewise.
19762         * sysdeps/s390/ldsodefs.h: Likewise.
19763         * sysdeps/sh/ldsodefs.h: Likewise.
19764         * sysdeps/sparc/ldsodefs.h: Likewise.
19765         * sysdeps/x86_64/ldsodefs.h: Likewise.
19767 2012-07-25  Marek Polacek  <polacek@redhat.com>
19769         [BZ #6808]
19770         * math/libm-test.inc (yn_test): Add another test.
19771         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
19772         to ERANGE when the result is +-Inf.
19773         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19774         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
19775         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
19776         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
19778 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
19780         * conform/data/time.h-data (NULL): Use macro-constant.  Require
19781         equal to 0.
19782         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
19783         clock_t.
19784         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
19786 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
19788         * configure.in <sysdeps resolving>: Correct printing
19789         Implies_before.
19790         * configure: Regenerate.
19792 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
19794         * math/w_ilogb.c: Include <limits.h>.
19795         * math/w_ilogbl.c: Likewise.
19797 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
19799         * manual/lang.texi (__va_copy): Document primarily as ISO C99
19800         va_copy.  Document allowing for unavailable va_copy only as
19801         pre-C99 compatibility.
19802         * manual/string.texi (Copying and Concatenation): Use va_copy
19803         instead of __va_copy in concat example.
19805 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
19807         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
19808         (__sendto): Use create_address_port.  Initialize APORT and deallocate
19809         it if not null.
19811         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
19812         with O_NOLINK passed to __file_name_lookup.
19814         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
19815         with O_NOLINK passed to __file_name_lookup.
19817         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
19818         negative N or less than NGIDS.
19820         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
19821         type to string_t.  Set ERANGE as errno and return it if NAME is not big
19822         enough.  Use memcpy instead of strncpy.
19824 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
19826         * elf/Makefile (check-data): Remove.
19827         (localplt.data): New vpath directive.
19828         ($(objpfx)check-localplt.out): Use localplt.data from vpath
19829         instead of $(check-data).
19830         * scripts/data/localplt-generic.data: Move to ...
19831         * sysdeps/generic/localplt.data: ... here.
19832         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
19833         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
19834         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
19835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
19836         ... here.
19837         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
19838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
19839         ... here.
19840         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
19841         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
19842         ... here.
19843         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
19844         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
19845         ... here.
19846         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
19847         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
19848         ... here.
19849         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
19850         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
19851         ... here.
19853 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19855         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
19856         PPC32 and PPC64 files.
19857         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
19858         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
19860 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19862         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
19863         __makecontext_ret to ...
19864         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
19865         ... here and call exit if uc_link is NULL.  New file.
19866         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
19867         __makecontext_ret.S.
19868         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
19869         __makecontext_ret to ...
19870         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
19871         ... here and call exit if uc_link is NULL.  New file.
19872         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
19873         __makecontext_ret.S.
19875 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19877         * elf/elf.h (R_390_IRELATIVE): New definition.
19878         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
19879         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
19880         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
19881         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19882         (elf_machine_lazy_rel): Likewise.
19883         * sysdeps/s390/dl-irel.h: New file.
19884         * sysdeps/s390/s390-64/memcpy.S: New asm code.
19885         * sysdeps/s390/s390-64/memset.S: New asm code.
19886         * sysdeps/s390/s390-64/memcmp.S: New asm code.
19887         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
19888         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
19889         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
19890         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
19891         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
19892         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
19893         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
19894         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
19895         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
19896         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
19897         * sysdeps/s390/s390-32/memcpy.S: New asm code.
19898         * sysdeps/s390/s390-32/memset.S: New asm code.
19899         * sysdeps/s390/s390-32/memcmp.S: New asm code.
19901 2012-07-17  Marek Polacek  <polacek@redhat.com>
19903         [BZ #14349]
19904         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
19905         * sysdeps/s390/s390-64/configure.in: Likewise.
19906         * sysdeps/sparc/configure.in: Likewise.
19907         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
19908         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
19909         * sysdeps/i386/configure.in: Likewise.
19910         * sysdeps/x86_64/configure.in: Likewise.
19911         * sysdeps/sh/configure.in: Likewise.
19912         * sysdeps/s390/s390-32/configure: Regenerated.
19913         * sysdeps/s390/s390-64/configure: Likewise.
19914         * sysdeps/x86_64/configure: Likewise.
19915         * sysdeps/sh/configure: Likewise.
19916         * sysdeps/powerpc/powerpc64/configure: Likewise.
19917         * sysdeps/powerpc/powerpc32/configure: Likewise.
19918         * sysdeps/sparc/configure: Likwise.
19919         * sysdeps/i386/configure: Likewise.
19921         * elf/dl-open.c: Comment fixes.
19923 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
19925         * Makefile [CXX] (check-data): Remove.
19926         [CXX] (c++-types.data): New vpath directive.
19927         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
19928         vpath.  Do not allow for C++ type data being missing.
19929         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
19930         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
19931         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
19932         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
19933         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
19934         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
19935         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
19936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19937         ... here.
19938         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
19939         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19940         ... here.
19941         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
19942         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
19943         ... here.
19944         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
19945         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
19946         ... here.
19947         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
19948         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
19949         ... here.
19950         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
19951         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
19952         ... here.
19953         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
19954         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
19955         ... here.
19956         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
19957         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
19959         * elf/tls-macros.h (TLS_LE): Move architecture-specific
19960         definitions to architecture-specific files.
19961         (TLS_IE): Likewise.
19962         (TLS_LD): Likewise.
19963         (TLS_GD): Likewise.
19964         * sysdeps/i386/tls-macros.h: New file.
19965         * sysdeps/powerpc/tls-macros.h: Likewise.
19966         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
19967         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
19968         * sysdeps/sh/tls-macros.h: Likewise.
19969         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
19970         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
19971         * sysdeps/x86_64/tls-macros.h: Likewise.
19973 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
19975         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
19976         zero value for regular exit case.
19978         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
19979         (__start_context): Preserve zero value for regular exit case.
19981 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
19982             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19984         * manual/setjmp.texi (setcontext): Clarify normal process
19985         termination when uc_link is the null pointer.
19986         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
19987         exit call.
19989 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
19991         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
19992         preprocessor.  Test for each exception mask separately.
19994 2012-07-16  Andreas Jaeger  <aj@suse.de>
19996         * po/ru.po: Update from translation team.
19998 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
20000         * conform/data/string.h-data (NULL): Use macro-constant.  Require
20001         equal to 0.
20002         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
20003         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
20004         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
20005         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
20006         [ISO || ISO99 || ISO11] (*_t): Do not allow.
20008 2012-07-13  Andreas Jaeger  <aj@suse.de>
20010         * po/fr.po: Update from translation team.
20012 2012-07-12  Marek Polacek  <polacek@redhat.com>
20014         [BZ #14173]
20015         * math/libm-test.inc (yn_test): Add test for BZ #14173.
20016         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
20017         loop condition.
20019 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
20021         [BZ #13717]
20022         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
20023         Change to 2.4.1 where previously 2.4.0.
20024         * sysdeps/unix/sysv/linux/configure: Regenerated.
20025         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
20026         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
20027         version.
20028         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
20029         (__ASSUME_AT_CLKTCK): Remove.
20030         (__ASSUME_AT_PAGESIZE): Likewise.
20031         (__ASSUME_AT_XID): Likewise.
20032         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
20033         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
20034         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
20035         unconditionally.
20036         (HAVE_AUX_PAGESIZE): Likewise.
20037         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
20038         [__ASSUME_AT_CLKTCK]: Make code unconditional.
20039         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
20041 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
20043         [BZ #14307]
20044         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
20045         the temporary buffer used to invoke __gethostbyname2_r,
20046         __gethostbyaddr_r and gethostbyname4_r to make room for struct
20047         host_data / struct gaih_addrtuple.
20048         * resolv/nss_dns/dns-host.c (global scope): Move definition of
20049         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
20050         header file nss/nsswitch.h.
20051         * nss/nsswitch.h (global scope): Add definition of implementation
20052         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
20053         resolv/nss_dns/dns-host.c).
20055 2012-07-11  Andreas Jaeger  <aj@suse.de>
20057         * po/fr.po: Update from translation team.
20059         * po/sv.po: Update from translation team
20060         * po/fr.po: Another update from translation team.
20062 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20064         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
20065         for subnormals or multiply small sinh result by itself.
20066         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20067         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20069 2012-07-11  David S. Miller  <davem@davemloft.net>
20071         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20073 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
20075         [BZ #14347]
20076         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
20077         (INTERNAL_MARK): Shift it here.
20079 2012-07-10  Marek Polacek  <polacek@redhat.com>
20081         [BZ #14151]
20082         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
20083         libc_cv_asm_global_directive with .globl.
20084         * configure: Regenerated.
20085         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
20086         with .globl.
20087         * sysdeps/i386/configure: Regenerated.
20088         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
20089         with .globl.
20090         * sysdeps/x86_64/configure: Regenerated.
20091         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
20092         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
20093         * elf/tst-unique2mod2.c: Likewise.
20094         * elf/tst-unique2mod1.c: Likewise.
20095         * elf/tst-unique1mod2.c: Likewise.
20096         * elf/tst-unique1mod1.c: Likewise.
20097         * sysdeps/s390/s390-32/sysdep.h: Likewise.
20098         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20099         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20100         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20101         * sysdeps/mach/sysdep.h: Likewise.
20102         * sysdeps/i386/sysdep.h: Likewise.
20103         * sysdeps/i386/i386-mcount.S: Likewise.
20104         * sysdeps/x86_64/_mcount.S: Likewise.
20105         * sysdeps/x86_64/sysdep.h: Likewise.
20106         * sysdeps/sh/_mcount.S: Likewise.
20107         * sysdeps/sh/sysdep.h: Likewise.
20108         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
20109         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
20110         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
20111         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20112         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
20113         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
20114         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
20115         * locale/localeinfo.h: Likewise.
20116         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
20117         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
20119 2012-07-09  Roland McGrath  <roland@hack.frob.com>
20121         [BZ #14336]
20122         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
20123         system".
20124         * manual/message.texi (The Uniforum approach): Likewise.
20125         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
20126         (glibc iconv Implementation): Likewise.
20128 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
20130         [BZ #14337]
20131         * math/s_clog.c (__clog): Avoid scaling a value down where that
20132         could result in underflow.
20133         * math/s_clog10.c (__clog10): Likewise.
20134         * math/s_clog10f.c (__clog10f): Likewise.
20135         * math/s_clog10l.c (__clog10l): Likewise.
20136         * math/s_clogf.c (__clogf): Likewise.
20137         * math/s_clogl.c (__clogl): Likewise.
20138         * math/libm-test.inc (clog_test): Add more tests.
20139         (clog10_test): Likewise.
20140         * sysdeps/i386/fpu/libm-test-ulps: Update.
20141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20143 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
20145         [BZ #14283]
20146         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
20147         by 7 not 8 to examine high bit of fractional part.
20149         [BZ #14042]
20150         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
20151         for call to __mcount_internal.
20152         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
20153         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
20154         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
20156 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
20158         [BZ #14154]
20159         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
20160         approximation for values within 0x1p-13f of an odd multiple of
20161         pi/4.
20162         * math/libm-test.inc (tan_test): Do not allow spurious underflow
20163         exception.  Add more tests.
20164         * sysdeps/i386/fpu/libm-test-ulps: Update.
20166         [BZ #6778]
20167         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
20168         inputs and return -1 for them.  Do not check for +Inf in case not
20169         reachable for +Inf.
20170         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20171         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
20172         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20173         and return -1 for them.  Do not check for +Inf in case not
20174         reachable for +Inf.
20175         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
20176         define.
20177         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20178         and return -1 for them.  Do not check for +Inf in case not
20179         reachable for +Inf.
20180         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
20181         spurious underflow.
20182         * sysdeps/i386/fpu/libm-test-ulps: Update.
20183         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20185 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
20187         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
20189 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
20191         [BZ #14157]
20192         [BZ #14331]
20193         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
20194         could result in spurious underflow.  Scale down values above
20195         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
20196         * math/s_csqrtf.c (__csqrtf): Likewise.
20197         * math/s_csqrtl.c (__csqrtl): Likewise.
20198         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
20199         spurious underflow.
20200         * sysdeps/i386/fpu/libm-test-ulps: Update.
20201         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20203 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
20205         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
20206         xopen-msg.sed.
20207         * catgets/xopen-msg.awk: New file.
20208         * catgets/xopen-msg.sed: Removed.
20210         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
20211         po2text.sed.
20212         * intl/po2test.awk: New file.
20213         * intl/po2test.sed: Removed.
20215 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
20217         [BZ #14328]
20218         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
20219         or multiply small sinh result by itself.
20220         * math/s_ctanf.c (__ctanf): Likewise.
20221         * math/s_ctanh.c (__ctanh): Likewise.
20222         * math/s_ctanhf.c (__ctanhf): Likewise.
20223         * math/s_ctanhl.c (__ctanhl): Likewise.
20224         * math/s_ctanl.c (__ctanl): Likewise.
20225         * math/libm-test.inc (ctan_test_tonearest): New function.
20226         (ctan_test_towardzero): Likewise.
20227         (ctan_test_downward): Likewise.
20228         (ctan_test_upward): Likewise.
20229         (ctanh_test_tonearest): Likewise.
20230         (ctanh_test_towardzero): Likewise.
20231         (ctanh_test_downward): Likewise.
20232         (ctanh_test_upward): Likewise.
20233         (main): Call these new functions.
20234         * sysdeps/i386/fpu/libm-test-ulps: Update.
20235         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20237 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
20239         * .gitignore: Delete /ports entry.
20241 2012-07-03  Andreas Jaeger  <aj@suse.de>
20243         * po/bg.po: Update from translation team.
20244         * po/cs.po: Likewise.
20245         * po/de.po: Likewise.
20246         * po/hr.po: Likewise.
20247         * po/nl.pl: Likewise.
20248         * po/pl.po: Likewise.
20249         * po/vi.po: Likewise.
20251 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
20253         * Makeconfig [!+link] (+link-before-libc): New variable.
20254         [!+link] (+link-after-libc): Likewise.
20255         [!+link] (+link-tests): Likewise.
20256         [!+link] (+link): Define in terms of $(+link-before-libc) and
20257         $(+link-after-libc).
20258         [!+link-static] (+link-static-before-libc): New variable.
20259         [!+link-static] (+link-static-after-libc): Likewise.
20260         [!+link-static] (+link-static-tests): Likewise.
20261         [!+link-static] (+link-static): Define in terms of
20262         $(+link-static-before-libc) and $(+link-static-after-libc).
20263         [build-shared] (link-libc-before-gnulib): New variable.
20264         [build-shared] (link-libc-tests): Likewise.
20265         [build-shared] (link-libc): Define in terms of
20266         $(link-libc-before-gnulib).
20267         [!build-shared] (link-libc-tests): New variable.
20268         (link-libc-static-tests): New variable.
20269         [!gnulib] (gnulib-arch): New variable.
20270         [!gnulib] (gnulib-tests): Likewise.
20271         [!gnulib] (static-gnulib-arch): Likewise.
20272         [!gnulib] (static-gnulib-tests): Likewise.
20273         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
20274         Define with "=" instead of ":=".
20275         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
20276         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
20277         * Rules (binaries-all-notests): New variable.
20278         (binaries-all-tests): Likewise.
20279         (binaries-static-notests): Likewise.
20280         (binaries-static-tests): Likewise.
20281         (binaries-all): Define using $(binaries-all-notests) and
20282         $(binaries-all-tests).
20283         (binaries-static): Define using $(binaries-static-notests) and
20284         $(binaries-static-tests).
20285         (binaries-shared-tests): New variable.
20286         (binaries-shared-notests): Likewise.
20287         (binaries-shared): Remove variable.
20288         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
20289         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
20290         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
20291         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
20292         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
20293         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
20294         * elf/Makefile (sln-modules): New variable.
20295         (extra-objs): Add $(sln-modules:=.o).
20296         (ldconfig-modules): Add static-stubs.
20297         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
20298         * elf/static-stubs.c: New file.
20300         [BZ #14283]
20301         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
20302         by 7 not 8 to examine high bit of fractional part.  Use volatile
20303         variables when splitting into final array of floats if
20304         __FLT_EVAL_METHOD__ != 0.
20305         * math/libm-test.inc (cos_test): Add another test.
20306         (sin_test): Likewise.
20307         * sysdeps/i386/fpu/libm-test-ulps: Update.
20309         [BZ #14273]
20310         * math/libm-test.inc (cosh_test): Add more tests.
20312         * version.h (RELEASE): Set to "development".
20313         (VERSION): Set to "2.16.90".
20315 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
20317         * NEWS: Update copyright. Remove last-updated date.
20318         Mention math library bug fixes and timezone data changes.
20319         * README: Mention GNU/Hurd, x32, and HPPA support status.
20321 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
20323         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
20325 2012-06-27  Andreas Jaeger  <aj@suse.de>
20327         * manual/contrib.texi (Contributors): Add Samuel Thibault.
20329 2012-06-25  Andreas Jaeger  <aj@suse.de>
20331         * sysdeps/s390/fpu/libm-test-ulps: Update.
20333 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
20334             Thomas Schwinge  <thomas@codesourcery.com>
20336         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
20337         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
20338         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
20339         fanotify_mark.
20341 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
20343         * sysdeps/mach/start.c: Remove file.
20344         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
20345         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
20346         * sysdeps/sh/init-first.c: Likewise.
20348         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
20349         registers for frame unwinding purposes, add CFI directives.
20350         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20351         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
20352         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
20353         Likewise.
20355         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
20356         __fortify_fail returning.
20357         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20359         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
20360         sysdeps/sh/____longjmp_chk.S.
20361         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
20362         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
20363         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
20364         (gen-as-const-headers): Append sigaltstack-offsets.sym.
20366         * sysdeps/sh/abort-instr.h: New file.
20367         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
20368         process in case exit returns.
20370         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
20371         initialize the GOT register before use.
20373         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
20374         calculation of ARGC > 4.
20376         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
20377         meaningful names to some local labels.
20379 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20380             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20382         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
20383         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
20384         (__arch_compare_and_exchange_val_16_acq): Likewise.
20385         (__arch_compare_and_exchange_val_32_acq): Likewise.
20386         (atomic_exchange_and_add): Fix gUSA sequence.
20387         (atomic_add): Likewise.
20388         (atomic_add_negative): Likewise.
20389         (atomic_add_zero): Likewise.
20390         (atomic_bit_test_set): Likewise.
20392 2012-06-22  Andreas Schwab  <schwab@redhat.com>
20394         [BZ #13579]
20395         * include/link.h (struct link_map): Add l_free_initfini.
20396         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
20397         l_initfini.
20398         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
20399         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
20400         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
20401         set.
20403 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
20405         * configure.in: Use AC_LANG_SOURCE.
20406         * configure: Regenerate.
20408 2012-06-22  Roland McGrath  <roland@hack.frob.com>
20410         * configure.in (libc_cv_localstatedir): New substituted variable.
20411         * configure: Regenerated.
20412         * config.make.in (localstatedir): New variable, substituted from
20413         libc_cv_localstatedir.
20414         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
20415         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
20416         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
20417         * sysdeps/gnu/configure: Regenerated.
20419 2012-06-21  Jeff Law  <law@redhat.com>
20421         [BZ #14277]
20422         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
20423         free.  Simplify list management for _LIBC case.
20425 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
20427         [BZ #14273]
20428         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
20429         Clear sign bit of 64-bit integer value before comparing against
20430         overflow value.
20432         * sysdeps/mach/configure: Regenerated.
20434 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
20436         [BZ #14278]
20437         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
20439 2012-06-21  Jeff Law  <law@redhat.com>
20441         [BZ #13882]
20442         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
20443         uint16_t for elements in the "seen" array to avoid char overflows.
20444         * elf/dl-fini.c (_dl_sort_fini): Likewise.
20445         * elf/dl-open.c (dl_open_worker): Likewise.
20447 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
20449         * scripts/list-sources.sh: Scan PORTS for translations.
20450         * po/libc.pot: Regenerated.
20452 2012-06-21  Andreas Jaeger  <aj@suse.de>
20454         [BZ #12194]
20455         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
20456         warning.
20457         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
20458         * bits/byteswap-16.h (__bswap_16): Likewise.
20459         * bits/byteswap.h (__bswap_constant_16): Likewise.
20461 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
20463         [BZ #14117]
20464         * sysdeps/i386/fpu_control.h: Removed.
20465         * sysdeps/x86_64/fpu_control.h: Moved to ...
20466         * sysdeps/x86/fpu_control.h: Here.
20468         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
20469         (_FPU_SETCW): Likewise.
20471 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
20473         [BZ #14117]
20474         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
20475         * sysdeps/x86/fpu/bits/mathinline.h: This.
20476         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
20478         [BZ #14050]
20479         [BZ #14117]
20480         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
20481         functions if __x86_64__ is defined.
20483 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
20485         * string/endian.h: Add !__ASSEMBLER__ condition for including
20486         conversion interfaces.
20488 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
20490         [BZ #14241]
20491         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
20492         of ABS(x) in calculating zero to negative powers other than odd
20493         integers.
20494         * math/libm-test.inc (pow_test): Add more tests.
20496 2012-06-15  Andreas Jaeger  <aj@suse.de>
20498         * manual/contrib.texi (Contributors): Update entry of Liubov
20499         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
20500         Machado Filho.
20502 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
20504         * string/string.h: Add __wur to GNU version of strerror_r.
20506 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
20508         [BZ #14229]
20509         * string/Makefile (tests): Add tst-strtok_r.
20510         * string/tst-strtok_r.c: New file.
20511         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
20512         RAX_LP/RDX_LP on SAVE_PTR.
20514 2012-06-14  Roland McGrath  <roland@hack.frob.com>
20516         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
20518 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
20520         * libm_test.inc (csqrt_test): Allow more spurious underflow
20521         exceptions.
20522         (j0_test): Likewise.
20523         (j1_test): Likewise.
20524         (y0_test): Likewise.
20525         (y1_test): Likewise.
20527 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
20529         * po/Makefile (libc.pot): Use UTF-8 charset.
20531 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
20533         [BZ #14210]
20534         Suppress sign-conversion warning from FD_SET.
20535         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
20536         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
20537         not unsigned long int.
20538         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
20540 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
20542         [BZ #14050]
20543         [BZ #14117]
20544         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
20545         __extern_always_inline instead of __extern_inline.
20546         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
20547         (__signbit): Likewise.
20548         (__signbitl): Support C++ namespace.
20549         (lrintf): New inline function.
20550         (lrint): Likewise.
20551         (llrintf): Likewise.
20552         (llrint): Likewise.
20553         (fmaxf): Likewise.
20554         (fmax): Likewise.
20555         (fminf): Likewise.
20556         (fmin): Likewise.
20557         (rint): Likewise.
20558         (rintf): Likewise.
20559         (ceil): Likewise.
20560         (ceilf): Likewise.
20561         (floor): Likewise.
20562         (floorf): Likewise.
20563         (nearbyint): Likewise.
20564         (nearbyintf): Likewise.
20566 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
20568         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
20569         non-default versions.
20571 2012-06-11  Roland McGrath  <roland@hack.frob.com>
20573         [BZ #14218]
20574         * manual/argp.texi (Argp): Reword argp_parse description slightly.
20576 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
20578         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
20579         (FE_UPWARD, FE_DOWNWARD): Don't define.
20580         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
20581         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20583         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
20584         reading it.
20585         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20586         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20588 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20590         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20591         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
20592         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
20593         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
20595 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
20597         [BZ #14117]
20598         * sysdeps/i386/fpu/bits/fenv.h: Removed.
20599         * sysdeps/i386/fpu/Implies: New file.
20600         * sysdeps/x86_64/fpu/Implies: Likewise.
20601         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
20602         * sysdeps/x86/fpu/bits/fenv.h: This.
20604         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
20605         __SSE_MATH__.
20607 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
20609         [BZ #14134]
20610         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
20611         character 0xffff that matches the last element of the
20612         conversion table.
20614 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20616         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
20617         fmodl commit.
20619 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20621         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
20622         values higher than 25.6283.
20624 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20626         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
20627         subnormal exponent extraction and add some __builtin_expect.
20628         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
20629         Fix for subnormal mantissa calculation.
20631 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
20633         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
20634         cpu2 is -1 and errno is not ENOSYS.
20636 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
20638         [BZ #14117]
20639         * sysdeps/i386/i486/bits/string.h: Renamed to ...
20640         * sysdeps/x86/bits/string.h: This.
20641         * sysdeps/x86_64/bits/string.h: Removed.
20643         * sysdeps/i386/i486/bits/string.h: Define inline functions only
20644         if not compiling for x86-64, but compiling for >= i486.
20646         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
20647         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
20649         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
20650         New macro from Linux kernel 3.4.0.
20651         (FP_XSTATE_MAGIC2): Likewise.
20652         (FP_XSTATE_MAGIC2_SIZE): Likewise.
20653         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
20654         (struct _fpx_sw_bytes): New struct.
20655         (struct _xsave_hdr): Likewise.
20656         (struct _ymmh_state): Likewise.
20657         (struct _xstate): Likewise.
20659         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
20660         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
20661         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
20662         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
20663         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
20664         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
20666         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
20667         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
20668         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
20669         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
20670         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
20671         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
20673 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20675         [BZ #13743]
20676         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
20677         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
20678         (sysdep_headers): Include sys/platform/ppc.h.
20679         * sysdeps/powerpc/test-gettimebase.c: Test for
20680         __ppc_get_timebase() to catch future ISA opcode/insn changes.
20681         * manual/Makefile (appendices): Include platform.texi.
20682         * manual/contrib.texi (Contributors): Update @node pointers.
20683         * manual/maint.texi (Maintenance): Likewise.
20684         (Platform): New node.
20685         * manual/platform.texi: New file.  Document the new features.
20687 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20688             Jakub Jelinek  <jakub@redhat.com>
20690         [BZ #14188]
20691         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
20692         where __builtin_expect is unavailable.
20694 2012-06-03  David S. Miller  <davem@davemloft.net>
20696         * stdlib/longlong.h: Updated from GCC.
20698 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
20700         [BZ #14042]
20701         * sysdeps/powerpc/powerpc32/mcount.c: New file.
20702         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
20703         __mcount_internal.
20704         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20705         (GLIBC_2.16): Likewise.
20707 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
20709         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
20711 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
20713         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
20714         (default-abi): New variable.
20715         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
20716         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
20717         variable.
20718         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
20719         Likewise.
20720         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
20721         Likewise.
20722         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
20723         Likewise.
20725         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
20726         definition.  Document in comment.
20728 2012-06-01  David S. Miller  <davem@davemloft.net>
20730         * stdlib/longlong.h: Updated from GCC.
20732 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
20734         [BZ #14117]
20735         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
20736         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
20737         sys/debugreg.h sys/io.h here.
20738         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
20739         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
20740         sys/io.h.
20741         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
20742         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
20743         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
20744         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
20745         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
20746         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
20748         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
20749         Define only if __x86_64__ is defined.
20751 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
20753         [BZ #14048]
20754         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
20755         Use int64_t for variable i.
20756         * math/libm-test.inc (fmod_test): Add more tests.
20758         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
20759         z computation is not scheduled after fetestexcept.
20760         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
20761         Use math_force_eval instead of asm to ensure calculation scheduled
20762         before exception test.
20763         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
20764         Ensure a1 + u.d computation is not scheduled after fetestexcept.
20766 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
20768         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
20769         computation is not scheduled after fetestexcept.
20771 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
20773         [BZ #14117]
20774         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
20775         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
20777 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20779         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
20780         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
20782 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
20784         [BZ #14117]
20785         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
20786         <bits/wordsize.h>.
20787         (__WCHAR_MIN): Support __WORDSIZE == 64.
20788         (__WCHAR_MAX): Likewise.
20790         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
20791         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
20793         [BZ #14183]
20794         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
20795         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
20797         [BZ #14117]
20798         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
20799         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
20801         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
20802         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
20804         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
20805         Defined to 1 if __x86_64__ isn't defined.
20806         (_STAT_VER_LINUX_OLD): New.
20807         (st_atime): Remove duplicate.
20808         (st_mtime): Likewise.
20809         (st_ctime): Likewise.
20811 2012-05-31  David S. Miller  <davem@davemloft.net>
20813         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
20814         entries.
20816 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
20818         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
20819         gen-libm-test.pl.
20821         [BZ #14132]
20822         * elf/dl-reloc.c: Include <_itoa.h>.
20823         (_dl_reloc_bad_type): Remove use of INTUSE.
20824         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
20825         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
20826         * stdio-common/psiginfo.c (psiginfo): Likewise.
20827         * stdio-common/psignal.c (psignal): Likewise.
20828         * string/strsignal.c (strsignal): Likewise.
20829         * include/signal.h (_sys_siglist): Declare hidden proto.
20830         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
20831         INTVARDEF with libc_hidden_data_def.
20832         * stdio-common/itoa-udigits.c: Likewise.
20833         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
20834         (_itoa_lower_digits_internal): Remove declaration.
20835         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
20836         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
20837         (_sys_sigabbrev_internal): Remove aliases.
20838         (_sys_siglist): Define hidden alias.
20840 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
20842         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20843         bits/sysctl.h.
20845 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
20847         [BZ #14117]
20848         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
20849         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
20851         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
20852         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
20853         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
20854         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
20855         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
20856         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
20858         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
20859         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
20860         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
20862         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
20863         with __addr.
20864         (insw): Likewise.
20865         (insl): Likewise.
20866         (outsb): Likewise.
20867         (outsw): Likewise.
20868         (outsl): Likewise.
20870         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
20871         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
20872         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
20874         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
20875         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
20876         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
20877         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
20878         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
20879         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
20881         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
20882         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
20884         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
20885         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
20887         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
20888         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
20889         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
20891         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
20892         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
20893         to ...
20894         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
20896         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
20897         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
20898         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
20900         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
20901         for x86-64.
20902         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
20904 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
20906         * math/math.h (M_El): Use two more decimal places.
20907         (M_LOG2El): Likewise.
20908         (M_LOG10El): Likewise.
20909         (M_LN2l): Likewise.
20910         (M_LN10l): Likewise.
20911         (M_PIl): Likewise.
20912         (M_PI_2l): Likewise.
20913         (M_PI_4l): Likewise.
20914         (M_1_PIl): Likewise.
20915         (M_2_PIl): Likewise.
20916         (M_2_SQRTPIl): Likewise.
20917         (M_SQRT2l): Likewise.
20918         (M_SQRT1_2l): Likewise.
20920 2012-05-31  David S. Miller  <davem@davemloft.net>
20922         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
20923         values between float registers.
20924         * sysdeps/sparc/sparc64/memset.S: Likewise.
20925         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20927 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
20929         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
20930         -D_FORTIFY_SOURCE=1.
20931         (CPPFLAGS-tst-longjmp_chk.c): Define.
20932         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
20933         (CPPFLAGS-tst-longjmp_chk2.c): Define.
20934         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
20935         CFLAGS-tst-wchar-h.c.
20937 2012-05-31  Marek Polacek  <polacek@redhat.com>
20939         [BZ #14132]
20940         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
20941         __endmntent_internal): Remove declaration.
20942         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
20943         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
20944         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
20946 2012-05-30  David S. Miller  <davem@davemloft.net>
20948         * sysdeps/sparc/sparc32/soft-fp/q_util.c
20949         (___Q_simulate_exceptions): Use real FP ops rather than writing
20950         into the %fsr.
20951         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
20952         Likewise.
20954 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
20956         [BZ #14117]
20957         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
20958         * sysdeps/x86/bits/xtitypes.h: This.
20960         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
20961         * sysdeps/x86/bits/wordsize.h: This.
20963         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
20964         * sysdeps/x86/bits/huge_vall.h: This.
20966         * sysdeps/i386/bits/select.h: Removed.
20967         * sysdeps/x86_64/bits/select.h: Renamed to ...
20968         * sysdeps/x86/bits/select.h: This.
20970         * sysdeps/i386/bits/setjmp.h: Removed.
20971         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
20972         * sysdeps/x86/bits/setjmp.h: This.
20974         * sysdeps/i386/bits/mathdef.h: Removed.
20975         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
20976         * sysdeps/x86/bits/mathdef.h: This.
20978 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
20980         [BZ #14132]
20981         * include/sys/socket.h (__connect_internal)
20982         (__libc_sa_len_internal): Remove declaration.
20983         (__connect, __libc_sa_len): Declare hidden_proto.
20984         (SA_LEN): Remove use of INTUSE.
20985         * socket/connect.c: Add libc_hidden_def.
20986         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
20987         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
20988         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
20989         alias.
20990         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
20991         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
20992         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
20993         of adding _internal alias.
20995 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
20997         [BZ #14117]
20998         * sysdeps/i386/bits/link.h: Removed.
20999         * sysdeps/i386/bits/linkmap.h: Likewise.
21000         * sysdeps/x86_64/bits/link.h: Renamed to ...
21001         * sysdeps/x86/bits/link.h: This.
21002         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
21003         * sysdeps/x86/bits/linkmap.h: This.
21005         * sysdeps/i386/bits/endian.h: Removed.
21006         * sysdeps/x86_64/bits/endian.h: Renamed to ...
21007         * sysdeps/x86/bits/endian.h: This.
21009         * sysdeps/i386/bits/byteswap.h: Removed.
21010         * sysdeps/i386/bits/byteswap-16.h: Likewise.
21011         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
21012         * sysdeps/x86/bits/byteswap.h: This.
21013         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
21014         * sysdeps/x86/bits/byteswap-16.h: This.
21015         * sysdeps/i386/Implies: Add x86.
21016         * sysdeps/x86_64/Implies: Likewise.
21018 2012-05-30  David S. Miller  <davem@davemloft.net>
21020         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
21021         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
21022         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
21023         (FP_TRAPPING_EXCEPTIONS): Define.
21024         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
21025         (FP_TRAPPING_EXCEPTIONS): Define.
21026         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
21027         subnormals only when inexact has been signalled or underflow
21028         exceptions are enabled.
21029         (_FP_PACK_CANONICAL): Likewise.
21031 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
21033         [BZ #14183]
21034         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
21035         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
21037 2012-05-30  Richard Henderson  <rth@twiddle.net>
21039         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
21040         with #ifndef NOT_IN_libc.
21042         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
21043         marked to avoid plt entry.
21045 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
21047         [BZ #14112]
21048         * Makeconfig (default-abi): New macro.
21049         (abi-includes): Likewise.
21050         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
21051         $(abi-$(default-abi)-lib-soname) for soname if defined.
21052         ($(common-objpfx)gnu/lib-names.stmp): Generate from
21053         abi-variants.
21054         * Makefile (installed-stubs): Likewise.
21055         * include/stubs-biarch.h: Removed.
21056         * scripts/lib-names.awk: Only handle one library at a time.
21057         * scripts/soversions.awk: Remove WORDSIZE support.
21058         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
21059         entries.
21060         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
21061         Removed.
21062         (syscall-list-default-condition): Likewise.
21063         (syscall-list-default-condition): Likewise.
21064         (syscall-list-includes): Likewise.
21065         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
21066         syscall-list-* with abi-*.  Handle undefined abi-variants.
21067         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
21068         * sysdeps/unix/sysv/linux/i386/Implies: New file.
21069         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
21070         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
21071         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
21072         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
21073         Removed.
21074         (syscall-list-32-options): Likewise.
21075         (syscall-list-32-condition): Likewise.
21076         (syscall-list-64-options): Likewise.
21077         (syscall-list-64-condition): Likewise.
21078         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
21079         macro.
21080         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
21081         Renamed to ...
21082         (abi-*): This.
21083         (abi-64-ld-soname): New macro.
21084         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
21085         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
21086         Renamed to ...
21087         (abi-*): This.
21088         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
21089         * sysdeps/x86_64/x32/shlib-versions: Likewise.
21091 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
21093         * sysdeps/unix/sysv/linux/kernel-features.h
21094         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
21095         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
21096         include <kernel-features.h>.
21097         [!__NR_ftruncate64]: Remove conditional code.
21098         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21099         [__NR_ftruncate64]: Make code unconditional.
21100         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21101         * sysdeps/unix/sysv/linux/truncate64.c: Do not
21102         include <kernel-features.h>.
21103         [!__NR_ftruncate64]: Remove conditional code.
21104         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21105         [__NR_ftruncate64]: Make code unconditional.
21106         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
21108         include <kernel-features.h>.
21109         [!__NR_ftruncate64]: Remove conditional code.
21110         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21111         [__NR_ftruncate64]: Make code unconditional.
21112         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21113         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21114         include <kernel-features.h>.
21115         [!__NR_ftruncate64]: Remove conditional code.
21116         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21117         [__NR_ftruncate64]: Make code unconditional.
21118         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21120         * configure.in (libc_cv_fpie): Weaken to a compile test using
21121         LIBC_TRY_CC_OPTION.
21122         * configure: Regenerated.
21124 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21126         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
21127         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
21128         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
21129         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21130         Refreshed.
21131         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
21132         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
21133         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
21134         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
21135         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
21136         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21137         Refreshed.
21139 2012-05-27  David S. Miller  <davem@davemloft.net>
21141         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
21142         (___Q_zero): New.
21143         (__Q_simulate_exceptions): Return void.  Change to simulate
21144         exceptions by writing into the %fsr.
21145         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
21146         (__Qp_handle_exceptions): Likewise.
21147         (numbers): Delete.
21148         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
21149         __Qp_handle_exceptions.
21150         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
21151         __Qp_handle_exceptions.
21152         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21153         as unused and give dummy FP_RND_NEAREST initializer.
21154         (FP_INHIBIT_RESULTS): Define.
21155         (___Q_simulate_exceptions): Update declaration.
21156         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
21157         formatting.
21158         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21159         as unused and give dummy FP_RND_NEAREST initializer.
21160         (__Qp_handle_exceptions): Update declaration.
21161         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
21162         formatting.
21164 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
21166         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
21167         the temporary FPU control word.
21168         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21169         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
21170         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21171         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21172         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21173         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21174         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21175         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21176         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21177         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21178         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21180 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21182         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
21183         fields.
21185 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
21187         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
21188         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
21189         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
21190         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
21191         Likewise.
21192         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
21193         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
21194         Likewise.
21196 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
21198         * po/h.po: Update from translation team.
21200 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
21202         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
21204         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
21205         handling of denormals.
21206         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21207         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21208         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21209         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21210         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21211         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
21212         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
21213         Likewise.
21215 2012-05-26  Marek Polacek  <polacek@redhat.com>
21217         [BZ #14152]
21218         * math/libm-test.inc (fma_test): Don't always expect underflow
21219         exception.
21221 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21223         [BZ #12416]
21224         * elf/tst-execstack.c: Include stackinfo.h.
21225         (do_test): Adjust test case to ensure that pthread_getattr_np
21226         behaviour remains the same after marking stack executable.
21228 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
21230         * sysdeps/unix/sysv/linux/kernel-features.h
21231         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
21232         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
21233         kernel-features.h.
21234         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21235         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21236         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
21237         kernel-features.h.
21238         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21239         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21241 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
21243         * configure.in: Define the default includes to being none.
21244         * configure: Regenerated.
21246 2012-05-25  Roland McGrath  <roland@hack.frob.com>
21248         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
21249         * sysdeps/x86_64/setjmp.S: Likewise.
21250         * sysdeps/i386/bsd-setjmp.S: Likewise.
21251         * sysdeps/i386/bsd-_setjmp.S: Likewise.
21252         * sysdeps/i386/setjmp.S: Likewise.
21253         * sysdeps/i386/__longjmp.S: Likewise.
21254         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21255         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
21257         * include/stap-probe.h: New file.
21258         * configure.in: Handle --enable-systemtap.
21259         * configure: Regenerated.
21260         * config.h.in (USE_STAP_PROBE): New #undef.
21261         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
21262         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
21263         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21265 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
21267         [BZ #13717]
21268         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21269         to 2.4.0 where earlier.
21270         * sysdeps/unix/sysv/linux/configure: Regenerated.
21271         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21272         <kernel-features.h>.
21273         [__ASSUME_32BITUIDS]: Make code unconditional.
21274         [!__ASSUME_32BITUIDS]: Remove conditional code.
21275         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
21276         <kernel-features.h>.
21277         [__ASSUME_32BITUIDS]: Make code unconditional.
21278         [!__ASSUME_32BITUIDS]: Remove conditional code.
21279         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
21280         [__ASSUME_32BITUIDS]: Make code unconditional.
21281         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
21282         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
21283         <kernel-features.h>.
21284         [__ASSUME_32BITUIDS]: Make code unconditional.
21285         [!__ASSUME_32BITUIDS]: Remove conditional code.
21286         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
21287         <kernel-features.h>.
21288         [__ASSUME_32BITUIDS]: Make code unconditional.
21289         [!__ASSUME_32BITUIDS]: Remove conditional code.
21290         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
21291         <kernel-features.h>.
21292         [__ASSUME_32BITUIDS]: Make code unconditional.
21293         [!__ASSUME_32BITUIDS]: Remove conditional code.
21294         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
21295         <kernel-features.h>.
21296         [__ASSUME_32BITUIDS]: Make code unconditional.
21297         [!__ASSUME_32BITUIDS]: Remove conditional code.
21298         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21299         <kernel-features.h>.
21300         [__ASSUME_32BITUIDS]: Make code unconditional.
21301         [!__ASSUME_32BITUIDS]: Remove conditional code.
21302         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21303         <kernel-features.h>.
21304         [__ASSUME_32BITUIDS]: Make code unconditional.
21305         [!__ASSUME_32BITUIDS]: Remove conditional code.
21306         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
21307         <kernel-features.h>.
21308         [__ASSUME_32BITUIDS]: Make code unconditional.
21309         [!__ASSUME_32BITUIDS]: Remove conditional code.
21310         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21311         <kernel-features.h>.
21312         [__ASSUME_32BITUIDS]: Make code unconditional.
21313         [!__ASSUME_32BITUIDS]: Remove conditional code.
21314         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21315         <kernel-features.h>.
21316         [__ASSUME_32BITUIDS]: Make code unconditional.
21317         [!__ASSUME_32BITUIDS]: Remove conditional code.
21318         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
21319         <kernel-features.h>.
21320         [__ASSUME_32BITUIDS]: Make code unconditional.
21321         [!__ASSUME_32BITUIDS]: Remove conditional code.
21322         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
21323         <kernel-features.h>.
21324         [__NR_setresgid] (__setresgid): Do not declare.
21325         [__ASSUME_32BITUIDS]: Make code unconditional.
21326         [!__ASSUME_32BITUIDS]: Remove conditional code.
21327         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
21328         <kernel-features.h>.
21329         [__NR_setresuid] (__setresuid): Do not declare.
21330         [__ASSUME_32BITUIDS]: Make code unconditional.
21331         [!__ASSUME_32BITUIDS]: Remove conditional code.
21332         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
21333         <kernel-features.h>.
21334         [__ASSUME_32BITUIDS]: Make code unconditional.
21335         [!__ASSUME_32BITUIDS]: Remove conditional code.
21336         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
21337         <kernel-features.h>.
21338         [__ASSUME_32BITUIDS]: Make code unconditional.
21339         [!__ASSUME_32BITUIDS]: Remove conditional code.
21340         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
21341         <kernel-features.h>.
21342         [__ASSUME_32BITUIDS]: Make code unconditional.
21343         [!__ASSUME_32BITUIDS]: Remove conditional code.
21344         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
21345         <kernel-features.h>.
21346         [__ASSUME_32BITUIDS]: Make code unconditional.
21347         [!__ASSUME_32BITUIDS]: Remove conditional code.
21348         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
21349         <kernel-features.h>.
21350         [__ASSUME_32BITUIDS]: Make code unconditional.
21351         [!__ASSUME_32BITUIDS]: Remove conditional code.
21352         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
21353         <kernel-features.h>.
21354         [__ASSUME_32BITUIDS]: Make code unconditional.
21355         [!__ASSUME_32BITUIDS]: Remove conditional code.
21356         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
21357         <kernel-features.h>.
21358         [__ASSUME_32BITUIDS]: Make code unconditional.
21359         [!__ASSUME_32BITUIDS]: Remove conditional code.
21360         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
21361         <kernel-features.h>.
21362         [__ASSUME_32BITUIDS]: Make code unconditional.
21363         [!__ASSUME_32BITUIDS]: Remove conditional code.
21364         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
21365         <kernel-features.h>.
21366         [__ASSUME_32BITUIDS]: Make code unconditional.
21367         [!__ASSUME_32BITUIDS]: Remove conditional code.
21368         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21369         <kernel-features.h>.
21370         [__ASSUME_32BITUIDS]: Make code unconditional.
21371         [!__ASSUME_32BITUIDS]: Remove conditional code.
21372         * sysdeps/unix/sysv/linux/kernel-features.h
21373         (__ASSUME_SETRESUID_SYSCALL): Remove.
21374         (__ASSUME_SETRESGID_SYSCALL): Likewise.
21375         (__ASSUME_32BITUIDS): Likewise.
21376         (__ASSUME_LDT_WORKS): Likewise.
21377         (__ASSUME_O_DIRECTORY): Likewise.
21378         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
21379         architecture but not kernel version.
21380         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21381         (__ASSUME_MMAP2_SYSCALL): Likewise.
21382         (__ASSUME_STAT64_SYSCALL): Likewise.
21383         (__ASSUME_IPC64): Likewise.
21384         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
21385         <kernel-features.h>.
21386         [__ASSUME_32BITUIDS]: Make code unconditional.
21387         [!__ASSUME_32BITUIDS]: Remove conditional code.
21388         * sysdeps/unix/sysv/linux/opendir.c: Do not include
21389         <kernel-features.h>.
21390         [__ASSUME_O_DIRECTORY]: Make code unconditional.
21391         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
21392         132096]: Remove conditional code.
21393         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
21394         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21395         <kernel-features.h>.
21396         [__ASSUME_32BITUIDS]: Make code unconditional.
21397         [!__ASSUME_32BITUIDS]: Remove conditional code.
21398         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21399         <kernel-features.h>.
21400         [__ASSUME_32BITUIDS]: Make code unconditional.
21401         [!__ASSUME_32BITUIDS]: Remove conditional code.
21402         * sysdeps/unix/sysv/linux/setegid.c: Do not include
21403         <kernel-features.h>.
21404         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
21405         unconditional.
21406         (__setresgid): Do not declare.
21407         [__ASSUME_32BITUIDS]: Make code unconditional.
21408         [!__ASSUME_32BITUIDS]: Remove conditional code.
21409         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
21410         <kernel-features.h>.
21411         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
21412         unconditional.
21413         (__setresuid): Do not declare.
21414         [__ASSUME_32BITUIDS]: Make code unconditional.
21415         [!__ASSUME_32BITUIDS]: Remove conditional code.
21416         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21417         <kernel-features.h>.
21418         [__ASSUME_32BITUIDS]: Make code unconditional.
21419         [!__ASSUME_32BITUIDS]: Remove conditional code.
21420         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
21421         <kernel-features.h>.
21422         [__ASSUME_32BITUIDS]: Make code unconditional.
21423         [!__ASSUME_32BITUIDS]: Remove conditional code.
21425 2012-05-25  Richard Henderson  <rth@twiddle.net>
21427         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
21428         dl_hwcap to ifunc resolver.
21429         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
21430         elf_ifunc_invoke.
21431         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
21432         dl_hwcap to ifunc resolver.
21433         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
21435 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
21437         [BZ #14153]
21438         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
21439         for |x| <= 2**-26, not 2**-57.
21440         * math/libm-test.inc (acos_test): Do not allow spurious underflow
21441         exception.
21443 2012-05-24  Jeff Law  <law@redhat.com>
21445         * stdio-common/Makefile (tests): Add bug25.
21446         * stdio-common/bug25.c: New test.
21448 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
21450         [BZ #13576]
21451         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
21452         multiple of MALLOC_ALIGNMENT in size.
21453         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
21455 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
21457         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
21458         Require >= 256.
21459         (FILENAME_MAX): Use macro-int-constant.
21460         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
21461         (_IOFBF): Use macro-int-constant.
21462         (_IOLBF): Likewise.
21463         (_IONBF): Likewise.
21464         (SEEK_CUR): Likewise.
21465         (SEEK_END): Likewise.
21466         (SEEK_SET): Likewise.
21467         (TMP_MAX): Likewise.
21468         (EOF): Use macro-int-constant.  Require < 0.
21469         (NULL): Use macro-constant.  Require == 0.
21470         (stdin): Require type to be FILE *.
21471         (stdout): Likewise.
21472         (stderr): Likewise.
21473         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
21474         macro-int-constant.
21475         (EXIT_SUCCESS): Likewise.
21476         (NULL): Use macro-constant.  Require == 0.
21477         (RAND_MAX): Use macro-int-constant.
21478         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
21479         [C99-based standards] (strtof): Require function.
21480         [C99-based standards] (strtold): Likewise.
21481         [C99-based standards] (strtoll): Likewise.
21482         [C99-based standards] (strtoull): Likewise.
21483         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21484         [ISO || ISO99 || ISO11] (limits.h): Likewise.
21485         [ISO || ISO99 || ISO11] (math.h): Likewise.
21486         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
21487         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21488         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21490 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
21492         [BZ #14132]
21493         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
21494         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
21495         * intl/dgettext.c (DCGETTEXT): Likewise.
21496         * intl/gettext.c (DCGETTEXT): Likewise.
21497         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
21498         * posix/regex_internal.h (gettext): Likewise.
21499         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
21500         Remove declaration.
21501         * include/argz.h (__argz_count_internal)
21502         (__argz_stringify_internal): Remove declaration.
21503         (__argz_count, __argz_stringify): Declare hidden proto.
21504         * intl/dcgettext.c: Remove use of INTDEF.
21505         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
21506         * string/argz-stringify.c: Likewise.
21507         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21508         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21509         Declare hidden proto.
21510         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21511         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21512         Declare hidden proto.
21513         * include/stdio.h (__asprintf_internal): Don't declare.
21514         (__asprintf): Don't define as macro.  Declare hidden proto.
21515         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
21516         (__fsetlocking): Declare hidden proto.
21517         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
21518         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
21519         hidden proto.
21520         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
21521         (_IO_setlinebuf): Remove use of INTUSE.
21522         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
21523         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
21524         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
21525         Remove declaration.
21526         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
21527         (_IO_do_flush): Remove use of INTUSE.
21528         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
21529         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
21530         (_IO_adjust_column, _IO_least_wmarker)
21531         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
21532         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
21533         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
21534         (_IO_default_doallocate, _IO_wdefault_doallocate)
21535         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
21536         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
21537         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
21538         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
21539         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
21540         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
21541         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
21542         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
21543         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
21544         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
21545         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
21546         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
21547         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
21548         proto.
21549         (_IO_flush_all_internal, _IO_adjust_column_internal)
21550         (_IO_default_uflow_internal, _IO_default_finish_internal)
21551         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
21552         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
21553         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
21554         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
21555         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
21556         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
21557         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
21558         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
21559         (_IO_file_close_internal, _IO_file_close_it_internal)
21560         (_IO_file_underflow_internal, _IO_file_overflow_internal)
21561         (_IO_file_init_internal, _IO_file_attach_internal)
21562         (_IO_file_fopen_internal, _IO_file_read_internal)
21563         (_IO_file_sync_internal, _IO_file_seek_internal)
21564         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
21565         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
21566         (_IO_str_underflow_internal, _IO_str_overflow_internal)
21567         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
21568         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
21569         (_IO_list_all_internal, _IO_link_in_internal)
21570         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
21571         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
21572         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
21573         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
21574         (_IO_do_write_internal, _IO_padn_internal)
21575         (_IO_getline_info_internal, _IO_getline_internal)
21576         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
21577         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
21578         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
21579         (_IO_vfscanf_internal, _IO_vfprintf_internal)
21580         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
21581         (_IO_init_internal, _IO_un_link_internal): Don't declare.
21582         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
21583         with libc_hidden_ver, remove use of INTUSE.
21584         * libio/genops.c: Likewise.
21585         * libio/freopen.c: Likewise.
21586         * libio/freopen64.c: Likewise.
21587         * libio/iofclose.c: Likewise.
21588         * libio/iofdopen.c: Likewise.
21589         * libio/iofflush.c: Likewise.
21590         * libio/iofflush_u.c: Likewise.
21591         * libio/iofgets.c: Likewise.
21592         * libio/iofgets_u.c: Likewise.
21593         * libio/iofopen.c: Likewise.
21594         * libio/iofopncook.c: Likewise.
21595         * libio/iofread.c: Likewise.
21596         * libio/iofread_u.c: Likewise.
21597         * libio/ioftell.c: Likewise.
21598         * libio/iofwrite.c: Likewise.
21599         * libio/iogetline.c: Likewise.
21600         * libio/iogets.c: Likewise.
21601         * libio/iogetwline.c: Likewise.
21602         * libio/iopadn.c: Likewise.
21603         * libio/iopopen.c: Likewise.
21604         * libio/ioseekoff.c: Likewise.
21605         * libio/ioseekpos.c: Likewise.
21606         * libio/iosetbuffer.c: Likewise.
21607         * libio/iosetvbuf.c: Likewise.
21608         * libio/ioungetc.c: Likewise.
21609         * libio/ioungetwc.c: Likewise.
21610         * libio/iovdprintf.c: Likewise.
21611         * libio/iovsprintf.c: Likewise.
21612         * libio/iovsscanf.c: Likewise.
21613         * libio/memstream.c: Likewise.
21614         * libio/obprintf.c: Likewise.
21615         * libio/oldfileops.c: Likewise.
21616         * libio/oldiofclose.c: Likewise.
21617         * libio/oldiofdopen.c: Likewise.
21618         * libio/oldiofopen.c: Likewise.
21619         * libio/oldiopopen.c: Likewise.
21620         * libio/oldstdfiles.c: Likewise.
21621         * libio/putc.c: Likewise.
21622         * libio/setbuf.c: Likewise.
21623         * libio/setlinebuf.c: Likewise.
21624         * libio/stdfiles.c: Likewise.
21625         * libio/strops.c: Likewise.
21626         * libio/vasprintf.c: Likewise.
21627         * libio/vscanf.c: Likewise.
21628         * libio/vsnprintf.c: Likewise.
21629         * libio/vswprintf.c: Likewise.
21630         * libio/wfiledoalloc.c: Likewise.
21631         * libio/wfileops.c: Likewise.
21632         * libio/wgenops.c: Likewise.
21633         * libio/wmemstream.c: Likewise.
21634         * libio/wstrops.c: Likewise.
21635         * libio/__fpurge.c: Likewise.
21636         * libio/__fsetlocking.c: Likewise.
21637         * assert/assert.c: Likewise.
21638         * debug/fgets_chk.c: Likewise.
21639         * debug/fgets_u_chk.c: Likewise.
21640         * debug/fread_chk.c: Likewise.
21641         * debug/fread_u_chk.c: Likewise.
21642         * debug/gets_chk.c: Likewise.
21643         * debug/obprintf_chk.c: Likewise.
21644         * debug/vasprintf_chk.c: Likewise.
21645         * debug/vdprintf_chk.c: Likewise.
21646         * debug/vsnprintf_chk.c: Likewise.
21647         * debug/vsprintf_chk.c: Likewise.
21648         * malloc/mtrace.c: Likewise.
21649         * misc/error.c: Likewise.
21650         * misc/syslog.c: Likewise.
21651         * stdio-common/asprintf.c: Likewise.
21652         * stdio-common/fxprintf.c: Likewise.
21653         * stdio-common/getw.c: Likewise.
21654         * stdio-common/isoc99_fscanf.c: Likewise.
21655         * stdio-common/isoc99_scanf.c: Likewise.
21656         * stdio-common/isoc99_vfscanf.c: Likewise.
21657         * stdio-common/isoc99_vscanf.c: Likewise.
21658         * stdio-common/isoc99_vsscanf.c: Likewise.
21659         * stdio-common/printf-prs.c: Likewise.
21660         * stdio-common/printf_fp.c: Likewise.
21661         * stdio-common/printf_fphex.c: Likewise.
21662         * stdio-common/printf_size.c: Likewise.
21663         * stdio-common/putw.c: Likewise.
21664         * stdio-common/scanf.c: Likewise.
21665         * stdio-common/sprintf.c: Likewise.
21666         * stdio-common/tmpfile.c: Likewise.
21667         * stdio-common/vfprintf.c: Likewise.
21668         * stdio-common/vfscanf.c: Likewise.
21669         * stdlib/strfmon_l.c: Likewise.
21670         * sunrpc/openchild.c: Likewise.
21671         * sunrpc/xdr_stdio.c: Likewise.
21672         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
21673         * sysdeps/mach/hurd/tmpfile.c: Likewise.
21675 2012-05-24  Roland McGrath  <roland@hack.frob.com>
21677         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21679         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
21680         in the third column, to generate for the shared library an IFUNC
21681         that uses _dl_vdso_vsym.
21682         * Makerules (COMPILE.c, compile-stdin.c): New variables.
21683         * Makeconfig (object-suffixes-noshared): New variable.
21685         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
21686         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
21687         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
21688         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
21690         [BZ #14132]
21691         * include/sys/time.h (__gettimeofday): Remove macro.
21692         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
21693         * time/gettimeofday.c (__gettimeofday): Remove #undef.
21694         Remove INTDEF.
21695         (__gettimeofday): Add libc_hidden_def.
21696         (gettimeofday): Add libc_hidden_weak.
21697         * sysdeps/mach/gettimeofday.c: Likewise.
21698         * sysdeps/posix/gettimeofday.c: Likewise.
21699         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21700         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
21701         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
21702         (__gettimeofday_internal): Remove strong_alias.
21703         (__gettimeofday): Add libc_hidden_def.
21704         (gettimeofday): Add libc_hidden_weak.
21705         * sysdeps/unix/syscalls.list (gettimeofday):
21706         Remove __gettimeofday_internal alias.
21708 2012-05-24  Daniel Jacobowitz  <drow@false.org>
21709             H.J. Lu  <hongjiu.lu@intel.com>
21711         [BZ #12495]
21712         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
21713         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
21714         (largebin_index_32_big): New.
21715         (largebin_index): Use it for 16-byte alignment.
21716         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
21717         correction with front_misalign.
21719 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
21721         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
21722         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
21723         Likewise.
21724         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
21725         Likewise.
21726         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21727         Likewise.
21728         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
21729         Likewise.
21730         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
21731         Likewise.
21732         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
21733         Likewise.
21734         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
21735         Likewise.
21736         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21737         Likewise.
21738         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
21739         Likewise.
21740         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
21741         Likewise.
21742         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
21743         Likewise.
21744         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
21745         Likewise.
21747         * scripts/data/c++-types-x32-linux-gnu.data: New file.
21748         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
21750 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
21752         [BZ #10846]
21753         [BZ #14036]
21754         * math/libm-test.inc (exp_test): Add test from bug 14036.
21755         (pow_test): Add test from bug 10846.
21757         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
21758         and other flags.
21759         (special_function): Do not include flags in test name.
21760         (parse_args): Likewise.
21761         * sysdeps/i386/fpu/libm-test-ulps: Update.
21762         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21763         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21764         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21767         * math/gen-libm-test.pl (%beautify): Add entries for underflow
21768         exceptions.
21769         * math/libm-test.inc ("Philosophy"): Update comment about
21770         exception testing.
21771         (UNDERFLOW_EXCEPTION): New macro.
21772         (UNDERFLOW_EXCEPTION_OK): Likewise.
21773         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
21774         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
21775         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
21776         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
21777         (INVALID_EXCEPTION_OK): Update value.
21778         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21779         (OVERFLOW_EXCEPTION_OK): Likewise.
21780         (IGNORE_ZERO_INF_SIGN): Likewise.
21781         (test_exceptions): Handle underflow exceptions.
21782         (acos_test): Update for underflow exception expectations.
21783         (cexp_test): Likewise.
21784         (clog_test): Likewise.
21785         (clog10_test): Likewise.
21786         (csqrt_test): Likewise.
21787         (ctan_test): Likewise.
21788         (ctanh_test): Likewise.
21789         (exp_test): Likewise.
21790         (exp10_test): Likewise.
21791         (exp2_test): Likewise.
21792         (expm1_test): Likewise.
21793         (fma_test): Likewise.
21794         (j0_test): Likewise.
21795         (jn_test): Likewise.
21796         (nexttoward_test): Likewise.
21797         (pow_test): Likewise.
21798         (scalbn_test): Likewise.
21799         (scalbln_test): Likewise.
21800         (tan_test): Likewise.
21801         (y1_test): Likewise.
21802         * sysdeps/i386/fpu/libm-test-ulps: Update.
21803         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21805 2012-05-23  David S. Miller  <davem@davemloft.net>
21807         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21808         (__libc_sigaction): Remove unused local variables.
21810 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
21812         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
21814 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
21816         mktime: avoid signed integer overflow
21817         * time/mktime.c (__mktime_internal): Do not mishandle the case
21818         where diff == INT_MIN.
21820         mktime: simplify computation of average
21821         * time/mktime.c (ranged_convert): Use new time_t_avg function
21822         instead of rolling our own (probably-slower) code.
21824         mktime: do not assume signed right shift propagates sign bit
21825         * time/mktime.c (isdst_differ): New static function.
21826         (__mktime_internal): No need to normalize tm_isdst now.
21827         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
21828         tm_isdst values.
21830         mktime: merge another wrapv change from gnulib
21831         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
21832         from some compilers.
21834         mktime: remove incorrect attempt at unusual arithmetics
21835         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
21836         The code didn't really work on such machines anyway.
21837         (TYPE_MINIMUM): Assume two's complement.
21838         (twos_complement_arithmetic): Verify that long_int and time_t
21839         are two's complement (or unsigned, in the latter case).
21841         mktime: check signed shifts on long_int and time_t, too
21842         * time/mktime.c (SHR): Check that shifts work as desired
21843         on the types long_int and time_t too, as SHR is used on
21844         such types.
21846         mktime: do not assume 'long' is wide enough
21847         * time/mktime.c (verify): Move decl up.
21848         (long_int): New type.
21849         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
21850         to remove assumption in the code that 'long' is wide enough to
21851         store year values.  This assumption is not true on x32 and on
21852         some non-glibc platforms.
21854         mktime: merge wrapv change from gnulib
21855         * time/mktime.c (WRAPV): New macro.
21856         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
21857         (guess_time_tm, __mktime_internal): Do not assume that signed
21858         integer overflow wraps around; modern compilers generate code
21859         where this assumption is no longer valid.
21861 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
21863         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21864         Replace "jmp L(pseudo_end)" with "ret".
21865         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
21866         Likewise.
21868 2012-05-23  Andreas Jaeger  <aj@suse.de>
21870         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
21871         * sysdeps/unix/sysv/linux/poll.c: Remove file.
21873 2012-05-23  Andreas Jaeger  <aj@suse.de>
21874             Maximilian Attems  <max@stro.at>
21876         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
21877         New macros.
21879 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
21881         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
21882         code so that pseudo_end is just ret and the stack pointer is
21883         correct also for static library in error case.
21885 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
21887         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
21888         move to syscalls.list.
21889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
21890         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21892         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21894         * manual/install.texi (Running make install): Do not mention Linux
21895         kernel version for which pt_chown is not needed.
21896         (Linux): Do not mention problems with nscd with 2.0 kernels.
21897         * INSTALL: Regenerated.
21899 2012-05-23  Andreas Jaeger  <aj@suse.de>
21901         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
21902         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
21903         macro.
21904         * sysdeps/unix/sysv/linux/s390/bits/mman.h
21905         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21906         * sysdeps/unix/sysv/linux/sh/bits/mman.h
21907         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21908         * sysdeps/unix/sysv/linux/i386/bits/mman.h
21909         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21910         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
21911         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21912         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
21913         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21914         * sysdeps/unix/sysv/linux/bits/in.h
21915         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
21917 2012-05-22  Roland McGrath  <roland@hack.frob.com>
21919         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
21920         (PREPARE_VERSION): Just use assert instead, it will be elided
21921         under [NDEBUG] anyway.
21923 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
21925         * sysdeps/unix/sysv/linux/Makefile: Include
21926         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
21927         (sysdep_routines): Remove sysctl.
21928         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
21929         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
21930         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
21931         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
21932         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
21934 2012-05-22  Andreas Jaeger  <aj@suse.de>
21936         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
21937         that pseudo_end is just ret and the stack pointer is correct also
21938         for static library in error case.
21940 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
21942         [BZ #14122]
21943         * nss/nsswitch.c (defconfig_entries): New variable.
21944         (__nss_database_lookup): Don't leak defconfig entries.
21945         (nss_parse_service_list): Don't leak on error paths.
21946         (free_database_entries): New function.
21947         (free_defconfig): New function.
21948         (free_mem): Move common code to free_database_entries.
21950 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
21952         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
21953         Add arch_prctl.
21954         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
21956         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21957         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
21958         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
21959         New macro.
21960         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
21961         (INTERNAL_SYSCALL_TYPES): Likewise.
21962         (LOAD_ARGS_TYPES_[1-6]): Likewise.
21963         (LOAD_REGS_TYPES_[1-6]): Likewise.
21964         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
21965         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
21967 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21969         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
21970         copysignl for GLIBC_2_0.
21971         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
21972         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
21973         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
21974         logbl for GLIBC_2_0.
21975         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
21976         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
21978 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
21980         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
21981         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
21983         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21984         Use "neg %eax".
21986         * time/mktime.c: Update copyright years.
21988 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
21990         mktime: merge comment-quoting-style change from gnulib
21991         * time/mktime.c: Quote 'like this' in comments.
21992         The GNU coding standards suggest that we no longer quote `like this',
21993         as "`" and "'" are typically rendered asymmetrically nowadays.
21994         The typical gnulib style is to quote 'like this' when quoting
21995         code, and "like this" when quoting English.
21997         * time/mktime.c (compile-command): Add "-I.".
21999         mktime: merge mktime-internal.h change from gnulib
22000         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
22002         mktime: merge time_r change from gnulib
22003         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
22005         mktime: merge DEBUG change from gnulib
22006         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
22007         case system <time.h> has a #define.
22009         mktime: merge <sys/types.h> change from gnulib
22010         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
22011         since <time.t> is now guaranteed to define time_t.
22013         mktime: merge HAVE_CONFIG_H change from gnulib
22014         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
22016 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
22018         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22019         Use "neg %eax".
22021         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
22022         __rlim_t cast.
22023         (struct rusage): Use anonymous union to pad each field to
22024         __syscall_slong_t.
22026 2012-05-21  David S. Miller  <davem@davemloft.net>
22028         * Makefules (o-iterator): Remove .s cases.
22029         (compile-command.s): Delete.
22030         (COMPILE.s): Delete.
22031         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
22033 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
22035         * configure.in (libc_cv_predef_stack_protector): Only consider
22036         "foobar" and "__stack_chk_fail" lines in libc_undefs.
22037         * configure: Regenerated.
22039 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
22041         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
22042         New macro.  Use R*LP on int and pointer.
22043         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
22044         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
22045         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
22046         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
22048         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
22049         [__WORDSIZE_TIME64_COMPAT32] instead of
22050         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
22051         (struct utmp): Likewise.
22052         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
22053         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
22054         Renamed to ...
22055         (__WORDSIZE_TIME64_COMPAT32): This.
22056         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
22057         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
22058         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
22059         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
22060         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
22061         (__WORDSIZE_TIME64_COMPAT32): New macro.
22063 2012-05-21  Andreas Jaeger  <aj@suse.de>
22065         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
22066         only if [SHARED]. Add prototype for __wcschr_ia32.
22068 2012-05-21  Roland McGrath  <roland@hack.frob.com>
22070         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
22071         of %rbp unmolested in the jmp_buf while mangling the low bits.
22072         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
22073         unmolested high bits of %rbp while demangling the low bits.
22074         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22076 2012-05-21  Andreas Jaeger  <aj@suse.de>
22078         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
22079         * sunrpc/svc_simple.c: Use it for registerrpc.
22080         * sunrpc/xcrypt.c: Use it for passwd2des.
22082         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
22084 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
22086         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
22087         Don't define if [__SYSCALL_WORDSIZE != 32].
22088         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
22089         New macro.
22091 2012-05-21  Bruno Haible  <bruno@clisp.org>
22092             Andreas Jaeger  <aj@suse.de>
22094         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
22095         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
22096         inptr and inend for must_buffer_ch.
22097         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
22098         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
22099         * stdio-common/Makefile (tests): Remove bug15.
22100         (bug15-ENV): Remove macro.
22101         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
22102         anymore.
22104 2012-05-19  Andreas Jaeger  <aj@suse.de>
22105             Roland McGrath  <roland@hack.frob.com>
22107         * manual/contrib.texi: Completely rewritten. It contains now an
22108         alphabetical list of contributors and their contributions.
22110 2012-05-21  Richard Henderson  <rth@twiddle.net>
22112         * misc/getauxval.c (__getauxval): Use unsigned long int.
22113         * misc/sys/auxv.h: Include <sys/cdefs.h>.
22114         (getauxval): Use unsigned long int.
22116 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
22118         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22120 2012-05-21  Roland McGrath  <roland@hack.frob.com>
22122         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
22123         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
22124         __alignof__ (long double).
22126 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22128         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22130 2012-05-20  Richard Henderson  <rth@twiddle.net>
22132         * misc/getauxval.c: New file.
22133         * misc/sys/auxv.h: New file.
22134         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
22135         (routines): Add getauxval.
22136         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
22137         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
22138         * elf/dl-sysdep.c (_dl_auxv): Remove.
22139         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
22140         * elf/dl-support.c (_dl_auxv): New variable.
22141         (_dl_aux_init): Initialize it.
22142         * manual/startup.texi (Auxiliary Vector): New node.
22143         * sysdeps/generic/bits/hwcap.h: New file.
22144         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
22145         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
22146         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
22147         * sysdeps/sparc/sysdep.h: ... here.  Include it.
22148         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
22149         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
22150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22151         Update.
22152         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
22153         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
22154         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
22155         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
22156         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22157         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22158         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
22159         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
22161 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22163         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22165 2012-05-19  David S. Miller  <davem@davemloft.net>
22167         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22169 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
22171         [BZ #14123]
22172         * math/s_ccosh.c: Include <float.h>
22173         (__ccosh): Avoid internal overflow calculating sinh and cosh
22174         values before multiplying by sin and cos values.
22175         * math/s_ccoshf.c: Likewise.
22176         * math/s_ccoshl.c: Likewise.
22177         * math/s_csin.c: Likewise.
22178         * math/s_csinf.c: Likewise.
22179         * math/s_csinl.c: Likewise.
22180         * math/s_csinh.c: Likewise.
22181         * math/s_csinhf.c: Likewise.
22182         * math/s_csinhl.c: Likewise.
22183         * math/libm-test.inc (ccos_test): Add more tests.
22184         (ccosh_test): Likewise.
22185         (csin_test): Likewise.
22186         (csinh_test): Likewise.
22187         * sysdeps/i386/fpu/libm-test-ulps: Update.
22188         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22190 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
22192         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
22193         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
22195         * sysdeps/x86_64/x32/_itoa.h: Add comment.
22197 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
22199         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
22200         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
22201         * sysdeps/powerpc/soft-fp/Versions: Likewise.
22202         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
22203         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
22204         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
22205         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
22206         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
22207         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
22208         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
22209         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
22210         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
22211         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
22212         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
22213         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
22214         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
22215         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
22216         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
22217         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
22218         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
22219         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
22220         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
22221         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
22222         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
22223         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
22224         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
22225         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
22226         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
22227         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
22228         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
22229         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
22231 2012-05-18  Andreas Jaeger  <aj@suse.de>
22233         * csu/.gitignore: Delete.
22235 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
22237         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
22238         (timex): Use __syscall_slong_t.
22240 2012-05-18  Andreas Jaeger  <aj@suse.de>
22241             Carlos O'Donell  <carlos_odonell@mentor.com>
22243         * manual/install.texi (Configuring and compiling): Update
22244         description about files modified in the source directory.
22245         * INSTALL: Regenerated.
22247 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
22249         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
22250         value.  Use "or" to set return value to -1.
22251         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
22252         negate return value.
22254 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22256         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
22257         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
22258         failure if the compiler has Graphite support disabled.
22259         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
22260         Likewise.
22261         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
22262         CFLAGS-memmove.c): Likewise.
22263         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
22264         Likewise.
22266 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
22268         * sysdeps/x86_64/x32/_itoa.h: New file.
22270         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
22271         getdents system call only if kernel and user dirents have the
22272         same d_ino and d_off.
22274         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22275         LLONG_MAX != LONG_MAX.
22276         (_itoa_word): Use _ITOA_WORD_TYPE on value.
22277         (_fitoa_word): Likewise.
22279         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
22280         years.
22281         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
22282         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
22283         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
22285         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
22286         include <bits/wordsize.h>.  Check __x86_64__ instead of
22287         __WORDSIZE.
22288         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
22289         if __x86_64__ is defined.  Use anonymous union on fpstate.
22291         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
22292         anonymous union.
22294 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
22296         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
22297         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
22298         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
22299         Refer to _rtld_local_ro instead of _rtld_global_ro.
22300         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
22301         Likewise.
22302         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
22303         Likewise.
22304         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
22305         Likewise.
22306         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
22307         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
22308         of _rtld_global, and rtld_progname instead of _dl_argv[0].
22310         * sysdeps/powerpc/powerpc32/dl-machine.c
22311         (__elf_machine_runtime_setup) [PROF]: Don't reference
22312         _dl_prof_resolve.
22314 2012-05-18  Andreas Jaeger  <aj@suse.de>
22316         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
22317         function only available for GCCs before 3.4 since GCC 3.4
22318         introduced a builtin.
22319         (lrint): Likewise.
22320         (llrintf): Likewise.
22321         (llrint): Likewise.
22322         (fmaxf): Likewise.
22323         (fmax): Likewise.
22324         (fminf): Likewise.
22325         (fmin): Likewise.
22326         (rint): Likewise.
22327         (rintf): Likewise.
22328         (nearbyint): Likewise.
22329         (nearbyintf): Likewise.
22330         (ceil): Likewise.
22331         (ceilf): Likewise.
22332         (floor): Likewise.
22333         (floorf): Likewise.
22335 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
22337         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
22338         on both fields and cast pointer to __syscall_ulong_t.
22340         * bits/types.h (__fsword_t): New type.
22341         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
22342         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
22343         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22344         (__FSWORD_T_TYPE): Likewise.
22345         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22346         (__FSWORD_T_TYPE): Likewise.
22347         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22348         (__FSWORD_T_TYPE): Likewise.
22349         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
22350         (__FSWORD_T_TYPE): Likewise.
22351         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
22352         __SWORD_TYPE with __fsword_t.
22353         (statfs64): Likewise.
22355 2012-05-17  David S. Miller  <davem@davemloft.net>
22357         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
22359 2012-05-17  Andreas Jaeger  <aj@suse.de>
22361         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
22362         warning.
22364 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
22366         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
22368 2012-05-17  Andreas Jaeger  <aj@suse.de>
22370         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
22371         when it is used.
22373 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
22375         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
22377 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
22379         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
22380         * sysdeps/x86_64/tst-mallocalign1.c: New file.
22382 2012-05-17  Andreas Jaeger  <aj@suse.de>
22383             Carlos O'Donell  <carlos_odonell@mentor.com>
22385         [BZ #14059]
22386         * sysdeps/x86_64/multiarch/init-arch.h
22387         (bit_YMM_Usable): Rename to...
22388         (bit_AVX_Usable): ... this.
22389         (bit_FMA4_Usable): New macro.
22390         (bit_XMM_state): New macro.
22391         (bit_YMM_state): New macro.
22392         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
22393         [__ASSEMBLER__] (index_AVX_Usable): ... this.
22394         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
22395         (CPUID_OSXSAVE): New macro.
22396         (CPUID_AVX): New macro.
22397         (CPUID_FMA4): New macro.
22398         (index_YMM_Usable): Rename to...
22399         (index_AVX_Usable): ... this.
22400         (HAS_AVX): Use HAS_ARCH_FEATURE.
22401         (HAS_FMA4): Likewise.
22402         (HAS_YMM_USABLE): Remove.
22403         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22404         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
22405         are present.
22406         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
22407         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
22408         * sysdeps/x86_64/multiarch/Makefile: Likewise.
22409         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
22410         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
22412 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
22414         * math/libm-test.c: Support platforms without multiple rounding modes.
22415         * math/bug-nextafter.c: Support platforms without FP exceptions.
22416         * math/bug-nexttoward.c: Likewise.
22417         * math/test-fenv.c: Likewise.
22418         * math/test-misc.c: Likewise.
22419         * stdlib/bug-getcontext.c: Likewise.
22421 2012-05-17  Andreas Jaeger  <aj@suse.de>
22423         * manual/examples/search.c (critter_cmp): Change signature to
22424         avoid warnings.
22425         * manual/string.texi (Collation Functions): Likewise.
22427 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22429         * bits/types.h: Fold copyright years.
22430         * bits/typesizes.h: Likewise.
22431         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
22432         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22433         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
22434         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
22435         * time/time.h: Likewise.
22437 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
22439         [BZ #208]
22440         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
22441         in instead of returning them.  Return void.
22442         (__libc_mallinfo): Accumulate over all arenas.
22443         (__malloc_stats): Adjust for change in int_mallinfo interface.
22445 2012-05-16  Roland McGrath  <roland@hack.frob.com>
22447         [BZ #10375]
22448         * configure.in (NM): Add AC_CHECK_TOOL for it.
22449         (libc_extra_cflags): New substituted variable.
22450         Check for -fstack-protector being used implicitly.
22451         * configure: Regenerated.
22452         * config.make.in (config-extra-cflags): New variable,
22453         gets @libc_extra_cflags@.
22454         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
22456         [BZ #10375]
22457         * configure.in: Check for _FORTIFY_SOURCE being predefined.
22458         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
22459         * configure: Regenerated.
22460         * config.make.in (CPPUNDEFS): New substituted variable.
22461         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
22462         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
22463         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
22465 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22467         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
22468         (mq_attr): Use __syscall_slong_t.
22470 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22472         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
22473         Check __x86_64__ instead of __WORDSIZE.
22474         (_STAT_VER_LINUX): Likewise.
22475         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
22476         __syscall_ulong_t and __syscall_slong_t.
22477         (stat64): Likewise.
22479 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22481         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
22483 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22485         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
22487 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22489         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
22490         __syscall_ulong_t.
22492         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
22493         include <bits/wordsize.h>.  Check __x86_64__ instead of
22494         __WORDSIZE.
22495         (greg_t): Use "__extension__ long long int" if __x86_64__ is
22496         defined.
22497         (mcontext_t): Replace "unsigned long" with "unsigned long long".
22499         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
22500         include <bits/wordsize.h>.  Check __x86_64__ instead of
22501         __WORDSIZE.
22502         (user_regs_struct): Use "__extension__ unsigned long long"
22503         instead of "unsigned long" if __x86_64__ is defined.
22504         (user): Likewise.  Pad after pointer field if __ILP32__ is
22505         defined.
22507 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
22509         * configure.in (makeinfo): Require version 4.5 or later.  Allow
22510         versions 5 to 9.
22511         * configure: Regenerated.
22512         * manual/install.texi (texinfo): Increase version requirement to
22513         4.5 or later.
22514         * INSTALL: Regenerated.
22516         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
22518 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22520         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
22522         * sysdeps/x86_64/x32/ffs.c: New file.
22524         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
22525         __syscall_ulong_t.
22526         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
22527         defined.  Use __syscall_ulong_t.
22528         (shminfo): Use __syscall_ulong_t.
22529         (shm_info): Likewise.
22531         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
22532         __syscall_ulong_t.
22534         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
22535         <bits/wordsize.h>.
22536         (msgqnum_t): Use __syscall_ulong_t.
22537         (msglen_t): Likewise.
22538         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
22539         __syscall_ulong_t.
22541         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
22542         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
22544         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
22546         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
22547         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
22549         * sysvipc/sys/msg.h (msgbuf): Replace long int with
22550         __syscall_slong_t.
22552         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
22553         include <bits/wordsize.h>.  Check __x86_64__ instead of
22554         __WORDSIZE.
22556         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
22557         "unsigned long long int" if __x86_64__ is defined.
22558         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
22560         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
22561         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
22562         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
22564         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
22565         <stdint.h>.
22566         (GET_PC): Cast to uintptr_t first.
22567         (GET_FRAME): Likewise.
22568         (GET_STACK): Likewise.
22570         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
22571         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
22572         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
22573         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
22574         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
22575         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
22576         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
22577         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
22578         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
22579         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
22580         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
22581         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
22582         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22583         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
22584         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
22585         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
22586         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
22587         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
22588         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
22589         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
22590         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
22591         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
22592         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
22593         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
22594         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
22595         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
22596         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
22597         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
22598         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
22600 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
22602         * Makerules (+depfiles): Also collect depfiles from .oS in
22603         $(extra-objs).
22604         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
22605         .oS, $(libnldbl-routines)).
22607         * Makerules (native-compile-mkdep-flags): Define.
22608         * sunrpc/Makefile (extra-objs): Add $(addprefix
22609         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
22610         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
22611         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
22612         calling $(make-target-directory).
22614 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22616         * bits/types.h (__snseconds_t): Removed.
22617         * time/time.h (struct timespec): Replace __snseconds_t with
22618         __syscall_slong_t.
22619         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
22620         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
22621         Likewise.
22622         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22623         (__SNSECONDS_T_TYPE): Likewise.
22624         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22625         (__SNSECONDS_T_TYPE): Likewise.
22626         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22627         (__SNSECONDS_T_TYPE): Likewise.
22629 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22631         * sysdeps/mach/hurd/bits/typesizes.h
22632         (__SYSCALL_SLONG_TYPE): New macro.
22633         (__SYSCALL_ULONG_TYPE): Likewise.
22635 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22637         * bits/types.h (__syscall_slong_t): New type.
22638         (__syscall_ulong_t): Likewise.
22640         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
22641         (__SYSCALL_ULONG_TYPE): Likewise.
22642         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22643         (__SYSCALL_SLONG_TYPE): Likewise.
22644         (__SYSCALL_ULONG_TYPE): Likewise.
22645         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22646         (__SYSCALL_SLONG_TYPE): Likewise.
22647         (__SYSCALL_ULONG_TYPE): Likewise.
22648         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22649         (__SYSCALL_SLONG_TYPE): Likewise.
22650         (__SYSCALL_ULONG_TYPE): Likewise.
22652 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22654         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
22655         Add sigaltstack-offsets.sym.
22656         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
22657         <sigaltstack-offsets.h>.
22658         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
22659         longjmp_msg pointer.
22660         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
22661         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
22662         signal stack.
22663         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
22665 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
22667         * elf/stackguard-macros.h: Remove file.
22668         * sysdeps/generic/stackguard-macros.h: New file.
22669         * sysdeps/i386/stackguard-macros.h: Likewise.
22670         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22671         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22672         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22673         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22674         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22675         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22676         * sysdeps/x86_64/stackguard-macros.h: Likewise.
22677         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
22678         <elf/stackguard-macros.h>.
22680         [BZ #14109]
22681         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
22682         __aligned__ in attribute.
22683         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
22684         (gregset_t): Likewise.
22686 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22688         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
22689         * sysdeps/x86_64/64/Implies-after: Here.  New file.
22690         * sysdeps/x86_64/x32/Implies-after: New file.
22692 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22694         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
22695         and access return value for _dl_profile_fixup.  Use R10_LP to
22696         load frame size.
22698 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22700         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
22702 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22704         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
22705         * sysdeps/x86_64/x32/sysdep.h: New file.
22707 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22709         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
22710         * sysdeps/x86_64/setjmp.S: Likewise.
22712 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22714         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
22715         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
22716         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
22717         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
22718         remove unused global constant.
22720 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
22722         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
22723         include of <not-cancel.h>.
22725 2012-05-15  Roland McGrath  <roland@hack.frob.com>
22727         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
22729 2012-05-15  Jeff Law  <law@redhat.com>
22730             Andreas Jaeger  <aj@suse.de>
22732         [BZ #13594]
22733         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
22734         out from...
22735         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
22736         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
22737         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
22738         code changing __hst_map_handle.map.
22740 2012-05-15  Roland McGrath  <roland@hack.frob.com>
22742         * configure.in (sysnames): Look for Implies-before and Implies-after
22743         files.
22744         * configure: Regenerated.
22746 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22748         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
22749         8-byte data alignment with LP_SIZE alignment.
22751 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22753         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
22754         into R10_LP.
22756 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22758         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
22760 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22762         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
22763         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
22764         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
22765         Likewise.
22766         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22768 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22770         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
22771         (stackinfo_sub_sp): Likewise.
22773 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22775         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
22776         RAX_LP.
22778 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22780         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
22781         into R*_LP.
22783 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22785         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
22786         sizes into R*_LP.
22788 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22790         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
22792 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22794         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
22795         into R11_LP and load __x86_64_shared_cache_size_half into
22796         R8_LP.
22798 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22800         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
22801         R8_LP.
22803 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22805         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
22806         logb for POWER7.
22807         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
22808         logbf for POWER7.
22809         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
22810         logbl for POWER7.
22811         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
22812         powerpc32/power7/fpu/s_logb.c via #include.
22813         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
22814         powerpc32/power7/fpu/s_logbf.c via #include.
22815         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
22816         powerpc32/power7/fpu/s_logbl.c via #include.
22818 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
22820         * README.libm: Remove file.
22822 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
22824         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
22825         count for x32.  Use R*_LP and omit operand-size suffix.
22827 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
22829         * shlib-versions: Move x86_64-.*-linux.* entries to ...
22830         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
22831         * sysdeps/x86_64/x32/shlib-versions: New file.
22833 2012-05-14  Roland McGrath  <roland@hack.frob.com>
22835         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
22836         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
22837         Use _dl_fatal_printf instead.
22839 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
22841         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
22842         set if not set by the user.  Do not allow for being unset.
22843         * sysdeps/unix/sysv/linux/configure: Regenerated.
22845 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
22847         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
22848         the `q' suffix from lea and replace .quad with ASM_ADDR.
22850 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
22852         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
22853         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
22854         instead of $17.
22855         (PTR_DEMANGLE): Likewise.
22857 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
22859         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
22860         (LP_OP): Likewise.
22861         (ASM_ADDR): Likewise.
22862         (RAX_LP): Likewise.
22863         (RBP_LP): Likewise.
22864         (RBX_LP): Likewise.
22865         (RCX_LP): Likewise.
22866         (RDI_LP): Likewise.
22867         (RSI_LP): Likewise.
22868         (RSP_LP): Likewise.
22869         (R8_LP): Likewise.
22870         (R9_LP): Likewise.
22871         (R10_LP): Likewise.
22872         (R10_LP): Likewise.
22873         (R11_LP): Likewise.
22874         (R12_LP): Likewise.
22875         (R13_LP): Likewise.
22876         (R14_LP): Likewise.
22877         (R15_LP): Likewise.
22879 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
22881         * sysdeps/x86_64/x32/dl-machine.h: New file.
22883 2012-05-14  Andreas Jaeger  <aj@suse.de>
22885         * manual/Makefile (subdir): Remove export of subdir.
22886         (all): Remove target.
22887         (.PHONY): Remove all from list.
22888         (mkinstalldirs): Remove.
22889         (.PHONY): Remove installdirs from list.
22890         ($(inst_infodir)/libc.info): Use make-target-directory.
22891         (installdirs): Remove.
22892         (subdir_%): Remove.
22893         (glibc-targets): Remove.
22894         (lib): Remove.
22895         (stubs): Remove.
22896         ($(objpfx)stubs ../po/manual.pot): Remove.
22897         ($(objpfx)stamp%): Remove.
22898         (make-target-directory): Remove.
22899         (subdir_install): Remove.
22900         (routines): Remove.
22901         (aux): Remove.
22902         (sources): Remove.
22903         (objects): Remove.
22904         (headers): Remove.
22906         [BZ #13750]
22907         * manual/.gitignore: Remove, it's not needed anymore.
22908         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
22909         all files in it.
22910         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
22911         directory.
22912         (texis): Renamed to $(objpfx)texis.
22913         (texis-path): New, contains path to generated files.
22914         (chapters.%): Use texis-path for complete path, add extra argument
22915         libc-texinfo.sh.
22916         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
22917         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
22918         (summary,texi, stamp-summary): Use complete path of
22919         files. Generate files in build dir.
22920         (dir-add.texi): Build in build dir.
22921         (libm-err.texi,stamp-libm-err): Likewise.
22922         (version.texi, stamp-version): Likewise.
22923         (.%c.texi): Likewise.
22924         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
22925         (mostlyclean): Remove target.
22926         (realclean): Remove target.
22927         (generated): Add new variable with contents from mostlyclean and
22928         realclean, remove entries duplicated in common-mostlyclean, add
22929         stamp-libm-err and stamp-version.
22930         (generated-dirs): Add libc directory.
22931         ($(inst_infodir)/libc.info): Install files from build dir.
22933         * manual/install.texi (Configuring and compiling): Adjust since
22934         the info files are not part of the tar ball anymore.
22936 2012-05-14  Andreas Jaeger  <aj@suse.de>
22938         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
22939         variable.
22941 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
22943         [BZ #13717]
22944         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22945         to 2.2.0 where earlier.
22946         * sysdeps/unix/sysv/linux/configure: Regenerated.
22947         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
22948         Remove conditional code.
22949         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
22950         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
22951         Remove conditional code.
22952         [!__NR_lchown]: Likewise.
22953         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22954         [__NR_lchown]: Likewise.
22955         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
22956         comment referencing __ASSUME_LCHOWN_SYSCALL.
22957         * sysdeps/unix/sysv/linux/i386/sigaction.c
22958         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22959         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22960         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
22961         Remove conditional code.
22962         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
22963         (__protocol_available): Remove #if 0 code.
22964         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
22965         conditional code.
22966         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
22967         * sysdeps/unix/sysv/linux/kernel-features.h
22968         (__ASSUME_GETCWD_SYSCALL): Don't define.
22969         (__ASSUME_REALTIME_SIGNALS): Likewise.
22970         (__ASSUME_PREAD_SYSCALL): Likewise.
22971         (__ASSUME_PWRITE_SYSCALL): Likewise.
22972         (__ASSUME_POLL_SYSCALL): Likewise.
22973         (__ASSUME_LCHOWN_SYSCALL): Likewise.
22974         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
22975         non-SPARC.
22976         (__ASSUME_SIOCGIFNAME): Don't define.
22977         (__ASSUME_MSG_NOSIGNAL): Likewise.
22978         (__ASSUME_SENDFILE): Define unconditionally.
22979         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
22980         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
22981         conditional code.
22982         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
22983         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
22984         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22985         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22986         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
22987         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22988         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22989         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
22990         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22991         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22992         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22993         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22994         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
22996         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22997         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22999         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23000         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23001         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
23002         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23003         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
23005         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
23006         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
23008         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23009         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23010         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
23011         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23012         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23013         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
23014         Remove conditional code.
23015         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23016         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23017         Remove conditional code.
23018         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23019         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
23020         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
23021         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23022         Remove conditional code.
23023         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23024         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
23025         Remove conditional code.
23026         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23027         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
23028         Remove conditional code.
23029         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23030         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
23031         Remove conditional code.
23032         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
23033         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
23034         Remove conditional code.
23035         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23036         * sysdeps/unix/sysv/linux/sh/pwrite64.c
23037         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
23038         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
23039         * sysdeps/unix/sysv/linux/sigaction.c
23040         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23041         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23042         * sysdeps/unix/sysv/linux/sigpending.c
23043         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23044         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23045         * sysdeps/unix/sysv/linux/sigprocmask.c
23046         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23047         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23048         * sysdeps/unix/sysv/linux/sigsuspend.c
23049         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
23050         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
23051         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
23052         (__libc_missing_rt_sigs): Remove.
23053         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
23054         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
23055         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
23056         Remove conditional code.
23057         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
23058         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
23059         return 1.
23060         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
23061         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
23062         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
23063         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
23065 2012-05-14  Andreas Jaeger  <aj@suse.de>
23067         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
23068         it's not used in glibc.
23069         (__coshm1): Likewise.
23070         (__acosh1p): Likewise.
23071         (__sgn): Likewise.
23073         * manual/string.texi (Copying and Concatenation): Add missing
23074         variable in concat example.
23075         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23077 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23079         [BZ #14103]
23080         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
23081         __builtin_clzl with __builtin_clzll.
23083 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23085         [BZ #14104]
23086         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
23087         libc_freeres_ptr.
23089 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23091         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
23092         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
23093         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
23094         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
23096 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
23098         * NEWS: Update ia64 info.
23100 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
23102         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
23103         used as bcopy.
23105 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
23107         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
23108         * sysdeps/unix/syscalls.list (dup3): Likewise.
23109         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
23110         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
23112 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
23114         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
23115         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
23117 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
23119         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
23120         thread pointer.
23121         (TLS_IE): Use mov/add instead of movq/addq to load thread
23122         pointer.
23123         (TLS_GD_PREFIX): New.
23124         (TLS_GD): Use it.
23126 2012-05-11  David S. Miller  <davem@davemloft.net>
23128         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
23129         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
23130         (_FPU_SETCW): Likewise.
23132 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
23134         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
23135         is 32-byte aligned.
23137 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
23139         [BZ #11837]
23140         * iconvdata/gb18030.c: Update tables.
23141         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
23142         characters specially.
23143         (BODY for TO_LOOP): Add encoding of missing ranges.
23145 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
23147         [BZ #13673]
23148         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
23149         * sysdeps/mach/hurd/dup3.c: Likewise.
23150         * sysdeps/mach/hurd/readlinkat.c: Likewise.
23151         * sysdeps/powerpc/memmove.c:: Likewise.
23153 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
23155         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
23156         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
23158 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
23160         * elf/elf.h (R_X86_64_RELATIVE64): New.
23161         (R_X86_64_NUM): Updated.
23162         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23163         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
23164         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
23165         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
23166         tst-quad1pie tst-quad2pie
23167         (modules-names): Add tst-quadmod1 tst-quadmod2.
23168         ($(objpfx)tst-quad1): New dependency.
23169         ($(objpfx)tst-quad2): Likewise.
23170         ($(objpfx)tst-quad1pie): Likewise.
23171         ($(objpfx)tst-quad2pie): Likewise.
23172         * sysdeps/x86_64/tst-quad1.c: New file.
23173         * sysdeps/x86_64/tst-quad1pie.c: New file.
23174         * sysdeps/x86_64/tst-quad2.c: Likewise.
23175         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
23176         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
23177         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
23178         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
23179         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
23181 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23183         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
23184         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
23185         * streams/stropts.h (t_scalar_t): Define type.
23187         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
23188         (_PATH_PRESERVE): Set to "/var/lib".
23189         (_PATH_RWHODIR): Set to "/var/spool/rwho".
23191         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
23192         instead of int.
23194         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
23195         if __dir_mkfile succeeded.
23197         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
23198         checking for _hurd_dtablesize.  Unlock it right after having
23199         finished _hurd_dtable allocation.
23201 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23203         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
23204         * sysdeps/mach/hurd/configure: Regenerated.
23205         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
23206         special-casing to...
23207         * sysdeps/gnu/configure.in: ... this new file.
23208         * sysdeps/unix/sysv/linux/configure: Regenerated.
23209         * sysdeps/gnu/configure: New generated file.
23211         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
23212         for Linux: use nsec instead of usec, as well as:
23213         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
23214         members of type struct timespec.
23215         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
23216         New macros.
23217         (struct stat64): Likewise.
23218         (_STATBUF_ST_NSEC): New macro.
23219         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
23221         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
23222         __strtoul_internal rather than strtoul.
23224 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23226         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
23227         and reject them.
23229 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23231         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
23232         which preserves existing values.
23233         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
23235 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23237         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
23238         TIMEOUT values.  Return EINVAL for NFDS values either negative or
23239         greater than FD_SETSIZE.
23241 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23243         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
23244         allocated, call __vm_protect to finish enabling the existing space, and
23245         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
23246         allocate the remainder.
23248 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23250         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
23251         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
23253 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23255         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
23256         sysdeps/mach/hurd/readlink.c.
23258         * posix/tst-sysconf.c (posix_options): Only use
23259         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
23260         _POSIX_SYNCHRONIZED_IO when they are defined
23261         * sysdeps/mach/hurd/bits/posix_opt.h:
23262         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
23263         (_XOPEN_REALTIME): Undefine macro.
23264         (_XOPEN_REALTIME_THREADS): Undefine macro.
23265         (_XOPEN_SHM): Undefine macro.
23266         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
23267         macro to -1.
23268         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
23269         macro to -1.
23270         (_POSIX_ASYNC_IO): Undefine macro.
23271         (_POSIX_PRIORITIZED_IO): Undefine macro.
23272         (_POSIX_SPIN_LOCKS): Define macro to -1.
23274         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
23275         SA_NODEFER, SA_RESETHAND.
23276         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
23277         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
23278         F_DUPFD_CLOEXEC.
23280 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23282         * elf/Makefile (pldd-modules): Define unconditionally.
23284 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23286         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
23288 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23290         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
23291         Return ENOENT when name is empty.
23292         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
23294 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23296         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
23298         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
23300 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23302         Fix mlock in all cases except non-readable pages.
23303         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
23304         instead of VM_PROT_ALL as parameter to __vm_wire function.
23306         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
23307         (__mkdir): When path is `/', just fail with EEXIST.
23308         * sysdeps/mach/hurd/mkdirat.c: Likewise.
23310 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23312         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
23313         <sys/uio.h> (for writev).
23314         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
23315         and <sys/param.h> (for MIN).
23317 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23319         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
23320         REQUESTED_TIME.  Properly set the remaining time and return EINTR
23321         if interrupted.
23323 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23325         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
23326         Depend on against $(link-rpcuserlibs).
23328 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23330         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
23331         (__libc_stack_end): Do not use attribute_relro.
23332         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
23333         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
23334         to libthread-provided value.
23335         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
23336         attribute_relro.
23338 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23340         [BZ #3748]
23341         * bits/libc-lock.h (__libc_once_get): New macro.
23342         * sysdeps/mach/bits/libc-lock.h: Likewise.
23343         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
23344         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
23345         instead of using implementation details.
23347         * libio/fileops.c: Unconditionally include <kernel-features.h>.
23348         * libio/freopen.c: Likewise.
23349         * libio/freopen64.c: Likewise.
23350         * misc/syslog.c: Likewise.
23351         * nscd/connections.c: Likewise.
23352         * nscd/netgroupcache.c: Likewise.
23353         * sysdeps/posix/getcwd.c: Likewise.
23355 2012-05-10  Roland McGrath  <roland@hack.frob.com>
23357         * math/w_ilogbf.c: Add #include <limits.h>.
23359 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23361         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
23362         path instead of returning without unlocking.
23364         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
23365         immediate-write ioctls.
23366         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
23368 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23370         * sysdeps/mach/hurd/i386/init-first.c (init): Use
23371         __builtin_frame_address instead of making assumptions about the
23372         location of the return address relative to DATA.  Force early load of
23373         the return address.
23374         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
23375         __builtin_frame_address.
23377         dup3 for GNU Hurd.
23378         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
23379         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
23380         implement dup3 and do some further code clean-ups.
23381         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
23382         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
23384 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23386         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
23388         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
23389         HURD_CRITICAL_END around holding _hurd_dtable_lock.
23390         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
23391         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
23392         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
23393         d->port.lock.
23395         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
23396         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
23397         when handler == SIG_ERR, not when handler != SIG_ERR.
23399 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23401         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
23402         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
23403         definitions.
23405         accept4 for GNU Hurd.
23406         * include/sys/socket.h (__libc_accept4): New prototype.
23407         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
23408         to implement __libc_accept4.
23409         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
23410         __libc_accept4.
23411         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
23413         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
23414         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
23415         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
23416         signal-defines.sym.
23418 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23420         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
23422 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23424         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
23425         assertion on O_CLOEXEC flag.
23426         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
23427         * hurd/intern-fd.c: Likewise.
23428         * hurd/port2fd.c: Likewise.
23430 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23432         [BZ #3906]
23433         * bits/in.h (IPV6_PKTINFO): Define new macro.
23434         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
23436 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23438         [BZ #13954]
23439         [BZ #13955]
23440         [BZ #13956]
23441         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
23442         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23443         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
23444         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23445         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23446         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23447         * math/libm-test.inc (logb_test) : Additional logb tests.
23449 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
23450             Andreas Jaeger  <aj@suse.de>
23452         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
23453         * configure: Regenerated.
23454         * config.h.in (LINK_OBSOLETE_RPC): New macro.
23455         * config.make.in (link-obsolete-rpc): New substituted variable.
23456         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
23457         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
23458         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23459         (shared-only-routines): Don't set it under [link-obsolete-rpc],
23460         so that libc.a contains the symbols.
23461         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23462         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
23463         * sunrpc/auth_none.c: Likewise.
23464         * sunrpc/auth_unix.c: Likewise.
23465         * sunrpc/authdes_prot.c: Likewise.
23466         * sunrpc/authuxprot.c: Likewise.
23467         * sunrpc/clnt_gen.c: Likewise.
23468         * sunrpc/clnt_perr.c: Likewise.
23469         * sunrpc/clnt_raw.c: Likewise.
23470         * sunrpc/clnt_simp.c: Likewise.
23471         * sunrpc/clnt_tcp.c: Likewise.
23472         * sunrpc/clnt_udp.c: Likewise.
23473         * sunrpc/clnt_unix.c: Likewise.
23474         * sunrpc/des_crypt.c: Likewise.
23475         * sunrpc/des_soft.c: Likewise.
23476         * sunrpc/get_myaddr.c: Likewise.
23477         * sunrpc/key_call.c: Likewise.
23478         * sunrpc/key_prot.c: Likewise.
23479         * sunrpc/netname.c: Likewise.
23480         * sunrpc/pm_getmaps.c: Likewise.
23481         * sunrpc/pm_getport.c: Likewise.
23482         * sunrpc/pmap_clnt.c: Likewise.
23483         * sunrpc/pmap_prot.c: Likewise.
23484         * sunrpc/pmap_prot2.c: Likewise.
23485         * sunrpc/pmap_rmt.c: Likewise.
23486         * sunrpc/publickey.c: Likewise.
23487         * sunrpc/rpc_cmsg.c: Likewise.
23488         * sunrpc/rpc_common.c: Likewise.
23489         * sunrpc/rpc_dtable.c: Likewise.
23490         * sunrpc/rpc_prot.c: Likewise.
23491         * sunrpc/rpc_thread.c: Likewise.
23492         * sunrpc/rtime.c: Likewise.
23493         * sunrpc/svc.c: Likewise.
23494         * sunrpc/svc_auth.c: Likewise.
23495         * sunrpc/svc_raw.c: Likewise.
23496         * sunrpc/svc_run.c: Likewise.
23497         * sunrpc/svc_tcp.c: Likewise.
23498         * sunrpc/svc_udp.c: Likewise.
23499         * sunrpc/svc_unix.c: Likewise.
23500         * sunrpc/svcauth_des.c: Likewise.
23501         * sunrpc/xcrypt.c: Likewise.
23502         * sunrpc/xdr.c: Likewise.
23503         * sunrpc/xdr_array.c: Likewise.
23504         * sunrpc/xdr_float.c: Likewise.
23505         * sunrpc/xdr_intXX_t.c: Likewise.
23506         * sunrpc/xdr_mem.c: Likewise.
23507         * sunrpc/xdr_rec.c: Likewise.
23508         * sunrpc/xdr_ref.c: Likewise.
23509         * sunrpc/xdr_sizeof.c: Likewise.
23510         * sunrpc/xdr_stdio.c: Likewise.
23512 2012-05-10  Roland McGrath  <roland@hack.frob.com>
23514         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
23515         change.  Update copyright years.
23517 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
23519         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
23521 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
23522             Joseph Myers  <joseph@codesourcery.com>
23523             Paul Pluzhnikov  <ppluzhnikov@google.com>
23525         [BZ #14012]
23526         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
23527         requiring rpcgen.
23528         [cross-compiling] (extra-libs): Likewise.
23529         [cross-compiling] (extra-libs-others): Likewise.
23530         [cross-compiling] (librpcsvc-routines): Likewise.
23531         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
23532         [cross-compiling] (omit-deps): Likewise.
23533         (sunrpc-CPPFLAGS): New variable.
23534         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
23535         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
23536         (cross-rpcgen-objs): New variable.
23537         (extra-objs): Append $(cross-rpcgen-objs).
23538         ($(cross-rpcgen-objs)): New rule.
23539         ($(objpfx)cross-rpcgen): Likewise.
23540         (rpcgen-cmd): Define to use $(built-program-file).  Expand
23541         comment.
23542         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
23543         ($(objpfx)x%.stmp): Likewise.
23544         * sunrpc/proto.h [IS_IN_build] (_): Define.
23545         [IS_IN_build] (_libc_intl_domainname): Likewise.
23547 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
23549         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
23550         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
23551         and R_X86_64_TPOFF64.
23553 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
23555         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
23556         sysdeps/unix/sysv/syscalls.list.
23557         (stime): Likewise.
23558         (utime): Likewise.
23559         * sysdeps/unix/sysv/syscalls.list: Remove file.
23561 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
23563         [BZ #3440]
23564         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
23565         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
23566         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
23567         (__LC_IDENTIFICATION): Make these macros useful in #if
23568         expressions, as required by C99.
23570 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
23572         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
23573         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
23574         after this.
23576 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
23578         * stdlib/longlong.h: Updated from GCC.
23580 2012-05-09  Andreas Jaeger  <aj@suse.de>
23582         * nscd/nscd.c (run_modes): Make named enum, reorder so that
23583         default is first entry.
23584         (run_mode): Set type.
23585         (main): Remove informal message about syslog.
23586         (options): Fix typo.
23588         [BZ #14053]
23589         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
23590         to asm.
23591         (lrint): Likewise.
23592         (llrintf): Likewise.
23593         (llrint): Likewise.
23594         (rint): Likewise.
23595         (rintf): Likewise.
23596         (nearbyint): Likewise.
23597         (nearbyintf): Likewise.
23599 2012-05-09  Andreas Jaeger  <aj@suse.de>
23600             Pedro Alves  <palves@redhat.com>
23602         * nscd/nscd.c (run_mode): Use enum.
23603         (main): Cleanup coding style issue.
23605 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
23606             Andreas Jaeger  <aj@suse.de>
23608         * nscd/nscd.c (go_background): Replaced with...
23609         (run_mode): ... this.
23610         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
23611         (options): Add -F --foreground.
23612         (main): Implement it.
23613         (parse_opt): Parse it.
23615 2012-05-09  Andreas Jaeger  <aj@suse.de>
23617         [BZ #14083]
23618         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
23619         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
23620         -Wconversion warning.
23621         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
23622         Likewise.
23624 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
23626         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
23627         == 0.
23628         (LC_ALL): Use macro-int-constant.
23629         (LC_COLLATE): Likewise.
23630         (LC_CTYPE): Likewise.
23631         (LC_MESSAGES): Likewise.
23632         (LC_MONETARY): Likewise.
23633         (LC_NUMERIC): Likewise.
23634         (LC_TIME): Likewise.
23635         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
23636         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23637         [ISO || ISO99 || ISO11] (*_t): Do not allow.
23638         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
23639         Specify type.
23640         [C99-based standards] (float_t): Expect type.
23641         [C99-based standards] (double_t): Expect type.
23642         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
23643         type.
23644         [C99-based standards] (HUGE_VALL): Likewise.
23645         [C99-based standards] (INFINITY): Likewise.
23646         [C99-based standards] (NAN): Likewise.
23647         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
23648         [C99-based standards] (FP_NAN): Likewise.
23649         [C99-based standards] (FP_NORMAL): Likewise.
23650         [C99-based standards] (FP_SUBNORMAL): Likewise.
23651         [C99-based standards] (FP_ZERO): Likewise.
23652         [C99-based standards] (FP_FAST_FMA): Use
23653         optional-macro-int-constant.  Specify type.  Require == 1.
23654         [C99-based standards] (FP_FAST_FMAF): Likewise.
23655         [C99-based standards] (FP_FAST_FMAL): Likewise.
23656         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
23657         [C99-based standards] (FP_ILOGBNAN): Likewise.
23658         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
23659         Specify type.
23660         [C99-based standards] (MATH_ERREXCEPT): Likewise.
23661         [C99-based standards] (math_errhandling): Specify type.
23662         [ISO99 || ISO11] (signgam): Do not allow.
23663         [non-C99-based standards] (copysignf): Do not allow.
23664         [non-C99-based standards] (exp2f): Likewise.
23665         [non-C99-based standards] (log2f): Likewise.
23666         [non-C99-based standards] (modff): Allow.
23667         [non-C99-based standards] (erff): Do not allow.
23668         [non-C99-based standards] (erfcf): Likewise.
23669         [non-C99-based standards] (gammaf): Likewise.
23670         [non-C99-based standards] (hypotf): Likewise.
23671         [non-C99-based standards] (j0f): Likewise.
23672         [non-C99-based standards] (j1f): Likewise.
23673         [non-C99-based standards] (jnf): Likewise.
23674         [non-C99-based standards] (lgammaf): Likewise.
23675         [non-C99-based standards] (tgammaf): Likewise.
23676         [non-C99-based standards] (y0f): Likewise.
23677         [non-C99-based standards] (y1f): Likewise.
23678         [non-C99-based standards] (ynf): Likewise.
23679         [non-C99-based standards] (isnanf): Likewise.
23680         [non-C99-based standards] (acoshf): Likewise.
23681         [non-C99-based standards] (asinhf): Likewise.
23682         [non-C99-based standards] (atanhf): Likewise.
23683         [non-C99-based standards] (cbrtf): Likewise.
23684         [non-C99-based standards] (expm1f): Likewise.
23685         [non-C99-based standards] (ilogbf): Likewise.
23686         [non-C99-based standards] (log1pf): Likewise.
23687         [non-C99-based standards] (logbf): Likewise.
23688         [non-C99-based standards] (nextafterf): Likewise.
23689         [non-C99-based standards] (remainderf): Likewise.
23690         [non-C99-based standards] (rintf): Likewise.
23691         [non-C99-based standards] (scalbf): Likewise.
23692         [non-C99-based standards] (copysignl): Likewise.
23693         [non-C99-based standards] (exp2l): Likewise.
23694         [non-C99-based standards] (log2l): Likewise.
23695         [non-C99-based standards] (modfl): Allow.
23696         [non-C99-based standards] (erfl): Do not allow.
23697         [non-C99-based standards] (erfcl): Likewise.
23698         [non-C99-based standards] (gammal): Likewise.
23699         [non-C99-based standards] (hypotl): Likewise.
23700         [non-C99-based standards] (j0l): Likewise.
23701         [non-C99-based standards] (j1l): Likewise.
23702         [non-C99-based standards] (jnl): Likewise.
23703         [non-C99-based standards] (lgammal): Likewise.
23704         [non-C99-based standards] (tgammal): Likewise.
23705         [non-C99-based standards] (y0l): Likewise.
23706         [non-C99-based standards] (y1l): Likewise.
23707         [non-C99-based standards] (ynl): Likewise.
23708         [non-C99-based standards] (isnanl): Likewise.
23709         [non-C99-based standards] (acoshl): Likewise.
23710         [non-C99-based standards] (asinhl): Likewise.
23711         [non-C99-based standards] (atanhl): Likewise.
23712         [non-C99-based standards] (cbrtl): Likewise.
23713         [non-C99-based standards] (expm1l): Likewise.
23714         [non-C99-based standards] (ilogbl): Likewise.
23715         [non-C99-based standards] (log1pl): Likewise.
23716         [non-C99-based standards] (logbl): Likewise.
23717         [non-C99-based standards] (nextafterl): Likewise.
23718         [non-C99-based standards] (remainderl): Likewise.
23719         [non-C99-based standards] (rintl): Likewise.
23720         [non-C99-based standards] (scalbl): Likewise.
23721         [ISO || ISO99 || ISO11] (*_t): Do not allow.
23722         [non-C99-based standards] (FP_*): Do not allow.
23723         [C99-based standards] (FP_*): Change to
23724         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23725         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23726         allow.
23727         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
23728         (SIG_ERR): Likewise.
23729         [X/Open-based standards] (SIG_HOLD): Likewise.
23730         (SIG_IGN): Likewise.
23731         (SIGABRT): Use macro-int-constant.  Specify type.  Require
23732         positive value.
23733         (SIGFPE): Likewise.
23734         (SIGILL): Likewise.
23735         (SIGINT): Likewise.
23736         (SIGSEGV): Likewise.
23737         (SIGTER): Likewise.
23738         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
23739         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
23740         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
23741         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
23742         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
23743         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
23744         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
23745         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
23746         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
23747         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
23748         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
23749         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
23750         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
23751         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
23752         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
23753         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
23754         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
23755         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
23756         [X/Open-based standards] (SIGTRAP): Likewise.
23757         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
23758         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
23759         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
23760         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
23761         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23762         allow.
23764 2012-05-08  Ian Wienand  <ianw@vmware.com>
23766         [BZ #14080]
23767         * time/tzset.c (__tzset_parse_tz): Update default rules for
23768         daylight time changes in the Energy Policy Act of 2005.
23770 2012-05-09  Andreas Jaeger  <aj@suse.de>
23772         [BZ #13983]
23773         * elf/ldconfig.c (parse_conf): Change string to make clear that
23774         ldconfig only issued a warning if ld.so.conf does not exist.
23776 2012-05-08  David S. Miller  <davem@davemloft.net>
23778         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
23779         movxtod instead of popping the value on the stack.
23781         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23783 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
23785         * config.h.in: Add HAVE_ARM_PCS_VFP.
23787 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
23789         [BZ #13979]
23790         * include/features.h: Warn if user requests __FORTIFY_SOURCE
23791         checking but the checks are disabled for any reason.
23793 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
23795         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
23796         and ELF64_R_TYPE with ELFW(R_TYPE).
23798 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
23800         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
23801         (ulimit): Likewise.
23803         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
23804         (settimeofday): Likewise.
23806 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
23808         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
23809         a struct th_u2 inside the union, and move tu_block/tu_code into
23810         a new th_u3 union of tu_block/tu_code inside of that.  Move
23811         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
23812         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
23813         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
23814         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
23815         (th_stuff): Change to th_u1.tu_stuff.
23816         (th_data): Define.
23817         (th_msg): Change to th_u1.th_u2.tu_data.
23819 2012-05-07  David S. Miller  <davem@davemloft.net>
23821         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23823         [BZ #14074]
23824         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
23825         (SETUP_PIC_REG): Use it.
23826         (SETUP_PIC_REG_LEAF): Use it.
23828 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
23830         [BZ #13885]
23831         [BZ #13923]
23832         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23833         USE_AS_EXPM1L.
23834         (EXPL_FINITE): Likewise.
23835         (FLDLOG): Likewise.
23836         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23837         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23838         e_expl.S.
23839         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23840         USE_AS_EXPM1L.
23841         (EXPL_FINITE): Likewise.
23842         (FLDLOG): Likewise.
23843         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23844         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23845         e_expl.S.
23846         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
23847         test of -max_value argument for long double.
23848         * sysdeps/i386/fpu/libm-test-ulps: Update.
23849         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23851 2012-05-06  David S. Miller  <davem@davemloft.net>
23853         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
23854         quad soft-float symbols whose references which are compiler
23855         generated.
23856         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23858 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
23860         [BZ #13884]
23861         [BZ #13914]
23862         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23863         USE_AS_EXP10L.
23864         (EXPL_FINITE): Likewise.
23865         (FLDLOG): Likewise.
23866         (c0): Likewise.
23867         (c1): Likewise.
23868         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
23869         Adjust comments for base varying.
23870         (__expl_finite): Change alias to EXPL_FINITE.
23871         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
23872         e_expl.S.
23873         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
23874         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
23875         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23876         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
23877         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23878         USE_AS_EXP10L.
23879         (EXPL_FINITE): Likewise.
23880         (FLDLOG): Likewise.
23881         (c0): Likewise.
23882         (c1): Likewise.
23883         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
23884         Adjust comments for base varying.
23885         (__expl_finite): Change alias to EXPL_FINITE.
23886         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
23887         tests for bugs.
23888         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23890         [BZ #14064]
23891         * math/libm-test.inc (check_float_internal): Correct ulp
23892         calculation for subnormal expected results.
23894 2012-05-06  Andreas Jaeger  <aj@suse.de>
23896         * Makeconfig (+math-flags): New, set to -frounding-math.
23897         (+cflags): Add +math-flags so that all of glibc gets compiled with
23898         it.
23900         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
23902 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
23904         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
23905         Disable one test.
23907         [BZ #13787]
23908         [BZ #13922]
23909         [BZ #14036]
23910         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
23911         (__ieee754_expl): Allow for and saturate large arguments.
23912         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
23913         (u_threshold): Likewise.
23914         (__exp): Call __ieee754_exp before checking for overflow and
23915         underflow.
23916         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
23917         (u_threshold): Likewise.
23918         (__expf): Call __ieee754_expf before checking for overflow and
23919         underflow.
23920         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
23921         (u_threshold): Likewise.
23922         (__expl): Call __ieee754_expl before checking for overflow and
23923         underflow.
23924         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
23925         (__ieee754_expl): Allow for and saturate large arguments.
23926         * math/libm-test.inc (exp_test): Add another test.  Do not allow
23927         missing overflow exception on overflow.
23928         (expm1_test): Do not allow missing overflow exception on overflow.
23930         * sysdeps/i386/fpu/e_expl.c: Move to ...
23931         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
23932         rather than using inline asm.
23933         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
23934         * sysdeps/x86_64/fpu/e_expl.S: Copy from
23935         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
23937         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
23938         (nice): Likewise.
23939         (poll): Likewise.
23940         (signal): Likewise.
23941         (time): Likewise.
23942         (times): Likewise.
23944 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
23946         * sysdeps/unix/syscalls.list (adjtime): Add entry from
23947         sysdeps/unix/common/syscalls.list.
23948         (fchmod): Likewise.
23949         (fchown): Likewise.
23950         (ftruncate): Likewise.
23951         (getrusage): Likewise.
23952         (gettimeofday): Likewise.
23953         (setpgid): Likewise.
23954         (setregid): Likewise.
23955         (setreuid): Likewise.
23956         (sigaction): Likewise.
23957         (truncate): Likewise.
23958         (vhangup): Likewise.
23959         * sysdeps/unix/common/syscalls.list: Remove file.
23960         * sysdeps/unix/bsd/Implies: Don't include unix/common.
23961         * sysdeps/unix/sysv/linux/Implies: Likewise.
23963 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
23965         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
23966         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
23967         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
23968         Moved to ...
23969         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
23970         Here.
23971         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
23972         to ...
23973         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
23974         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
23975         to ...
23976         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
23977         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
23978         to ...
23979         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
23980         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
23981         to ...
23982         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
23983         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
23984         to ...
23985         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
23986         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
23987         to ...
23988         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
23989         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
23990         to ...
23991         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23992         Here.
23993         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
23994         to ...
23995         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
23996         Here.
23997         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
23998         to ...
23999         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
24000         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
24001         Moved to ...
24002         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
24003         Here.
24004         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
24005         to ...
24006         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
24008 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
24010         * sysdeps/unix/common/bits/dirent.h: Remove file.
24011         * sysdeps/unix/common/bits/fcntl.h: Likewise.
24013         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
24014         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
24015         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
24016         * sysdeps/unix/bsd/isatty.c: Likewise.
24017         * sysdeps/unix/bsd/tcdrain.c: Likewise.
24018         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
24019         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
24021 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24023         [BZ #13563]
24024         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
24025         long double comparison inaccuracies.
24026         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
24027         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
24029 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
24031         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
24032         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
24034 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
24036         [BZ #14049]
24037         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
24038         nonzero digits before rounding a hex value.
24039         * stdlib/tst-strtod.c (tests): Add another test.
24041 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
24043         * sysdeps/s390/fpu/libm-test-ulps: Update.
24045 2012-05-03  Andreas Jaeger  <aj@suse.de>
24047         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
24048         does not get optimized out.
24049         (malloc_opt_barrier): New.
24051 2012-05-03  Andreas Jaeger  <aj@suse.de>
24052             Roland McGrath  <roland@hack.frob.com>
24054         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
24055         intermediate file deletion.
24056         (generated): Add .symlist files.
24058 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
24060         [BZ #13775]
24061         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
24062         Redirect under this condition.
24063         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24064         [__USE_GNU] (__dprintf_chk): Not under this condition.
24065         [__USE_GNU] (__vdprintf_chk): Likewise.
24066         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
24067         under this condition.
24068         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24069         [__USE_XOPEN2K8] (dprintf): Define under this condition.
24070         [__USE_XOPEN2K8] (vdprintf): Likewise.
24071         [__USE_GNU] (__dprintf_chk): Not under this condition.
24072         [__USE_GNU] (__vdprintf_chk): Likewise.
24073         [__USE_GNU] (dprintf): Likewise.
24074         [__USE_GNU] (vdprintf): Likewise.
24076 2012-05-03  Roland McGrath  <roland@hack.frob.com>
24078         * elf/Makefile (common-generated): Set this instead of generated for
24079         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
24080         $(all-built-dso)-derived lists.
24082 2012-05-03  Andreas Jaeger  <aj@suse.de>
24084         * sysdeps/i386/fpu/libm-test-ulps: Update.
24086         * FAQ: Removed.
24087         * FAQ.in: Likewise.
24088         * scripts/gen-FAQ.pl: Likewise.
24089         * manual/install.texi (Installation): Point to online location of
24090         FAQ.
24091         * Makefile (files-for-dist): Remove FAQ.
24092         (FAQ): Remove.
24094 2012-05-02  Allan McRae  <allan@archlinux.org>
24096         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
24097         (LDFLAGS-reldepmod5.so): Likewise.
24098         (LDFLAGS-reldep6mod1.so): Likewise.
24099         (LDFLAGS-reldep6mod4.so): Likewise.
24100         (LDFLAGS-reldep8mod3.so): Likewise.
24101         (LDFLAGS-unload4mod1.so): Likewise.
24102         (LDFLAGS-unload4mod2.so): Likewise.
24103         (LDFLAGS-tst-initorder): Likewise.
24104         (LDFLAGS-tst-initordera2.so): Likewise.
24105         (LDFLAGS-tst-initordera3.so): Likewise.
24106         (LDFLAGS-tst-initordera4.so): Likewise.
24107         (LDFLAGS-tst-initorderb2.so): Likewise.
24108         (LDFLAGS-noload): Likewise.
24109         (LDFLAGS-next): Likewise.
24110         (LDFLAGS-order2mod1.so): Likewise.
24111         (LDFLAGS-order2mod2.so): Likewise.
24112         (LDFLAGS-tst-initorder2): Likewise.
24113         (LDFLAGS-tst-initorder2a.so): Likewise.
24114         (LDFLAGS-tst-initorder2b.so): Likewise.
24115         (LDFLAGS-tst-initorder2c.so): Likewise.
24116         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
24118 2012-05-02  David S. Miller  <davem@davemloft.net>
24120         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24122 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
24124         [BZ #14055]
24125         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
24127 2012-05-02  Andreas Jaeger  <aj@suse.de>
24129         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
24130         since we manipulate rounding mode.
24131         (CPPFLAGS-test-idouble.c): Likewise.
24132         (CPPFLAGS-test-ifloat.c): Likewise.
24133         (CFLAGS-test-ldouble.c): Likewise.
24134         (CFLAGS-test-double.c): Likewise.
24135         (CFLAGS-test-float.c): Likewise.
24136         (CFLAGS-test-misc.c): Likewise.
24137         (CFLAGS-test-test-fenv.c): Likewise.
24139 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24141         [BZ #2550]
24142         [BZ #2570]
24143         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
24144         comparisons to determine direction to adjust input.
24146 2012-05-01  Roland McGrath  <roland@hack.frob.com>
24148         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
24149         output to the target.
24151         * scripts/localplt.awk: New file.
24152         * elf/Makefile ($(objpfx)check-localplt): Target removed.
24153         (check-localplt-CFLAGS): Variable removed.
24154         ($(all-built-dso:=.jmprel)): New static pattern rule.
24155         (generated): Add those targets.
24156         (localplt-built-dso): New variable.
24157         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
24159         * elf/check-localplt.c: File removed.
24161         * scripts/check-execstack.awk: New file.
24162         * elf/Makefile ($(objpfx)check-execstack): Target removed.
24163         (check-execstack-CFLAGS): Variable removed.
24164         ($(objpfx)check-execstack.h): Target removed.
24165         ($(objpfx)execstack-default): New target.
24166         (generated): Add that instead of check-execstack.h.
24167         ($(all-built-dso:=.phdr)): New static pattern rule.
24168         (generated): Add those targets.
24169         * elf/check-execstack.c: File removed.
24171         * scripts/check-textrel.awk: New file.
24172         * elf/Makefile ($(objpfx)check-textrel): Target removed.
24173         (check-textrel-CFLAGS): Variable removed.
24174         (all-built-dso): Use := to define.o
24175         ($(all-built-dso:=.dyn)): New static pattern rule.
24176         (generated): Add those targets.
24177         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
24178         * config.make.in (READELF): New substituted variable.
24179         * elf/check-textrel.c: File removed.
24181 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
24183         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24184         allow.
24185         * conform/data/ctype.h-data [C99-based standards] (isblank):
24186         Expect function.
24187         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
24188         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
24189         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24190         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
24191         Specify type.  Require positive value.
24192         (EILSEQ): Likewise.
24193         (ERANGE): Likewise.
24194         [ISO || POSIX] (EILSEQ): Do not expect.
24195         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
24196         Specify type.  Require positive value.
24197         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
24198         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
24199         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
24200         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
24201         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
24202         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
24203         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
24204         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
24205         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
24206         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
24207         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
24208         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
24209         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
24210         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
24211         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
24212         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
24213         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
24214         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
24215         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
24216         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
24217         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
24218         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
24219         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
24220         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
24221         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
24222         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
24223         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
24224         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
24225         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
24226         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
24227         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
24228         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
24229         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
24230         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
24231         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
24232         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
24233         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
24234         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
24235         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
24236         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
24237         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
24238         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
24239         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
24240         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
24241         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
24242         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
24243         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
24244         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
24245         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
24246         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
24247         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
24248         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
24249         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
24250         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
24251         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
24252         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
24253         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
24254         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
24255         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
24256         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
24257         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
24258         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
24259         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
24260         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
24261         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
24262         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
24263         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
24264         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
24265         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
24266         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
24267         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
24268         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
24269         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
24270         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
24271         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
24272         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
24273         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
24274         Require >= 2.
24275         (FLT_ROUNDS): Expect as macro, not constant.
24276         (FLT_MANT_DIG): Use macro-int-constant.
24277         (DBL_MANT_DIG): Likewise.
24278         (LDBL_MANT_DIG): Likewise.
24279         (FLT_DIG): Likewise.
24280         (DBL_DIG): Likewise.
24281         (LDBL_DIG): Likewise.
24282         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
24283         (DBL_MIN_EXP): Likewise.
24284         (LDBL_MIN_EXP): Likewise.
24285         (FLT_MAX_EXP): Use macro-int-constant.
24286         (DBL_MAX_EXP): Likewise.
24287         (LDBL_MAX_EXP): Likewise.
24288         (FLT_MAX_10_EXP): Likewise.
24289         (DBL_MAX_10_EXP): Likewise.
24290         (LDBL_MAX_10_EXP): Likewise.
24291         (FLT_MAX): Use macro-constant.
24292         (DBL_MAX): Likewise.
24293         (LDBL_MAX): Likewise.
24294         (FLT_EPSILON): Use macro-constant.  Give upper bound.
24295         (DBL_EPSILON): Likewise.
24296         (LDBL_EPSILON): Likewise.
24297         (FLT_MIN): Likewise.
24298         (DBL_MIN): Likewise.
24299         (LDBL_MIN): Likewise.
24300         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
24301         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
24302         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
24303         [ISO11] (FLT_HAS_SUBNORM): Likewise.
24304         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
24305         [ISO11] (DBL_DECIMAL_DIG): Likewise.
24306         [ISO11] (FLT_DECIMAL_DIG): Likewise.
24307         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
24308         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
24309         [ISO11] (FLT_TRUE_MIN): Likewise.
24310         [ISO11] (LDBL_TRUE_MIN): Likewise.
24311         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24312         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
24313         (SCHAR_MIN): Use macro-int-constant.  Specify type.
24314         (SCHAR_MAX): Likewise.
24315         (UCHAR_MAX): Likewise.
24316         (CHAR_MIN): Likewise.
24317         (CHAR_MAX): Likewise.
24318         (MB_LEN_MAX): Use macro-int-constant.
24319         (SHRT_MIN): Use macro-int-constant.  Specify type.
24320         (SHRT_MAX): Likewise.
24321         (USHRT_MAX): Likewise.
24322         (INT_MAX): Likewise.
24323         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
24324         bound negative.
24325         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
24326         bound with "U".
24327         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
24328         bound with "L".
24329         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
24330         bound negative.  Suffix upper bound with "L".
24331         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
24332         bound with "UL".
24333         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
24334         Specify type.
24335         [C99-based standards] (LLONG_MAX): Likewise.
24336         [C99-based standards] (ULLONG_MAX): Likewise.
24337         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
24338         == 0.
24339         [ISO11] (max_align_t): Require type.
24340         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24342         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
24343         from $CFLAGS, without defining away __attribute__ calls.
24344         (checknamespace): Use $CFLAGS_namespace.
24346         * conform/conformtest.pl (@keywords): Only include C99 keywords
24347         for standards based on C99 or C11.
24349         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
24350         Disable tests.
24351         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
24352         UNIX98]: Likewise.
24354         * conform/conformtest.pl: Handle "macro-int-constant" and test for
24355         usability of symbols in #if.
24357         * conform/conformtest.pl: If macro or constant types start
24358         "promoted:", expect the symbol to be of the following type
24359         promoted by the integer promotions.
24361         * conform/conformtest.pl: Parse all "constant" and "macro" lines
24362         in one place.  Also handle "macro-constant".
24364         * conform/conformtest.pl: Only accept expected macro values with
24365         "==".  Parse all "macro" lines in one place.
24366         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
24368         * conform/conformtest.pl: Handle braced types on "constant" lines
24369         instead of handling "typed-constant".
24370         * conform/data/signal.h-data: Use "constant" instead of
24371         "typed-constant".
24373         * conform/conformtest.pl: Handle "optional-" at start of lines in
24374         one place rather than duplicating several cases.  Handle each
24375         format of "macro" line with initial "optional-".
24377         * conform/conformtest.pl: Only accept expected constant or
24378         optional-constant values with "==".  Parse all "constant" lines in
24379         one place.  Parse all "optional-constant" lines in one place.
24380         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
24381         * conform/data/fmtmsg.h-data: Likewise.
24382         * conform/data/netinet/in.h-data: Likewise.
24383         * conform/data/tar.h-data: Likewise.
24384         * conform/data/limits.h-data: Use "==" form on "constant" and
24385         "optional-constant" lines.
24387         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
24388         Use -std=c99 for XOPEN2K.
24389         (@knownproblems): Remove.
24390         (newtoken): Don't check %isknown.
24392         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
24393         Do not expect macro.
24394         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
24395         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
24396         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
24397         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
24398         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
24399         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
24400         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
24401         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
24402         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
24403         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
24404         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
24405         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
24406         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
24407         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
24408         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
24409         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
24410         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
24411         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
24412         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
24413         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
24414         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
24415         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
24416         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
24417         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
24418         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
24419         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
24420         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
24421         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
24422         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
24423         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
24424         [XPG3] (acosh): Likewise.
24425         [XPG3] (asinh): Likewise.
24426         [XPG3] (atanh): Likewise.
24427         [XPG3] (cbrt): Likewise.
24428         [XPG3] (expm1): Likewise.
24429         [XPG3] (ilogb): Likewise.
24430         [XPG3] (log1p): Likewise.
24431         [XPG3] (logb): Likewise.
24432         [XPG3] (nextafter): Likewise.
24433         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
24434         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
24435         [XPG3] (remainder): Likewise.
24436         [XPG3] (rint): Likewise.
24437         [XPG3 || XPG4 || UNIX98] (round): Likewise.
24438         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
24439         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
24440         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
24441         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
24442         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
24443         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
24444         [UNIX98 || XOPEN2K] (scalb): Expect.
24445         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
24446         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
24447         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
24448         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
24449         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
24450         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
24451         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
24452         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
24453         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
24454         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
24455         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
24456         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
24457         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
24458         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
24459         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
24460         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
24461         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
24462         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
24463         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
24464         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
24465         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
24466         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
24467         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
24468         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
24469         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
24470         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
24471         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
24472         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
24473         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
24474         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
24475         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
24476         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
24477         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
24478         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
24479         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
24480         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
24481         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
24482         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
24483         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
24484         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
24485         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
24486         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
24487         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
24488         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
24489         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
24490         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
24491         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
24492         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
24493         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
24494         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
24495         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
24496         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
24497         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
24498         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
24499         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
24500         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
24501         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
24502         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
24503         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
24504         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
24505         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
24506         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
24507         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
24508         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
24509         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
24510         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
24511         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
24512         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
24513         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
24514         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
24515         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
24516         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
24517         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
24518         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
24519         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
24520         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
24521         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
24522         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
24523         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
24524         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
24525         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
24526         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
24527         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
24528         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
24529         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
24530         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
24531         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
24532         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
24533         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
24534         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
24535         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
24536         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
24537         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
24538         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
24539         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
24540         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
24541         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
24542         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
24543         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
24544         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
24545         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
24546         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
24547         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
24548         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
24549         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
24550         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
24551         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
24552         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
24553         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
24554         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
24555         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
24556         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
24557         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
24558         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
24559         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
24560         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
24561         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
24562         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
24563         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
24564         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
24565         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
24566         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
24567         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
24568         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
24569         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
24570         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
24571         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
24572         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
24573         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
24574         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
24575         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
24576         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
24577         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
24578         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
24579         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
24580         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
24581         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
24583         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
24584         _XOPEN_SOURCE_EXTENDED for XPG4.
24586         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
24588         * Makeconfig (localtime): Remove variable.
24589         (inst_localtime-file): Likewise.
24591 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
24593         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
24594         Update.
24595         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24596         Update.
24597         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
24598         Update.
24599         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24600         Update.
24601         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
24602         Update.
24603         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
24604         Update.
24605         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24606         Update.
24607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
24608         Update.
24609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24610         Update.
24612 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
24614         [BZ #2550]
24615         [BZ #2570]
24616         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
24617         comparisons to determine direction to adjust input.
24618         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24619         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
24620         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
24621         Likewise.
24622         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
24623         Likewise.
24624         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24625         Likewise.
24626         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
24627         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24628         Likewise.
24629         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24630         Likewise.
24631         * math/libm-test.inc (nexttoward_test): Add more tests.
24633 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
24635         [BZ #14040]
24636         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
24637         in version GLIBC_2.1, not GLIBC_2.0.
24638         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
24639         Likewise.
24641 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
24643         [BZ #13942]
24644         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
24645         (1 - x) * (1 + x).
24646         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24647         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
24648         * math/libm-test.inc (acos_test): Add more tests.
24649         (asin_test): Likewise.
24650         * sysdeps/i386/fpu/libm-test-ulps: Update.
24651         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24653         [BZ #14034]
24654         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
24655         of square root.
24656         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
24657         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24658         * math/libm-test.inc (acos_test_tonearest): New function.
24659         (acos_test_towardzero): Likewise.
24660         (acos_test_downward): Likewise.
24661         (acos_test_upward): Likewise.
24662         (asin_test_tonearest): Likewise.
24663         (asin_test_towardzero): Likewise.
24664         (asin_test_downward): Likewise.
24665         (asin_test_upward): Likewise.
24666         (main): Call the new functions.
24667         * sysdeps/i386/fpu/libm-test-ulps: Update.
24668         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24670         [BZ #13884]
24671         [BZ #13924]
24672         * math/e_exp10.c: Include <float.h>.
24673         (__ieee754_exp10): Handle underflow here rather than multiplying
24674         large negative argument by M_LN10.
24675         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
24676         of __ieee754_expf.
24677         * math/e_exp10l.c: Include <float.h>.
24678         (__ieee754_exp10l): Handle underflow here rather than multiplying
24679         large negative argument by M_LN10l.
24680         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
24681         spurious overflow exception on underflow.
24683 2012-04-29  Marek Polacek  <polacek@redhat.com>
24685         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
24686         (__fortify_function): New macro.
24687         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
24688         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
24689         __extern_always_inline.
24690         * libio/bits/stdio2.h: Likewise.
24691         * libio/bits/stdio.h: Likewise.
24692         * string/string.h: Likewise.
24693         * string/bits/string3.h: Likewise.
24694         * include/stdio.h: Likewise.
24695         * stdlib/bits/stdlib.h: Likewise.
24696         * stdlib/stdlib.h: Likewise.
24697         * rt/bits/mqueue2.h: Likewise.
24698         * rt/mqueue.h: Likewise.
24699         * posix/bits/unistd.h: Likewise.
24700         * posix/unistd.h: Likewise.
24701         * io/bits/poll2.h: Likewise.
24702         * io/bits/fcntl2.h: Likewise.
24703         * io/fcntl.h: Likewise.
24704         * io/sys/poll.h: Likewise.
24705         * misc/bits/syslog.h: Likewise.
24706         * misc/bits/syslog-ldbl.h: Likewise.
24707         * misc/sys/syslog.h: Likewise.
24708         * socket/bits/socket2.h: Likewise.
24709         * socket/sys/socket.h: Likewise.
24710         * debug/tst-chk1.c: Likewise.
24711         * wcsmbs/bits/wchar2.h: Likewise.
24712         * wcsmbs/bits/wchar-ldbl.h: Likewise.
24713         * wcsmbs/wchar.h: Likewise.
24715 2012-04-29  Andreas Jaeger  <aj@suse.de>
24717         * Makerules (tests): Remove enable-check-abi protection.
24718         (check-abi-warn): Remove.
24719         (check-abi-%): Remove check-abi-warn usage.
24721         * configure.in: Remove check-abi configure option.
24722         * configure: Regenerated.
24723         * config.make.in (enable-check-abi): Remove.
24725 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
24727         [BZ #14033]
24728         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
24729         double functions to double *_finite functions.
24731         [BZ #13941]
24732         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
24733         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
24734         LDBL_MIN_EXP.
24735         * stdio-common/Makefile (tests): Add tst-sprintf3.
24736         * stdio-common/tst-sprintf3.c: New file.
24738         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
24739         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
24741 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
24743         * conform/conformtest.pl: Remove duplicate typed-constant
24744         handling.
24746 2012-04-28  David S. Miller  <davem@davemloft.net>
24748         * Makerules (%.abilist): Add vpath on sysdep_dirs.
24749         (check-abi-%): Remove AWK script prerequisite and explicit
24750         abilist directory.
24751         (check-abi): Rewrite to just diff the symlist with the abilist.
24752         (config-tls, config-abi-config): Delete, no longer used.
24753         (update-abi-%): Remove AWK script and explicit abilist directory.
24754         (update-abi): Rewrite to simply compare and conditionally copy the
24755         symlist and the sysdep abilist file.  Remove update-abi-config
24756         checks.
24757         * abilist/ld.abilist: Remove.
24758         * abilist/libBrokenLocale.abilist: Remove.
24759         * abilist/libanl.abilist: Remove.
24760         * abilist/libcrypt.abilist: Remove.
24761         * abilist/libdl.abilist: Remove.
24762         * abilist/librt.abilist: Remove.
24763         * abilist/libthread_db.abilist: Remove.
24764         * abilist/libutil.abilist: Remove.
24765         * scripts/extract-abilist.awk: Remove.
24766         * scripts/merge-abilist.awk: Remove.
24767         * sysdeps/generic/libcidn.abilist: New file.
24768         * sysdeps/generic/libnss_compat.abilist: New file.
24769         * sysdeps/generic/libnss_db.abilist: New file.
24770         * sysdeps/generic/libnss_dns.abilist: New file.
24771         * sysdeps/generic/libnss_files.abilist: New file.
24772         * sysdeps/generic/libnss_hesiod.abilist: New file.
24773         * sysdeps/generic/libnss_nis.abilist: New file.
24774         * sysdeps/generic/libnss_nisplus.abilist: New file.
24775         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
24776         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
24777         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
24778         file.
24779         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
24780         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
24781         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
24782         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
24783         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
24784         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
24785         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
24786         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
24787         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
24788         file.
24789         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
24790         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
24791         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
24792         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
24793         file.
24794         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
24795         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
24796         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
24797         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
24798         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
24799         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
24800         file.
24801         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
24802         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
24803         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
24804         file.
24805         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
24806         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
24807         New file.
24808         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
24809         New file.
24810         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
24811         New file.
24812         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
24813         New file.
24814         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
24815         New file.
24816         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
24817         New file.
24818         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
24819         New file.
24820         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
24821         New file.
24822         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
24823         New file.
24824         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
24825         New file.
24826         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
24827         New file.
24828         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
24829         New file.
24830         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
24831         New file.
24832         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
24833         file.
24834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
24835         New file.
24836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
24837         New file.
24838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
24839         file.
24840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
24841         New file.
24842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
24843         New file.
24844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
24845         file.
24846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
24847         New file.
24848         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24849         New file.
24850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
24851         New file.
24852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
24853         New file.
24854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
24855         New file.
24856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
24857         New file.
24858         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
24859         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
24860         file.
24861         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
24862         New file.
24863         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
24864         file.
24865         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
24866         file.
24867         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
24868         file.
24869         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
24870         file.
24871         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
24872         file.
24873         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24874         New file.
24875         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
24876         file.
24877         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
24878         file.
24879         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
24880         New file.
24881         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
24882         file.
24883         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
24884         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
24885         file.
24886         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
24887         New file.
24888         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
24889         file.
24890         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
24891         file.
24892         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
24893         file.
24894         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
24895         file.
24896         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
24897         file.
24898         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24899         New file.
24900         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
24901         file.
24902         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
24903         file.
24904         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
24905         New file.
24906         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
24907         file.
24908         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
24909         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
24910         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
24911         file.
24912         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
24913         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
24914         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
24915         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
24916         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
24917         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
24918         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
24919         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
24920         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
24921         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
24922         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
24923         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
24924         file.
24925         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
24926         New file.
24927         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
24928         file.
24929         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
24930         file.
24931         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
24932         file.
24933         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
24934         file.
24935         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
24936         file.
24937         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24938         New file.
24939         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24940         New file.
24941         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
24942         file.
24943         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24944         New file.
24945         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
24946         file.
24947         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
24948         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
24949         file.
24950         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24951         New file.
24952         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
24953         file.
24954         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
24955         file.
24956         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
24957         file.
24958         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
24959         file.
24960         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
24961         file.
24962         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24963         New file.
24964         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24965         New file.
24966         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
24967         file.
24968         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24969         New file.
24970         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
24971         file.
24973 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
24975         * conform/conformtest.pl: Fix typo in handling typed-constant from
24976         allow-header.
24978 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
24980         * README: Cut down references to pre-2.6 Linux kernels and
24981         Linuxthreads.  Update lists of configurations in libc and ports
24982         and sort alphabetically.  Say "or newer" with Linux kernel version
24983         requirements.
24985         * config.h.in [IS_IN_build]: Allow compiling without optimization.
24987 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24989         [BZ #887]
24990         * math/libm-test.inc (logb_test_downward): New test to expose
24991         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
24992         rounding mode.
24994 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
24996         [BZ #14027]
24997         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
24998         to be done.
24999         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
25000         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
25002 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
25004         * sysdeps/unix/i386/brk.S: Remove file.
25005         * sysdeps/unix/i386/dl-brk.S: Likewise.
25006         * sysdeps/unix/i386/pipe.S: Likewise.
25007         * sysdeps/unix/i386/sigreturn.S: Likewise.
25008         * sysdeps/unix/i386/syscall.S: Likewise.
25009         * sysdeps/unix/i386/vfork.S: Likewise.
25010         * sysdeps/unix/i386/wait.S: Likewise.
25012         * sysdeps/unix/common/tcsendbrk.c: Move to ...
25013         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
25015         * configure.in (arm*-none*): Do not allow without
25016         --enable-hacker-mode.
25017         (netbsd*): Remove case setting base_os.
25018         (386bsd*): Likewise.
25019         (freebsd*): Likewise.
25020         (bsdi*): Likewise.
25021         (osf*): Likewise.
25022         (sunos*): Likewise.
25023         (ultrix*): Likewise.
25024         (newsos*): Likewise.
25025         (dynix*): Likewise.
25026         (*bsd*): Likewise.
25027         (sysv*): Likewise.
25028         (isc*): Likewise.
25029         (esix*): Likewise.
25030         (sco*): Likewise.
25031         (minix*): Likewise.
25032         (irix4*): Likewise.
25033         (irix6*): Likewise.
25034         (solaris[2-9]*): Likewise.
25035         (none): Likewise.
25036         * configure: Regenerated.
25038 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25040         [BZ #11521]
25041         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
25042         overflow or cancellation in calculating denominator.
25043         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
25044         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
25045         down expression to avoid unexpected rounding in newer GCCs.
25046         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
25048 2012-04-26  David S. Miller  <davem@davemloft.net>
25050         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
25051         long-double compat symbols.
25052         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
25053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
25054         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
25056         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25057         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
25058         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
25059         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
25060         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
25061         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25062         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
25063         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
25064         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25066 2012-04-25  David S. Miller  <davem@davemloft.net>
25068         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
25069         HWCAP_* values only after the memory barriers have been defined.
25070         (atomic_full_barrier): Define.
25071         (atomic_read_barrier): Define.
25072         (atomic_write_barrier): Define.
25074 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25076         * shlib-versions: Add libgcc_s version information.
25077         * sysdeps/generic/libgcc_s.h: Remove.
25078         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
25079         libgcc_s.h.
25080         * sysdeps/gnu/unwind-resume.c: Likewise.
25081         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
25083 2012-04-25  David S. Miller  <davem@davemloft.net>
25085         * sysdeps/unix/sparc/brk.S: Delete.
25086         * sysdeps/unix/sparc/dl-brk.S: Delete.
25087         * sysdeps/unix/sparc/pipe.S: Delete.
25088         * sysdeps/unix/sparc/sysdep.S: Delete.
25089         * sysdeps/unix/sparc/sysdep.h: Delete.
25090         * sysdeps/unix/sparc/vfork.S: Delete.
25091         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
25092         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
25093         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
25094         ret_ERRVAL, r0, r1, MOVE): Define.
25095         (JUMPTARGET): Remove.
25096         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
25097         sysdeps/unix/sparc/sysdep.h
25098         (ENTRY, END): Remove.
25099         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25101 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
25103         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
25104         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
25105         -DIS_IN_build.
25107         * timezone/README: Update upstream location and email address for
25108         tzcode and tzdata.
25109         * timezone/zdump.c: Update from tzcode 2012b.
25110         * timezone/zic.c: Likewise.
25112         * configure.in (libc_cv_as_needed): Remove test.
25113         * configure: Regenerated.
25114         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
25115         conditional definition.
25116         [$(have-as-needed) != yes] (no-as-needed): Likewise.
25117         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
25118         * config.make.in (have-as-needed): Remove variable.
25120 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25121             Paul Pluzhnikov  <ppluzhnikov@google.com>
25123         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
25124         strings correctly.
25126 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
25128         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
25129         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
25130         * sysdeps/sh/strlen.S: Likewise.
25132 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
25134         * sysdeps/unix/fork.S: Remove file.
25135         * sysdeps/unix/i386/fork.S: Likewise.
25136         * sysdeps/unix/sparc/fork.S: Likewise.
25138         * sysdeps/unix/system.c: Remove file.
25139         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
25141         * sysdeps/unix/getegid.S: Remove file.
25142         * sysdeps/unix/geteuid.S: Likewise.
25144 2012-04-24  Roland McGrath  <roland@hack.frob.com>
25146         * scripts/check-localplt.awk: New file.
25147         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
25148         of diff.
25149         * scripts/data/localplt-generic.data: Add a comment.
25151         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
25152         NODE when __dir_mkfile failed.
25153         * sysdeps/mach/hurd/symlinkat.c: Likewise.
25154         Reported by Ludovic Courtès <ludo@gnu.org>.
25156 2012-04-24  Andreas Jaeger  <aj@suse.de>
25158         * Makerules (common-clean): Also remove gen-as-const-headers
25159         files.
25161 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
25163         * Makerules (native-compile): Do not change working directory for
25164         build.  Use $(OUTPUT_OPTION) in command.
25165         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
25167 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25169         [BZ #13886]
25170         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
25171         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
25172         * math/libm-test.inc (floor_test): Add more tests.
25173         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
25175 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
25177         * sysdeps/unix/getdents.c: Remove file.
25178         * sysdeps/unix/sysv/getdents.c: Likewise.
25179         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
25181         * sysdeps/unix/syscalls.list (madvise): Add syscall from
25182         sysdeps/unix/mman/syscalls.list.
25183         (mmap): Likewise.
25184         (mprotect): Likewise.
25185         (msync): Likewise.
25186         (munmap): Likewise.
25187         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
25188         * sysdeps/unix/mman/syscalls.list: Remove.
25189         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
25191         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
25192         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
25193         * configure: Regenerated.
25194         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
25195         $(libgcc_s_suffix).
25196         * config.make.in (libgcc_s_suffix): Remove variable.
25198 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
25200         * sysdeps/unix/sysv/gethostname.c: Move to ...
25201         * sysdeps/posix/gethostname.c: ... here.
25203         * sysdeps/unix/execve.S: Remove file.
25205         * sysdeps/unix/_exit.S: Remove file.
25207 2012-04-23  Andreas Jaeger  <aj@suse.de>
25209         [BZ #13739]
25210         * manual/Makefile: Remove make dist support, there's no
25211         need for a stand-alone documentation tar ball.
25212         (TEXI2DVI): Define always, it's not in Makeconfig.
25213         (dist): Removed.
25214         (tar-it): Removed.
25215         (edition): Removed.
25216         (glibc-doc-$(edition).tar): Removed
25217         (%.Z): Removed.
25218         (%.gz): Removed.
25219         (%.uu): Removed.
25220         (ETAGS): Remove, it's in Makeconfig.
25221         (move-if-change): Remove, it's in Makeconfig.
25223 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
25225         [BZ #13970]
25226         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
25227         (strtod, strtof, strtold, strtol, strtoul, strtoq)
25228         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
25229         (strtod_l, strtof_l, strtold_l): Remove __wur.
25230         It is not necessarily an error to ignore strtol's return value.
25231         One can reliably look at the stored endptr to decide whether
25232         the number had valid syntax.
25234 2012-04-21  Andreas Jaeger  <aj@suse.de>
25236         [BZ #13739]
25237         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
25239 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
25241         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
25242         * sysdeps/unix/sysv/Versions: Remove file.
25244 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
25246         [BZ #13927]
25247         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25249 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
25251         [BZ #7064]
25252         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
25253         version from __vm86.
25255 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
25257         * sysdeps/unix/common/lxstat.c: Remove file.
25258         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
25260         * sysdeps/unix/sysv/Makefile: Remove file.
25262         * sysdeps/unix/sysv/direct.h: Remove file.
25264         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
25265         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
25266         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
25267         * sysdeps/unix/sysv/bits/signum.h: Likewise.
25268         * sysdeps/unix/sysv/bits/stat.h: Likewise.
25269         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
25270         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
25272         * sysdeps/unix/sysv/setrlimit.c: Remove file.
25274         * sysdeps/unix/xmknod.c: Remove file.
25275         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
25277         * sysdeps/unix/sysv/settimeofday.c: Remove file.
25279         * sysdeps/unix/sysv/i386/time.S: Remove file.
25281         * sysdeps/unix/fxstat.c: Remove file.
25282         * sysdeps/unix/xstat.c: Likewise.
25283         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
25285         * sysdeps/unix/sysv/sigaction.c: Remove file.
25287         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
25288         (sysdep_headers): Remove variable.
25289         [termio.h not in sysdep_headers] (generated): Likewise.
25290         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
25291         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
25292         * sysdeps/unix/sysv/tcdrain.c: Likewise.
25293         * sysdeps/unix/sysv/tcflow.c: Likewise.
25294         * sysdeps/unix/sysv/tcflush.c: Likewise.
25295         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
25296         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
25297         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
25298         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
25299         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
25301         * sysdeps/unix/siglist.c: Remove file.
25303         * sysdeps/unix/getppid.S: Remove file.
25305         * sysdeps/unix/mkdir.c: Remove file.
25306         * sysdeps/unix/rmdir.c: Likewise.
25308 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
25310         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
25311         ERR_MAX value.
25312         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
25313         errlist-compat value.
25315 2012-04-18  David S. Miller  <davem@davemloft.net>
25317         * sysdeps/generic/memcopy.h (reg_char): Delete.
25318         * debug/strcat_chk.c: Use char, not reg_char.
25319         * debug/strcpy_chk.c: Likewise.
25320         * debug/strncat_chk.c: Likewise.
25321         * debug/strncpy_chk.c: Likewise.
25322         * string/memchr.c: Likewise.
25323         * string/memrchr.c: Likewise.
25324         * string/rawmemchr.c: Likewise.
25325         * string/strcat.c: Likewise.
25326         * string/strchr.c: Likewise.
25327         * string/strchrnul.c: Likewise.
25328         * string/strcmp.c: Likewise.
25329         * string/strcpy.c: Likewise.
25330         * string/strncat.c: Likewise.
25331         * string/strncmp.c: Likewise.
25332         * string/strncpy.c: Likewise.
25334 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
25336         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
25337         __builtin_memcopy is called when src and dest ranges are known to not
25338         overlap.
25340 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
25342         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
25343         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
25344         fwd_align_merge macro call.
25345         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
25346         bwd_align_merge macro call.
25347         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25349 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
25351         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
25352         bwd_align_merge macros.
25353         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
25354         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
25355         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25357 2012-04-18  David S. Miller  <davem@davemloft.net>
25359         * sysdeps/sparc/sparc64/memcopy.h: Delete.
25361 2012-04-18  Andreas Jaeger  <aj@suse.de>
25363         [BZ# 6794]
25364         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
25365         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
25366         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25368         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
25369         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
25370         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25372         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
25373         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
25374         Adjust for changed ldbl-128 files.
25376         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
25377         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
25378         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25380 2012-04-17  David S. Miller  <davem@davemloft.net>
25382         * sysdeps/sparc/sparc32/memcopy.h: Delete.
25384 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
25386         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
25387         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
25388         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
25389         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
25390         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25391         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
25393 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25395         [BZ #6794]
25396         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
25397         * math/libm-test.inc: Add ilogb errno and exception tests.
25398         * math/w_ilogb.c: New file: ilogb wrapper.
25399         * math/w_ilogbf.c: New file: ilogbf wrapper.
25400         * math/w_ilogbl.c: New file: ilogbl wrapper.
25401         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
25402         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
25403         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
25404         exception being thrown with 0.0 as argument.
25405         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
25406         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
25407         exception being thrown with 0.0 as argument.
25408         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
25409         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25410         exception being thrown with 0.0 as argument.
25411         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
25412         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25413         exception being thrown with 0.0 as argument.
25414         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
25415         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
25416         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
25417         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
25418         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
25419         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
25420         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
25421         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
25422         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
25424 2012-04-17  Petr Baudis  <pasky@ucw.cz>
25426         * include/sys/uio.h: Change __vector to __iovec to avoid clash
25427         with altivec.
25429 2012-04-16  Marek Polacek  <polacek@redhat.com>
25431         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
25433 2012-04-16  Marek Polacek  <polacek@redhat.com>
25435         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
25436         operands of fdivp instruction.
25438 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
25440         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
25441         * elf/tst-auditmod3b.c: Likewise.
25442         * elf/tst-auditmod4b.c: Likewise.
25443         * elf/tst-auditmod5b.c: Likewise.
25444         * elf/tst-auditmod6b.c: Likewise.
25445         * elf/tst-auditmod6c.c: Likewise.
25446         * elf/tst-auditmod7b.c: Likewise.
25447         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
25448         * sysdeps/x86_64/preconfigure.in: Likewise.
25449         * sysdeps/x86_64/preconfigure: Regenerated.
25451 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
25453         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
25454         __ILP32__.
25456 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
25458         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25459         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
25461 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
25463         [BZ #13973]
25464         * locale/iso-639.def: Fix gl language name. Spotted by
25465         Yaron Shahrabani.
25467 2012-04-12  Roland McGrath  <roland@hack.frob.com>
25469         [BZ #2074]
25470         * libio/libio.h (__io_write_fn): Update comment.
25472 2012-04-12  Petr Baudis  <pasky@ucw.cz>
25474         [BZ #2074]
25475         * stdio.texi (Hook Functions): The user provided writer function
25476         is not allowed to return -1.
25478 2012-04-11  David S. Miller  <davem@davemloft.net>
25480         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25482 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
25484         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
25485         Add a leading slash to rtkaio.
25487 2012-04-11  Jim Meyering  <meyering@redhat.com>
25489         [BZ #11959]
25490         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
25491         It is not necessarily an error to ignore fwrite's return
25492         value.  One can reliably use ferror to test for errors after
25493         the fact.
25495 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
25497         * bits/types.h (__snseconds_t): New type.
25498         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
25500         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
25501         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25502         (__SNSECONDS_T_TYPE): Likewise.
25503         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25504         (__SNSECONDS_T_TYPE): Likewise.
25505         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25506         (__SNSECONDS_T_TYPE): Likewise.
25508 2012-04-10  Andreas Jaeger  <aj@suse.de>
25510         [BZ #2636]
25511         * manual/time.texi (Processor Time): Return type of times is
25512         elapsed real time since an arbitrary point in the past.
25513         (CPU Time): Move CLK_TCK from here...
25514         (Processor Time): ...to here.  Correct description.
25515         * manual/conf.texi (Constants for Sysconf): Correct description of
25516         _SC_CLK_TCK.
25518 2012-04-10  David S. Miller  <davem@davemloft.net>
25520         [BZ #13967]
25521         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
25522         where the is a gap between DT_REL(A) and DT_JMPREL.
25524 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
25526         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
25527         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25528         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25530 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25532         * elf/dl-support.c (_dl_inhibit_cache): New variable.
25533         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
25534         (dl_main): Handle --inhibit-cache.
25535         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
25536         _dl_inhibit_cache.
25537         * elf/dl-load.c (_dl_map_object): Use it.
25538         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
25540 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
25542         [BZ #13872]
25543         * sysdeps/i386/fpu/e_powl.S (p78): New object.
25544         (__ieee754_powl): Saturate large exponents rather than testing for
25545         overflow of y*log2(x).
25546         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25547         * math/libm-test.inc (pow_test): Do not permit spurious overflow
25548         exceptions.
25550         [BZ #11521]
25551         * math/s_ctan.c: Include <float.h>.
25552         (__ctan): Avoid internal overflow or cancellation in calculating
25553         denominator.
25554         * math/s_ctanf.c: Likewise.
25555         * math/s_ctanl.c: Likewise.
25556         * math/s_ctanh.c: Likewise.
25557         * math/s_ctanhf.c: Likewise.
25558         * math/s_ctanhl.c: Likewise.
25559         * math/libm-test.inc (ctan_test): Add more tests.
25560         (ctanh_test): Likewise.
25561         * sysdeps/i386/fpu/libm-test-ulps: Update.
25562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25564 2012-04-09  Andreas Jaeger  <aj@suse.de>
25566         [BZ #6894]
25567         * manual/filesys.texi (Directory Entries): Mention that d_namlen
25568         is an optional BSD extension.
25570         [BZ #10254]
25571         * manual/stdio.texi (Opening Streams): Document additional fopen
25572         parameters.
25574 2012-04-09  Roland McGrath  <roland@hack.frob.com>
25576         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
25577         %eax without telling the compiler.
25579 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
25581         [BZ # 13963]
25582         * manual/install.texi: Use sourceware.org.
25584 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
25586         [BZ #13873]
25587         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
25588         (__ieee754_pow): Generate overflow and underflow using huge*huge
25589         and tiny*tiny rather than just returning constant infinity or zero
25590         for large exponents.
25591         * math/libm-test.inc (pow_test): Require overflow exceptions for
25592         applicable cases of large exponents.
25594         [BZ #706]
25595         * sysdeps/i386/fpu/e_pow.S (p10): New object.
25596         (__ieee754_pow): Use iterative multiplication algorithm only for
25597         integer exponents with absolute value below 1024.  Check for odd
25598         integer exponents when using algorithm for real exponents.
25599         * math/libm-test.inc (pow_test): Add more tests.
25600         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25602 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
25604         [BZ #13705]
25605         * math/libm-test.inc (exp_test): Do not allow overflow exception
25606         on underflow test.
25608 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
25610         [BZ #13705]
25611         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
25612         instead of __kernel_standard_f.
25614 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
25616         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
25617         * sysdeps/x86_64/memset_chk.S: Likewise.
25619 2012-04-08  Andreas Jaeger  <aj@suse.de>
25621         [BZ #10153]
25622         * manual/startup.texi (Environment Access): Describe return value
25623         for putenv and setenv.
25625         [BZ #6895]
25626         * manual/filesys.texi (Directory Entries): Add description for
25627         DT_LNK.
25629         [BZ #6890]
25630         * manual/filesys.texi (Directory Entries): Clarify that it's file
25631         system not operating system in the description of DT_UNKNOWN.
25633         [BZ #6578]
25634         * manual/syslog.texi (closelog): Fix reference, it's openlog.
25636 2012-04-08  Stephen Compall  <s11@member.fsf.org>
25638         [BZ #6649]
25639         * manual/llio.texi (Opening and Closing Files): Add cross
25640         reference to explain mode argument.
25642 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
25644         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
25645         * sysdeps/x86_64/memset_chk.S: Likewise.
25647 2012-04-07  David S. Miller  <davem@davemloft.net>
25649         * elf/elf.h (R_SPARC_WDISP10): Define.
25650         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
25651         R_SPARC_SIZE32.
25652         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
25653         R_SPARC_SIZE64 and R_SPARC_H34.
25655 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
25657         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
25658         conditions and remove no longer applicable assertion.
25660 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
25662         * bits/byteswap.h: Include <features.h>.
25663         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25664         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25666 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
25668         * bits/byteswap.h (__bswap_16): Removed.
25669         Include <bits/byteswap-16.h> to get __bswap_16.
25670         * sysdeps/i386/bits/byteswap.h: Likewise.
25671         * sysdeps/s390/bits/byteswap.h: Likewise.
25672         * sysdeps/x86_64/bits/byteswap.h: Likewise.
25673         * bits/byteswap-16.h: New file.
25674         * sysdeps/i386/bits/byteswap-16.h: Likewise.
25675         * sysdeps/s390/bits/byteswap-16.h: Likewise.
25676         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
25677         * string/Makefile (headers): Add bits/byteswap-16.h.
25679 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
25681         [BZ #13895]
25682         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
25683         extra indirection.
25684         * nss/Makefile (tests-static, tests): Add tst-nss-static.
25685         * nss/tst-nss-static.c: New.
25687 2012-04-06  Robert Millan  <rmh@gnu.org>
25689         [BZ #6486]
25690         * manual/llio.texi (File Position Primitive): lseek
25691         refers to WHENCE when it really means OFFSET.
25693 2012-04-06  Andreas Jaeger  <aj@suse.de>
25695         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
25696         strncmp declarations.
25698         * abilist/libc.abilist: Add __poll and __ppoll.
25700 2012-04-05  David S. Miller  <davem@davemloft.net>
25702         * scripts/check-local-headers.sh: Accept a host triplet in the
25703         path matched by the exclude regexp.
25705         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
25706         definition.
25707         * sysdeps/powerpc/powerpc32/dl-machine.h
25708         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
25709         * sysdeps/s390/s390-32/dl-machine.h
25710         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25711         * sysdeps/sparc/sparc32/dl-machine.h
25712         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25713         * sysdeps/sparc/sparc64/dl-machine.h
25714         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25716         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
25717         lazy binding.
25718         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
25719         undefined symbol errors.
25721         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
25722         DT_NEEDED entries.
25724 2012-04-05  Michael Matz  <matz@suse.de>
25726         [BZ #13592]
25727         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
25729 2012-04-05  Andreas Jaeger  <aj@suse.de>
25731         [BZ #13908]
25732         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
25733         comment.
25735 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
25737         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
25738         which ROUND is no valid rounding mode.
25740 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
25742         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
25743         read again.
25744         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
25746 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
25748         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
25749         an exception using FPU order intentionally.
25751 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
25753         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
25754         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
25755         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
25756         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
25758 2012-04-05  Simon Josefsson  <simon@josefsson.org>
25760         [BZ #12340]
25761         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
25762         EINVAL when BUFLEN is too smal.
25764 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
25766         [BZ #13553]
25767         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
25768         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
25770 2012-04-03  Andreas Jaeger  <aj@suse.de>
25772         [BZ #13938]
25773         * manual/setjmp.texi (System V contexts): Fix sentence.
25775         [BZ #13926]
25776         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
25777         New macro for this case.
25778         [!__GNUC__] (__bswap_64): New inline function for this case.
25779         * sysdeps/x86_64/bits/byteswap.h: Likewise.
25780         * bits/byteswap.h: Likewise.
25781         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
25782         ull, guard with __GLIBC_HAVE_LONG_LONG.
25784         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
25785         __GLIBC_HAVE_LONG_LONG.
25787         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
25788         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
25790 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25792         [BZ #13691]
25793         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
25794         inptr and inend, rather than using last_ch.
25796 2012-04-02  David S. Miller  <davem@davemloft.net>
25798         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
25799         * stdio-common/printf-parse.h (read_int): Change return type to
25800         'int', return -1 on INT_MAX overflow.
25801         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
25802         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
25803         overflows INT_MAX.  Check for overflow of in-format-string precision
25804         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
25805         SIZE_MAX not INT_MAX for integer overflow test.
25806         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
25807         skip the construct in the format string but do not record anything.
25808         * stdio-common/bug22.c: Adjust to test both width/prevision
25809         INT_MAX overflow as well as total length INT_MAX overflow.  Check
25810         explicitly for proper errno values.
25812 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
25814         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
25815         CHAR_MAX.
25816         * string/test-strcmp.c [! WIDE]: Likewise.
25817         * time/tst-mktime2.c: Likewise for INT_MAX.
25818         * string/test-string.h: #include <sys/param.h> for MIN.
25820         * csu/init-first.c (__libc_init_first): Call __ctype_init.
25821         * sysdeps/i386/init-first.c (init): Likewise.
25822         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
25823         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
25824         * sysdeps/sh/init-first.c (init): Likewise.
25826 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
25828         * po/ru.po: Update from translation team.
25829         * po/vi.po: Likewise.
25831 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25833         * resolv/nss_dns/dns-host.c: Merge copyright years.
25835 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25837         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25838         Optimize memcpy with prefetch if
25839         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
25840         src, dst pointers have unequal 16 byte alignments.
25842 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25844         [BZ #13928]
25845         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
25846         from a CNAME entry and return the minimum ttl for the query.
25847         (gaih_getanswer_slice): Likewise.
25849 2012-03-30  Jeff Law  <law@redhat.com>
25851         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
25852         due to long keys.
25853         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
25854         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
25856         * resolv/nss_dns/dns-host.c: Update copyright year.
25858 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
25860         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
25861         requests to save a system call.  Fix check that all bytes are sent.
25863         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
25864         comments for sendmmsg.
25866 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25868         [BZ #13691]
25869         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
25870         with only 1 character between 0x0041 and 0x01b0.
25871         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
25872         * wcsmbs/tst-mbsnrtowcs.c: New file.
25874 2012-03-29  David S. Miller  <davem@davemloft.net>
25876         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
25877         small copies by hand.
25879 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25881         [BZ #13761]
25882         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
25883         _nss_compat_initgroups_dyn): Fall back to malloc/free
25884         for large group memberships.
25886 2012-03-28  David S. Miller  <davem@davemloft.net>
25888         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
25889         that branches into memcpy.
25890         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25891         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
25892         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25893         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
25894         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
25895         bits.
25896         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
25897         implementation too.
25898         * sysdeps/sparc/mempcpy.S: New file.
25900         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
25901         the IFUNC routine in the libc case.
25902         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25904         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
25905         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
25906         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
25907         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
25908         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
25909         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
25910         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
25911         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
25913         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
25914         loop to 256 bytes instead of 64 bytes and fix test signedness.
25916         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
25917         * sysdeps/sparc/sparc32/Makefile: rather than here...
25918         * sysdeps/sparc/sparc64/Makefile: and here.
25920 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
25922         * malloc/mallocbug.c: Avoid warnings about unused variables.
25924 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
25926         [BZ #13760]
25927         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
25928         in the right place. Discard and retry query if response is
25929         larger than input buffer size.
25931 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
25933         [BZ #369]
25934         [BZ #2678]
25935         [BZ #3866]
25936         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
25937         x for large integer exponent.
25938         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25939         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
25940         sign of result as needed afterwards.
25941         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25942         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
25943         result for underflowing pow the same as for overflow.
25944         (__kernel_standard_l): Handle powl overflow and underflow here
25945         rather than calling __kernel_standard.
25946         * math/libm-test.inc (pow_test): Add more tests.
25948         [BZ #3868]
25949         [BZ #13879]
25950         [BZ #13910]
25951         [BZ #13911]
25952         [BZ #13912]
25953         [BZ #13913]
25954         [BZ #13915]
25955         [BZ #13916]
25956         [BZ #13917]
25957         [BZ #13918]
25958         [BZ #13919]
25959         [BZ #13920]
25960         [BZ #13921]
25961         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
25962         * sysdeps/ieee754/k_standard.c: Include <float.h>.
25963         (__kernel_standard_l): New function.
25964         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
25965         __kernel_standard.
25966         * math/w_acosl.c (__acosl): Likewise.
25967         * math/w_asinl.c (__asinl): Likewise.
25968         * math/w_atan2l.c (__atan2l): Likewise.
25969         * math/w_atanhl.c (__atanhl): Likewise.
25970         * math/w_coshl.c (__coshl): Likewise.
25971         * math/w_exp10l.c (__exp10l): Likewise.
25972         * math/w_exp2l.c (__exp2l): Likewise.
25973         * math/w_fmodl.c (__fmodl): Likewise.
25974         * math/w_hypotl.c (__hypotl): Likewise.
25975         * math/w_j0l.c (__j0l, __y0l): Likewise.
25976         * math/w_j1l.c (__j1l, __y1l): Likewise.
25977         * math/w_jnl.c (__jnl, __ynl): Likewise.
25978         * math/w_lgammal.c (__lgammal): Likewise.
25979         * math/w_log10l.c (__log10l): Likewise.
25980         * math/w_log2l.c (__log2l): Likewise.
25981         * math/w_logl.c (__logl): Likewise.
25982         * math/w_powl.c (__powl): Likewise.
25983         * math/w_remainderl.c (__remainderl): Likewise.
25984         * math/w_scalbl.c (sysv_scalbl): Likewise.
25985         * math/w_sinhl.c (__sinhl): Likewise.
25986         * math/w_sqrtl.c (__sqrtl): Likewise.
25987         * math/w_tgammal.c (__tgammal): Likewise.
25988         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
25989         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
25990         * math/libm-test.inc (acos_test): Add more tests.
25991         (acosh_test): Likewise.
25992         (asin_test): Likewise.
25993         (atanh_test): Likewise.
25994         (exp_test): Likewise.
25995         (exp10_test): Likewise.
25996         (exp2_test): Likewise.
25997         (expm1_test): Likewise.
25998         (lgamma_test): Likewise.
25999         (log_test): Likewise.
26000         (log10_test): Likewise.
26001         (log1p_test): Likewise.
26002         (log2_test): Likewise.
26003         (pow_test): Do not allow some spurious overflow exceptions.
26004         (sqrt_test): Add more tests.
26005         (tgamma_test): Likewise.
26006         (y0_test): Likewise.
26007         (y1_test): Likewise.
26008         (yn_test): Likewise.
26010 2012-03-27  Anton Blanchard  <anton@samba.org>
26012         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
26013         MAP_HUGETLB.
26014         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
26015         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
26016         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
26018 2012-03-27  David S. Miller  <davem@davemloft.net>
26020         * conform/Makefile: Run run-conformtest.sh using $(BASH).
26022         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
26023         have-as-vis3 check.
26025 2012-03-27  Andreas Jaeger  <aj@suse.de>
26027         * sysdeps/x86_64/elf/configure.in: Moved to ...
26028         * sysdeps/x86_64/configure.in: ... here.
26029         * sysdeps/x86_64/elf/start.S: Moved to ...
26030         * sysdeps/x86_64/start.S: ... here.
26031         * sysdeps/x86_64/elf/configure: Delete.
26033         * sysdeps/x86_64/configure.in: Merge contents from
26034         sysdeps/i386/configure.in (without i686 check).
26036         * sysdeps/i386/elf/Versions: Merge into ...
26037         * sysdeps/i386/Versions: ... this.
26038         * sysdeps/i386/elf/Versions: Delete file.
26039         * sysdeps/i386/elf/start.S: Moved to ...
26040         * sysdeps/i386/start.S: ...here.
26041         * sysdeps/i386/elf/configure.in: Merge into...
26042         * sysdeps/i386/configure.in: ...here.
26043         * sysdeps/i386/elf/configure.in: Delete file.
26044         * sysdeps/i386/elf/configure: Delete file.
26046         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
26047         * debug/backtracesyms.c: ... here.
26048         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
26049         * debug/backtracesymsfd.c: ... here.
26050         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
26051         * sysdeps/generic/ifunc-sel.h: ... here.
26053         * sysdeps/unix/i386/start.c: Delete file.
26054         * sysdeps/unix/sparc/start.c: Delete file.
26055         * sysdeps/unix/start.c: Delete file.
26057         * sysdeps/sh/elf/configure.in: Moved to ...
26058         * sysdeps/sh/configure.in: ... here.
26059         * sysdeps/sh/elf/start.S: Moved to ...
26060         * sysdeps/sh/start.S: ... here.
26061         * sysdeps/sh/elf/configure: Delete file.
26063         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
26064         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
26065         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
26066         * sysdeps/powerpc/powerpc64/entry.h: ... here.
26067         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
26068         * sysdeps/powerpc/powerpc64/start.S: here.
26069         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
26070         * sysdeps/powerpc/powerpc64/Makefile: ... this.
26071         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
26072         * sysdeps/powerpc/powerpc64/configure.in: ... this.
26073         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
26075         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
26076         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
26077         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
26078         * sysdeps/powerpc/powerpc32/start.S: ... here.
26079         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
26080         * sysdeps/powerpc/powerpc32/configure.in: ... this.
26081         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
26083         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
26084         * sysdeps/powerpc/ifunc-sel.h: ... here.
26085         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
26086         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
26088         * sysdeps/sparc/elf/configure.in: Moved to ...
26089         * sysdeps/sparc/configure.in: ... here.
26090         * sysdeps/sparc/elf/configure: Delete file.
26091         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
26092         * sysdeps/sparc/sparc32/start.S: ... here.
26093         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
26094         * sysdeps/sparc/sparc64/start.S: ... here.
26095         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
26096         * sysdeps/sparc/sparc32/Makefile: ... this.
26097         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
26098         * sysdeps/sparc/sparc64/Makefile: ... this.
26100         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
26101         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
26102         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
26103         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
26104         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
26105         * sysdeps/s390/s390-32/setjmp.S: ... here.
26106         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
26107         * sysdeps/s390/s390-32/configure.in: ... here.
26108         * sysdeps/s390/s390-32/elf/configure: Delete file.
26109         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
26110         * sysdeps/s390/s390-32/start.S: ... here.
26112         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
26113         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
26114         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
26115         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
26116         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
26117         * sysdeps/s390/s390-64/setjmp.S: ... here.
26118         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
26119         * sysdeps/s390/s390-64/configure.in: ... here
26120         * sysdeps/s390/s390-64/elf/configure: Delete file.
26121         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
26122         * sysdeps/s390/s390-64/start.S: ... here.
26123         * sysdeps/s390/s390-64/elf/configure: Delete.
26125         * configure.in: Remove support for elf directories in sysdeps.
26127         * configure: Regenerated.
26128         * sysdeps/i386/configure: Regenerated.
26129         * sysdeps/powerpc/powerpc32/configure: Regenerated.
26130         * sysdeps/powerpc/powerpc64/configure: Regenerated.
26131         * sysdeps/s390/s390-32/configure: Regenerated.
26132         * sysdeps/s390/s390-64/configure: Regenerated.
26133         * sysdeps/sh/configure: Regenerated.
26134         * sysdeps/sparc/configure: Regenerated.
26135         * sysdeps/x86_64/configure: Regenerated.
26137 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
26139         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26141         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
26142         denormal result into account.
26144 2012-03-25  Roland McGrath  <roland@hack.frob.com>
26146         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
26147         Reported by Allan McRae <allan@archlinux.org>.
26149 2012-03-23  Jeff Law  <law@redhat.com>
26151         * nss/getnssent.c (__nss_getent): Fix typo.
26153 2012-03-23  David S. Miller  <davem@davemloft.net>
26155         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26157 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
26159         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
26160         to pad to uint64_t for each field.
26161         (dl_tls_index): Replace unsigned long with uint64_t.
26163 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
26164         Paul Pluzhnikov  <ppluzhnikov@google.com>
26166         [BZ #6528]
26167         * grp/Makefile (otherlibs): Don't set it.
26168         * inet/Makefile (otherlibs): Likewise.
26169         * login/Makefile (otherlibs): Likewise.
26170         * nscd/Makefile (otherlibs): Likewise.
26171         * posix/Makefile (otherlibs): Likewise.
26172         * pwd/Makefile (otherlibs): Likewise.
26173         * rt/Makefile (otherlibs): Likewise.
26174         * sunrpc/Makefile (otherlibs): Likewise.
26175         * nss/Makefile (otherlibs): Likewise.
26176         Add libnss_files to routines and static-only-routines.
26177         ($(objpfx)getent): Remove rule.
26178         * resolv/Makefile: Add libnss_dns and libresolv to routines and
26179         static-only-routines.
26181 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
26183         [BZ #13892]
26184         * math/s_cexp.c: Include <float.h>.
26185         (__cexp): Handle exp result overflowing not necessarily
26186         overflowing both real and imaginary parts of result.
26187         * math/s_cexpf.c: Likewise.
26188         * math/s_cexpl.c: Likewise.
26189         * math/libm-test.inc (cexp_test): Add more tests.
26190         * sysdeps/i386/fpu/libm-test-ulps: Update.
26191         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26193 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26195         * include/link.h (ELFW): New macro.
26196         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
26197         Replace ELF64_R_TYPE with ELFW(R_TYPE).
26199 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26201         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
26202         with uint64_t.
26204 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26206         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
26207         declaration.
26208         (struct La_x32_retval): Likewise.
26210 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26212         * sysdeps/x86_64/preconfigure.in: New file.
26213         * sysdeps/x86_64/preconfigure: New generated file.
26215 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
26217         [BZ #13824]
26218         * math/e_exp2l.c: Include <float.h>.
26219         (__ieee754_exp2l): Handle overflow and underflow cases
26220         separately.  Only pass fractional part of argument to
26221         __ieee754_expl.
26222         * math/libm-test.inc (exp2_test): Add more tests.
26224         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
26225         negating x to take absolute value.
26226         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
26227         Likewise.
26228         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26229         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
26230         Likewise.
26231         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
26232         computing low part if x was negated.
26233         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26235 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
26237         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
26238         la_x32_gnu_pltexit.
26239         (pltexit): Cast int_retval to ptrdiff_t.
26240         * elf/tst-auditmod3b.c: Likewise.
26241         * elf/tst-auditmod4b.c: Likewise.
26242         * elf/tst-auditmod5b.c: Likewise.
26243         * elf/tst-auditmod6b.c: Likewise.
26244         * elf/tst-auditmod6c.c: Likewise.
26245         * elf/tst-auditmod7b.c: Likewise.
26247         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
26248         and x32_gnu_pltexit.
26250         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
26251         __ELF_NATIVE_CLASS.
26252         (La_x32_regs): New macro.
26253         (La_x32_retval): Likewise.
26254         (la_x32_gnu_pltenter): New function prototype.
26255         (la_x32_gnu_pltexit): Likewise.
26257 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
26259         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
26260         exponent.
26262         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26264         * configure.in (libc_cv_cc_nofma): Check for option to disable
26265         generation of FMA instructions.
26266         * configure: Regenerate.
26267         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
26268         * sysdeps/ieee754/dbl-64/Makefile: New file.
26269         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26270         Remove brandred-fma4.
26271         (CFLAGS-brandred-fma4.c): Remove.
26272         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
26273         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
26274         define.
26275         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
26276         define.
26278 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
26280         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
26281         LLONG_MAX != LONG_MAX.
26282         (_itoa_word): Use _ITOA_WORD_TYPE on value.
26283         (_fitoa_word): Likewise.
26284         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
26285         LLONG_MAX != LONG_MAX.
26286         * stdio-common/_itowa.h: Include <_itoa.h>.
26287         (_itowa_word): Use _ITOA_WORD_TYPE on value.
26288         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
26289         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
26290         only if not defined.
26291         (_ITOA_WORD_TYPE): Likewise.
26292         (_itoa_word): Use _ITOA_WORD_TYPE on value.
26293         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
26295 2012-03-21  David S. Miller  <davem@davemloft.net>
26297         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26299 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
26301         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
26302         of x86_64 when setting libc_cv_slibdir, libdir and
26303         libc_cv_localedir.
26304         * sysdeps/unix/sysv/linux/configure: Regenerated.
26306 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
26308         * manual/lang.texi (Old Varargs): Remove section.
26309         (How Variadic): Update menu.
26310         (va_start): Do not mention varargs.h.
26312 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
26313             Joseph Myers  <joseph@codesourcery.com>
26315         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
26316         link test.
26317         * configure: Regenerated.
26319 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
26321         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
26322         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
26323         conformtest.pl
26325 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
26327         * NOTES: Remove.
26328         * Makefile (files-for-dist): Remove NOTES.
26329         (NOTES): Remove rule.
26330         * README: Don't refer to NOTES.
26331         * manual/creature.texi: Don't include macros.texi.
26332         * manual/intro.texi (creature.texi): Remove comment referring to
26333         NOTES.
26335         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
26336         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
26337         * configure: Regenerated.
26338         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
26339         LIBC_TRY_CC_OPTION.
26340         (libc_cv_as_i686): Likewise.
26341         (libc_cv_cc_avx): Likewise.
26342         (libc_cv_cc_sse2avx): Likewise.
26343         (libc_cv_cc_fma4): Likewise.
26344         (libc_cv_cc_novzeroupper): Likewise.
26345         * sysdeps/i386/configure: Regenerated.
26347         [BZ #13883]
26348         * sysdeps/i386/fpu/s_cexp.S: Remove.
26349         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26350         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26351         * math/libm-test.inc (cexp_test): Add more tests.
26352         * sysdeps/i386/fpu/libm-test-ulps: Update.
26353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26355 2012-03-21  Allan McRae  <allan@archlinux.org>
26357         * timezone/Makefile: Do not install iso3166.tab and zone.tab
26359 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
26361         [BZ #13871]
26362         * math/w_exp2.c: Do not include <float.h>.
26363         (o_threshold, u_threshold): Remove.
26364         (__exp2): Calculate result before checking finiteness and calling
26365         __kernel_standard.
26366         * math/w_exp2f.c: Likewise.
26367         * math/w_exp2l.c: Likewise.
26368         * math/libm-test.inc (exp2_test): Require overflow exception for
26369         1e6 input.
26371         [BZ #3866]
26372         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
26373         range of signed 64-bit integers before using fistpll.  Remove
26374         checks for whether integers fit in mantissa bits.
26375         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
26376         the range of signed 32-bit integers before using fistpl.  Remove
26377         checks for whether integers fit in mantissa bits.
26378         * sysdeps/i386/fpu/e_powl.S (p64): New object.
26379         (__ieee754_powl): Test for y outside the range of signed 64-bit
26380         integers before using fistpll.  Reduce 64-bit values to 63-bit
26381         ones as needed.
26382         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
26383         divide-by-zero is raised for zero to large negative powers.
26384         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
26385         (__ieee754_powl): Test for y outside the range of signed 64-bit
26386         integers before using fistpll.  Reduce 64-bit values to 63-bit
26387         ones as needed.
26388         * math/libm-test.inc (pow_test): Add more tests.
26390 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
26392         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
26393         <stdio-common/_itoa.h>.
26394         * debug/segfault.c: Likewise.
26395         * elf/dl-cache.c: Likewise.
26396         * elf/dl-minimal.c: Likewise.
26397         * elf/dl-misc.c: Likewise.
26398         * elf/dl-sysdep.c: Likewise.
26399         * elf/dl-version.c: Likewise.
26400         * elf/rtld.c: Likewise.
26401         * hurd/hurdsock.c: Likewise.
26402         * hurd/lookup-retry.c: Likewise.
26403         * malloc/malloc.c: Likewise.
26404         * malloc/mtrace.c: Likewise.
26405         * nscd/nscd_getgr_r.c: Likewise.
26406         * nscd/nscd_getpw_r.c: Likewise.
26407         * nscd/nscd_getserv_r.c: Likewise.
26408         * posix/getopt_init.c: Likewise.
26409         * posix/wordexp.c: Likewise.
26410         * stdio-common/_itoa.c: Likewise.
26411         * stdio-common/printf_fphex.c: Likewise.
26412         * stdio-common/vfprintf.c: Likewise.
26413         * string/_strerror.c: Likewise.
26414         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
26415         * sysdeps/i386/i686/hp-timing.h: Likewise.
26416         * sysdeps/mach/_strerror.c: Likewise.
26417         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
26418         * sysdeps/mach/hurd/sethostid.c: Likewise.
26419         * sysdeps/mach/hurd/xmknodat.c: Likewise.
26420         * sysdeps/mach/xpg-strerror.c: Likewise.
26421         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26422         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26423         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
26424         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
26425         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26426         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
26427         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
26428         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
26429         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
26430         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
26431         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
26432         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26433         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
26434         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26435         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26436         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
26437         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
26438         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
26439         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
26440         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
26441         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
26443         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
26445         * stdio-common/_itoa.h: Moved to ...
26446         * sysdeps/generic/_itoa.h: Here.
26448         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
26450         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
26451         instead of "_itoa.h" and "_itowa.h".
26452         * stdio-common/vfprintf.: Likewise.
26454 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
26456         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
26457         <bits/wordsize.h>.
26458         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
26459         (__signbit): Likwise.
26460         (llrintf): Likwise.
26461         (llrint): Likwise.
26463 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
26465         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
26466         __WORDSIZE != 64.
26468 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
26470         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
26471         OVERFLOW_EXCEPTION_OK.
26472         * math/libm-test.inc ("Philosophy"): Update comment about
26473         exception testing.
26474         (OVERFLOW_EXCEPTION): Define.
26475         (OVERFLOW_EXCEPTION_OK): Likewise.
26476         (INVALID_EXCEPTION_OK): Renumber.
26477         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26478         (IGNORE_ZERO_INF_SIGN): Likewise.
26479         (test_exceptions): Handle FE_OVERFLOW.
26480         (exp10_test): Expect overflow exceptions.
26481         (exp2_test): Likewise.
26482         (expm1_test): Likewise.
26483         (nextafter_test): Likewise.
26484         (pow_test): Likewise.
26485         (scalbn_test): Likewise.
26486         (scalbln_test): Likewise.
26488 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26490         * sysdeps/x86_64/bits/atomic.h
26491         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
26492         64bit integer.
26493         (atomic_exchange_acq): Likewise.
26494         (__arch_exchange_and_add_body): Likewise.
26495         (__arch_add_body): Likewise.
26496         (atomic_add_negative): Likewise.
26497         (atomic_add_zero): Likewise.
26499 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26501         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
26502         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
26504 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26506         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
26507         Check __x86_64__ instead of __WORDSIZE.
26509 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26511         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
26513 2012-03-19  David S. Miller  <davem@davemloft.net>
26515         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26517         * sysdeps/sparc/fpu/fenv_private.h: New file.
26518         * sysdeps/sparc/fpu/math_private.h: Use it.
26519         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
26520         Remove.
26521         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
26522         (libc_feholdexcept_setroundl): Remove.
26523         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
26524         Remove.
26525         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
26526         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
26528 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26530         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
26531         int64_t instead of long int.
26532         (INSERT_WORDS64): Likwise.
26534 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26536         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
26537         _Unwind_GetCFA return to _Unwind_Ptr first.
26539 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
26541         [BZ #13629]
26542         * math/s_clog.c: Include <float.h>.
26543         (__clog): Scale large or subnormal inputs.
26544         * math/s_clogf.c: Likewise.
26545         * math/s_clogl.c: Likewise.
26546         * math/s_clog10.c: Include <float.h>.
26547         (M_LOG10_2): Define.
26548         (__clog10): Scale large or subnormal inputs.
26549         * math/s_clog10f.c: Likewise.
26550         * math/s_clog10l.c: Likewise.
26551         * math/libm-test.inc (clog_test): Add more tests.
26552         (clog10_test): Likewise.
26553         * sysdeps/i386/fpu/libm-test-ulps: Update.
26554         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26556         [BZ #11451]
26557         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
26558         x and y.
26559         * math/libm-test.inc (atan2_test): Add another test.
26561         * Makerules (common-objdir-compile): Remove.
26562         * sysdeps/unix/Makefile (config-generated): Do not add
26563         $(unix-generated) to variable.
26564         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
26565         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
26566         Remove rule.
26567         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
26568         Likewise.
26569         [generic bits/local_lim.h] (before-compile): Do not append to
26570         variable.
26571         [generic bits/local_lim.h] (common-generated): Likewise.
26572         [generic sys/param.h] (before-compile): Do not append to variable.
26573         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
26574         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
26575         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
26576         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
26577         include.
26578         [generic sys/param.h] (sys/param.h-includes): Remove variable.
26579         [generic sys/param.h] (sys/param.h-includes): Remove rule.
26580         [generic sys/param.h] ($(addprefix
26581         $(common-objpfx),$(sys/param.h-includes))): Likewise.
26582         [generic sys/param.h] (common-generated): Do not append to
26583         variable.
26584         [generic sys/param.h] (sysdep_headers): Likewise.
26585         [generic bits/errno.h] (before-compile): Do not append to
26586         variable.
26587         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
26588         rule.
26589         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
26590         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
26591         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
26592         [generic bits/errno.h] (common-generated): Do not append to
26593         variable.
26594         [generic bits/ioctls.h] (before-compile): Do not append to
26595         variable.
26596         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
26597         rule.
26598         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
26599         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
26600         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
26601         rule.
26602         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
26603         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
26604         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
26605         [generic bits/ioctls.h] (common-generated): Do not append to
26606         variable.
26607         [generic sys/syscall.h] (syscall.h): Remove variable.
26608         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
26609         rule.
26610         [generic sys/syscall.h] (before-compile): Do not append to
26611         variable.
26612         [generic sys/syscall.h] (common-generated): Likewise.
26613         * sysdeps/unix/errnos-tmpl.c: Remove file.
26614         * sysdeps/unix/errnos.awk: Likewise.
26615         * sysdeps/unix/ioctls-tmpl.c: Likewise.
26616         * sysdeps/unix/ioctls.awk: Likewise.
26617         * sysdeps/unix/mk-local_lim.c: Likewise.
26618         * sysdeps/unix/snarf-ioctls: Likewise.
26620 2012-03-19  Richard Henderson  <rth@twiddle.net>
26622         * sysdeps/i386/fpu/fenv_private.h: New file.
26623         * sysdeps/i386/fpu/math_private.h: Use it.
26624         (math_opt_barrier, math_force_eval): Remove.
26625         (libc_feholdexcept_setround_53bit): Remove.
26626         (libc_feupdateenv_53bit): Remove.
26627         * sysdeps/x86_64/fpu/math_private.h: Likewise.
26628         (math_opt_barrier, math_force_eval): Remove.
26629         (libc_feholdexcept): Remove.
26630         (libc_feholdexcept_setround): Remove.
26631         (libc_fetestexcept, libc_fesetenv): Remove.
26632         (libc_feupdateenv_test): Remove.
26633         (libc_feupdateenv, libc_feholdsetround): Remove.
26634         (libc_feresetround): Remove.
26636         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
26637         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26639         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
26640         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
26641         (libc_feupdateenv_testl): New.
26642         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
26643         (libc_feupdateenv_testf): New.
26644         (libc_feupdateenv): Use libc_feupdateenv_test.
26645         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
26646         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
26648         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
26649         (libc_feholdsetroundf, libc_feholdsetroundl): New.
26650         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
26651         (libc_feresetround_noex): New.
26652         (libc_feresetround_noexf): New.
26653         (libc_feresetround_noexl): New.
26654         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
26655         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
26656         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
26657         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
26658         SET_RESTORE_ROUND.
26659         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26660         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
26661         (__cos): Likewise.
26662         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
26663         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
26664         SET_RESTORE_ROUND_NOEX.
26665         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
26666         SET_RESTORE_ROUND_NOEXF.
26667         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
26668         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
26669         (libc_feholdsetroundf): New.
26670         (libc_feresetround, libc_feresetroundf): New.
26672         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
26673         (libc_feholdexcept_setround_53bit): Convert from macro to function.
26674         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
26676         * sysdeps/generic/math_private.h: Include <fenv.h>.
26677         (default_libc_feholdexcept): New.
26678         (default_libc_feholdexcept_setround): New.
26679         (default_libc_fesetenv, default_libc_feupdateenv): New.
26680         (libc_feholdexcept): Only define if undefined.
26681         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
26682         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
26683         (libc_feholdexcept_setroundl): Likewise.
26684         (libc_feholdexcept_setround_53bit): Likewise.
26685         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
26686         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
26687         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
26688         (libc_feupdateenv_53bit): Likewise.
26689         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
26690         (libc_feholdexcept): Convert from macro to inline function.
26691         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
26692         (libc_fesetenv, libc_feupdateenv): Likewise.
26694         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
26695         not previously defined.
26696         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
26697         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
26698         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
26699         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
26700         * sysdeps/ieee754/flt-32/math_private.h: New file.
26701         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
26702         math_private.h below SET_FLOAT_WORD.
26703         (__isnan, __isinf_ns, __finite): Remove.
26704         (__isnanf, __isinf_nsf, __finitef): Remove.
26706 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
26708         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26710 2012-03-17  David S. Miller  <davem@davemloft.net>
26712         [BZ #6471]
26713         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
26714         for 2.16.
26716 2012-03-16  David S. Miller  <davem@davemloft.net>
26718         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
26719         warnings.
26721         [BZ #6471]
26722         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
26723         properly.
26724         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
26725         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
26726         sysdep_routines when subdir is sysvipc.
26727         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
26728         __getshmlba helper.
26730         * sysdeps/sparc/fpu/libm-test/ulps: Update.
26732 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
26734         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
26735         [__LP64__].
26737 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
26739         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
26740         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
26741         (__lround): Renamed to ...
26742         (__llround): This.  Replace long int with long long int.
26743         Define lround functions as aliases of llround functions.
26744         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
26746 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
26748         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
26749         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
26750         adresses to uintptr_t.  Replace "long int" and "unsigned long
26751         int" with "greg_t" on va_arg.
26753 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
26755         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
26756         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
26758         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
26759         Move e_machine check before EI_CLASS check.  Handle x32
26760         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
26761         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
26762         SKIP_EM_IA_64 and include
26763         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
26765         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
26766         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
26767         (add_system_dir): New macro.
26769         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
26770         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
26772 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
26774         [BZ #2551]
26775         [BZ #2552]
26776         [BZ #2553]
26777         [BZ #2554]
26778         [BZ #2562]
26779         [BZ #2563]
26780         [BZ #2565]
26781         [BZ #2566]
26782         [BZ #2576]
26783         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
26784         (y0): Likewise.
26785         * math/w_j0f.c (j0f): Likewise.
26786         (y0f): Likewise.
26787         * math/w_j0l.c (__j0l): Likewise.
26788         (__y0l): Likewise.
26789         * math/w_j1.c (j1): Likewise.
26790         (y1): Likewise.
26791         * math/w_j1f.c (j1f): Likewise.
26792         (y1f): Likewise.
26793         * math/w_j1l.c (__j1l): Likewise.
26794         (__y1l): Likewise.
26795         * math/w_jn.c (jn): Likewise.
26796         (yn): Likewise.
26797         * math/w_jnf.c (jnf): Likewise.
26798         (ynf): Likewise.
26799         * math/w_jnl.c (__jnl): Likewise.
26800         (__ynl): Likewise.
26801         * math/libm-test.inc (j0_test): Add more tests.
26802         (j1_test): Likewise.
26803         (jn_test): Likewise.  Add trailing semicolon to existing test.
26804         (y0_test): Likewise.
26805         (y1_test): Likewise.
26806         * sysdeps/i386/fpu/libm-test-ulps: Update.
26807         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26809         [BZ #13851]
26810         [BZ #13854]
26811         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
26812         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
26813         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
26814         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
26815         (__tanl): Set errno for infinite argument.
26816         * sysdeps/i386/fpu/mptan.c: Remove.
26817         * sysdeps/i386/fpu/s_tan.S: Likewise.
26818         * sysdeps/i386/fpu/s_tanl.S: Likewise.
26819         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
26820         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
26821         * math/libm-test.inc (tan_test): Add more tests and enable more
26822         tests for double and long double.
26823         * sysdeps/i386/fpu/libm-test-ulps: Update.
26824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26826 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
26828         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
26829         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
26831 2012-03-16  Roland McGrath  <roland@hack.frob.com>
26833         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
26834         * configure.in: Use it for both main tree and add-ons.
26835         * configure: Regenerated.
26837 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
26839         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
26841 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
26843         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
26844         in comment.
26846         [BZ #13851]
26847         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
26848         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
26849         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
26850         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
26851         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
26852         infinite argument.
26853         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
26854         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
26855         != 0 for prec == 2.
26856         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
26857         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
26858         * sysdeps/i386/fpu/s_cosl.S: Likewise.
26859         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
26860         * sysdeps/i386/fpu/s_sinl.S: Likewise.
26861         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
26862         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
26863         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
26864         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
26865         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
26866         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
26867         * math/libm-test.inc (cos_test): Add more tests and enable more
26868         tests for long double.
26869         (sin_test): Likewise.
26870         (sincos_test): Likewise.
26871         * sysdeps/i386/fpu/libm-test-ulps: Update.
26872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26874 2012-03-16  David S. Miller  <davem@davemloft.net>
26876         * sysdeps/sparc/fpu/math_private.h: New file.
26878 2012-03-15  David S. Miller  <davem@davemloft.net>
26880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
26881         file.
26882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
26883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
26884         file.
26885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
26886         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
26887         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
26888         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
26889         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
26890         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
26891         sysdep routines.
26892         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26894         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
26895         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
26897         * sysdeps/sparc/sparc-ifunc.h: New file.
26898         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
26899         sparc-ifunc.h
26900         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26901         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26902         Likewise.
26903         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26904         Likewise.
26905         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
26906         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
26907         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26908         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26909         Likewise.
26910         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26911         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
26912         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26913         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
26914         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
26915         Likewise.
26916         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
26917         Likewise.
26918         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26919         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
26920         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
26921         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
26922         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26923         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26924         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
26925         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
26926         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26927         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26928         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
26929         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
26930         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
26931         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
26932         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
26933         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26934         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
26935         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26936         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
26937         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26938         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
26939         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26940         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
26941         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26943 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
26945         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
26946         scaling.
26947         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26949 2012-03-15  Andreas Jaeger  <aj@suse.de>
26951         [BZ #13852]
26952         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
26953         ieee754/flt-32 implementation for sin, cos and sincos.
26954         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
26955         * sysdeps/i386/fpu/s_cosf.S: Likewise.
26956         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
26957         * sysdeps/i386/fpu/s_sinf.S: Likewise.
26958         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
26959         ieee754/flt-32 implementation for tan.
26961         * math/libm-test.inc (cos_test): Enable some large input tests for
26962         float as well
26963         (sin_test): Likewise.
26964         (sincos_test): Likewise.
26965         (tan_test): Add tests for large input.
26967         * sysdeps/i386/fpu/libm-test-ulps: Update.
26969 2012-03-15  Andreas Jaeger  <aj@suse.de>
26971         [BZ #13658]
26972         * math/libm-test.inc (cos_test): Add more test cases.
26973         (sin_test): Likewise.
26974         (sincos_test): Likewise.
26976 2012-03-15  Andreas Jaeger  <aj@suse.de>
26978         [BZ #13837]
26979         * math/libm-test.inc (cos_test): Add a test case for large input
26980         value.
26981         (sin_test): Likewise.
26982         (sincos_test): Likewise.
26984 2012-03-15  Andreas Jaeger  <aj@suse.de>,
26985         Joseph Myers  <joseph@codesourcery.com>
26987         [BZ #13658]
26988         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
26989         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
26990         * sysdeps/i386/fpu/branred.c: Likewise.
26991         * sysdeps/i386/fpu/dosincos.c: Likewise.
26992         * sysdeps/i386/fpu/mpa.c: Likewise.
26993         * sysdeps/i386/fpu/s_cos.S: Likewise.
26994         * sysdeps/i386/fpu/s_sin.S: Likewise.
26995         * sysdeps/i386/fpu/s_sincos.S: Likewise.
26996         * sysdeps/i386/fpu/sincos32.c: Likewise.
26998         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
26999         Define.
27000         (libc_feupdateenv_53bit): Define.
27001         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
27002         Define.
27003         (libc_feupdateenv_53bit): Define.
27005         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
27006         53 bit (without extend i386 double precision).
27008         * math/libm-test.inc (sincos_test): Add tests for large input.
27009         (sin): Likewise.
27010         (cos): Likewise.
27012         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
27014 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
27016         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27018 2012-03-15  David S. Miller  <davem@davemloft.net>
27020         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
27021         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
27022         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
27023         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
27024         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
27025         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
27026         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
27027         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
27028         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
27029         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
27030         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
27031         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
27032         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
27033         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
27034         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
27035         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
27036         file.
27037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
27038         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
27039         file.
27040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
27041         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
27042         file.
27043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
27044         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
27045         file.
27046         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
27047         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
27048         fmin/fmax sysdep routines.
27049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
27051 2012-03-14  David S. Miller  <davem@davemloft.net>
27053         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
27054         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
27055         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
27056         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
27057         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
27058         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
27059         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
27060         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
27061         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
27062         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
27063         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
27064         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
27065         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
27066         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
27067         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
27068         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
27069         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
27070         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
27071         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
27072         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
27073         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
27074         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
27075         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
27076         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
27077         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
27078         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
27079         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
27080         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
27081         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
27082         routines.
27083         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
27084         file.
27085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
27086         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
27087         file.
27088         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
27089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
27090         file.
27091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
27092         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
27093         file.
27094         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
27095         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
27096         file.
27097         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
27098         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
27099         file.
27100         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
27101         file.
27102         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
27103         file.
27104         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
27105         file.
27106         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
27107         New file.
27108         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
27109         file.
27110         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
27111         file.
27112         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
27113         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
27114         file.
27115         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
27116         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
27117         file.
27118         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
27119         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
27120         file.
27121         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
27122         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
27123         VIS3 routines.
27125         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27126         New file.
27128         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27130         * sysdeps/sparc/configure.in: New file.
27131         * sysdeps/sparc/configure: Generate.
27132         * configure.in (libc_cv_sparc_as_vis3): Substitute.
27133         * configure: Regenerate.
27134         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
27135         * config.make.in (have-as-vis3): New.
27136         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
27137         available use -Av9d instead of -Av9a.
27138         * sysdeps/sparc/sparc64/Makefile: Likewise.
27139         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
27140         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
27141         New file.
27142         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
27143         file.
27144         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
27145         New file.
27146         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
27147         file.
27148         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
27149         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
27150         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
27151         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
27152         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
27154         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
27155         fzeros/fnegs to load 0x80000000 into a float register instead of
27156         using the stack.
27157         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
27159 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
27161         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27162         bits/syscall.h.
27163         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
27164         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
27165         ($(inst_includedir)/bits/syscall.h): Remove rule.
27166         ($(objpfx)bits/syscall.d): Include instead of
27167         $(objpfx)syscall-list.d.
27168         (generated): Change syscall-list.h and syscall-list.d to
27169         bits/syscall.h and bits/syscall.d.
27171 2012-03-14  Roland McGrath  <roland@hack.frob.com>
27173         [BZ #13846]
27174         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
27176 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
27178         [BZ #13841]
27179         * math/s_csqrt.c: Include <float.h>.
27180         (__csqrt): Scale large or subnormal inputs.
27181         * math/s_csqrtf.c: Likewise.
27182         * math/s_csqrtl.c: Likewise.
27183         * math/libm-test.inc (csqrt_test): Add more tests.
27184         * sysdeps/i386/fpu/libm-test-ulps: Update.
27185         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27187         [BZ #13840]
27188         * math/libm-test.inc (hypot_test): Add more tests.
27190 2012-03-13  David S. Miller  <davem@davemloft.net>
27192         [BZ #13840]
27193         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
27194         double-precision for the calculation instead of scaling.
27196 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
27198         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
27199         manipulate bits before adding and subtracting TWO52[sx].
27200         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
27201         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27202         Likewise.
27203         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
27205 2012-03-13  David S. Miller  <davem@davemloft.net>
27207         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
27208         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
27209         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
27210         rtld-global-offsets.h
27211         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27213         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
27214         large parameters.
27216         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
27218         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
27219         'err' in the ifdef scope in which it is actually used.
27221         * nss/nss_db/db-init.c: Include string.h
27223 2012-03-12  David S. Miller  <davem@davemloft.net>
27225         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27226         masking out of the most significant byte of random value used.
27227         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27228         Fix coding style in previous change.
27230         * sysdeps/unix/sysv/linux/kernel-features.h
27231         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
27232         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
27233         expression.
27234         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
27235         later.
27237 2012-03-11  David S. Miller  <davem@davemloft.net>
27239         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27240         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
27241         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
27242         for 'resultvar' otherwise things get truncated on 64-bit.
27244         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27245         Fix masking out of the most significant byte of random value used.
27247         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27249 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
27251         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27253 2012-03-09  David S. Miller  <davem@davemloft.net>
27255         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
27256         variables with appropriate CPP guards.
27257         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
27258         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
27259         on resulting framesize and the management of the outregs buffer for pltexit.
27260         Preserve floating point return values across _dl_call_pltexit call.
27261         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
27262         framesize and the management of the outregs buffer for pltexit.
27263         Preserve floating point return values across _dl_call_pltexit
27264         call.
27265         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
27266         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
27267         (print_exit): Fix format string for return register value.
27269 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
27271         * sunrpc/Makefile (others): Add rpcgen.
27272         ($(objpfx)rpcgen): Remove special build rule and dependency on
27273         libc.
27274         * sunrpc/rpcgen.c: New file.
27276 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
27278         [BZ #13673]
27279         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
27280         * stdio-common/bug-vfprintf-nargs.c: Likewise.
27281         * sysdeps/i386/crti.S: Likewise.
27282         * sysdeps/i386/crtn.S: Likewise.
27283         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
27284         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
27285         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
27286         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
27287         * sysdeps/sh/crti.S: Likewise.
27288         * sysdeps/sh/crtn.S: Likewise.
27289         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27291         [BZ #13673]
27292         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
27293         with URL.
27294         * locale/programs/locfile-kw.gperf: Likewise.
27295         * locale/programs/charmap-kw.h: Regenerated.
27296         * locale/programs/locfile-kw.h: Likewise.
27298         [BZ #13673]
27299         * intl/plural.y: Replace FSF snail mail address with URL.
27300         * intl/plural.c: Regenerated.
27302 2012-03-09  Richard Henderson  <rth@twiddle.net>
27304         * include/math_private.h: Remove file.
27305         * math/math_private.h: Move file ...
27306         * sysdeps/generic/math_private.h: ... here.
27308         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
27309         * sysdeps/powerpc/fpu/math_private.h: Likewise.
27310         * sysdeps/x86_64/fpu/math_private.h: Likewise.
27312         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
27313         and <math_private.h>.
27314         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27315         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27316         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27317         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27318         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27319         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
27320         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27321         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27322         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27323         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27324         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27325         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27326         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27327         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27328         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27329         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27330         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27331         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27332         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27333         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27334         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27335         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27336         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27337         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27338         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27339         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27340         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27341         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27342         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27343         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27344         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27345         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27346         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27347         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27348         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27349         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27350         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27351         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27352         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27353         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27354         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
27355         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27356         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27357         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27358         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27359         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27360         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
27361         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27362         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27363         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27364         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27365         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
27366         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27367         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27368         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27369         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27370         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27371         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27372         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27373         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
27374         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27375         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27376         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27377         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27378         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
27379         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27380         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27381         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27382         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
27383         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
27384         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27385         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27386         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27387         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27388         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
27389         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
27390         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
27391         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27392         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
27393         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
27394         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27395         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
27396         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27397         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27398         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27399         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
27400         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
27401         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
27402         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27403         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27404         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27405         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27406         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27407         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27408         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27409         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27410         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27411         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27412         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27413         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27414         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27415         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27416         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27417         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27418         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27419         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27420         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27421         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27422         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27423         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27424         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27425         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27426         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27427         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27428         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
27429         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27430         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27431         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27432         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27433         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27434         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27435         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27436         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27437         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
27438         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27439         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27440         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27441         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
27442         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27443         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
27444         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
27445         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27446         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27447         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
27448         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
27449         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27450         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27451         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27452         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
27453         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27454         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27455         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27456         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27457         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
27458         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
27459         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27460         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27461         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27462         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
27463         * sysdeps/ieee754/k_standard.c: Likewise.
27464         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27465         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27466         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27467         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27468         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27469         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27470         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27471         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27472         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27473         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27474         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27475         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27476         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27477         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27478         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27479         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27480         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27481         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27482         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27483         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
27484         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
27485         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
27486         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27487         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27488         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27489         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
27490         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27491         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27492         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27493         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27494         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27495         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27496         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27497         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27498         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27499         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27500         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27501         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
27502         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
27503         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27504         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27505         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27506         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27507         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27508         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27509         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27510         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27511         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27512         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27513         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27514         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27515         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27516         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27517         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
27518         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27519         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27520         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
27521         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
27522         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27523         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27524         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27525         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27526         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27527         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27528         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27529         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27530         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27531         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27532         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27533         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27534         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27535         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27536         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27537         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27538         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27539         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27540         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
27541         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27542         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27543         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27544         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27545         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27546         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27547         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27548         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
27549         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27550         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27551         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
27552         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27553         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27554         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
27555         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27556         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27557         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27558         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27559         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27560         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
27561         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27562         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27563         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
27564         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27565         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27566         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27567         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27568         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
27569         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27570         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27571         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27572         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
27573         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27574         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27575         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27576         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27577         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27578         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27579         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27580         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27581         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27582         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27583         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27584         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27585         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27586         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27587         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27588         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27589         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
27590         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27591         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27592         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27593         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27594         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27595         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27596         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27597         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27598         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27599         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27600         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
27601         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27602         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27603         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
27604         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
27605         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27606         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
27607         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
27608         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27609         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27610         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27611         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27612         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27613         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
27614         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27615         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27616         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27617         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27618         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
27619         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
27620         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27621         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27622         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27623         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27624         * sysdeps/ieee754/s_lib_version.c: Likewise.
27625         * sysdeps/ieee754/s_matherr.c: Likewise.
27626         * sysdeps/ieee754/s_signgam.c: Likewise.
27627         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27628         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27629         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
27630         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
27631         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
27632         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27633         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
27634         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
27635         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
27636         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
27637         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27638         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
27639         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27640         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27641         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
27642         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27643         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27644         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27645         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27646         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27647         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27649 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
27651         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
27652         * sunrpc/rpc_main.c: Likewise.
27653         * sunrpc/rpc_svcout.c: Likewise.
27655 2012-03-09  David S. Miller  <davem@davemloft.net>
27657         * include/math_private.h: New file.
27659 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
27661         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
27662         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
27663         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
27664         from <bits/socket_type.h>.
27665         (enum __socket_type): Don't define here.
27666         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
27667         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27668         bits/socket_type.h.
27670         [BZ #13566]
27671         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
27672         checking __USE_GNU.
27674         * Makerules ($(inst_includedir)/%.h): New rule.
27675         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
27676         (install-others): Remove variable setting.
27677         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
27679 2012-03-08  Richard Henderson  <rth@twiddle.net>
27681         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
27682         from macro to inline function; merge with the
27683         !__LIBC_INTERNAL_MATH_INLINES version.
27684         (__ieee754_sqrtf): Likewise.
27686         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
27687         to inline function.
27688         (__rintf, __floor, __floorf): Likewise.
27690         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
27691         macro to inline function.
27692         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
27694         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
27695         not <math/math_private.h>.
27697 2012-03-08  David S. Miller  <davem@davemloft.net>
27699         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
27700         copyright year.
27701         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
27703 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
27705         * resolv/gai_misc.c (handle_requests): Fix struct timespec
27706         normalization.
27707         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
27708         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
27710 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
27712         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
27713         be defined individually, they must be defined as a block.  Define
27714         S for printing a string instead of hidint the different by using a
27715         macro for adding the 'l'.
27716         * stdio-common/tst-fphex-wide.c: Adjust.
27718 2012-03-07  Marek Polacek  <polacek@redhat.com>
27720         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
27722 2012-03-08  Marek Polacek  <polacek@redhat.com>
27724         [BZ #13806]
27725         * stdio-common/Makefile (tests): Add tst-fphex-wide.
27726         * stdio-common/tst-fphex.c: Define a few macros to make the
27727         test reusable.  Use them.
27728         * stdio-common/tst-fphex-wide.c: New file.
27730 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
27732         [BZ #6911]
27733         * manual/macros.texi (gnusystems): New macro.
27734         (nongnusystems): Likewise.
27735         (gnulinuxhurdsystems): Likewise.
27736         (gnuhurdsystems): Likewise..
27737         (gnulinuxsystems): Likewise.
27738         * manual/charset.texi: Use new macros or @theglibc{} to refer to
27739         variants of the GNU system, not "GNU system".
27740         * manual/conf.texi: Likewise.
27741         * manual/errno.texi: Likewise.  Update example of errno macro
27742         expansion.
27743         * manual/filesys.texi: Likewise.
27744         (getumask): Document as specific to GNU/Hurd.
27745         * manual/install.texi: Likewise.  Reword some references to
27746         GNU/Linux.
27747         * manual/intro.texi: Likewise.
27748         * manual/io.texi: Likewise.
27749         (File Name Portability): Detail which constraints are inapplicable
27750         to all GNU systems and which are only inapplicable to GNU/Hurd.
27751         * manual/job.texi: Likewise.
27752         * manual/llio.texi: Likewise.
27753         (O_NOCTTY): Document as present on GNU/Linux.
27754         * manual/maint.texi: Likewise.
27755         * manual/memory.texi: Likewise.
27756         * manual/pattern.texi: Likewise.
27757         * manual/pipe.texi: Likewise.
27758         * manual/process.texi: Likewise.
27759         * manual/resource.texi: Likewise.
27760         (RUSAGE_CHILDREN): Remove statement about specifying a particular
27761         child on GNU/Hurd.
27762         * manual/setjmp.texi: Likewise.
27763         * manual/signal.texi: Likewise.
27764         * manual/startup.texi: Likewise.
27765         * manual/stdio.texi: Likewise.
27766         * manual/terminal.texi: Likewise.
27767         (ONLCR): Document as POSIX.
27768         (OXTABS): Document availability on GNU/Linux as XTABS.
27769         (ONOEOT): Document availability separately from other bits.
27770         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
27771         * manual/time.texi: Likewise.
27772         * manual/users.texi: Likewise.
27773         * INSTALL: Regenerated.
27774         * sysdeps/gnu/errlist.c: Regenerated.
27776         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
27777         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
27778         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
27779         puts.
27780         * configure: Regenerated.
27782 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
27784         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
27785         default includes instead of AC_HEADER_CHECK.
27786         * sysdeps/i386/configure: Regenerated.
27788         [BZ #10716]
27789         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
27790         * math/s_cacoshf.c (__cacoshf): Likewise.
27791         * math/s_cacoshl.c (__cacoshl): Likewise.
27792         * math/s_casinh.c (__casinh): Set signs of result from argument.
27793         * math/s_casinhf.c (__casinhf): Likewise.
27794         * math/s_casinhl.c (__casinhl): Likewise.
27795         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
27796         (casinh_test): Add more tests.
27797         * sysdeps/i386/fpu/libm-test-ulps: Update.
27798         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27800 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
27802         * po/zh_TW.po: Update from translation team.
27804         * login/Makefile (distribute): Remove variable.
27805         * catgets/Makefile: Likewise.
27806         * mach/Makefile: Likewise.
27807         * malloc/Makefile: Likewise.
27808         * misc/Makefile: Likewise.
27809         * iconv/Makefile: Likewise.
27810         * nscd/Makefile: Likewise.
27811         * hurd/Makefile: Likewise.
27812         * manual/Makefile: Likewise.
27813         * locale/Makefile: Likewise.
27814         * intl/Makefile: Likewise.
27815         * conform/Makefile: Likewise.
27816         * nss/Makefile: Likewise.
27817         * time/Makefile: Likewise.
27818         * soft-fp/Makefile: Likewise.
27819         * dirent/Makefile: Likewise.
27820         * gmon/Makefile: Likewise.
27821         * po/Makefile: Likewise.
27822         * rt/Makefile: Likewise.
27823         * socket/Makefile: Likewise.
27824         * math/Makefile: Likewise.
27825         * signal/Makefile: Likewise.
27826         * debug/Makefile: Likewise.
27827         * elf/Makefile: Likewise.
27828         * timezone/Makefile: Likewise.
27829         * stdlib/Makefile: Likewise.
27830         * iconvdata/Makefile: Likewise.
27831         * sunrpc/Makefile: Likewise.
27832         * io/Makefile: Likewise.
27833         * argp/Makefile: Likewise.
27834         * inet/Makefile: Likewise.
27835         * hesiod/Makefile: Likewise.
27836         * grp/Makefile: Likewise.
27837         * csu/Makefile: Likewise.
27838         * wctype/Makefile: Likewise.
27839         * crypt/Makefile: Likewise.
27840         * libio/Makefile: Likewise.
27841         * string/Makefile: Likewise.
27842         * nis/Makefile: Likewise.
27843         * resolv/Makefile: Likewise.
27844         * stdio-common/Makefile: Likewise.
27845         * wcsmbs/Makefile: Likewise.
27846         * dlfcn/Makefile: Likewise.
27847         * posix/Makefile: Likewise.
27849         [BZ #6959]
27850         * timezone/Makefile: Don't install timezone files, just the programs
27851         and scripts.
27853 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
27855         * nss/databases.def: Add missing gshadow entry.
27857         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
27859 2012-03-06  Marek Polacek  <polacek@redhat.com>
27861         [BZ #13726]
27862         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
27863         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
27864         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
27865         * stdio-common/tst-long-dbl-fphex.c: New file.
27867 2012-03-06  David S. Miller  <davem@davemloft.net>
27869         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27870         (set_obp_int): New function.
27871         (get_obp_int): New function.
27872         (__get_clockfreq_via_dev_openprom): Likewise.
27873         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
27874         Avoid unused variable warnings on 'val' and use builtin_expect.
27875         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
27876         __builtin_expect.
27877         (INLINE_CLONE_SYSCALL): Likewise.
27879 2012-03-05  David S. Miller  <davem@davemloft.net>
27881         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27883 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
27885         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27887         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
27888         only for |x| >= 40.
27889         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27891 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
27893         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
27894         Replace gettimeofday with __vdso_gettimeofday.
27896         * sysdeps/unix/sysv/linux/x86_64/init-first.c
27897         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
27898         __vdso_clock_gettime and __vdso_getcpu.
27900         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
27901         time with __vdso_time.
27903 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
27905         * manual/lang.texi (size_t): Note types to which size_t may be
27906         equivalent with the GNU C Library, but do not describe when
27907         differences between them are significant.
27909 2012-03-05  Andreas Jaeger  <aj@suse.de>
27911         * sysdeps/i386/fpu/libm-test-ulps: Update.
27913 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
27915         [BZ #3976]
27916         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
27917         (__ieee754_pow): Save and restore rounding mode and use
27918         round-to-nearest for main computations.
27919         * math/libm-test.inc (pow_test_tonearest): New function.
27920         (pow_test_towardzero): Likewise.
27921         (pow_test_downward): Likewise.
27922         (pow_test_upward): Likewise.
27923         (main): Call the new functions.
27924         * sysdeps/i386/fpu/libm-test-ulps: Update.
27925         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27927         [BZ #3976]
27928         * math/libm-test.inc (cosh_test_tonearest): New function.
27929         (cosh_test_towardzero): Likewise.
27930         (cosh_test_downward): Likewise.
27931         (cosh_test_upward): Likewise.
27932         (sinh_test_tonearest): Likewise.
27933         (sinh_test_towardzero): Likewise.
27934         (sinh_test_downward): Likewise.
27935         (sinh_test_upward): Likewise.
27936         (main): Call the new functions.
27937         * sysdeps/i386/fpu/libm-test-ulps: Update.
27938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27940 2012-03-05  Tom de Vries  <tom@codesourcery.com>
27942         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
27943         default stack guard is set in last bytes.
27944         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
27946 2012-03-05  Kees Cook  <keescook@chromium.org>
27948         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
27950         [BZ #13656]
27951         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
27952         possibly allocate from heap instead of stack.
27953         * stdio-common/bug-vfprintf-nargs.c: New file.
27954         * stdio-common/Makefile (tests): Add nargs overflow test.
27956 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
27958         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27960 2012-03-03  Marek Polacek  <polacek@redhat.com>
27962         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
27963         * math/math_private.h: Likewise.
27964         * stdlib/tst-strtod.c: Likewise.
27965         * sysdeps/i386/i486/bits/atomic.h: Likewise.
27966         * sysdeps/x86_64/bits/atomic.h: Likewise.
27968 2012-03-02  David S. Miller  <davem@davemloft.net>
27970         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
27971         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
27972         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
27973         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
27974         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
27975         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
27976         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
27977         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
27979 2012-03-02  Roland McGrath  <roland@hack.frob.com>
27981         [BZ #13792]
27982         * manual/examples/README: New file, says the example source files
27983         can be used under GPL>=2.
27984         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
27985         line containing just "*/".
27986         * manual/examples/add.c: Add copyright header (GPL>=2).
27987         * manual/examples/argp-ex1.c: Likewise.
27988         * manual/examples/argp-ex2.c: Likewise.
27989         * manual/examples/argp-ex3.c: Likewise.
27990         * manual/examples/argp-ex4.c: Likewise.
27991         * manual/examples/atexit.c: Likewise.
27992         * manual/examples/db.c: Likewise.
27993         * manual/examples/dir.c: Likewise.
27994         * manual/examples/dir2.c: Likewise.
27995         * manual/examples/execinfo.c: Likewise.
27996         * manual/examples/filecli.c: Likewise.
27997         * manual/examples/filesrv.c: Likewise.
27998         * manual/examples/fmtmsgexpl.c: Likewise.
27999         * manual/examples/genpass.c: Likewise.
28000         * manual/examples/inetcli.c: Likewise.
28001         * manual/examples/inetsrv.c: Likewise.
28002         * manual/examples/isockad.c: Likewise.
28003         * manual/examples/longopt.c: Likewise.
28004         * manual/examples/memopen.c: Likewise.
28005         * manual/examples/memstrm.c: Likewise.
28006         * manual/examples/mkfsock.c: Likewise.
28007         * manual/examples/mkisock.c: Likewise.
28008         * manual/examples/mygetpass.c: Likewise.
28009         * manual/examples/pipe.c: Likewise.
28010         * manual/examples/popen.c: Likewise.
28011         * manual/examples/rprintf.c: Likewise.
28012         * manual/examples/search.c: Likewise.
28013         * manual/examples/select.c: Likewise.
28014         * manual/examples/setjmp.c: Likewise.
28015         * manual/examples/sigh1.c: Likewise.
28016         * manual/examples/sigusr.c: Likewise.
28017         * manual/examples/stpcpy.c: Likewise.
28018         * manual/examples/strdupa.c: Likewise.
28019         * manual/examples/strftim.c: Likewise.
28020         * manual/examples/strncat.c: Likewise.
28021         * manual/examples/subopt.c: Likewise.
28022         * manual/examples/swapcontext.c: Likewise.
28023         * manual/examples/termios.c: Likewise.
28024         * manual/examples/testopt.c: Likewise.
28025         * manual/examples/testpass.c: Likewise.
28026         * manual/examples/timeval_subtract.c: Likewise.
28028         [BZ #13792]
28029         * manual/time.texi (Elapsed Time): Move timeval_subtract example
28030         function to ...
28031         * manual/timeval_subtract.c.texi: ... here, new file.
28033 2012-03-02  David S. Miller  <davem@davemloft.net>
28035         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
28037 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
28039         [BZ #3976]
28040         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
28041         (__sin): Save and restore rounding mode and use round-to-nearest
28042         for all computations.
28043         (__cos): Save and restore rounding mode and use round-to-nearest
28044         for all computations.
28045         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
28046         <fenv.h>.
28047         (tan): Save and restore rounding mode and use round-to-nearest for
28048         all computations.
28049         * math/libm-test.inc (cos_test_tonearest): New function.
28050         (cos_test_towardzero): Likewise.
28051         (cos_test_downward): Likewise.
28052         (cos_test_upward): Likewise.
28053         (sin_test_tonearest): Likewise.
28054         (sin_test_towardzero): Likewise.
28055         (sin_test_downward): Likewise.
28056         (sin_test_upward): Likewise.
28057         (tan_test_tonearest): Likewise.
28058         (tan_test_towardzero): Likewise.
28059         (tan_test_downward): Likewise.
28060         (tan_test_upward): Likewise.
28061         (main): Call the new functions.
28062         * sysdeps/i386/fpu/libm-test-ulps: Update.
28063         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28065         [BZ #10135]
28066         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
28067         small n, then large n, before computing and testing k+n.
28068         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
28069         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
28070         Likewise.
28071         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
28072         Likewise.
28073         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
28074         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
28075         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
28076         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
28077         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28078         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28079         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
28080         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
28081         * math/libm-test.inc (scalbn_test): Add more tests.
28082         (scalbln_test): Likewise.
28084         * manual/filesys.texi (mode_t): Describe constraints on size and
28085         signedness, not exact equivalence to a particular type.
28086         (ino_t): Likewise.
28087         (ino64_t): Likewise.
28088         (dev_t): Likewise.
28089         (nlink_t): Likewise.
28090         (blkcnt_t): Likewise.
28091         (blkcnt64_t): Likewise.
28092         * manual/llio.texi (off_t): Likewise.
28094         [BZ #3976]
28095         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
28096         (__ieee754_exp): Save and restore rounding mode and use
28097         round-to-nearest for all computations.
28098         * math/libm-test.inc (exp_test_tonearest): New function.
28099         (exp_test_towardzero): Likewise.
28100         (exp_test_downward): Likewise.
28101         (exp_test_upward): Likewise.
28102         (main): Call the new functions.
28103         * sysdeps/i386/fpu/libm-test-ulps: Update.
28104         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28106 2012-03-01  Chris Demetriou  <cgd@google.com>
28108         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
28109         have predictable order.
28111 2012-03-01  David S. Miller  <davem@davemloft.net>
28113         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
28115         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
28116         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
28117         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
28118         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
28120         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
28121         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
28122         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
28123         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
28124         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
28125         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
28126         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
28127         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
28128         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
28130         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28132         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
28133         * sysdeps/sparc/fpu/libm-test-ulps: to here.
28134         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
28136         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
28137         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28138         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28139         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
28140         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
28141         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
28142         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
28143         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28144         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28145         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
28146         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
28147         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28148         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28149         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28150         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28151         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28152         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
28153         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
28154         * sysdeps/sparc/elf/configure: Regenerated.
28156 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
28158         * configure.in (AS, LD): Require binutils 2.20 or later.
28159         * configure: Regenerated.
28160         * manual/install.texi (Tools for Compilation): Give binutils 2.20
28161         as required minimum version.
28162         * INSTALL: Regenerated.
28164         [BZ #2541]
28165         [BZ #4108]
28166         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
28167         before squaring exponent.
28168         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
28169         bottom long double and 27 bits of top long double before squaring
28170         exponent.
28171         * math/libm-test.inc (erfc_test): Add more tests.
28172         * sysdeps/i386/fpu/libm-test-ulps: Update.
28173         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28174         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28176 2012-03-01  Kai Tietz  <ktietz@redhat.com>
28178         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
28179         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
28180         containing bit-fields.
28181         * soft-fp/extended.h (_FP_UNION_E): Likewise.
28182         * soft-fp/single.h (_FP_UNION_S): Likewise.
28183         * soft-fp/double.h (_FP_UNION_D): Likewise.
28185 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
28187         [BZ #13786]
28188         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
28189         not include ../strcmp.S.
28190         [USE_AS_STRNCASECMP_L]: Likewise.
28191         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
28192         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
28193         * sysdeps/i386/i686/multiarch/strncase_l-c.c
28194         (__strncasecmp_l_ia32): Define as alias to
28195         __strncasecmp_l_nonascii.
28197         [BZ #5794]
28198         * math/libm-test.inc (expm1_test): Add test for bug 5794.
28199         * sysdeps/i386/fpu/libm-test-ulps: Update.
28200         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28202         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
28203         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28205 2012-02-29  Jeff Law  <law@redhat.com>
28207         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
28208         out of bounds read.
28210 2012-02-29  Marek Polacek  <polacek@redhat.com>
28212         [BZ #13706]
28213         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
28214         * elf/Makefile: Add rules to run tst-unused-dep.out.
28216 2012-02-28  David S. Miller  <davem@davemloft.net>
28218         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
28219         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
28220         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
28221         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
28222         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
28223         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
28225 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
28227         * math/libm-test.inc (llround_test): Move one test from
28228         lround_test.  Use TEST_f_L in moved test.
28229         (lround_test): Move misplaced test to llround_test.  Add testcase
28230         from bug 2561.
28232 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
28234         * sysdeps/x86_64/fpu/e_expf.S: New file.
28235         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
28237 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
28239         [BZ #13637]
28240         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
28241         of remain_len that may cause incomplete multi-byte character and
28242         false match.
28243         * posix/bug-regex33.c: New file.
28244         * posix/Makefile (tests): Add bug-regex33.
28246 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
28248         * manual/macros.texi: New file.
28249         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
28250         * manual/libc.texinfo: Include macros.texi.
28251         * manual/creatute.texi: Likewise.
28252         * manual/install.texi: Likewise.
28253         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
28254         @glibcadj{} in references to the GNU C Library.
28255         * manual/charset.texi: Likewise.
28256         * manual/conf.texi: Likewise.
28257         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
28258         when not using those macros.
28259         * manual/creature.texi: Likewise.
28260         * manual/crypt.texi: Likewise.
28261         * manual/errno.texi: Likewise.
28262         * manual/filesys.texi: Likewise.
28263         * manual/header.texi: Likewise.
28264         * manual/install.texi: Likewise.
28265         * manual/intro.texi: Likewise.
28266         * manual/io.texi: Likewise.
28267         * manual/job.texi: Likewise.
28268         * manual/lang.texi: Likewise.
28269         * manual/libc.texiinfo: Likewise.
28270         * manual/llio.texi: Likewise.
28271         * manual/locale.texi: Likewise.
28272         * manual/maint.texi: Likewise.
28273         * manual/math.texi: Likewise.
28274         * manual/memory.texi: Likewise.
28275         * manual/message.texi: Likewise.
28276         * manual/nss.texi: Likewise.
28277         * manual/pattern.texi: Likewise.
28278         * manual/process.texi: Likewise.
28279         * manual/resource.texi: Likewise.
28280         * manual/search.texi: Likewise.
28281         * manual/setjmp.texi: Likewise.
28282         * manual/signal.texi: Likewise.
28283         * manual/socket.texi: Likewise.
28284         * manual/startup.texi: Likewise.
28285         * manual/stdio.texi: Likewise.
28286         * manual/string.texi: Likewise.
28287         * manual/sysinfo.texi: Likewise.
28288         * manual/syslog.texi: Likewise.
28289         * manual/terminal.texi: Likewise.
28290         * manual/time.texi: Likewise.
28291         * manual/users.texi: Likewise.
28292         * INSTALL: Regenerated.
28293         * NOTES: Regenerated.
28294         * sysdeps/gnu/errlist.c: Regenerated.
28296 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
28298         * include/dirent.h: Include <dirstream.h> before
28299         <dirent/dirent.h>.
28301 2012-02-28  David S. Miller  <davem@davemloft.net>
28303         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
28304         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
28305         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
28306         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
28308 2012-02-27  David S. Miller  <davem@davemloft.net>
28310         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
28311         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
28312         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
28313         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
28315         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
28316         frame pointer instead of stack pointer relative arg slot.
28317         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28318         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28319         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28321 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
28323         [BZ #3992]
28324         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
28326 2012-02-27  David S. Miller  <davem@davemloft.net>
28328         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
28329         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28330         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28331         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
28332         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28333         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28334         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
28335         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
28337 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
28339         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
28340         later.  Allow versions 5-9.
28341         * configure: Regenerated.
28342         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
28343         required minimum version and 4.6 as recommended version.  Do not
28344         mention bugs in GCC 2.7 and 2.8.
28345         * INSTALL: Regenerated.
28347 2012-02-27  David S. Miller  <davem@davemloft.net>
28349         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
28350         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
28351         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
28352         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
28353         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
28354         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
28355         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
28356         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
28358         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
28359         manipulate bits before adding and subtracting TWO112[sx].
28360         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28362 2012-02-27  Roland McGrath  <roland@hack.frob.com>
28364         [BZ #13775]
28365         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
28366         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
28367         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
28368         being in POSIX, because they are in 1003.1-2008.
28370         * rt/tst-aio.c: Include <fcntl.h>.
28371         * rt/tst-aio7.c: Likewise.
28372         * rt/tst-aio64.c: Likewise.
28374         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
28376 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
28378         * manual/install.texi (--with-headers): Describe headers as
28379         interface headers, not private headers.
28380         (Specific advice for GNU/Linux systems): Describe use of headers
28381         from "make headers_install", not private headers from older
28382         kernels.
28383         * INSTALL: Regenerated.
28384         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
28385         Change to 2.6.19.
28386         * sysdeps/unix/sysv/linux/configure: Regenerated.
28388         * manual/llio.texi (fclean): Remove documentation.
28390         * manual/Makefile (libc-texi-generated): New variable.  Include
28391         version.texi.
28392         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
28393         $(libc-texi-generated), not duplicated list of files.
28394         (version.texi, stamp-version): New rules.
28395         (realclean): Remove $(libc-texi-generated), not individual files
28396         from that list.  Do not remove dir-add.texinfo.
28397         * manual/libc.texinfo: Comment out uses of edition numbers and
28398         references to printed manual.  Remove last-updated dates.
28399         (EDITION): Comment out.
28400         (ISBN): Likewise.
28401         (VERSION, UPDATED): Remove.
28402         (version.texi): Include.
28404 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
28406         * sysdeps/posix/spawni.c: Include <signal.h>.
28407         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
28408         * sysdeps/pthread/aio_fsync.c: Likewise.
28410 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
28412         * conform/Makefile (tests): Run only when not cross-compiling and
28413         when fast-check is not defined.
28415         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
28416         * conform/data/limits.h-data: Fixes for POSIX2008.
28417         * conform/run-conformtest.sh: Run all tests.
28418         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
28419         headers.
28420         * include/bits/dlfcn.h: Likewise.
28421         * include/langinfo.h: Likewise.
28422         * include/monetary.h: Likewise.
28423         * include/sys/poll.h: Likewise.
28425         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
28426         for __USE_GNU.
28427         * posix/spawn.h: Define __need_sigset_t.
28428         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
28429         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
28430         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
28431         to get sigevent_t only.
28432         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
28433         only for __USE_GNU.
28434         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28435         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28436         process_vm_writev only for __USE_GNU.
28437         * termios/termios.h: Declare tcgetsid also for POSIX2008.
28439         * conform/Makefile: For now ignore errors from run-conformtest.
28440         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
28441         POSIX to avoid namespace pollution.  Don't prepend headers.
28442         * conform/data/aio.h-data: Fixes for POSIX testing.
28443         * conform/data/fcntl.h-data: Likewise.
28444         * conform/data/glob.h-data: Likewise.
28445         * conform/data/grp.h-data: Likewise.
28446         * conform/data/pthread.h-data: Likewise.
28447         * conform/data/pwd.h-data: Likewise.
28448         * conform/data/signal.h-data: Likewise.
28449         * conform/data/spawn.h-data: Likewise.
28450         * conform/data/stdio.h-data: Likewise.
28451         * conform/data/stdlib.h-data: Likewise.
28452         * conform/data/stropts.h-data: Likewise.
28453         * conform/data/sys/mman.h-data: Likewise.
28454         * conform/data/sys/stat.h-data: Likewise.
28455         * conform/data/sys/types.h-data: Likewise.
28456         * conform/data/sys/wait.h-data: Likewise.
28457         * conform/data/time.h-data: Likewise.
28458         * conform/data/unistd.h-data: Likewise.
28459         * conform/data/utime.h-data: Likewise.
28461         * io/sys/stat.h: fchmod was always in POSIX.
28462         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
28463         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
28464         * rt/aio.h: Define __need_timespec before including <time.h>.
28465         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
28466         struct.  Add forward declaration of pthread_attr_t and use it in
28467         sigevent.
28468         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28469         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28470         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
28471         always remove CLK_TCK definition.
28473 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
28475         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
28477 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
28479         * conform/run-conformtest.sh: New file.
28480         * conform/Makefile: Run run-conformtest for tests.
28481         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
28482         support.
28484         * conform/data/uchar.h-data: New file.
28485         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
28486         * conform/data/arpa/inet.h-data: Likewise.
28487         * conform/data/assert.h-data: Likewise.
28488         * conform/data/complex.h-data: Likewise.
28489         * conform/data/cpio.h-data: Likewise.
28490         * conform/data/ctype.h-data: Likewise.
28491         * conform/data/dirent.h-data: Likewise.
28492         * conform/data/dlfcn.h-data: Likewise.
28493         * conform/data/errno.h-data: Likewise.
28494         * conform/data/fcntl.h-data: Likewise.
28495         * conform/data/float.h-data: Likewise.
28496         * conform/data/fmtmsg.h-data: Likewise.
28497         * conform/data/fnmatch.h-data: Likewise.
28498         * conform/data/ftw.h-data: Likewise.
28499         * conform/data/glob.h-data: Likewise.
28500         * conform/data/grp.h-data: Likewise.
28501         * conform/data/iconv.h-data: Likewise.
28502         * conform/data/inttypes.h-data: Likewise.
28503         * conform/data/langinfo.h-data: Likewise.
28504         * conform/data/libgen.h-data: Likewise.
28505         * conform/data/limits.h-data: Likewise.
28506         * conform/data/locale.h-data: Likewise.
28507         * conform/data/math.h-data: Likewise.
28508         * conform/data/monetary.h-data: Likewise.
28509         * conform/data/mqueue.h-data: Likewise.
28510         * conform/data/ndbm.h-data: Likewise.
28511         * conform/data/net/if.h-data: Likewise.
28512         * conform/data/netdb.h-data: Likewise.
28513         * conform/data/netinet/in.h-data: Likewise.
28514         * conform/data/nl_types.h-data: Likewise.
28515         * conform/data/poll.h-data: Likewise.
28516         * conform/data/pthread.h-data: Likewise.
28517         * conform/data/pwd.h-data: Likewise.
28518         * conform/data/regex.h-data: Likewise.
28519         * conform/data/sched.h-data: Likewise.
28520         * conform/data/search.h-data: Likewise.
28521         * conform/data/semaphore.h-data: Likewise.
28522         * conform/data/setjmp.h-data: Likewise.
28523         * conform/data/signal.h-data: Likewise.
28524         * conform/data/spawn.h-data: Likewise.
28525         * conform/data/stdarg.h-data: Likewise.
28526         * conform/data/stdio.h-data: Likewise.
28527         * conform/data/stdlib.h-data: Likewise.
28528         * conform/data/string.h-data: Likewise.
28529         * conform/data/strings.h-data: Likewise.
28530         * conform/data/stropts.h-data: Likewise.
28531         * conform/data/sys/ipc.h-data: Likewise.
28532         * conform/data/sys/mman.h-data: Likewise.
28533         * conform/data/sys/msg.h-data: Likewise.
28534         * conform/data/sys/resource.h-data: Likewise.
28535         * conform/data/sys/select.h-data: Likewise.
28536         * conform/data/sys/sem.h-data: Likewise.
28537         * conform/data/sys/shm.h-data: Likewise.
28538         * conform/data/sys/socket.h-data: Likewise.
28539         * conform/data/sys/stat.h-data: Likewise.
28540         * conform/data/sys/statvfs.h-data: Likewise.
28541         * conform/data/sys/time.h-data: Likewise.
28542         * conform/data/sys/timeb.h-data: Likewise.
28543         * conform/data/sys/times.h-data: Likewise.
28544         * conform/data/sys/types.h-data: Likewise.
28545         * conform/data/sys/uio.h-data: Likewise.
28546         * conform/data/sys/un.h-data: Likewise.
28547         * conform/data/sys/utsname.h-data: Likewise.
28548         * conform/data/sys/wait.h-data: Likewise.
28549         * conform/data/syslog.h-data: Likewise.
28550         * conform/data/tar.h-data: Likewise.
28551         * conform/data/termios.h-data: Likewise.
28552         * conform/data/utime.h-data: Likewise.
28553         * conform/data/utmpx.h-data: Likewise.
28554         * conform/data/varargs.h-data: Likewise.
28555         * conform/data/wchar.h-data: Likewise.
28556         * conform/data/wctype.h-data: Likewise.
28557         * conform/data/wordexp.h-data: Likewise.
28559         * include/stropts.h: New file.
28560         * include/uchar.h: New file.
28561         * include/aio.h: Changes to allow conformtest.pl to use the headers.
28562         * include/assert.h: Likewise.
28563         * include/ctype.h: Likewise.
28564         * include/dirent.h: Likewise.
28565         * include/dlfcn.h: Likewise.
28566         * include/fcntl.h: Likewise.
28567         * include/fnmatch.h: Likewise.
28568         * include/glob.h: Likewise.
28569         * include/grp.h: Likewise.
28570         * include/libio.h: Likewise.
28571         * include/locale.h: Likewise.
28572         * include/math.h: Likewise.
28573         * include/net/if.h: Likewise.
28574         * include/netdb.h: Likewise.
28575         * include/netinet/in.h: Likewise.
28576         * include/pthread.h: Likewise.
28577         * include/pwd.h: Likewise.
28578         * include/regex.h: Likewise.
28579         * include/sched.h: Likewise.
28580         * include/search.h: Likewise.
28581         * include/setjmp.h: Likewise.
28582         * include/signal.h: Likewise.
28583         * include/stdio.h: Likewise.
28584         * include/stdlib.h: Likewise.
28585         * include/string.h: Likewise.
28586         * include/sys/cdefs.h: Likewise.
28587         * include/sys/mman.h: Likewise.
28588         * include/sys/msg.h: Likewise.
28589         * include/sys/resource.h: Likewise.
28590         * include/sys/select.h: Likewise.
28591         * include/sys/socket.h: Likewise.
28592         * include/sys/stat.h: Likewise.
28593         * include/sys/statvfs.h: Likewise.
28594         * include/sys/time.h: Likewise.
28595         * include/sys/times.h: Likewise.
28596         * include/sys/uio.h: Likewise.
28597         * include/sys/utsname.h: Likewise.
28598         * include/sys/wait.h: Likewise.
28599         * include/termios.h: Likewise.
28600         * include/time.h: Likewise.
28601         * include/ulimit.h: Likewise.
28602         * include/unistd.h: Likewise.
28603         * include/utime.h: Likewise.
28604         * include/wchar.h: Likewise.
28605         * include/wctype.h: Likewise.
28606         * include/wordexp.h: Likewise.
28608         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
28610         * time/time.h: TIME_UTC must be a macro.
28611         Make timespec_get available for ISO C11 only as well.
28613 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
28615         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
28616         Reported by Peng Haitao <penght@cn.fujitsu.com>.
28618 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
28620         * configure.in: Use -o not -a in test for unsupported multi-arch.
28622 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
28624         * manual/texinfo.tex: Update to version 2012-01-19.16.
28626 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
28628         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
28630 2012-02-24  Roland McGrath  <roland@hack.frob.com>
28632         [BZ #13738]
28633         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
28634         * manual/fdl-1.3.texi: New file.
28635         * manual/fdl-1.1.texi: File removed.
28637         [BZ #13738]
28638         * manual/libc.texinfo (FDL_VERSION): New @set.
28639         Use it for mention of FDL in cover text.
28640         (Documentation License): Use it in @include file name.
28642 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
28643             Roland McGrath  <roland@hack.frob.com>
28645         [BZ #5461]
28646         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
28647         not LONG_LONG_MAX and LONG_LONG_MIN.
28648         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
28649         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
28650         name.
28651         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
28653 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
28655         [BZ #2547]
28656         [BZ #11365]
28657         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
28658         manipulate bits before adding and subtracting TWO23[sx].
28659         * math/libm-test.inc (nearbyint_test): Add more tests.
28661 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
28663         [BZ #2548]
28664         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
28665         bits before adding and subtracting TWO23[sx].
28666         * math/libm-test.inc (rint_test): Add more tests.
28667         (rint_test_tonearest): Likewise.
28668         (rint_test_towardzero): Likewise.
28669         (rint_test_downward): Likewise.
28670         (rint_test_upward: Likewise.
28672 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
28674         [BZ #10110]
28675         * include/stdc-predef.h: New file.  Extracted from features.h.
28676         * include/features.h: Include stdc-predef.h.
28677         * Makefile (headers): Add stdc-predef.h.
28678         * CONFORMANCE (Compiler limitations): Update.
28680 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
28682         * manual/libc.texinfo (VERSION, UPDATED): Revert.
28684 2012-02-21  David S. Miller  <davem@davemloft.net>
28686         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
28687         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28689 2012-02-20  David S. Miller  <davem@davemloft.net>
28691         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
28692         using a normal save/restore sequence, rather than allocating a
28693         dummy stack frame just to store a frame pointer and restore.
28694         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28696 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
28698         * manual/install.texi: Fix stray word in line-wrapped comment.
28700 2012-02-20  David S. Miller  <davem@davemloft.net>
28702         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
28703         both binutils and gcc support GOTDATA.
28705         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
28706         "rd %pc" in the PIC register setup sequences.
28708         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
28709         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28710         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28711         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28712         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28713         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28714         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28715         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28716         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
28717         (SYSCALL_ERROR_HANDLER): Likewise.
28718         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28719         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28720         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
28721         (SYSCALL_ERROR_HANDLER): Likewise.
28723         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
28724         (HAVE_GCC_GOTDATA): New.
28725         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
28726         relocation support in both binutils and gcc.
28727         * sysdeps/sparc/elf/configure: Regenerate.
28729         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
28730         * sysdeps/sparc/sparc32/elf/configure: Delete.
28731         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
28732         * sysdeps/sparc/sparc64/elf/configure: Delete.
28733         * sysdeps/sparc/elf/configure.in: New file.
28734         * sysdeps/sparc/elf/configure: Generate.
28736         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
28737         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
28738         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28739         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
28740         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
28742 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
28744         * manual/install.texi: Do not mention specific glibc version
28745         numbers.
28746         * manual/libc.texinfo (VERSION, UPDATED): Update.
28747         (@copying): Use @copyright{} and range of years.
28749 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
28751         [BZ #13695]
28752         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
28753         [crti.S not in sysdirs] (generated): Do not append.
28754         [crti.S not in sysdirs] (omit-deps): Likewise.
28755         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
28756         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
28757         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
28758         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
28759         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
28760         Likewise.
28761         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
28762         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
28763         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
28764         * csu/defs.awk: Remove file.
28765         * sysdeps/generic/initfini.c: Likewise.
28766         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
28767         variable.
28768         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
28769         Likewise.
28771 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
28773         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
28774         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
28775         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
28776         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
28777         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28778         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
28779         <bits/epoll.h>.
28780         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
28781         (__EPOLL_PACKED): Define to empty if not defined by
28782         <bits/epoll.h>.
28783         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
28784         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28785         bits/epoll.h.
28787 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
28789         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
28790         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
28791         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
28792         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
28793         <bits/timerfd.h>.
28794         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
28795         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28796         bits/timerfd.h.
28798 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
28800         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
28801         in C locale.
28802         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28803         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28804         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
28805         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28807 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
28809         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28810         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28812 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
28814         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
28815         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
28816         defined.
28817         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
28818         Likewise.
28819         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
28820         entry for 2.16.
28822 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
28824         * math/w_acos.c: Use non-signaling floating-point comparisons.
28825         * math/w_acosf.c: Likewise.
28826         * math/w_acosh.c: Likewise.
28827         * math/w_acoshf.c: Likewise.
28828         * math/w_acoshl.c: Likewise.
28829         * math/w_acosl.c: Likewise.
28830         * math/w_asin.c: Likewise.
28831         * math/w_asinf.c: Likewise.
28832         * math/w_asinl.c: Likewise.
28833         * math/w_atanh.c: Likewise.
28834         * math/w_atanhf.c: Likewise.
28835         * math/w_atanhl.c: Likewise.
28836         * math/w_exp2.c: Likewise.
28837         * math/w_exp2f.c: Likewise.
28838         * math/w_exp2l.c: Likewise.
28839         * math/w_j0.c: Likewise.
28840         * math/w_j0f.c: Likewise.
28841         * math/w_j0l.c: Likewise.
28842         * math/w_j1.c: Likewise.
28843         * math/w_j1f.c: Likewise.
28844         * math/w_j1l.c: Likewise.
28845         * math/w_jn.c: Likewise.
28846         * math/w_jnf.c: Likewise.
28847         * math/w_log.c: Likewise.
28848         * math/w_log10.c: Likewise.
28849         * math/w_log10f.c: Likewise.
28850         * math/w_log10l.c: Likewise.
28851         * math/w_log2.c: Likewise.
28852         * math/w_log2f.c: Likewise.
28853         * math/w_log2l.c: Likewise.
28854         * math/w_logf.c: Likewise.
28855         * math/w_logl.c: Likewise.
28856         * math/w_sqrt.c: Likewise.
28857         * math/w_sqrtf.c: Likewise.
28858         * math/w_sqrtl.c: Likewise.
28859         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28860         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
28861         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28862         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28863         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28865 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
28867         [BZ #9739]
28868         * manual/string.texi (strnlen): Use correct parameter name in
28869         equivalent expression.
28871 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
28873         [BZ #11174]
28874         * manual/users.texi (seteuid): Consistently use neweuid for
28875         argument name.
28877 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
28879         [BZ #13704]
28880         * manual/nss.texi (Services in the NSS configuration): Correct
28881         list of services in example configuration file.
28883 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
28885         [BZ #11322]
28886         * manual/arith.texi: Remove statements about negative zero
28887         behaving identically to zero.
28889 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
28891         [BZ #5993]
28892         * manual/install.texi: Do not document upgrading from libc5.
28894 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
28896         [BZ #4596]
28897         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
28899 2012-02-18  David S. Miller  <davem@davemloft.net>
28901         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
28902         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
28903         %o7 across the call.
28904         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
28905         instead.
28906         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
28907         SETUP_PIC_REG_LEAF.
28908         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28909         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
28910         * sysdeps/sparc/crtn.S: Likewise.
28912 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
28914         * aout/Makefile: Remove.
28916 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
28918         [BZ #13058]
28919         * manual/examples/argp-ex1.c (main): Format definition in GNU
28920         style.
28921         * manual/examples/argp-ex2.c (main): Likewise.
28922         * manual/examples/argp-ex3.c (main): Likewise.
28923         * manual/examples/argp-ex4.c (main): Likewise.
28924         * manual/examples/longopt.c (main): Use new-style prototype
28925         definition.
28926         * manual/examples/strncat.c (main): Specify return type and use
28927         (void) for arguments.
28928         * manual/examples/subopt.c (main): Use char **argv argument.
28930 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
28932         [BZ #5077]
28933         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
28934         rounding modes.
28936 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
28938         [BZ #6907]
28939         * manual/string.texi (strchr): Change when strchrnul is
28940         recommended.
28942 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
28944         [BZ #174]
28945         * manual/locale.texi (setlocale): Document LOCPATH.
28947 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
28949         [BZ #10210]
28950         * manual/process.texi (execle): Move @dots{} before last argument.
28952 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
28954         [BZ #12047]
28955         * manual/charset.texi (Generic Charset Conversion): Fix typo
28956         (LC_TYPE -> LC_CTYPE).
28958 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
28960         [BZ #5805]
28961         * manual/arith.texi (scalbn): Use @var{} on parameter names.
28962         (scalbnf): Likewise.
28963         (scalbnl): Likewise.
28964         (scalbln): Likewise.
28965         (scalblnf): Likewise.
28966         (scalblnl): Likewise.
28967         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
28968         (vwarnx): Likewise.
28969         (verr): Likewise.
28970         (verrx): Likewise.
28971         * manual/filesys.texi (telldir): Use braces around return type.
28972         * manual/llio.texi (mmap): Add space after comma.
28973         (mmap64): Likewise.
28974         * manual/math.texi (jn): Use @var{} on parameter names.
28975         (jnf): Likewise.
28976         (jnl): Likewise.
28977         (yn): Likewise.
28978         (ynf): Likewise.
28979         (ynl): Likewise.
28980         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
28981         line.
28982         * manual/resource.texi (ulimit): Use @dots{} instead of literal
28983         "...".
28984         (sched_get_priority_min): Remove semicolon on @deftypefun line.
28985         (sched_get_priority_max): Likewise.
28986         * manual/signal.texi (sigvec): Add space after comma.
28987         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
28988         names.
28989         (if_indextoname): Likewise.
28990         (if_freenameindex): Likewise.
28991         (sendto): Use ',' instead of '.' in prototype.
28992         * manual/startup.texi (syscall): Use @dots{} instead of literal
28993         "...".
28994         * manual/stdio.texi (__fpending): Separate initial words of
28995         paragraph from @deftypefun line.
28996         * manual/syslog.texi (syslog): Use @dots{} instead of literal
28997         "...".
28998         (vsyslog): Use @var{} on parameter names.
28999         * manual/terminal.texi (stty): Use @var{} on parameter names.
29000         * manual/users.texi (getutmp): Use @var{} on parameter names.
29001         (getutmpx): Likewise.
29003 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29005         [BZ #6884]
29006         * manual/stdio.texi (fopen): Fix typos in description of
29007         ",ccs=STRING".
29009 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
29011         [BZ #4026]
29012         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
29013         get clock_id definition.
29015 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
29017         [BZ #4822]
29018         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
29019         (madvise): Cast every argument to void on its own.
29021 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29023         [BZ #9902]
29024         * manual/startup.texi (Exit Status): Fix typo.
29026 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
29028         [BZ #10140]
29029         * manual/examples/argp-ex1.c: Include <stdlib.h>.
29030         * manual/examples/argp-ex2.c: Likewise.
29031         * manual/examples/argp-ex3.c: Likewise.
29033 2012-02-16  Richard Henderson  <rth@redhat.com>
29035         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
29036         * sysdeps/s390/s390-32/initfini.c: Remove.
29037         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
29038         * sysdeps/s390/s390-64/initfini.c: Remove.
29040 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
29042         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
29043         compiler output for sysdeps/generic/initfini.c.
29044         * sysdeps/sh/elf/initfini.c: Remove file.
29046 2012-02-16  David S. Miller  <davem@davemloft.net>
29048         [BZ #11494]
29049         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
29051         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
29052         * sysdeps/sparc/crti.S: New file.
29053         * sysdeps/sparc/crtn.S: New file.
29054         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
29055         * sysdeps/sparc/sparc64/Makefile: Likewise.
29057 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
29059         [BZ #3335]
29060         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
29062 2012-02-15  Roland McGrath  <roland@hack.frob.com>
29064         [BZ #4822]
29065         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
29067         * mach/devstream.c (cookie_io_functions_t): Macro removed.
29068         (write, read, close): Likewise.
29069         Patch by Aurelien Jarno <aurelien@aurel32.net>.
29071 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
29073         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
29074         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
29075         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
29076         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
29077         <bits/signalfd.h>.
29078         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
29079         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29080         bits/signalfd.h.
29082 2012-02-14  Marek Polacek  <polacek@redhat.com>
29084         * sysdeps/x86_64/crti.S: New file.
29085         * sysdeps/x86_64/crtn.S: New file.
29086         * sysdeps/x86_64/elf/initfini.c: Remove file.
29088 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
29090         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
29091         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
29092         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
29093         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
29094         <bits/inotify.h>.
29095         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
29096         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29097         bits/inotify.h.
29099 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
29101         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
29102         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
29103         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
29104         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
29105         <bits/eventfd.h>.
29106         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
29107         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29108         bits/eventfd.h.
29110 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
29112         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
29113         __feraiseexcept instead of feraiseexcept.
29115         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
29116         nanosleep invocations.
29117         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
29118         strings, and add error checking for a nanosleep invocations.
29120 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
29122         Replace FSF snail mail address with URLs, as per GNU coding standards.
29123         Most of the snail mail addresses were wrong anyway, and omitting
29124         them makes the source code easier to maintain.  Almost all of the
29125         changes are to license notices and to locale LC_IDENTIFICATION
29126         addresses, except for this one:
29127         * manual/libc.texinfo: In "Published by", give the FSF's URL,
29128         not its snail mail address.
29130 2012-02-09  Richard Henderson  <rth@twiddle.net>
29132         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
29133         of kernel-features.h.
29135         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
29137 2012-02-08  Marek Polacek  <polacek@redhat.com>
29139         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
29140         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
29141         * sysdeps/gnu/_G_config.h: Likewise.
29142         * sysdeps/generic/_G_config.h: Likewise.
29144 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
29146         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
29147         tests.
29148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29150         * sysdeps/powerpc/powerpc32/crti.S: New file.
29151         * sysdeps/powerpc/powerpc32/crtn.S: New file.
29152         * sysdeps/powerpc/powerpc64/crti.S: New file.
29153         * sysdeps/powerpc/powerpc64/crtn.S: New file.
29155         * Makeconfig (have-initfini): Don't set.
29156         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
29157         * configure.in (nopic_initfini): Don't substitute.
29158         * config.h.in (HAVE_INITFINI): Don't #undef.
29159         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
29160         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
29162 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
29164         Support crti.S and crtn.S provided directly by architectures.
29165         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
29166         [crti.S in sysdirs] (omit-deps): Likewise.
29167         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
29168         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
29169         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
29170         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
29171         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
29172         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
29173         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
29174         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
29175         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
29176         compiler output for sysdeps/generic/initfini.c.
29177         * sysdeps/i386/elf/Makefile: Remove file.
29178         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
29180 2012-02-07  Marek Polacek  <polacek@redhat.com>
29182         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
29183         * sysdeps/gnu/_G_config.h: Likewise.
29184         * sysdeps/mach/hurd/_G_config.h: Likewise.
29186 2012-02-07  Marek Polacek  <polacek@redhat.com>
29188         * math/Makefile (tests): Add tst-CMPLX2.
29189         * math/tst-CMPLX2.c: New file.
29191 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
29193         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29195         * math/libm-test.inc (jn_test): Add missing L suffix.
29197 2012-02-06  Marek Polacek  <polacek@redhat.com>
29199         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
29200         * sysdeps/i386/fpu/e_powf.S: Likewise.
29201         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29202         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29203         * sysdeps/i386/fpu/e_acosh.S: Likewise.
29204         * sysdeps/i386/fpu/e_pow.S: Likewise.
29205         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29206         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29207         * sysdeps/i386/fpu/s_expm1.S: Likewise.
29208         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29209         * sysdeps/i386/fpu/e_log2.S: Likewise.
29210         * sysdeps/i386/fpu/e_log2l.S: Likewise.
29211         * sysdeps/i386/fpu/e_scalb.S: Likewise.
29212         * sysdeps/i386/fpu/e_powl.S: Likewise.
29213         * sysdeps/i386/fpu/s_log1p.S: Likewise.
29214         * sysdeps/i386/fpu/e_log10f.S: Likewise.
29215         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29216         * sysdeps/i386/fpu/e_logl.S: Likewise.
29217         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29218         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
29219         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29220         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29221         * sysdeps/i386/fpu/e_log2f.S: Likewise.
29222         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29223         * sysdeps/i386/fpu/e_log.S: Likewise.
29224         * sysdeps/i386/fpu/s_cexp.S: Likewise.
29225         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29226         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
29227         * sysdeps/i386/fpu/e_logf.S: Likewise.
29228         * sysdeps/i386/fpu/e_log10l.S: Likewise.
29229         * sysdeps/i386/fpu/e_atanh.S: Likewise.
29230         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
29231         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29232         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29233         * sysdeps/i386/fpu/e_log10.S: Likewise.
29234         * sysdeps/i386/fpu/s_frexp.S: Likewise.
29235         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29236         * sysdeps/i386/fpu/s_asinh.S: Likewise.
29237         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29238         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29239         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29240         * sysdeps/i386/asm-syntax.h: Likewise.
29241         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29242         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29243         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29244         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
29245         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
29246         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29247         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29248         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29249         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29250         * sysdeps/powerpc/sysdep.h: Likewise.
29251         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
29252         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29254 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
29256         [BZ #411]
29257         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
29259 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
29261         * sysdeps/i386/sysdep.h: Include <features.h>.
29262         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
29263         version.
29265 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
29267         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
29268         Define.
29269         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
29270         LOAD_PIC_REG_STR.
29272 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
29274         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
29275         (SETUP_PIC_REG): Use GET_PC_THUNK.
29276         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
29277         macro.
29279 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
29281         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
29282         for non-PIC compilation.
29283         (SETUP_PIC_REG): Add .p2align directive.
29284         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
29285         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29286         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29287         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29288         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29289         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29290         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29291         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29292         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29293         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29294         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29295         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29296         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29297         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29298         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29299         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29300         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29301         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29302         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29303         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29304         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29305         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29306         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29307         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29308         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29309         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29310         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29311         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29312         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29313         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29314         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29315         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29316         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29317         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29318         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29319         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29320         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29321         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29322         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29323         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29324         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29326 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
29328         * math/tst-CMPLX.c: Include <stdio.h>.
29330 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
29332         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
29333         float.
29334         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29335         * sysdeps/sparc/bits/mathdef.h: Likewise.
29337 2012-01-31  Marek Polacek  <polacek@redhat.com>
29339         * libio/libio.h: Don't define _PARAMS.
29340         * locale/programs/config.h: Don't define PARAMS.
29341         * stdlib/strtol_l.c: Likewise.
29342         (__strtol_l): Remove PARAMS from the prototype.
29344 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
29346         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
29347         names.  Just use the correct names.  Remove unnecessary wrapper
29348         functions.
29349         * malloc/arena.c: Likewise.
29350         * malloc/hooks.c: Likewise.
29352         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
29353         ARENA_TEST says not to.  Simplify test for creation of a new arena.
29354         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
29356 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
29358         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
29359         into tail calls.
29360         (update_get_addr): New function.
29361         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
29362         GET_ADDR_MODULE parameter.
29364 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
29366         * crypt/cert.c: Remove __STDC__ conditionals.
29367         * crypt/crypt-entry.c: Likewise.
29368         * crypt/crypt_util.c: Likewise.
29369         * libio/filedoalloc.c: Likewise.
29370         * libio/fileops.c: Likewise.
29371         * libio/genops.c: Likewise.
29372         * libio/iofclose.c: Likewise.
29373         * libio/iofdopen.c: Likewise.
29374         * libio/iofopen.c: Likewise.
29375         * libio/iofopen64.c: Likewise.
29376         * libio/iogetdelim.c: Likewise.
29377         * libio/iopopen.c: Likewise.
29378         * libio/obprintf.c: Likewise.
29379         * libio/oldfileops.c: Likewise.
29380         * libio/oldiofclose.c: Likewise.
29381         * libio/oldiofdopen.c: Likewise.
29382         * libio/oldiofopen.c: Likewise.
29383         * libio/oldiopopen.c: Likewise.
29384         * libio/wfiledoalloc.c: Likewise.
29385         * libio/wgenops.c: Likewise.
29386         * locale/programs/xmalloc.c: Likewise.
29387         * misc/syslog.c: Likewise.
29388         * stdio-common/xbug.c: Likewise.
29389         * string/memchr.c: Likewise.
29390         * string/memcmp.c: Likewise.
29391         * string/memrchr.c: Likewise.
29392         * string/rawmemchr.c: Likewise.
29393         * sysdeps/posix/getcwd.c: Likewise.
29394         * time/strftime_l.c: Likewise.
29396 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
29398         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
29399         * config.make.in (config-cflags-sse2avx): Define.
29400         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
29401         Fix typo.
29403 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
29405         * scripts/config.guess: Update from upstream config git repository.
29406         * scripts/config.sub: Likewise.
29408 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
29410         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
29411         (EM_NUM): Update.
29412         (R_TILEPRO_*, R_TILEGX_*): New macros.
29414         * scripts/firstversions.awk: Fix bug in version range handling.
29416         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
29418         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
29420         * include/sys/epoll.h: New file.
29421         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
29422         libc_hidden_def.
29424 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
29426         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
29427         Avoid unnecessary __WORDSIZE == 64 test.
29428         (fmaxf): Use VEX format if possible.
29429         (fmax): Likewise.
29430         (fminf): Likewise.
29431         (fmin): Likewise.
29433         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
29434         * math/math_private.h: Remove libc_fegetround* and
29435         libc_fesetround*.
29436         * sysdeps/i386/configure.in: Check for -msse2avx.
29437         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
29438         also if SSE2AVX is defined.
29439         Remove libc_fegetround* and libc_fesetround*.
29440         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
29441         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
29442         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
29443         of HAS_YMM_USABLE.
29444         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29445         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29446         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29447         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29448         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29450         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
29452 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29454         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
29455         size is not set.
29456         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29458 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
29460         [BZ #13618]
29461         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
29462         relocation.
29463         * Makeconfig (libm): Define.
29464         * elf/Makefile: Add rules to build and run tst-relsort1.
29465         * elf/tst-relsort1.c: New file.
29466         * elf/tst-relsort1mod1.c: New file.
29467         * elf/tst-relsort1mod2.c: New file.
29469 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
29471         * math/s_ldexp.c: Remove __STDC__ conditionals.
29472         * math/s_ldexpf.c: Likewise.
29473         * math/s_ldexpl.c: Likewise.
29474         * math/s_nextafter.c: Likewise.
29475         * math/s_nexttowardf.c: Likewise.
29476         * math/s_significand.c: Likewise.
29477         * math/s_significandf.c: Likewise.
29478         * math/s_significandl.c: Likewise.
29479         * math/w_jnl.c: Likewise.
29480         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29481         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29482         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29483         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29484         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29485         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29486         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
29487         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29488         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29489         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29490         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29491         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29492         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29493         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29494         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29495         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29496         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29497         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29498         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29499         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29500         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29501         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29502         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29503         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29504         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29505         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29506         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29507         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29508         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29509         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29510         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29511         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29512         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29513         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29514         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29515         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29516         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29517         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29518         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29519         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29520         * sysdeps/ieee754/k_standard.c: Likewise.
29521         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29522         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29523         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29524         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29525         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29526         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29527         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29528         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29529         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29530         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29531         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29532         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29533         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29534         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29535         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29536         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29537         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29538         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29539         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29540         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29541         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29542         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29543         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29544         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29545         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29546         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29547         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29548         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29549         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29550         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29551         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29552         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
29553         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29554         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29555         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29556         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29557         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
29558         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29559         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29560         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
29561         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
29562         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29563         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
29564         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
29565         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29566         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29567         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29568         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29569         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29570         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
29571         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
29572         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29573         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29574         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29575         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29576         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29577         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
29578         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29579         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29580         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29581         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29582         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29583         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29584         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29585         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29586         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29587         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29588         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29589         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29590         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29591         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29592         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29593         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29594         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29595         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29596         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29597         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29598         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29599         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29600         * sysdeps/ieee754/s_matherr.c: Likewise.
29601         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29602         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29603         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29604         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29606 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
29608         * crypt/md5.h: Remove __STDC__ conditionals.
29609         * libio/libioP.h: Likewise.
29610         * locale/programs/config.h: Likewise.
29611         * sysdeps/generic/sysdep.h: Likewise.
29612         * sysdeps/i386/asm-syntax.h: Likewise.
29613         * sysdeps/s390/asm-syntax.h: Likewise.
29614         * sysdeps/unix/sysdep.h: Likewise.
29615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29616         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29618 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
29620         * libio/libio.h: Remove __STDC__ conditionals.
29621         * malloc/obstack.h: Likewise.
29622         * math/complex.h: Likewise.
29623         * math/math.h: Likewise.
29624         * sysdeps/generic/_G_config.h: Likewise.
29625         * sysdeps/gnu/_G_config.h: Likewise.
29626         * sysdeps/mach/hurd/_G_config.h: Likewise.
29627         * sysdeps/powerpc/bits/mathdef.h: Likewise.
29628         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29629         * sysdeps/sparc/bits/mathdef.h: Likewise.
29631 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
29633         [BZ #13583]
29634         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
29635         Clean up HAS_* macros.
29636         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
29637         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
29638         possible.
29639         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
29640         HAS_AVX.
29641         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29642         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29643         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29644         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29645         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29647 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
29649         * elf/tst-unique3.cc (gets): Remove declaration.
29650         * elf/tst-unique3lib.cc (gets): Likewise.
29651         * elf/tst-unique3lib2.cc (gets): Likewise.
29652         * elf/tst-unique4.cc (gets): Likewise.
29654 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
29656         * include/stdio.h: Add C++ protection.  Add gets declarations and
29657         definitions.
29658         * debug/tst-chk1.c: Don't declare gets here.
29659         * stdio-common/tst-gets.c: Likewise.
29661 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
29663         * posix/glob: Remove directory.
29665 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
29667         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
29669 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
29671         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
29672         of the non-standard EPFNOSUPPORT.
29674 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29676         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
29677         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
29678         ANYWHERE set to 1 only on KERN_NO_SPACE error.
29680 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
29682         * wcsmbs/uchar.h: Test __STDC_VERSION__.
29684 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
29686         * nscd/aicache.c (addhstaiX): Do not cache negative results of
29687         transient errors.
29688         * nscd/grpcache.c (cache_addgr): Likewise.
29689         * nscd/hstcache.c (cache_addhst): Likewise.
29690         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29691         * nscd/pwdcache.c (cache_addpw): Likewise.
29692         * nscd/servicescache.c (cache_addserv): Likewise.
29694 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
29696         * malloc/malloc.c: Various cleanups.
29697         * malloc/hooks.c: Likewise.
29699         * stdlib/Makefile (tests): Add bug-fmtmsg1.
29700         * stdlib/bug-fmtmsg1.c: New file.
29702         * stdlib/fmtmsg.c (init): Add missing unlock.
29703         Patch by Peng Haitao <penght@cn.fujitsu.com>.
29705 2012-01-12  Marek Polacek  <polacek@redhat.com>
29707         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
29708         and _GNU_SOURCE.
29710 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
29712         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
29713         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
29714         macro to ensure uniqueness of label name.
29715         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29716         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29718 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
29720         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
29722         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
29723         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29724         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29725         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
29727 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
29729         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
29731         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
29732         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29733         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29735         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
29737         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
29738         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29739         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29740         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
29742         * math/bits/math-finite.h: Add ldexp support.
29744 2012-01-10  Marek Polacek  <polacek@redhat.com>
29746         * locale/programs/localedef.h (show_archive_content): Add noreturn
29747         attribute.
29749 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
29751         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
29753 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
29755         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
29757         * io/Makefile (headers): Add bits/poll2.h.
29759 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
29761         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
29762         typo #include statement.
29764 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
29766         * include/sys/cdefs.h: Define __attribute_alloc_size.
29767         * catgets/gencat.c: Add alloc_size attribute and apply consistently
29768         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
29769         * elf/pldd.c: Likewise.
29770         * iconv/iconv_charmap.c: Likewise.
29771         * iconv/iconvconfig.c: Likewise.
29772         * iconv/strtab.c: Likewise.
29773         * locale/programs/locale.c: Likewise.
29774         * locale/programs/localedef.h: Likewise.
29775         * locale/programs/simple-hash.c: Likewise.
29776         * nscd/nscd.h: Likewise.
29777         * nss/makedb.c: Likewise.
29778         * sysdeps/generic/ldconfig.h: Likewise.
29779         * locale/programs/localedef.c: Remove xmalloc prototype.
29780         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
29782 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
29784         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
29785         appropriate.
29787 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
29789         * math/Makefile (tests): Add tst-CMPLX.
29790         * math/tst-CMPLX.c: New file.
29792         * math/complex.h (CMPLXL): Fix typo.
29794         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
29795         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
29796         GLIBC_2.16.
29797         * debug/tst-chk1.c: Add poll and ppoll tests.
29798         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
29799         * include/sys/poll.h: Add hidden proto for ppoll.
29800         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
29801         * sysdeps/mach/hurd/ppoll.c: Likewise.
29802         * io/ppoll.c: Likewise.
29803         * debug/poll_chk.c: New file.
29804         * debug/ppoll_chk.c: New file.
29805         * include/bits/poll2.h: New file.
29806         * io/bits/poll2.h: New file.
29808         [BZ #1350]
29809         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
29811         * configure.in: static is always set to yes.  Remove.
29812         * config.make.in: Don't set build-static.
29813         * Makeconfig: Remove use of build-static.
29814         * dlfcn/Makefile: Likewise.
29815         * elf/Makefile: Likewise.
29816         * math/Makefile: Likewise.
29817         * misc/Makefile: Likewise.
29818         * nptl/Makefile: Likewise.
29819         * sysdeps/mach/hurd/Makefile: Likewise.
29821         * configure.in: PWD_P is not used anymore.
29822         * config.make.in: Remove PWD_P entry.
29824         * configure.in: Remove last remnants of RANLIB.
29825         No need to check for signed size_t anymore.
29826         Don't set libc_commonpagesize and libc_relro_required here for Alpha
29827         and IA-64.
29828         Remove __builtin_expect test because we require at least gcc 3.4.
29829         * aclocal.m4: Likewise.
29831         * wcsmbs/mbrtoc16.c: Implement using towc function.
29832         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
29833         * wcsmbs/wcsmbsload.c: Likewise.
29834         * iconv/gconv_simple.c: Likewise.
29835         * iconv/gconv_int.h: Likewise.
29836         * iconv/gconv_builtin.h: Likewise.
29837         * iconv/iconv_prog.c: Remove CHAR16 handling.
29839         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
29841         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
29843         * configure.in: Remove --with-elf and --enable-bounded options.
29844         Dont set base_machine for ia64.  More non-ELF conditions removed.
29845         Remove testing and setting of leading underscore information.
29846         * config.make.in (build-bounded): Set to no.
29847         * config.h.in: Remove NO_UNDERSCORES entry.
29848         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
29849         them.
29850         * csu/start.c: Remove !NO_UNDERSCORE code.
29851         * locale/localeinfo.h: Likewise.
29852         * sysdeps/generic/machine-gmon.h: Likewise.
29853         * sysdeps/generic/sysdep.h: Likewise.
29854         * sysdeps/i386/sysdep.h: Likewise.
29855         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29856         * sysdeps/mach/sysdep.h: Likewise.
29857         * sysdeps/s390/s390-32/sysdep.h: Likewise.
29858         * sysdeps/s390/s390-64/sysdep.h: Likewise.
29859         * sysdeps/sh/sysdep.h: Likewise.
29860         * sysdeps/sparc/sparc32/alloca.S: Likewise.
29861         * sysdeps/unix/i386/sysdep.S: Likewise.
29862         * sysdeps/unix/sparc/start.c: Likewise.
29863         * sysdeps/unix/sparc/sysdep.S: Likewise.
29864         * sysdeps/unix/sparc/sysdep.h: Likewise.
29865         * sysdeps/unix/start.c: Likewise.
29866         * sysdeps/unix/x86_64/sysdep.S: Likewise.
29867         * sysdeps/x86_64/sysdep.h: Likewise.
29869 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
29871         [BZ #13553]
29872         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
29873         for non-gcc.
29874         * argp/argp-fmtstream.h: Use const instead __const.
29875         * argp/argp.h: Likewise.
29876         * assert/assert.h: Likewise.
29877         * bits/fenv.h: Likewise.
29878         * bits/sched.h: Likewise.
29879         * bits/sigset.h: Likewise.
29880         * bits/sigthread.h: Likewise.
29881         * catgets/nl_types.h: Likewise.
29882         * conform/data/pthread.h-data: Likewise.
29883         * crypt/crypt-private.h: Likewise.
29884         * crypt/crypt.h: Likewise.
29885         * crypt/crypt_util.c: Likewise.
29886         * ctype/ctype.h: Likewise.
29887         * debug/execinfo.h: Likewise.
29888         * debug/mbsnrtowcs_chk.c: Likewise.
29889         * debug/mbsrtowcs_chk.c: Likewise.
29890         * debug/wcsnrtombs_chk.c: Likewise.
29891         * debug/wcsrtombs_chk.c: Likewise.
29892         * debug/wcstombs_chk.c: Likewise.
29893         * dirent/dirent.h: Likewise.
29894         * dlfcn/dlfcn.h: Likewise.
29895         * elf/neededtest4.c: Likewise.
29896         * grp/grp.h: Likewise.
29897         * gshadow/gshadow.h: Likewise.
29898         * iconv/gconv.h: Likewise.
29899         * iconv/gconv_int.h: Likewise.
29900         * iconv/gconv_simple.c: Likewise.
29901         * iconv/iconv.h: Likewise.
29902         * iconv/loop.c: Likewise.
29903         * iconv/skeleton.c: Likewise.
29904         * include/aio.h: Likewise.
29905         * include/aliases.h: Likewise.
29906         * include/argz.h: Likewise.
29907         * include/arpa/inet.h: Likewise.
29908         * include/assert.h: Likewise.
29909         * include/dirent.h: Likewise.
29910         * include/dlfcn.h: Likewise.
29911         * include/execinfo.h: Likewise.
29912         * include/fcntl.h: Likewise.
29913         * include/fenv.h: Likewise.
29914         * include/glob.h: Likewise.
29915         * include/grp.h: Likewise.
29916         * include/libintl.h: Likewise.
29917         * include/mntent.h: Likewise.
29918         * include/netdb.h: Likewise.
29919         * include/pwd.h: Likewise.
29920         * include/rpc/netdb.h: Likewise.
29921         * include/sched.h: Likewise.
29922         * include/search.h: Likewise.
29923         * include/shadow.h: Likewise.
29924         * include/signal.h: Likewise.
29925         * include/stdio.h: Likewise.
29926         * include/stdlib.h: Likewise.
29927         * include/string.h: Likewise.
29928         * include/sys/socket.h: Likewise.
29929         * include/sys/stat.h: Likewise.
29930         * include/sys/statfs.h: Likewise.
29931         * include/sys/statvfs.h: Likewise.
29932         * include/sys/syslog.h: Likewise.
29933         * include/sys/time.h: Likewise.
29934         * include/sys/uio.h: Likewise.
29935         * include/time.h: Likewise.
29936         * include/unistd.h: Likewise.
29937         * include/utmp.h: Likewise.
29938         * include/wchar.h: Likewise.
29939         * include/wctype.h: Likewise.
29940         * inet/aliases.h: Likewise.
29941         * inet/arpa/inet.h: Likewise.
29942         * inet/netinet/ether.h: Likewise.
29943         * inet/netinet/in.h: Likewise.
29944         * intl/libintl.h: Likewise.
29945         * io/bits/fcntl2.h: Likewise.
29946         * io/fcntl.h: Likewise.
29947         * io/ftw.h: Likewise.
29948         * io/sys/poll.h: Likewise.
29949         * io/sys/stat.h: Likewise.
29950         * io/sys/statfs.h: Likewise.
29951         * io/sys/statvfs.h: Likewise.
29952         * io/utime.h: Likewise.
29953         * libio/bits/stdio.h: Likewise.
29954         * libio/bits/stdio2.h: Likewise.
29955         * libio/libio.h: Likewise.
29956         * libio/libioP.h: Likewise.
29957         * libio/stdio.h: Likewise.
29958         * locale/lc-ctype.c: Likewise.
29959         * locale/locale.h: Likewise.
29960         * login/utmp.h: Likewise.
29961         * malloc/arena.c: Likewise.
29962         * malloc/malloc.c: Likewise.
29963         * malloc/malloc.h: Likewise.
29964         * malloc/mcheck.c: Likewise.
29965         * malloc/mtrace.c: Likewise.
29966         * math/bits/mathcalls.h: Likewise.
29967         * math/fenv.h: Likewise.
29968         * math/math_private.h: Likewise.
29969         * misc/bits/error.h: Likewise.
29970         * misc/bits/syslog.h: Likewise.
29971         * misc/err.h: Likewise.
29972         * misc/error.h: Likewise.
29973         * misc/fstab.h: Likewise.
29974         * misc/mntent.h: Likewise.
29975         * misc/regexp.h: Likewise.
29976         * misc/search.h: Likewise.
29977         * misc/sgtty.h: Likewise.
29978         * misc/sys/mman.h: Likewise.
29979         * misc/sys/syslog.h: Likewise.
29980         * misc/sys/uio.h: Likewise.
29981         * misc/sys/xattr.h: Likewise.
29982         * misc/ttyent.h: Likewise.
29983         * nis/rpcsvc/ypclnt.h: Likewise.
29984         * nss/nss.h: Likewise.
29985         * posix/bits/unistd.h: Likewise.
29986         * posix/fnmatch.h: Likewise.
29987         * posix/glob.h: Likewise.
29988         * posix/sched.h: Likewise.
29989         * posix/spawn.h: Likewise.
29990         * posix/sys/wait.h: Likewise.
29991         * posix/unistd.h: Likewise.
29992         * posix/wordexp.h: Likewise.
29993         * pwd/pwd.h: Likewise.
29994         * resolv/netdb.h: Likewise.
29995         * resource/sys/resource.h: Likewise.
29996         * rt/aio.h: Likewise.
29997         * rt/bits/mqueue2.h: Likewise.
29998         * rt/mqueue.h: Likewise.
29999         * shadow/shadow.h: Likewise.
30000         * signal/signal.h: Likewise.
30001         * socket/send.c: Likewise.
30002         * socket/sendto.c: Likewise.
30003         * socket/sys/socket.h: Likewise.
30004         * stdio-common/printf.h: Likewise.
30005         * stdlib/bits/stdlib.h: Likewise.
30006         * stdlib/fmtmsg.h: Likewise.
30007         * stdlib/monetary.h: Likewise.
30008         * stdlib/stdlib.h: Likewise.
30009         * stdlib/ucontext.h: Likewise.
30010         * streams/stropts.h: Likewise.
30011         * string/argz.h: Likewise.
30012         * string/bits/string2.h: Likewise.
30013         * string/string.h: Likewise.
30014         * string/strings.h: Likewise.
30015         * sunrpc/rpc/auth.h: Likewise.
30016         * sunrpc/rpc/auth_des.h: Likewise.
30017         * sunrpc/rpc/clnt.h: Likewise.
30018         * sunrpc/rpc/netdb.h: Likewise.
30019         * sunrpc/rpc/pmap_clnt.h: Likewise.
30020         * sunrpc/rpc/xdr.h: Likewise.
30021         * sysdeps/generic/inttypes.h: Likewise.
30022         * sysdeps/generic/net/if.h: Likewise.
30023         * sysdeps/generic/sys/swap.h: Likewise.
30024         * sysdeps/gnu/net/if.h: Likewise.
30025         * sysdeps/gnu/utmpx.h: Likewise.
30026         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
30027         * sysdeps/i386/i486/bits/string.h: Likewise.
30028         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
30029         * sysdeps/s390/bits/string.h: Likewise.
30030         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
30031         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
30032         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
30033         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
30034         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
30035         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
30036         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
30037         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
30038         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
30039         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
30040         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
30041         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
30042         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
30043         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
30044         * sysdeps/unix/sysv/linux/readv.c: Likewise.
30045         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
30046         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
30047         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
30048         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
30049         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
30050         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30051         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
30052         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
30053         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
30054         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
30055         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
30056         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
30057         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30058         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
30059         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
30060         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
30061         * sysvipc/sys/ipc.h: Likewise.
30062         * sysvipc/sys/msg.h: Likewise.
30063         * sysvipc/sys/sem.h: Likewise.
30064         * sysvipc/sys/shm.h: Likewise.
30065         * termios/termios.h: Likewise.
30066         * time/sys/time.h: Likewise.
30067         * time/time.h: Likewise.
30068         * wcsmbs/bits/wchar2.h: Likewise.
30069         * wcsmbs/uchar.h: Likewise.
30070         * wcsmbs/wchar.h: Likewise.
30071         * wctype/wctype.h: Likewise.
30073         [BZ #13551]
30074         * Makeconfig: Remove all but ELF support including AIX support.
30075         * Makerules: Likewise.
30076         * config.h.in: Likewise.
30077         * config.make.in: Likewise.
30078         * configure: Likewise.
30079         * configure.in: Likewise.
30080         * csu/Makefile: Likewise.
30081         * csu/version.c: Likewise.
30082         * debug/Makefile: Likewise.
30083         * dlfcn/Makefile: Likewise.
30084         * elf/Makefile: Likewise.
30085         * extra-lib.mk: Likewise.
30086         * iconv/Makefile: Likewise.
30087         * include/libc-symbols.h: Likewise.
30088         * include/shlib-compat.h: Likewise.
30089         * resolv/Makefile: Likewise.
30090         * resolv/res_libc.c: Likewise.
30091         * rt/Makefile: Likewise.
30092         * sysdeps/i386/asm-syntax.h: Likewise.
30093         * sysdeps/i386/sysdep.h: Likewise.
30094         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30095         * sysdeps/mach/sysdep.h: Likewise.
30096         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
30097         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
30098         * sysdeps/s390/asm-syntax.h: Likewise.
30099         * sysdeps/s390/s390-32/sysdep.h: Likewise.
30100         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30101         * sysdeps/sh/sysdep.h: Likewise.
30102         * sysdeps/unix/sparc/sysdep.h: Likewise.
30103         * sysdeps/wordsize-32/divdi3.c: Likewise.
30104         * sysdeps/x86_64/sysdep.h: Likewise.
30106         * argp/Versions: Remove _argp_unlock_xxx.
30108         [BZ #13559]
30109         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
30110         * abilist/libBrokenLocale.abilist: Likewise.
30111         * abilist/libanl.abilist: Likewise.
30112         * abilist/libc.abilist: Likewise.
30113         * abilist/libcrypt.abilist: Likewise.
30114         * abilist/libdl.abilist: Likewise.
30115         * abilist/libm.abilist: Likewise.
30116         * abilist/libnsl.abilist: Likewise.
30117         * abilist/libpthread.abilist: Likewise.
30118         * abilist/libresolv.abilist: Likewise.
30119         * abilist/librt.abilist: Likewise.
30120         * abilist/libthread_db.abilist: Likewise.
30121         * abilist/libutil.abilist: Likewise.
30122         * abilist/libnss_db.abilist: New file.
30124         * scripts/abilist.awk: Add support for indirect functions.
30126         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
30128         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
30130         * shlib-versions: Remove entries for ports architectures.
30132         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
30133         files in ports.
30134         * elf/stackguard-macros.h: Remove support for IA-64.
30135         * elf/tst-auditmod1.c: Likewise.
30136         * sysdeps/generic/ldsodefs.h: Likewise.
30138         * sysdeps/unix/sysv/linux/configure.in: Ports should define
30139         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
30140         configure files.
30142         [BZ #13552]
30143         * configure.in: Remove --enable-omitfp support.
30144         * FAQ.in: Adjust.
30145         * config.make.in: Likewise.
30146         * Makeconfig: Likewise.
30147         * manual/install.texi: Likewise.
30149         In case anyone cares, the IA-64 architecture could move to ports.
30150         * sysdeps/ia64/*: Removed.
30151         * sysdeps/unix/sysv/linux/ia64/*: Removed.
30152         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
30154         [BZ #13555]
30155         * configure.in: Remove entries for unsupported architectures.
30157         [BZ #13533]
30158         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
30159         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
30160         routines.
30161         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
30162         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
30163         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
30164         fall back to using wcrtomb.
30165         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
30166         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
30167         renaming.
30168         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
30169         * wcsmbs/tst-c16c32-1.c: New file.
30171         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
30172         local variable.
30174         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
30176         * elf/tst-unique3.cc: Add explicit declaration of gets.
30177         * elf/tst-unique3lib.cc: Likewise.
30178         * elf/tst-unique3lib2.cc: Likewise.
30179         * elf/tst-unique4.cc: Likewise.
30181         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
30183 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
30185         [BZ #13566]
30186         * assert/assert.h (static_assert): Don't define for C++.
30187         * libio/stdio.h (gets): Do declare for C++ <= C++11.
30188         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
30190 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
30192         * iconv/loop.c (single loop): Fix assertion in storing of
30193         remaining bytes.
30195         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
30197 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
30199         * posix/getconf.c: Update copyright year.
30200         * nss/getent.c: Likewise.
30201         * nss/makedb.c: Likewise.
30202         * iconv/iconvconfig.c: Likewise.
30203         * iconv/iconv_prog.c: Likewise.
30204         * elf/ldconfig.c: Likewise.
30205         * elf/pldd.c: Likewise.
30206         * elf/sotruss.ksh: Likewise.
30207         * catgets/gencat.c: Likewise.
30208         * csu/version.c: Likewise.
30209         * elf/ldd.bash.in: Likewise.
30210         * elf/sprof.c (print_version): Likewise.
30211         * locale/programs/locale.c: Likewise.
30212         * locale/programs/localedef.c: Likewise.
30213         * login/programs/pt_chown.c: Likewise.
30214         * nscd/nscd.c (print_version): Likewise.
30215         * debug/xtrace.sh: Likewise.
30216         * malloc/memusage.sh: Likewise.
30217         * malloc/mtrace.pl: Likewise.
30218         * debug/catchsegv.sh: Likewise.
30220 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
30222         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
30223         pure attribute.
30225 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
30227         [BZ #13533]
30228         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
30229         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
30230         transformations.
30231         * iconv/gconv_int.h: Likewise.
30232         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
30233         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
30234         from libc for GLIBC_2.16.
30235         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
30236         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
30237         * wcsmbs/uchar.h: Really define mbstate_t.
30238         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
30239         * wcsmbs/c16rtomb.c: New file.
30240         * wcsmbs/mbrtoc16.c: New file.
30241         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
30242         for C/POSIX locale.
30243         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
30244         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
30246         * wcsmbs/wchar.h: Add missing __restrict.
30248 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
30250         [BZ #13532]
30251         * time/Makefile (routines): Add timespec_get.
30252         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
30253         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
30254         timespec for ISO C11.
30255         * time/timespec_get.c: New file.
30256         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
30257         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
30259         [BZ #13531]
30260         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
30261         * stdlib/stdlib.h: Declare aligned_alloc.
30262         * Versions.def: Add GLIBC_2.16 for libc.
30263         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
30265         [BZ 13527]
30266         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
30267         ISO C11.
30269         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
30270         code.
30272         [BZ #13528]
30273         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
30275         [BZ #13529]
30276         * assert/assert.h (static_assert): Define.
30278         * version.h: Update for 2.16 development version.
30280         [BZ #13526]
30281         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
30282         _ISOC11_SOURCE.
30284         * version.h (RELEASE): Bump for 2.15 release.
30285         * include/features.h (__GLIBC_MINOR__): Bump to 15.
30287         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
30288         Patch by Marek Polacek <mpolacek@redhat.com>.
30290         * bits/byteswap.h: Protect long long constants with __extension__.
30291         * sysdeps/i386/bits/byteswap.h: Likewise.
30292         * sysdeps/ia64/bits/byteswap.h: Likewise.
30293         * sysdeps/s390/bits/byteswap.h: Likewise.
30294         * sysdeps/x86_64/bits/byteswap.h: Likewise.
30296 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30298         [BZ #13540]
30299         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
30300         destination buffer.
30301         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30303 2011-12-23  Marek Polacek  <polacek@redhat.com>
30305         * elf/dl-addr.c (determine_info): Add inline keyword.
30306         * elf/tst-auditmod4b.c (check_avx): Likewise.
30307         * elf/tst-auditmod6b.c (check_avx): Likewise.
30308         * elf/tst-auditmod6c.c (check_avx): Likewise.
30309         * elf/tst-auditmod7b.c (check_avx): Likewise.
30311 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
30313         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
30314         !__SSE_MATH__.
30316 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30318         [BZ #13540]
30319         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
30320         processing for last bytes.
30322 2011-08-06  Bruno Haible  <bruno@clisp.org>
30324         [BZ #13061]
30325         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
30326         U+0385, not to U+1FEE.
30328         [BZ #13062]
30329         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
30330         entry for U+00A5 U+0301.
30332 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
30334         [BZ #13166]
30335         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
30336         buffer for the output is too small.
30338         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
30339         optimization.
30341         [BZ #13185]
30342         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
30343         SSE flags if possible.
30345 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30347         [BZ #13540]
30348         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
30349         processing for last bytes.
30351 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
30353         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
30354         (syscall-list-default-options, syscall-list-default-condition)
30355         (syscall-list-includes): Define.
30356         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
30357         list of ABIs and options and #if conditions for each ABI.  Do not
30358         handle common syscalls between ABIs specially.
30359         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
30360         Remove.
30361         (syscall-list-variants, syscall-list-32bit-options)
30362         (syscall-list-32bit-condition, syscall-list-64bit-options)
30363         (syscall-list-64bit-condition): Define.
30364         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
30365         (syscall-list-variants, syscall-list-32bit-options)
30366         (syscall-list-32bit-condition, syscall-list-64bit-options)
30367         (syscall-list-64bit-condition): Define.
30368         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
30369         Remove.
30370         (syscall-list-variants, syscall-list-32bit-options)
30371         (syscall-list-32bit-condition, syscall-list-64bit-options)
30372         (syscall-list-64bit-condition): Define.
30373         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
30374         Remove.
30375         (syscall-list-variants, syscall-list-32bit-options)
30376         (syscall-list-32bit-condition, syscall-list-64bit-options)
30377         (syscall-list-64bit-condition): Define.
30379 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
30381         * locale/iso-639.def: Add brx entry.
30383         [BZ #13328]
30384         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
30385         Proposed by Mariusz_Cukr <marcukr@op.pl>.
30387         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
30388         __feraiseexcept_renamed.
30390 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
30392         [BZ #13538]
30393         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
30394         EPOLLET with unsigned values.
30395         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30396         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30398         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
30399         to large cancellation.
30400         * math/s_cacoshf.c: Likewise.
30401         * math/s_cacoshl.c: Likewise.
30403 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
30405         [BZ #13305]
30406         [BZ #12786]
30407         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
30408         * math/s_cacoshf.c: Likewise.
30409         * math/s_cacoshl.c: Likewise.
30411 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
30413         [BZ #13439]
30414         * iconv/gconv.h: Define __GCONV_SWAP.
30415         * iconvdata/unicode.c: The swap bit must be stored in __flags.
30416         * iconvdata/utf-16.c: Likewise.
30417         * iconvdata/utf-32.c: Likewise.
30419 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
30421         [BZ #13524]
30422         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
30423         numerator after shifting it by one limb.
30425 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
30427         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
30428         under [__USE_EXTERN_INLINES].
30430 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
30432         [BZ #13446]
30433         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
30435 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30437         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
30438         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
30439         optimized code.
30440         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
30441         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
30442         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
30443         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
30444         for strncasecmp/strncasecmp_l compilation.
30445         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
30446         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
30448 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
30450         [BZ #13484]
30451         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
30452         of __asm__.
30454 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
30456         [BZ #13506]
30457         * time/tzfile.c (__tzfile_read): Check values from file header.
30459 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
30461         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
30462         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
30463         * powerpc/powerpc32/dl-start.S: Likewise.
30464         * powerpc/powerpc32/elf/start.S: Likewise.
30465         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30466         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
30467         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
30468         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
30469         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30470         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
30471         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
30472         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30473         * powerpc/powerpc32/fpu/s_round.S: Likewise.
30474         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30475         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30476         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30477         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
30478         * powerpc/powerpc32/memset.S: Likewise.
30479         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30480         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30481         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30482         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30483         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30484         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30485         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30486         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30487         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
30488         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
30489         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
30490         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30491         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30493 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30495         * math/libm-test.inc: Added more nearbyint tests.
30496         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
30497         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
30498         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
30499         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
30501 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
30503         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
30504         FD_CLOEXEC.
30506 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30508         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
30509         Add wcscpy-ssse3 wcscpy-c.
30510         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
30511         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
30512         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
30513         * sysdeps/x86_64/wcschr.S: New file.
30514         * sysdeps/x86_64/wcsrchr.S: New file.
30515         * string/test-strcmp.c: Remove checking of wcscmp function for
30516         wrong alignments.
30517         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
30518         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
30519         wcsrchr-sse2 wcsrchr-c.
30520         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
30521         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
30522         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
30523         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
30524         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
30525         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
30526         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
30527         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
30528         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
30529         * wcsmbc/wcschr.c (WCSCHR): New macro.
30531 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30533         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
30534         * wcsmbs/test-wcsrchr.c: New file.
30535         * string/test-strrchr.c: Add wcsrchr support.
30536         (WIDE): New macro.
30537         * wcsmbs/test-wcscpy.c: New file.
30538         * string/test-strcpy.c: Add wcscpy support.
30539         (WIDE): New macro.
30541 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
30543         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
30544         the inner loop.
30546 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
30548         [BZ #13472]
30549         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
30551 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
30553         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
30554         Minor optimizations.
30556         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
30557         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
30558         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
30560 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
30562         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
30563         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
30564         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
30565         for gcc to avoid warnings.
30566         * inet/Makefile (tests): Add tst-checks.
30567         * inet/tst-checks.c: New file.
30569         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
30570         warning.
30572         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
30573         __wmemcmp_sse2.
30575         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
30576         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
30578         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
30580 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
30582         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
30583         problem.
30585         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
30587 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
30589         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
30590         conditional on GCC version.
30591         (__arch_compare_and_exchange_val_8_acq)
30592         (__arch_compare_and_exchange_val_16_acq)
30593         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
30594         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
30595         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
30597 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
30599         * sysdeps/sh/backtrace.c: New file.
30601 2011-12-02  Andreas Schwab  <schwab@redhat.com>
30603         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
30604         parenthesis.
30606 2011-12-01  Andreas Schwab  <schwab@redhat.com>
30608         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
30609         falling back to utime.
30611 2011-11-30  Andreas Schwab  <schwab@redhat.com>
30613         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
30614         expectations for float.
30616 2011-11-29  Andreas Schwab  <schwab@redhat.com>
30618         * locale/weight.h (findidx): Add parameter len.
30619         * locale/weightwc.h (findidx): Likewise.
30620         * posix/fnmatch_loop.c (FCT): Adjust caller.
30621         * posix/regcomp.c (build_equiv_class): Likewise.
30622         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
30623         * posix/regexec.c (check_node_accept_bytes): Likewise.
30624         * string/strcoll_l.c (STRCOLL): Likewise.
30625         * string/strxfrm_l.c (STRXFRM): Likewise.
30627 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
30629         * Makefile.in: Remove CVSOPT handling.
30630         * configure.in: Remove use of AC_REVISION.
30631         * iconvdata/Makefile (distribute): No need to filter out CVS.
30632         * scripts/list-sources.sh: Remove CVS, subversion and monotone
30633         handling.
30635 2011-11-16  Andreas Schwab  <schwab@redhat.com>
30637         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
30638         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
30639         [USE_AS_STRNCASECMP_L]: Likewise.
30640         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
30641         NO_TLS_DIRECT_SEG_REFS.
30642         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
30643         Fix argument offsets for non-PIC.
30644         [USE_AS_STRNCASECMP_L]: Likewise.
30645         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
30646         NO_TLS_DIRECT_SEG_REFS.
30648 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
30650         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
30651         O_CLOEXEC.
30652         * locale/loadlocale.c (_nl_load_locale): Likewise.
30654 2011-11-15  Andreas Schwab  <schwab@redhat.com>
30656         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
30657         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
30658         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
30659         (SYSCALL_GETTIME): Set errno on error.
30661         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
30662         count references to noai6ai_cached.
30664 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
30666         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
30668         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
30669         FD_CLOEXEC for /proc/self/maps.
30671         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
30672         FD_CLOEXEC for /proc/meminfo.
30674         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
30675         gai.conf.
30677         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
30678         FD_CLOEXEC for given file.
30680         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
30682         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
30683         FD_CLOEXEC for /etc/hosts.
30684         (_gethtent): Likewise.
30686         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
30688         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
30689         cancellation and set FD_CLOEXEC for /etc/netgroup.
30691         * nss/nss_files/files-key.c (search): Don't allow cancellation when
30692         reading /etc/publickey.
30694         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
30695         allow cancellation when reading /etc/group.
30697         * nss/nss_files/files-alias.c (internal_setent): Don't allow
30698         cancellation.
30699         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
30701         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
30702         when using data file.
30704         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
30706         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
30707         (write_nis_obj): Use "c" and "e" in fopen.
30709         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
30711         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
30713         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
30715         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
30717         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
30718         locale.alias.
30720         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
30722         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
30724         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
30726         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
30727         file parsing and set FD_CLOEXEC.
30729 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
30731         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
30733 2011-11-14  Andreas Schwab  <schwab@redhat.com>
30735         * malloc/arena.c (arena_get2): Don't call reused_arena when
30736         _int_new_arena failed.
30738 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
30740         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
30741         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
30742         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
30743         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30744         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30745         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
30746         to compile strcasecmp and strncasecmp.
30747         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
30748         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
30750         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
30752 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
30754         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
30755         locale-defines.sym to gen-as-const-headers.
30756         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
30757         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
30758         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
30759         to compile strcasecmp and strncasecmp.
30760         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
30761         strcasecmp_l and strncasecmp_l.
30762         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
30763         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
30764         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
30765         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
30766         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
30767         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
30768         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
30769         * sysdeps/i386/i686/multiarch/strncase.S: New file.
30770         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
30771         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
30772         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
30774 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
30776         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
30777         result of SYSDEP_GETTIME_CPU to retval.
30778         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
30779         parameter list to macro.  Remove trailing semicolon.  Adjust users.
30781         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
30782         variable.
30784         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
30785         mantissa words.
30786         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
30788         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
30789         from unused variable.
30791         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
30792         DWARF definitions.
30793         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
30794         for assembling.
30796         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
30797         over namespaces.
30799         * sunrpc/rpc_prot.c (rejected): Fix case value.
30801         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
30802         unsigned long long int to avoid warnings in shift.
30804         * posix/regex_internal.c (re_string_reconstruct): Actually use result
30805         of use of trans.
30806         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
30807         variable tmp.
30809         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
30810         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
30811         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
30813         * nis/nis_table.c (nis_list): Use variable of correct type for
30814         result of __follow_path call.
30816 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30818         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
30819         of math functions ceil, trunc, floor, round, and sqrt, when
30820         avaliable on the platform.
30821         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
30822         name clash.
30823         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30824         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30825         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30827 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
30829         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
30830         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30832 2011-11-11  Roland McGrath  <roland@hack.frob.com>
30834         * include/unistd.h: Fix __readlink return type.
30835         Reported by Chris Metcalf <cmetcalf@tilera.com>.
30837 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
30839         * stdlib/ucontext.h: Undo last change for makecontext.
30841 2011-11-11  Andreas Schwab  <schwab@redhat.com>
30843         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
30845         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
30846         * setjmp/setjmp.h: Mark functions as non-leaf.
30847         * setjmp/bits/setjmp2.h: Likewise.
30848         * stdlib/ucontext.h: Likewise.
30850 2011-11-10  Andreas Schwab  <schwab@redhat.com>
30852         * malloc/arena.c (_int_new_arena): Don't increment narenas.
30853         (reused_arena): Don't check arena limit.
30854         (arena_get2): Atomically check arena limit.
30856 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
30858         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
30859         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
30861         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
30862         instructions.
30864 2011-11-07  Andreas Schwab  <schwab@redhat.com>
30866         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
30867         handler when locking.
30869         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30870         Fix size of allocated buffer.
30872 2011-11-04  Andreas Schwab  <schwab@redhat.com>
30874         [BZ #10103]
30875         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
30876         declarations for long double functions.
30877         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
30879         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
30881 2011-11-03  Andreas Schwab  <schwab@redhat.com>
30883         * nscd/nscd.c (main): Don't start AVC thread until credentials are
30884         installed.
30886         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
30887         is disabled.
30889 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30891         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
30893 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
30895         * include/alloca.h (stackinfo_alloca_round): Define.
30896         (extend_alloca): Use it.
30897         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
30898         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
30899         here.
30901         * scripts/check-local-headers.sh: Ignore libaudit.h.
30903         * nscd/Makefile (extra-objs): Make recursively expanded.
30905 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
30907         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
30908         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30910         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
30911         * posix/tst-rfc3484-2.c: Likewise.
30912         * posix/tst-rfc3484-3.c: Likewise.
30914         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30915         process_vm_writev.
30916         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
30917         process_vm_writev.
30918         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
30919         process_vm_writev from libc using GLIBC_2.15 version.
30921         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
30923 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
30925         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
30926         stack usage.
30928 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
30930         [BZ #13367]
30931         * nss/getent.c (initgroups_keys): Show error message in case no group
30932         names are given.
30934         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
30935         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
30936         __bump_nl_timestamp.
30937         * nscd/connections (nscd_init): When host database is served open
30938         netlink socket and request notification about configuration changes.
30939         (main_loop_poll): Track netlink file descriptor and bump timestamp
30940         in case data becomes available.
30941         (main_loop_epoll): Likewise.
30942         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
30943         (database_pers_head): Add extra_data fileds.
30944         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
30945         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
30946         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
30947         Adjust caller.
30948         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
30949         in6ai data, call __free_in6ai.
30950         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
30951         Add -DHAVE_NETLINK.
30952         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
30953         interface information.  Reuse previous data if netlink timestamp
30954         is not changed.
30955         (__bump_nl_timestamp): New function.
30956         (__free_in6ai): New function.
30958 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
30960         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
30961         close_not_cancel_no_status here.
30962         (__check_pf): Reorganize code a bit to not call close twice if OOM.
30964 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
30966         [BZ #13276]
30967         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
30968         return value.
30970         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
30971         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
30972         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
30974 2011-07-03  Andreas Jaeger  <aj@suse.de>
30976         [BZ #10709]
30977         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
30978         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
30979         * math/libm-test.inc (sin_test): Add test case.
30981 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
30983         [BZ #13337]
30984         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
30985         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30987         * elf/chroot_canon.c (chroot_canon): Cleanups.
30989         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
30991         [BZ #13335]
30992         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
30993         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30995         * string/test-strchr.c: Make usable for strchrnul testing.
30996         * string/test-strchrnul.c: New file.
30997         * string/Makefile (strop-tests): Add strchrnul.
30999         * po/it.po: Update from translation team.
31000         * po/es.po: Likewise.
31002 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
31004         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
31005         the three constants needed as parameters.  Drop the others.
31006         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
31007         __m128i_strloadu_tolower.
31008         Create and initialize variable zero and use it in all the places
31009         where _mm_setzero_si128 was used.
31011         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
31012         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
31013         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
31014         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
31015         anymore.
31016         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
31017         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
31018         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
31019         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
31020         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
31021         __mpranred, __mptan.
31022         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
31023         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
31024         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
31025         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
31026         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
31027         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
31028         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
31029         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
31030         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
31032 2011-10-28  Andreas Schwab  <schwab@redhat.com>
31034         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
31035         redefine if SHARED.
31036         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
31038         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
31039         wide char related routines to wcsmbs subdir.
31041 2011-10-27  Andreas Schwab  <schwab@redhat.com>
31043         [BZ #13344]
31044         * misc/sys/cdefs.h (__THROWNL): Define.
31045         * posix/unistd.h: Use __THREADNL instead of __THREAD
31046         for memory synchronization functions.
31048 2011-10-26  Roland McGrath  <roland@hack.frob.com>
31050         [BZ #13349]
31051         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
31052         doesn't exist.
31053         * manual/stdio.texi (Obstack Streams): Node removed.
31055 2011-10-26  Andreas Schwab  <schwab@redhat.com>
31057         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
31058         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31059         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31061         * math/math_private.h (math_force_eval): Allow non-addressable
31062         arguments.
31063         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
31065 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
31067         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
31068         file is not needed.
31070         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
31071         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31072         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31073         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31074         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31075         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31076         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31077         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
31078         Add AVX variants.
31079         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
31080         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
31081         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
31082         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
31083         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
31084         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
31085         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
31086         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
31087         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
31088         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
31089         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
31090         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
31091         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
31092         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
31093         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
31094         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
31095         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
31096         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
31097         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
31099         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
31100         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
31102         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
31103         place.  Use VEX encoding when compiling for AVX.
31105 2011-10-25  Andreas Schwab  <schwab@redhat.com>
31107         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
31108         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31110         * string/test-strchr.c (do_test): Don't generate NUL bytes.
31112 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
31114         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
31115         useless if() expression.
31116         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31117         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31118         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31119         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31120         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31121         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31122         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31123         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31124         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31125         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31126         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31127         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31128         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
31129         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31130         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
31131         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31132         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31133         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31134         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31136         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
31138 2011-10-25  Andreas Schwab  <schwab@redhat.com>
31140         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
31141         condition.
31142         * elf/dl-fini.c (_dl_sort_fini): Likewise.
31144 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
31146         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
31147         .text section.  Avoid duplicate constants.
31148         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31149         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31150         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31151         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31152         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31153         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31154         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31155         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31156         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31157         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
31158         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31159         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31160         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31161         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31162         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31163         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31164         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31165         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31166         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31167         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31168         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31169         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31170         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31171         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
31172         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
31173         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
31174         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
31175         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
31176         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
31177         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
31178         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
31179         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
31180         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31181         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
31182         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
31183         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
31184         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
31185         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
31186         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
31187         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
31188         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
31189         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
31190         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
31191         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
31192         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
31194 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
31196         * sysdeps/x86_64/dla.h: Move to ...
31197         * sysdeps/x86_64/fpu/dla.h: ...here.
31198         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
31199         situations.  Use __builtin_fma only for gcc 4.6 and up.
31201         * config.make.in: Add have-mfma4 entry.
31202         * configure.in: Substitute libc_cv_cc_fma4.
31203         * math/Makefile (dbl-only-routines): Add sincostab.
31204         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
31205         Use __sincostab not sincos.
31206         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
31207         name is a macro.
31208         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31209         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31210         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31211         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
31212         using __copysign.
31213         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
31214         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
31215         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
31216         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
31217         and __inv.
31218         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
31219         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
31220         __copysign.
31221         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
31222         define aliases when function name is a macro.
31223         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
31224         sysdeps/ieee754/dbl-64/sincos.tbl.
31225         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
31226         fma4-enabled routines.
31227         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
31228         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
31229         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
31230         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
31231         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
31232         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
31233         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
31234         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
31235         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
31236         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
31237         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
31238         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
31239         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
31240         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
31241         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
31242         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
31243         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
31244         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
31245         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
31246         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
31247         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
31248         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
31249         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
31250         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
31251         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
31252         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
31253         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
31254         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
31255         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
31256         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
31258         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
31259         rename.
31260         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31261         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31262         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31263         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31264         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31265         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31266         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31267         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31269 2011-10-24  Andreas Schwab  <schwab@redhat.com>
31271         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
31273 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
31275         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
31277         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
31278         prediction.
31279         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
31281         * string/strnlen.c: Don't define STRNLEN, reverse logic.
31282         Remove unused variable magic_bits.
31283         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
31285         * string/strnlen.c: Define and use STRNLEN macro.
31286         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
31287         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
31288         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
31289         * wcsmbs/wcslen.c: Define and use WCSLEN.
31290         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
31291         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
31292         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
31293         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
31294         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
31295         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
31296         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31298 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31300         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31301         strnlen-sse2-no-bsf.
31302         Rename strlen-no-bsf to strlen-sse2-no-bsf.
31303         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
31304         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
31305         Add strnlen support.
31306         (USE_AS_STRNLEN): New macro.
31307         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
31308         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
31309         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
31310         * sysdeps/x86_64/wcslen.S: New file.
31312 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
31314         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31315         XMM-moves are used for copying on small sizes.
31317 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31319         * wcsmbs/Makefile (strop-tests): Add wcschr.
31320         * wcsmbs/test-wcschr.c: New file.
31321         * string/test-strchr.c: Update.
31322         Add wcschr support.
31323         (WIDE): New macro.
31325 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31327         * wcsmbs/Makefile (strop-tests): Add wcslen.
31328         * wcsmbs/test-wcslen.c: New file.
31329         * string/test-strlen.c: Update.
31330         Add wcslen support.
31331         (WIDE): New macro.
31333 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
31335         * po/it.po: Update from translation team.
31337 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31339         * sysdeps/x86_64/wcscmp.S: Update.
31340         Fix wrong comparison semantics.
31341         wcscmp shall use signed comparison not unsigned.
31342         Don't use substraction to avoid overflow bug.
31343         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
31344         * wcsmbc/wcscmp.c: Likewise.
31345         * string/test-strcmp.c: Likewise.
31346         Add new tests to check cases with negative values.
31348 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
31350         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
31351         * sysdeps/x86_64/dla.h: ...here.  New file.
31352         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
31353         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31354         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31355         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31356         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31357         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31358         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31359         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31360         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31362 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
31364         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
31365         __ynl_finite aliases.
31367 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
31369         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31371         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
31372         define DLA_FMA.
31373         [DLA_FMA] (EMULV): Use DLA_FMA.
31374         [DLA_FMA] (MUL12): Use EMULV.
31375         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
31376         that are not needed.
31377         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31378         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31379         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31380         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31381         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31382         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31383         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31385 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
31387         * math/s_nan.c: Undef __nan.
31388         * math/s_nanf.c: Undef __nanf.
31389         * math/s_nanl.c: Undef __nanl.
31390         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
31391         "math_private.h".
31393 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
31395         * math/s_catan.c: Add branch predictions.
31396         * math/s_catanf.c: Likewise.
31397         * math/s_catanh.c: Likewise.
31398         * math/s_catanhf.c: Likewise.
31399         * math/s_catanhl.c: Likewise.
31400         * math/s_catanl.c: Likewise.
31401         * math/s_cexp.c: Likewise.
31402         * math/s_cexpf.c: Likewise.
31403         * math/s_cexpl.c: Likewise.
31404         * math/s_clog.c: Likewise.
31405         * math/s_clog10.c: Likewise.
31406         * math/s_clog10f.c: Likewise.
31407         * math/s_clog10l.c: Likewise.
31408         * math/s_clogf.c: Likewise.
31409         * math/s_clogl.c: Likewise.
31410         * math/s_csqrt.c: Likewise.
31411         * math/s_csqrtf.c: Likewise.
31412         * math/s_csqrtl.c: Likewise.
31413         * math/s_ctanf.c: Likewise.
31414         * math/s_ctanh.c: Likewise.
31415         * math/s_ctanhf.c: Likewise.
31416         * math/s_ctanhl.c: Likewise.
31417         * math/s_ctanl.c: Likewise.
31419         * math/math_private.h: Define __nan, __nanf, __nanl.
31420         * math/s_cacosh.c: Include <math_private.h>.
31421         * math/s_cacoshl.c: Likewise.
31422         * math/s_casinh.c: Likewise.
31423         * math/s_casinhf.c: Likewise.
31424         * math/s_casinhl.c: Likewise.
31425         * math/s_ccos.c: Rely entire on ccosh.
31426         * math/s_ccosf.c: Rely entire on ccoshf.
31427         * math/s_ccosl.c: Rely entirely on ccoshl.
31428         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
31429         Remove tests for FE_INVALID.
31430         * math/s_ccoshf.c: Likewise.
31431         * math/s_ccoshl.c: Likewise.
31432         * math/s_csin.c: Likewise.
31433         * math/s_csinf.c: Likewise.
31434         * math/s_csinh.c Likewise.
31435         * math/s_csinhf.c: Likewise.
31436         * math/s_csinhl.c: Likewise.
31437         * math/s_csinl.c: Likewise.
31438         * math/s_ctan.c: Likewise.
31439         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
31440         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
31441         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
31443 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
31445         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
31446         compilation problems.
31448         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
31449         __builtin_expect.
31451 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
31453         * sysdeps/i386/configure.in: Test for -mfma4 option.
31454         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
31455         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
31456         COMMON_CPUID_INDEX_80000001.
31457         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
31458         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
31459         use it if FMA3 is not supported.
31460         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
31462         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
31463         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31465 2011-10-20  Andreas Schwab  <schwab@redhat.com>
31467         [BZ #12892]
31468         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
31469         it would create a cycle with a link time dependency.
31471 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
31473         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
31474         instruction.
31475         * string/Makefile (strop-tests): Add rawmemchr.
31476         * string/test-rawmemchr.c: New file.
31478         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
31479         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
31480         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
31481         when compiling str{,n}casecmp and when AVX is available.  Hook up
31482         new optimized code in initializers.
31484 2011-10-19  Andreas Schwab  <schwab@redhat.com>
31486         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
31487         __feraiseexcept instead of feraiseexcept.
31489 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
31491         * math/math_private.h: Define defaults for libc_fetestexcept and
31492         libc_feupdateenv.
31493         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
31494         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
31495         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31496         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31497         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
31498         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31499         libc_fetestexcept and libc_feupdateenv.
31501         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
31502         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
31503         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
31504         * sysdeps/x86_64/fpu/math_private.h: Define special version of
31505         libc_feholdexcept_setround.
31507         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
31508         Add s_nearbyint-c and s_nearbyintf-c.
31509         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
31510         nearbyintf inlines.
31511         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
31512         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
31513         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
31514         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
31516         * math/math_private.h: Define defaults for libc_fegetround,
31517         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
31518         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
31519         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
31520         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
31521         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
31522         standard functions.
31523         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31524         Remove comments and hacks for old compiler versions.
31525         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31526         libc_fegetround, libc_fesetround, libc_feholdexcept, and
31527         libc_feholdexceptl.
31529 2011-10-18  Andreas Schwab  <schwab@redhat.com>
31531         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
31532         (__feraiseexcept_renamed): Add __NTH.
31533         (feraiseexcept): Add __NTH.  Rename local variables to fix
31534         namespace violations.
31536 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
31538         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
31540         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
31542         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
31543         recently added interfaces.
31544         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
31546         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
31547         about macro parameter expansion.
31549         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
31550         __NO_MATH_INLINES is defined.  Cleanups.
31552         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
31553         and __floorf is target has SSE4.1.
31554         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
31555         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
31556         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
31557         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
31559         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
31560         name.
31561         (floorf): Likewise.
31563         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
31565 2011-10-17  Andreas Schwab  <schwab@redhat.com>
31567         * misc/sys/cdefs.h: Fix last change.
31569         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
31570         database lookup.
31572 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
31574         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
31576         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
31577         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31578         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31579         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31580         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31581         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
31582         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31583         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31584         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
31585         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
31586         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
31587         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
31588         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
31589         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
31590         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
31591         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
31592         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
31593         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
31594         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
31595         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
31596         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
31597         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
31599         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
31600         ceil, ceilf, floor, floorf.
31602         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
31603         Perform IRELATIVE relocations last.
31605         * elf/do-rel.h: Add another parameter nrelative, replacing the
31606         local variable with the same name.  Change name of the function
31607         to end in Rel or Rela (uppercase).
31608         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
31609         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
31610         elf_dynamic_do_##reloc function.
31612 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
31614         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
31615         is sufficient, at least on modern CPUs.
31617         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
31619         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
31620         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
31622         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
31623         __expl_finite.
31624         * math/bits/math-finite.h: Add entries for exp.
31625         * math/e_expl.c: Add __*_finite alias.
31626         * sysdeps/i386/fpu/e_exp.S: Likewise.
31627         * sysdeps/i386/fpu/e_expf.S: Likewise.
31628         * sysdeps/i386/fpu/e_expl.c: Likewise.
31629         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31630         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31631         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31632         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31633         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
31634         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31635         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31637         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
31638         is sufficient, at least on modern CPUs.
31640         * ctype/ctype-info.c (__ctype_init): Define.
31641         * include/ctype.h (__ctype_init): Declare.
31642         (__ctype_b_loc): The variable is always initialized.
31643         (__ctype_toupper_loc): Likewise.
31644         (__ctype_tolower_loc): Likewise.
31645         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
31646         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
31648 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
31650         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
31652         * configure.in: Also look in $cxxmachine/include for C++ system
31653         headers.
31655 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31657         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
31658         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
31659         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
31660         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
31661         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
31662         (USE_AS_WMEMCMP): New macro.
31663         Fixing indents.
31664         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
31665         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
31666         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
31667         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
31668         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31669         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
31670         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
31671         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
31672         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
31673         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
31674         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
31675         (USE_AS_WMEMCMP): New macro.
31676         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
31677         * sysdeps/string/test-memcmp.c: Update.
31678         Fix simple_wmemcmp.
31679         Add new tests.
31680         * wcsmbs/wmemcmp.c: Update.
31681         (WMEMCMP): New macro.
31682         Fix overflow bug.
31684 2011-10-12  Andreas Jaeger  <aj@suse.de>
31686         [BZ #13268]
31687         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
31689 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
31691         * libio/iofwide.c (do_length): Avoid warning.
31693         * ctype/ctype.h (__isctype_f): Add missing __THROW.
31695 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
31697         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
31699         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
31700         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
31701         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
31702         * sysdeps/i386/i686/fpu/e_log.S: New file.
31703         * sysdeps/i386/i686/fpu/e_logf.S: New file.
31704         * sysdeps/i386/i686/fpu/e_logl.S: New file.
31706         * ctype/ctype.h: Add support for inlined isXXX functions when
31707         compiling C++ code.
31709 2011-10-14  Andreas Schwab  <schwab@redhat.com>
31711         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31713         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
31715 2011-10-13  Roland McGrath  <roland@hack.frob.com>
31717         [BZ #13291]
31718         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
31720 2011-10-13  Andreas Schwab  <schwab@redhat.com>
31722         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
31723         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
31724         feraiseexcept.
31726         * sysdeps/x86_64/memrchr.S: Check for zero size.
31728         * string/stratcliff.c: Add memrchr tests.
31730 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31732         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31733         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
31734         rawmemchr-sse2 rawmemchr-sse2-bsf.
31735         * sysdeps/i386/i686/multiarch/memchr.S: New file.
31736         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
31737         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
31738         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
31739         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
31740         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
31741         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
31742         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
31743         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
31744         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
31745         * string/memrchr.c (MEMRCHR): New macro.
31747 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
31749         Add integration with gcc's -ffinite-math-only and optimize wrapper
31750         functions in libm.
31751         * Versions.def: Define GLIBC_2.15 version for libm.
31752         * math/Makefile (headers): Add bits/math-finite.h.
31753         * math/bits/math-finite.h: New file.
31754         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
31755         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
31756         * math/e_acoshl.c: Add __*_finite alias.
31757         * math/e_acosl.c: Likewise.
31758         * math/e_asinl.c: Likewise.
31759         * math/e_atan2l.c: Likewise.
31760         * math/e_atanhl.c: Likewise.
31761         * math/e_coshl.c: Likewise.
31762         * math/e_exp10.c: Likewise.
31763         * math/e_exp10f.c: Likewise.
31764         * math/e_exp10l.c: Likewise.
31765         * math/e_exp2l.c: Likewise.
31766         * math/e_fmodl.c: Likewise.
31767         * math/e_gammal_r.c: Likewise.
31768         * math/e_hypotl.c: Likewise.
31769         * math/e_j0l.c: Likewise.
31770         * math/e_j1l.c: Likewise.
31771         * math/e_jnl.c: Likewise.
31772         * math/e_lgammal_r.c: Likewise.
31773         * math/e_log10l.c: Likewise.
31774         * math/e_log2l.c: Likewise.
31775         * math/e_logl.c: Likewise.
31776         * math/e_powl.c: Likewise.
31777         * math/e_sinhl.c: Likewise.
31778         * math/e_sqrtl.c: Likewise.
31779         * math/e_scalb.c: Completely rewritten and optimized.
31780         * math/e_scalbf.c: Likewise.
31781         * math/e_scalbl.c: Likewise.
31782         * math/w_acos.c: Likewise.
31783         * math/w_acosf.c: Likewise.
31784         * math/w_acosl.c: Likewise.
31785         * math/w_acosh.c: Likewise.
31786         * math/w_acoshf.c: Likewise.
31787         * math/w_acoshl.c: Likewise.
31788         * math/w_asin.c: Likewise.
31789         * math/w_asinf.c: Likewise.
31790         * math/w_asinl.c: Likewise.
31791         * math/w_atan2.c: Likewise.
31792         * math/w_atan2f.c: Likewise.
31793         * math/w_atan2l.c: Likewise.
31794         * math/w_atanh.c: Likewise.
31795         * math/w_atanhf.c: Likewise.
31796         * math/w_atanhl.c: Likewise.
31797         * math/w_exp10.c: Likewise.
31798         * math/w_exp10f.c: Likewise.
31799         * math/w_exp10l.c: Likewise.
31800         * math/w_fmod.c: Likewise.
31801         * math/w_fmodf.c: Likewise.
31802         * math/w_fmodl.c: Likewise.
31803         * math/w_j0.c: Likewise.
31804         * math/w_j0f.c: Likewise.
31805         * math/w_j0l.c: Likewise.
31806         * math/w_j1.c: Likewise.
31807         * math/w_j1f.c: Likewise.
31808         * math/w_j1l.c: Likewise.
31809         * math/w_jn.c: Likewise.
31810         * math/w_jnf.c: Likewise.
31811         * math/w_log.c: Likewise.
31812         * math/w_logf.c: Likewise.
31813         * math/w_logl.c: Likewise.
31814         * math/w_log10.c: Likewise.
31815         * math/w_log10f.c: Likewise.
31816         * math/w_log10l.c: Likewise.
31817         * math/w_log2.c: Likewise.
31818         * math/w_log2f.c: Likewise.
31819         * math/w_log2l.c: Likewise.
31820         * math/w_pow.c: Likewise.
31821         * math/w_powf.c: Likewise.
31822         * math/w_powl.c: Likewise.
31823         * math/w_remainder.c: Likewise.
31824         * math/w_remainderf.c: Likewise.
31825         * math/w_remainderl.c: Likewise.
31826         * math/w_scalb.c: Likewise.
31827         * math/w_scalbf.c: Likewise.
31828         * math/w_scalbl.c: Likewise.
31829         * math/w_sqrt.c: Likewise.
31830         * math/w_sqrtf.c: Likewise.
31831         * math/w_sqrtl.c: Likewise.
31832         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
31833         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
31834         used.
31835         * math/math_private.h: Declare __kernel_standard_f.
31836         * math/w_cosh.c: Remove cruft and optimize a bit.
31837         * math/w_coshf.c: Likewise.
31838         * math/w_coshl.c: Likewise.
31839         * math/w_exp2.c: Likewise.
31840         * math/w_exp2f.c: Likewise.
31841         * math/w_exp2l.c: Likewise.
31842         * math/w_hypot.c: Likewise.
31843         * math/w_hypotf.c: Likewise.
31844         * math/w_hypotl.c: Likewise.
31845         * math/w_lgamma.c: Likewise.
31846         * math/w_lgamma_r.c: Likewise.
31847         * math/w_lgammaf.c: Likewise.
31848         * math/w_lgammaf_r.c: Likewise.
31849         * math/w_lgammal.c: Likewise.
31850         * math/w_lgammal_r.c: Likewise.
31851         * math/w_sinh.c: Likewise.
31852         * math/w_sinhf.c: Likewise.
31853         * math/w_sinhl.c: Likewise.
31854         * math/w_tgamma.c: Likewise.
31855         * math/w_tgammaf.c: Likewise.
31856         * math/w_tgammal.c: Likewise.
31857         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31858         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31859         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
31860         Minor optimizations.  Pretty printing.  Remove cruft.
31861         * sysdeps/i386/fpu/e_acosf.S: Likewise.
31862         * sysdeps/i386/fpu/e_acosh.S: Likewise.
31863         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31864         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31865         * sysdeps/i386/fpu/e_acosl.c: Likewise.
31866         * sysdeps/i386/fpu/e_asin.S: Likewise.
31867         * sysdeps/i386/fpu/e_asinf.S: Likewise.
31868         * sysdeps/i386/fpu/e_atan2.S: Likewise.
31869         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
31870         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
31871         * sysdeps/i386/fpu/e_atanh.S: Likewise.
31872         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31873         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31874         * sysdeps/i386/fpu/e_exp10.S: Likewise.
31875         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
31876         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
31877         * sysdeps/i386/fpu/e_exp2.S: Likewise.
31878         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
31879         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
31880         * sysdeps/i386/fpu/e_fmod.S: Likewise.
31881         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
31882         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
31883         * sysdeps/i386/fpu/e_hypot.S: Likewise.
31884         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
31885         * sysdeps/i386/fpu/e_log.S: Likewise.
31886         * sysdeps/i386/fpu/e_log10.S: Likewise.
31887         * sysdeps/i386/fpu/e_log10f.S: Likewise.
31888         * sysdeps/i386/fpu/e_log10l.S: Likewise.
31889         * sysdeps/i386/fpu/e_log2.S: Likewise.
31890         * sysdeps/i386/fpu/e_log2f.S: Likewise.
31891         * sysdeps/i386/fpu/e_log2l.S: Likewise.
31892         * sysdeps/i386/fpu/e_logf.S: Likewise.
31893         * sysdeps/i386/fpu/e_logl.S: Likewise.
31894         * sysdeps/i386/fpu/e_pow.S: Likewise.
31895         * sysdeps/i386/fpu/e_powf.S: Likewise.
31896         * sysdeps/i386/fpu/e_powl.S: Likewise.
31897         * sysdeps/i386/fpu/e_remainder.S: Likewise.
31898         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
31899         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
31900         * sysdeps/i386/fpu/e_scalb.S: Likewise.
31901         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31902         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31903         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
31904         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
31905         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
31906         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31907         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31908         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31909         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31910         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31911         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31912         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
31913         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31914         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31915         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31916         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31917         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
31918         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31919         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31920         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31921         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31922         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31923         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31924         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31925         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31926         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31927         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
31928         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31929         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31930         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
31931         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
31932         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31933         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
31934         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
31935         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
31936         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31937         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31938         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31939         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
31940         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
31941         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
31942         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
31943         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
31944         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
31945         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
31946         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
31947         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
31948         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
31949         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
31950         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31951         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
31952         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
31953         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
31954         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
31955         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
31956         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
31957         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31958         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31959         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31960         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31961         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
31962         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
31963         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
31964         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
31965         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
31966         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
31967         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
31968         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31969         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31970         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
31971         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
31972         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
31973         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
31974         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
31975         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
31976         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
31977         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
31978         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
31979         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
31980         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
31981         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31982         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31983         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
31984         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31985         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
31986         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31987         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
31988         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
31989         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31990         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31991         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31992         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31993         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
31994         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31995         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
31996         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31997         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31998         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31999         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
32000         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
32001         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
32002         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
32003         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
32004         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
32005         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
32006         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
32007         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
32008         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
32009         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
32010         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
32011         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
32012         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
32013         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
32014         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
32015         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
32016         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
32017         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
32018         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
32019         (__isnanf): Likewise.
32020         (__isinf_ns): Likewise.
32021         (__isinf_nsf): Likewise.
32022         (__finite): Likewise.
32023         (__finitef): Likewise.
32024         (__ieee754_sqrt): Define as macro.
32025         (__ieee754_sqrtf): Define as macro.
32026         (__ieee754_sqrtl): Define as macro.
32027         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
32028         inlined copy.
32029         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
32030         __FINITE_MATH_ONLY__ consistent.
32031         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
32033 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
32035         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
32036         of rawmemchr.
32038         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
32040 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
32042         * po/ja.po: Update from translation team.
32044 2011-10-08  Roland McGrath  <roland@hack.frob.com>
32046         * locale/programs/locarchive.c (prepare_address_space): New function.
32047         (create_archive, enlarge_archive, open_archive): Use it.
32049         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
32050         inside [SHARED], where it is used.
32052         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
32054         * nss/getent.c (netgroup_keys): Remove unused variable.
32055         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32057 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
32059         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
32060         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
32061         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
32062         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
32063         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
32064         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
32065         * math/Makefile (libm-calls): Add s_isinf_ns.
32066         * math/divtc3.c: Use __isinf_nsl instead of isinf.
32067         * math/multc3.c: Likewise.
32068         * math/s_casin.c: Likewise.
32069         * math/s_casinf.c: Likewise.
32070         * math/s_casinl.c: Likewise.
32071         * math/s_ccos.c: Likewise.
32072         * math/s_ccosf.c: Likewise.
32073         * math/s_ccosl.c: Likewise.
32074         * math/s_ctan.c: Likewise.
32075         * math/s_ctanf.c: Likewise.
32076         * math/s_ctanh.c: Likewise.
32077         * math/s_ctanhf.c: Likewise.
32078         * math/s_ctanhl.c: Likewise.
32079         * math/s_ctanl.c: Likewise.
32080         * math/w_fmod.c: Likewise.
32081         * math/w_fmodf.c: Likewise.
32082         * math/w_fmodl.c: Likewise.
32083         * math/w_remainder.c: Likewise.
32084         * math/w_remainderf.c: Likewise.
32085         * math/w_remainderl.c: Likewise.
32086         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
32087         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
32088         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
32089         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
32090         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
32091         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
32092         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
32093         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
32095         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
32096         of the number.
32097         * stdio-common/printf_fphex.c: Likewise.
32098         * stdio-common/printf_size.c: Likewise.
32100         * math/e_exp10.c: Include math_private.h using <...> not "...".
32101         * math/e_exp10f.c: Likewise.
32102         * math/e_exp10l.c: Likewise.
32103         * math/e_exp2l.c: Likewise.
32104         * math/e_j0l.c: Likewise.
32105         * math/e_j1l.c: Likewise.
32106         * math/e_jnl.c: Likewise.
32107         * math/e_lgammal_r.c: Likewise.
32108         * math/e_rem_pio2l.c: Likewise.
32109         * math/e_scalb.c: Likewise.
32110         * math/e_scalbf.c: Likewise.
32111         * math/e_scalbl.c: Likewise.
32112         * math/k_cosl.c: Likewise.
32113         * math/k_sinl.c: Likewise.
32114         * math/k_tanl.c: Likewise.
32115         * math/s_cacoshf.c: Likewise.
32116         * math/s_catan.c: Likewise.
32117         * math/s_catanf.c: Likewise.
32118         * math/s_catanh.c: Likewise.
32119         * math/s_catanhf.c: Likewise.
32120         * math/s_catanhl.c: Likewise.
32121         * math/s_catanl.c: Likewise.
32122         * math/s_ccosh.c: Likewise.
32123         * math/s_ccoshf.c: Likewise.
32124         * math/s_ccoshl.c: Likewise.
32125         * math/s_cexp.c: Likewise.
32126         * math/s_cexpf.c: Likewise.
32127         * math/s_cexpl.c: Likewise.
32128         * math/s_clog.c: Likewise.
32129         * math/s_clog10.c: Likewise.
32130         * math/s_clog10f.c: Likewise.
32131         * math/s_clog10l.c: Likewise.
32132         * math/s_clogf.c: Likewise.
32133         * math/s_clogl.c: Likewise.
32134         * math/s_csin.c: Likewise.
32135         * math/s_csinf.c: Likewise.
32136         * math/s_csinh.c: Likewise.
32137         * math/s_csinhf.c: Likewise.
32138         * math/s_csinhl.c: Likewise.
32139         * math/s_csinl.c: Likewise.
32140         * math/s_csqrt.c: Likewise.
32141         * math/s_csqrtf.c: Likewise.
32142         * math/s_csqrtl.c: Likewise.
32143         * math/s_ctan.c: Likewise.
32144         * math/s_ctanf.c: Likewise.
32145         * math/s_ctanh.c: Likewise.
32146         * math/s_ctanhf.c: Likewise.
32147         * math/s_ctanhl.c: Likewise.
32148         * math/s_ctanl.c: Likewise.
32149         * math/s_ldexp.c: Likewise.
32150         * math/s_ldexpf.c: Likewise.
32151         * math/s_ldexpl.c: Likewise.
32152         * math/s_significand.c: Likewise.
32153         * math/s_significandf.c: Likewise.
32154         * math/s_significandl.c: Likewise.
32155         * math/w_acos.c: Likewise.
32156         * math/w_acosf.c: Likewise.
32157         * math/w_acosh.c: Likewise.
32158         * math/w_acoshf.c: Likewise.
32159         * math/w_acoshl.c: Likewise.
32160         * math/w_acosl.c: Likewise.
32161         * math/w_asin.c: Likewise.
32162         * math/w_asinf.c: Likewise.
32163         * math/w_asinl.c: Likewise.
32164         * math/w_atan2.c: Likewise.
32165         * math/w_atan2f.c: Likewise.
32166         * math/w_atan2l.c: Likewise.
32167         * math/w_atanh.c: Likewise.
32168         * math/w_atanhf.c: Likewise.
32169         * math/w_atanhl.c: Likewise.
32170         * math/w_cosh.c: Likewise.
32171         * math/w_coshf.c: Likewise.
32172         * math/w_coshl.c: Likewise.
32173         * math/w_dremf.c: Likewise.
32174         * math/w_exp10.c: Likewise.
32175         * math/w_exp10f.c: Likewise.
32176         * math/w_exp10l.c: Likewise.
32177         * math/w_exp2.c: Likewise.
32178         * math/w_exp2f.c: Likewise.
32179         * math/w_fmod.c: Likewise.
32180         * math/w_fmodf.c: Likewise.
32181         * math/w_fmodl.c: Likewise.
32182         * math/w_hypot.c: Likewise.
32183         * math/w_hypotf.c: Likewise.
32184         * math/w_hypotl.c: Likewise.
32185         * math/w_j0.c: Likewise.
32186         * math/w_j0f.c: Likewise.
32187         * math/w_j0l.c: Likewise.
32188         * math/w_j1.c: Likewise.
32189         * math/w_j1f.c: Likewise.
32190         * math/w_j1l.c: Likewise.
32191         * math/w_jn.c: Likewise.
32192         * math/w_jnf.c: Likewise.
32193         * math/w_jnl.c: Likewise.
32194         * math/w_lgamma.c: Likewise.
32195         * math/w_lgamma_r.c: Likewise.
32196         * math/w_lgammaf.c: Likewise.
32197         * math/w_lgammaf_r.c: Likewise.
32198         * math/w_lgammal.c: Likewise.
32199         * math/w_lgammal_r.c: Likewise.
32200         * math/w_log.c: Likewise.
32201         * math/w_log10.c: Likewise.
32202         * math/w_log10f.c: Likewise.
32203         * math/w_log10l.c: Likewise.
32204         * math/w_log2.c: Likewise.
32205         * math/w_log2f.c: Likewise.
32206         * math/w_log2l.c: Likewise.
32207         * math/w_logf.c: Likewise.
32208         * math/w_logl.c: Likewise.
32209         * math/w_pow.c: Likewise.
32210         * math/w_powf.c: Likewise.
32211         * math/w_powl.c: Likewise.
32212         * math/w_remainder.c: Likewise.
32213         * math/w_remainderf.c: Likewise.
32214         * math/w_remainderl.c: Likewise.
32215         * math/w_scalb.c: Likewise.
32216         * math/w_scalbf.c: Likewise.
32217         * math/w_scalbl.c: Likewise.
32218         * math/w_sinh.c: Likewise.
32219         * math/w_sinhf.c: Likewise.
32220         * math/w_sinhl.c: Likewise.
32221         * math/w_sqrt.c: Likewise.
32222         * math/w_sqrtf.c: Likewise.
32223         * math/w_sqrtl.c: Likewise.
32224         * math/w_tgamma.c: Likewise.
32225         * math/w_tgammaf.c: Likewise.
32226         * math/w_tgammal.c: Likewise.
32228         * po/ja.po: Update from translation team.
32230 2011-09-29  Andreas Jaeger  <aj@suse.de>
32232         [BZ #13179]
32233         * sunrpc/netname.c (netname2host): Fix logic.
32235         [BZ #6779]
32236         [BZ #6783]
32237         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
32238         correctly.
32239         * math/w_remainder.c (__remainder): Likewise.
32240         * math/w_remainderf.c (__remainderf): Likewise.
32241         * math/libm-test.inc (remainder_test): Add test cases.
32243 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32245         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
32246         sdiv_qrnnd.
32248 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
32250         * string/test-memcmp.c: Avoid unncessary #defines.
32251         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32253 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32255         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
32256         Use new sse2 version for core i3 - i7 as it's faster
32257         than sse42 version.
32258         (bit_Prefer_PMINUB_for_stringop): New.
32259         * sysdeps/x86_64/rawmemchr.S: Update.
32260         Replace with faster SSE2 version.
32261         * sysdeps/x86_64/memrchr.S: New file.
32262         * sysdeps/x86_64/memchr.S: Update.
32263         Replace with faster SSE2 version.
32265 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
32267         * elf/dl-load.c (lose): Add cast to avoid warning.
32269 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
32271         * po/ca.po: Update from translation team.
32273         * inet/getnetgrent_r.c: Hook up nscd.
32274         * nscd/Makefile (routines): Add nscd_netgroup.
32275         (nscd-modules): Add netgroupcache.
32276         (CFLAGS-netgroupcache.c): Define.
32277         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
32278         (cache_search): Add const to second parameter.
32279         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
32280         INNETGR.
32281         (dbs): Add netgrdb entry.
32282         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
32283         (verify_persistent_db): Handle netgrdb.
32284         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
32285         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
32286         GETFDNETGR.
32287         (netgroup_response_header): Define.
32288         (innetgroup_response_header): Define.
32289         (datahead): Add netgroup_response_header and innetgroup_response_header
32290         elements.
32291         * nscd/nscd.conf: Add entries for netgroup cache.
32292         * nscd/nscd.h (dbtype): Add netgrdb.
32293         (_PATH_NSCD_NETGROUP_DB): Define.
32294         (netgroup_iov_disabled): Declare.
32295         (xmalloc, xcalloc, xrealloc): Move declarations here.
32296         (cache_search): Adjust prototype.
32297         Add netgroup-related prototypes.
32298         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
32299         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
32300         (__nscd_innetgr): Declare.
32301         * nscd/selinux.c (perms): Use access_vector_t as element type and
32302         add netgroup-related initializers.
32303         * nscd/netgroupcache.c: New file.
32304         * nscd/nscd_netgroup.c: New file.
32305         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
32306         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
32307         For four parameters use innetgr.
32308         * nss/nss_files/files-init.c: Add definition and callback for netgr.
32309         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
32310         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
32311         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
32313         * nscd/connections.c (register_traced_file): Don't register file
32314         for disabled databases.
32316 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
32318         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
32320         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
32321         from tree and freeing node.
32323 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
32325         * nss/nsswitch.c (__nss_database_lookup): Handle
32326         nss_parse_service_list out of memory case.
32328 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
32330         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
32331         out of memory case.
32333 2011-10-04  Andreas Schwab  <schwab@redhat.com>
32335         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
32336         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
32337         pass it down.
32338         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
32339         elf_machine_rela, elf_machine_lazy_rel.
32340         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
32341         (ELF_DYNAMIC_DO_REL): Likewise.
32342         (ELF_DYNAMIC_DO_RELA): Likewise.
32343         (ELF_DYNAMIC_RELOCATE): Likewise.
32344         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
32345         to ELF_DYNAMIC_DO_REL.
32346         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
32347         (dl_main): In trace mode always set __RTLD_NOIFUNC.
32348         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
32349         elf_machine_rela.
32350         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
32351         skip_ifunc, don't call ifunc function if non-zero.
32352         (elf_machine_rela): Likewise.
32353         (elf_machine_lazy_rel): Likewise.
32354         (elf_machine_lazy_rela): Likewise.
32355         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
32356         (elf_machine_lazy_rel): Likewise.
32357         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
32358         Likewise.
32359         (elf_machine_lazy_rel): Likewise.
32360         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32361         Likewise.
32362         (elf_machine_lazy_rel): Likewise.
32363         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
32364         (elf_machine_lazy_rel): Likewise.
32365         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
32366         (elf_machine_lazy_rel): Likewise.
32367         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32368         (elf_machine_lazy_rel): Likewise.
32369         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
32370         (elf_machine_lazy_rel): Likewise.
32371         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
32372         (elf_machine_lazy_rel): Likewise.
32373         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32374         (elf_machine_lazy_rel): Likewise.
32376 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
32378         * nss/nss_files/files-init.c (_nss_files_init): Use static
32379         initialization for all the *_traced_file variables.
32381 2011-09-28  Andreas Schwab  <schwab@redhat.com>
32383         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32385 2011-09-27  Roland McGrath  <roland@hack.frob.com>
32387         [BZ #13226]
32388         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
32390 2011-09-27  Andreas Schwab  <schwab@redhat.com>
32392         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32393         Reread the line before reparsing it.
32395 2011-09-26  Andreas Schwab  <schwab@redhat.com>
32397         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
32399 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
32400             Maxim Kuvyrkov  <maxim@codesourcery.com>
32401             Joseph Myers  <joseph@codesourcery.com>
32403         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
32404         if needed for __stack_chk_guard.
32406 2011-09-19  Roland McGrath  <roland@hack.frob.com>
32408         * sysdeps/posix/spawni.c (script_execute): Always define it.
32409         It will be optimized away if unused.
32410         (maybe_script_execute): New function.
32411         (__spawni): Call it.
32413         * Makerules: Don't include tls.make.
32414         (config-tls): Always set to thread.
32415         * tls.make.c: File removed.
32417 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
32419         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
32420         * config.make.in (CPPFLAGS-config): New substituted variable.
32422 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
32424         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
32426         [BZ #13192]
32427         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
32428         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
32430 2011-09-15  Roland McGrath  <roland@hack.frob.com>
32432         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
32433         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
32434         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32435         (CALL_FAIL): Likewise.
32436         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
32437         (CALL_FAIL): Macro removed.
32438         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
32440 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
32442         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
32443         for __FINITE_MATH_ONLY__ == 1.
32445 2011-09-15  Andreas Schwab  <schwab@redhat.com>
32447         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
32448         __ieee754_sqrt instead of sqrt.
32449         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
32450         __ieee754_sqrtf instead of sqrtf.
32451         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
32452         __floorf instead of floorf.
32453         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
32454         __floorf, __truncf instead of floorf, truncf.
32456 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
32458         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
32460         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
32461         __extern_always_inline.
32462         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
32463         32-bit.
32465 2011-09-14  Andreas Schwab  <schwab@redhat.com>
32467         * elf/rtld.c (dl_main): Also relocate in dependency order when
32468         doing symbol dependency testing.
32470 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
32472         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32473         Always define `refsym'.
32475 2011-09-13  Andreas Schwab  <schwab@redhat.com>
32477         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
32478         (__FD_ELT): Renamed from __FDELT.
32479         * misc/bits/select2.h (__FD_ELT): Likewise.
32480         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
32481         __FD_MASK instead of __FDELT, __FDMASK.
32482         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32483         Likewise.
32484         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32485         Likewise.
32487         * elf/Makefile (gen-ldd): Fix pattern.
32489         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
32490         (init_tls): Likewise.
32492 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
32494         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
32496 2011-09-12  Andreas Schwab  <schwab@redhat.com>
32498         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
32499         `struct cmsghdr *' instead of `void *'.
32500         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
32501         Likewise.
32503 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
32505         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
32506         if non-absolute.
32507         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
32508         ldd_rewrite_script.
32510 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
32512         * configure.in: Remove --with-tls option.
32513         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
32514         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
32515         out in case it is missing.
32516         * sysdeps/ia64/elf/configure.in: Likewise.
32517         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
32518         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
32519         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
32520         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
32521         * sysdeps/sh/elf/configure.in: Likewise.
32522         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
32523         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
32524         * sysdeps/x86_64/elf/configure.in: Likewise.
32525         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
32526         * sysdeps/mach/hurd/tls.h: Likewise.
32528         [BZ #13067]
32529         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
32531         [BZ #13090]
32532         * configure.in: Fix use of AC_INIT.
32534         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
32536 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
32538         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
32539         __set_errno.
32540         * malloc/hooks.c: Likewise.
32542         [BZ #11929]
32543         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
32544         variables statically.
32545         (narenas): Initialize.
32546         (list_lock): Initialize.
32547         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
32548         initializtion of main_arena and list_lock.  Small cleanups.
32549         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
32550         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
32551         Add initializers to main_arena and mp_.
32552         (malloc_state): Remove pagesize member.  Change all users to use
32553         GLRO(dl_pagesize).
32555         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
32556         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
32557         is always initialized.
32559         * malloc/malloc.c: Removed unused configurations and dead code.
32560         * malloc/arena.c: Likewise.
32561         * malloc/hooks.c: Likewise.
32562         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
32564         * include/tls.h: Removed.  USE___THREAD must always be defined.
32565         * bits/libc-tsd.h: Don't handle !USE___THREAD.
32566         * elf/dl-libc.c: Likewise.
32567         * elf/dl-tsd.c: Likewise.
32568         * include/errno.h: Likewise.
32569         * include/netdb.h: Likewise.
32570         * include/resolv.h: Likewise.
32571         * inet/herrno-loc.c: Likewise.
32572         * inet/herrno.c: Likewise.
32573         * malloc/arena.c: Likewise.
32574         * malloc/hooks.c: Likewise.
32575         * malloc/malloc.c: Likewise.
32576         * resolv/res-state.c: Likewise.
32577         * resolv/res_libc.c: Likewise.
32578         * sysdeps/i386/dl-machine.h: Likewise.
32579         * sysdeps/ia64/dl-machine.h: Likewise.
32580         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32581         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32582         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32583         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32584         * sysdeps/sh/dl-machine.h: Likewise.
32585         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32586         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32587         * sysdeps/unix/i386/sysdep.S: Likewise.
32588         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32589         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32590         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
32591         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32592         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
32593         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32594         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32595         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32596         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32597         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32598         * sysdeps/unix/x86_64/sysdep.S: Likewise.
32599         * sysdeps/x86_64/dl-machine.h: Likewise.
32600         * tls.make.c: Likewise.
32602         * configure.in: Remove --with-__thread option.  Make tests for
32603         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
32604         tls_model attribute fail if no support is available.  Remove
32605         USE_IN_LIBIO.
32606         * Makeconfig: Adjust for dropped configure option.  All features are
32607         now mandatory.
32608         * Makerules: Likewise.
32609         * Versions.def: Likewise.
32610         * argp/argp-fmtstream.c: Likewise.
32611         * argp/argp-fmtstream.h: Likewise.
32612         * argp/argp-help.c: Likewise.
32613         * assert/assert.c: Likewise.
32614         * config.h.in: Likewise.
32615         * config.make.in: Likewise.
32616         * configure: Likewise.
32617         * configure.in: Likewise.
32618         * csu/Versions: Likewise.
32619         * csu/init.c: Likewise.
32620         * elf/tst-audit2.c: Likewise.
32621         * elf/tst-tls10.c: Likewise.
32622         * elf/tst-tls10.h: Likewise.
32623         * elf/tst-tls11.c: Likewise.
32624         * elf/tst-tls12.c: Likewise.
32625         * elf/tst-tls14.c: Likewise.
32626         * elf/tst-tlsmod11.c: Likewise.
32627         * elf/tst-tlsmod12.c: Likewise.
32628         * elf/tst-tlsmod13.c: Likewise.
32629         * elf/tst-tlsmod13a.c: Likewise.
32630         * elf/tst-tlsmod14a.c: Likewise.
32631         * elf/tst-tlsmod15b.c: Likewise.
32632         * elf/tst-tlsmod16a.c: Likewise.
32633         * elf/tst-tlsmod16b.c: Likewise.
32634         * elf/tst-tlsmod7.c: Likewise.
32635         * elf/tst-tlsmod8.c: Likewise.
32636         * elf/tst-tlsmod9.c: Likewise.
32637         * gmon/gmon.c: Likewise.
32638         * grp/fgetgrent_r.c: Likewise.
32639         * grp/putgrent.c: Likewise.
32640         * hurd/fopenport.c: Likewise.
32641         * include/libc-symbols.h: Likewise.
32642         * include/tls.h: Likewise.
32643         * intl/gettextP.h: Likewise.
32644         * intl/loadinfo.h: Likewise.
32645         * locale/global-locale.c: Likewise.
32646         * locale/localeinfo.h: Likewise.
32647         * mach/devstream.c: Likewise.
32648         * malloc/arena.c: Likewise.
32649         * malloc/set-freeres.c: Likewise.
32650         * misc/err.c: Likewise.
32651         * misc/getttyent.c: Likewise.
32652         * misc/mntent_r.c: Likewise.
32653         * posix/getopt.c: Likewise.
32654         * posix/wordexp.c: Likewise.
32655         * pwd/fgetpwent_r.c: Likewise.
32656         * resolv/Versions: Likewise.
32657         * resolv/res_hconf.c: Likewise.
32658         * shadow/fgetspent_r.c: Likewise.
32659         * shadow/putspent.c: Likewise.
32660         * stdio-common/printf_fphex.c: Likewise.
32661         * stdio-common/tmpfile.c: Likewise.
32662         * stdlib/abort.c: Likewise.
32663         * stdlib/fmtmsg.c: Likewise.
32664         * sunrpc/auth_unix.c: Likewise.
32665         * sunrpc/clnt_perr.c: Likewise.
32666         * sunrpc/clnt_tcp.c: Likewise.
32667         * sunrpc/clnt_udp.c: Likewise.
32668         * sunrpc/clnt_unix.c: Likewise.
32669         * sunrpc/openchild.c: Likewise.
32670         * sunrpc/svc_simple.c: Likewise.
32671         * sunrpc/svc_tcp.c: Likewise.
32672         * sunrpc/svc_udp.c: Likewise.
32673         * sunrpc/svc_unix.c: Likewise.
32674         * sunrpc/xdr.c: Likewise.
32675         * sunrpc/xdr_array.c: Likewise.
32676         * sunrpc/xdr_rec.c: Likewise.
32677         * sunrpc/xdr_ref.c: Likewise.
32678         * sunrpc/xdr_stdio.c: Likewise.
32680 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
32682         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32684 2011-07-03  Andreas Jaeger  <aj@suse.de>
32686         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
32687         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
32688         regenerate with gen-libm-tests.pl.
32690 2010-05-12  Petr Baudis  <pasky@suse.cz>
32692         [BZ #11589]
32693         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
32694         around j0() zero points by switching to j1().
32695         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32696         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32697         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32698         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32700 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
32702         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
32703         instead of 0.
32704         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
32705         instead of 0.
32706         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32707         Patch in part by Pavel Roskin <proski@gnu.org>.
32709         [BZ #13138]
32710         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
32711         realloc.
32712         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
32713         Free memory block if necessary.
32715         [BZ #12847]
32716         * libio/genops.c (INTDEF): For string streams the _lock pointer can
32717         be NULL.  Don't lock in this case.
32719 2011-09-09  Roland McGrath  <roland@hack.frob.com>
32721         * elf/elf.h (ELFOSABI_GNU): New macro.
32722         (ELFOSABI_LINUX): Define to that.
32724 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
32726         * string/strncat.c (strncat): Undef the symbol in case it has been
32727         defined in bits/string.h.
32729 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
32731         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
32733         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
32734         link map.
32736 2011-08-17  Andreas Jaeger  <aj@suse.de>
32738         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
32740 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
32741             Ian Lance Taylor  <iant@google.com>
32743         * math/libm-test.inc (lround_test): New testcase.
32744         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
32746 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
32748         * Makefile: Remove support for automatic cvs check-ins.
32749         * Makerules: Likewise.
32750         * config.make.in: Likewise.
32751         * configure.in: Likewise.
32752         * intl/Makefile: Likewise.
32753         * locale/Makefile: Likewise.
32754         * po/Makefile: Likewise.
32755         * posix/Makefile: Likewise.
32756         * sysdeps/gnu/Makefile: Likewise.
32757         * sysdeps/mach/hurd/Makefile: Likewise.
32758         * sysdeps/sparc/sparc32/Makefile: Likewise.
32760         [BZ #13118]
32761         * posix/Makefile (bug-regex32-ENV): Define.
32762         Patch by John Stanley <jpsinthemix@verizon.net>.
32764         * misc/Makefile (headers): Add bits/select2.h.
32765         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
32766         * misc/bits/select2.h: New file.
32767         * include/bits/select2.h: New file.
32768         * debug/Makefile (routines): Add fdelt_chk.
32769         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
32770         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
32771         FD_ISSET.
32772         * debug/fdelt_chk.c: New file.
32774         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
32775         * wcsmbs/test-wmemcmp.c: Likewise.
32776         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
32777         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
32779 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32781         * string/Makefile (strop-tests): Add memcmp.
32782         * string/test-wmemcmp.c: New file.
32783         * string/test-memcmp.c: Add wmemcmp support.
32785 2011-09-08  Roland McGrath  <roland@hack.frob.com>
32787         [BZ #13153]
32788         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
32789         2011-07-19 change.
32791         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
32792         garbage value in a __mach_port_mod_refs call in the cases of the
32793         task-self and thread-self ports.
32795 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32797         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
32799 2011-09-08  Andreas Schwab  <schwab@redhat.com>
32801         * elf/dl-load.c (lose): Check for non-null L.
32803 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
32805         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
32807         * elf/dl-libc.c (dlerror_run): Pass back error code from
32808         dl_catch_error.
32810         [BZ #13123]
32811         * elf/dl-load.c (lose): Free l_origin if it is valid.
32813         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
32814         names.
32815         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32816         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32817         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32818         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32819         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32820         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
32822 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32824         * sysdeps/powerpc/fpu/e_hypot.c: New file.
32825         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
32826         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
32827         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
32828         * sysdeps/powerpc/fpu/k_cosf.c: New file.
32829         * sysdeps/powerpc/fpu/k_sinf.c: New file.
32830         * sysdeps/powerpc/fpu/s_cosf.c: New file.
32831         * sysdeps/powerpc/fpu/s_sinf.c: New file.
32832         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
32833         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
32835 2011-08-15  Alan Modra  <amodra@gmail.com>
32837         [BZ #13092]
32838         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
32839         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
32840         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
32841         ppc_mcount to static-only-routines.
32842         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
32843         __mcount_internal.
32844         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
32845         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
32847 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
32849         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
32850         for finite and infinity parameters.
32852 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
32854         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
32855         and add nop instructions for throughput optimization.
32856         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32858 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
32860         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
32861         aligned copy for power7 with vector-scalar instructions.
32862         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
32864 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
32866         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
32867         AVX check.
32869 2011-09-07  Andreas Schwab  <schwab@redhat.com>
32871         [BZ #13144]
32872         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
32873         last change.
32875 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
32877         * sysdeps/unix/sysv/linux/x86_64/init-first.c
32878         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
32879         syscall wrapper around clock_gettime in __vdso_clock_gettime.
32880         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
32881         clock_gettime.
32883 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
32885         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
32886         Forgot to demangle the pointer.
32888         * sysdeps/i386/sysdep.h: Define atom_text_section.
32889         * sysdeps/x86_64/sysdep.h: Likewise.
32890         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
32891         section with atom_text_section.
32892         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32893         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32894         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
32895         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32896         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
32898         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
32899         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
32900         already be defined.  Change to take two parameters and don't assign
32901         result to variable.  Adjust all users.
32902         Define INTERNAL_GETTIME if not already defined.
32903         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
32904         call.
32905         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
32906         HAVE_CLOCK_GETTIME_VSYSCALL.
32907         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
32909         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
32910         gettimeofday vsyscall, just use time.
32912 2011-09-06  Andreas Schwab  <schwab@redhat.com>
32914         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
32915         <errno.h>.
32917 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
32919         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
32920         syscall on x86-64.
32921         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
32922         syscall.
32923         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
32924         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
32925         syscall if possible.
32927 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
32929         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
32930         e_ident.  Don't pass to find_mapsXX.
32931         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
32933 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32935         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32936         strchr-sse2-no-bsf strrchr-sse2-no-bsf
32937         * sysdeps/x86_64/multiarch/strchr.S: Update.
32938         Check bit_slow_BSF bit.
32939         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32940         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
32941         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
32943 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
32945         [BZ #13134]
32946         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
32947         before glibc 2.15.
32948         (tryshell): Define.
32949         (__spawni): Change last parameter to be flag.  Test
32950         SPAWN_XFLAGS_USE_PATH flag to use path or not.
32951         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
32952         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
32953         * posix/spawni.c: Likewise.
32954         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
32955         * posix/spawnp.c: Likewise.  Change normal version to use
32956         SPAWN_XFLAGS_USE_PATH.
32957         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
32958         SPAWN_XFLAGS_TRY_SHELL.
32960         [BZ #13150]
32961         * posix/glob.h: Remove gcc 1.x support.
32963         [BZ #13068]
32964         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
32966 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32968         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32969         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
32970         strrchr-sse2-bsf
32971         * sysdeps/i386/i686/multiarch/strchr.S: New file.
32972         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
32973         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
32974         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
32975         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
32976         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
32978 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32980         * sysdeps/x86_64/wcscmp.S: New file.
32982         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
32983         wcscmp-c wcscmp-sse2
32984         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
32985         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
32986         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
32987         * wcsmbs/wcscmp.c: Allow renaming.
32989 2011-09-05  David S. Miller  <davem@davemloft.net>
32991         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
32992         stack slot, rather than the struct return pointer slot.
32993         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
32994         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
32995         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
32996         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
32998 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
33000         * po/ja.po: Update from translation team.
33002         [BZ #13144]
33003         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
33004         kernel in 64-bit binaries.
33006 2011-09-01  David S. Miller  <davem@davemloft.net>
33008         * elf/elf.h (HWCAP_SPARC_*): Move to..
33009         * sysdeps/sparc/sysdep.h: this new file and add new values.
33010         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
33011         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
33012         _DL_HWCAP_COUNT to 24.
33013         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
33014         entries.
33015         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
33016         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
33017         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
33018         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
33019         instead of magic constants.
33020         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33022 2011-08-31  David S. Miller  <davem@davemloft.net>
33024         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
33025         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
33026         Reimplement to do errno handling inline.
33027         (SYSCALL_ERROR_HANDLER): New macro.
33028         (__SYSCALL_STRING): Do not do errno handling in asm.
33029         (__CLONE_SYSCALL_STRING): Delete.
33030         (__INTERNAL_SYSCALL_STRING): Delete.
33031         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
33032         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
33033         (PSEUDO): Reimplement to do errno handling inline.
33034         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
33035         (SYSCALL_ERROR_HANDLER): New macro.
33036         (__SYSCALL_STRING): Do not do errno handling in asm.
33037         (__CLONE_SYSCALL_STRING): Delete.
33038         (__INTERNAL_SYSCALL_STRING): Delete.
33039         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
33040         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
33041         i386.
33042         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
33043         (inline_syscall*): Add 'err' argument.
33044         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
33045         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
33046         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
33047         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
33049         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
33050         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
33052 2011-08-30  Andreas Schwab  <schwab@redhat.com>
33054         * elf/rtld.c (dl_main): Relocate objects in dependency order.
33056 2011-08-29  Jiri Olsa <jolsa@redhat.com>
33058         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
33059         directive.
33061 2011-08-24  David S. Miller  <davem@davemloft.net>
33063         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
33065 2011-08-24  Andreas Schwab  <schwab@redhat.com>
33067         * elf/Makefile: Add rules to build and run unload8 test.
33068         * elf/unload8.c: New file.
33069         * elf/unload8mod1.c: New file.
33070         * elf/unload8mod1x.c: New file.
33071         * elf/unload8mod2.c: New file.
33072         * elf/unload8mod3.c: New file.
33074         * elf/dl-close.c (_dl_close_worker): Reset private search list if
33075         it wasn't used.
33077 2011-08-23  David S. Miller  <davem@davemloft.net>
33079         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
33080         subtract stack bias.
33081         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
33082         %sp not %fp in calculations.
33083         (_JMPBUF_UNWINDS_ADJ): Likewise.
33085         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
33086         (aio_suspend): Call it to force an exception region around the
33087         AIO_MISC_WAIT() invocation.
33089 2011-08-23  Andreas Schwab  <schwab@redhat.com>
33091         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
33092         backslash.
33094 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
33096         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
33097         protection macro.
33098         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
33099         and <dl-machine.h>.
33100         (Elf64_FuncDesc): Remove.
33102 2011-08-22  David S. Miller  <davem@davemloft.net>
33104         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
33105         sigaltstack check, add missing cfi directives.
33106         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
33107         missing cfi directives, and sigaltstack handling.
33109 2011-08-16  Andreas Schwab  <schwab@redhat.com>
33111         [BZ #11724]
33112         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
33113         object is seen twice.
33114         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33116         * elf/Makefile (distribute): Add tst-initorder2.c.
33117         (tests): Add tst-initorder2.
33118         (modules-names): Add tst-initorder2a tst-initorder2b
33119         tst-initorder2c tst-initorder2d.  Add rules to build them.
33120         ($(objpfx)tst-initorder2.out): New rule.
33121         * elf/tst-initorder2.c: New file.
33122         * elf/tst-initorder2.exp: New file.
33124 2011-08-22  Andreas Schwab  <schwab@redhat.com>
33126         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
33128         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
33129         dependencies back to end of function.
33131         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33132         $(elfobjdir)/ld.so.
33134 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
33136         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
33137         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
33138         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
33139         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
33140         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
33141         of __vdso_gettimeofday.
33142         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
33143         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
33144         attribute_hidden.
33145         (_libc_vdso_platform_setup): Remove initialization of
33146         __vdso_gettimeofday and __vdso_time.
33148 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
33150         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
33151         and fgetc_unlocked.
33152         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
33153         getc_unlocked.
33155         * elf/dl-open.c (add_to_global): Report additions to the global scope
33156         for LD_DEBUG=scopes.
33157         (dl_open_worker): Also print scope of newly loaded dependencies.
33158         (_dl_show_scope): Indicate if there is no scope.
33160         [BZ #13114]
33161         * stdio-common/Makefile (tests): Add bug24.
33162         * stdio-common/bug24.c: New file.
33164 2011-08-19  Andreas Jaeger  <aj@suse.de>
33166         [BZ #13114]
33167         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
33168         non-existant file when using close-on-exec mode.
33170 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
33172         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
33173         the very first instruction.
33175         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
33176         the CFI state in the end.
33177         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
33178         inclusion of dl-trampoline.h.
33179         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
33181 2011-08-19  Andreas Schwab  <schwab@redhat.com>
33183         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
33184         expectations for long double.
33186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
33187         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
33189 2011-08-14  David S. Miller  <davem@davemloft.net>
33191         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
33192         artificual limit depends upon the system page size.
33194 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
33196         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
33197         * resolv/Makefile: Define CFLAGS-libresolv.
33199 2011-08-17  Andreas Schwab  <schwab@redhat.com>
33201         * nss/makedb.c (compute_tables): Make variables used in nested
33202         function static.
33204 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
33206         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
33207         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
33208         if buffer was too small.
33210         * elf/pldd.c (main): Attach to all threads in the process.
33211         Rewrite /proc handling to use *at functions.
33213 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
33215         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
33216         specifies first scope to show.
33217         (dl_open_worker): Update callers.  Move printing scope of new
33218         object to before the relocation.
33219         * elf/rtld.c (dl_main): Update _dl_show_scope call.
33220         * sysdeps/generic/ldsodefs.h: Update declaration.
33222         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
33223         string for the scope number.
33225 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
33227         * nscd/servicescache.c (cache_addserv): Make sure written is always
33228         initialized.
33230 2011-08-14  Roland McGrath  <roland@hack.frob.com>
33232         * sysdeps/i386/i486/bits/atomic.h
33233         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
33234         statement expression, so as to suppress "set but not used" warning.
33235         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
33237         * string/strncat.c (STRNCAT): Use prototype definition.
33239         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
33240         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
33241         -Iprograms here.
33242         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
33243         (localedef-modules): Add localedef.
33244         (locale-modules): Add locale.
33246         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
33247         * elf/rtld.c (dl_main): Invert order of assignment in last change,
33248         to avoid a warning.
33250 2011-08-14  David S. Miller  <davem@davemloft.net>
33252         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
33253         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
33255 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
33257         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
33258         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
33259         * elf/rtld.c (dl_main): Set l_name of vDSO.
33260         Call _dl_show_scope when DL_DEBUG_SCOPES.
33261         (process_dl_debug): Recognize scopes flag and also set it for all.
33262         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
33263         Declare _dl_show_scope.
33265         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
33266         (do_dlopen): Pass caller_dlopen to dl_open.
33267         (__libc_dlopen_mode): Initialize caller_dlopen.
33269         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
33270         of libc.  Make tolower call locale-independent.  Optimize a bit by
33271         using isdigit instead of isalnum.
33272         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
33274 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
33276         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
33277         was a dependency or dynamically loaded.
33279 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
33281         * intl/l10nflist.c: Allow architecture-specific pop function.
33282         * sysdeps/x86_64/l10nflist.c: New file.
33284         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
33285         classification.
33287 2011-08-10  Andreas Schwab  <schwab@redhat.com>
33289         * include/dirent.h: Add libc_hidden_proto for scandirat and
33290         scandirat64.  Don't declare __scandirat64.
33291         * dirent/scandirat.c: Add libc_hidden_def.
33292         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
33293         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
33295 2011-08-10  David S. Miller  <davem@davemloft.net>
33297         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
33298         enum.
33299         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33300         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33301         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33303 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
33305         * Versions.def [libc]: Add GLIBC_2.15.
33306         * dirent/Makefile (routines): Add scandirat and scandirat64.
33307         * dirent/Versions [libc]: Export scandirat and scandirat64 for
33308         GLIBC_2.15.
33309         * dirent/dirent.h: Declare scandirat and scandirat64.
33310         * dirent/scandirat.c: New file.
33311         * dirent/scandirat64.c: New file.
33312         * sysdeps/wordsize-64/scandirat.c: New file.
33313         * sysdeps/wordsize-64/scandirat64.c: New file.
33314         * dirent/opendir.c: Define opendirat.
33315         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
33316         using scandirat.
33317         * dirent/scandir64.c: Adjust for scandir.c change.
33318         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
33319         __scandirat64, and __scandir_cancel_handler.
33320         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
33321         additional parameter and use openat instead of open (outside of ld.so).
33322         Add new __opendir as wrapper around __opendirat.
33323         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
33324         here without requiring old scandirat implementation.
33326 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
33328         * dirent/scandir.c (cancel_handler): Renamed to
33329         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
33330         defined.  Adjust users.
33331         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
33332         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
33334 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
33336         * string/test-string.h (IMPL): Use __STRING to expand name and then
33337         stringify it.
33339         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
33340         of cleanups.
33342 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33344         * string/Makefile: Update.
33345         (strop-tests): Append strncat.
33346         * string/test-wcscmp.c: New file.
33347         New comprehensive test for wcscmp.
33348         * string/test-strcmp.c: Update.
33349         (WIDE): New define.
33351 2011-07-22  Andreas Schwab  <schwab@redhat.com>
33353         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
33354         line.
33356 2011-07-26  Andreas Schwab  <schwab@redhat.com>
33358         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33359         encoding to ACE if AI_IDN.
33361 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
33363         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
33364         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
33366 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33368         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
33369         Fix overflow bug in strncat.
33370         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
33372         * string/test-strncat.c: Update.
33373         Add new tests for checking overflow bugs.
33375 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33377         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33378         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
33379         * sysdeps/i386/i686/multiarch/strcat.S: New file.
33380         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
33381         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
33382         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
33383         * sysdeps/i386/i686/multiarch/strncat.S: New file.
33384         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
33385         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
33387         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
33388         (USE_AS_STRCAT): Define.
33389         Add strcat and strncat support.
33390         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33392 2011-07-25  Andreas Schwab  <schwab@redhat.com>
33394         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
33395         __n bigger than INT_MAX+1.
33396         (__strncmp_g): Likewise.
33398 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
33400         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
33401         * libio/stido.h: Likewise.
33403         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
33404         (AF_NFC): Define.
33405         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
33406         (AF_NFC): Define.
33408         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
33409         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33410         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33411         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33412         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33414         [BZ #13021]
33415         * scripts/test-installation.pl: Don't expect libnss_test1 to be
33416         installed.
33418         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
33419         typo.
33420         (_dl_x86_64_save_sse): Likewise.
33422 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
33424         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
33425         OSXSAVE.
33426         (_dl_x86_64_save_sse): Likewise.
33428         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
33430         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
33432 2011-07-21  Andreas Schwab  <schwab@redhat.com>
33434         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
33435         change.
33436         (_dl_x86_64_save_sse): Use correct AVX check.
33438 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33440         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
33441         bug in strncpy/strncat.
33442         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
33444 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
33446         * string/tester.c (test_strcat): Add tests for different alignments
33447         of source and destination.
33448         (test_strncat): Likewise.
33450 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
33452         [BZ #12852]
33453         * posix/glob.c (glob): Check passed in values before using them in
33454         expressions to avoid some overflows.
33455         (glob_in_dir): Likewise.
33457         [BZ #13007]
33458         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
33459         check for AVX enablement so that we don't crash with old kernels and
33460         new hardware.
33461         * elf/tst-audit4.c: Add same checks here.
33462         * elf/tst-audit6.c: Likewise.
33464         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
33466 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
33468         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
33470 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
33472         * po/cs.po: Update from translation team.
33473         * po/bg.po: Likewise.
33475 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
33477         * misc/sys/cdefs.h: Add support for const attribute.
33478         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
33479         to gnu_dev_{major,minor,makedev} functions.
33481 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
33483         * intl/dcigettext.c (get_output_charset): Add missing bracket.
33485 2011-07-20  Andreas Schwab  <schwab@redhat.com>
33487         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
33488         strlen results.
33490 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33492         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
33493         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
33494         register in order to avoid conflicts with the soft frame pointer
33495         being held in r11 when necessary.
33496         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
33497         (INTERNAL_VSYSCALL_NCS): Likewise.
33499 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
33501         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
33502         * elf/dl-fini.c (_dl_fini): Adjust caller.
33503         * elf/dl-close.c (_dl_close_worker): Likewise.
33504         * sysdeps/generic/ldsodefs.h: Adjust declaration.
33506 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
33508         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
33509         "aux_cache->nlibs < 0".
33511         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
33512         in the reload-count case.
33514 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33516         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33517         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
33518         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
33519         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
33520         * sysdeps/x86_64/multiarch/strcat.S: New file.
33521         * sysdeps/x86_64/multiarch/strncat.S: New file.
33522         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
33523         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
33524         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
33525         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
33526         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
33527         (USE_AS_STRCAT): Define.
33528         Add strcat and strncat support.
33529         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33530         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33531         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
33532         * string/strncat.c: Update.
33533         (USE_AS_STRNCAT): Define.
33534         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33535         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
33536         and i7.
33537         * sysdeps/x86_64/multiarch/init-arch.h
33538         (bit_Prefer_PMINUB_for_stringop): New.
33539         (index_Prefer_PMINUB_for_stringop): Likewise.
33540         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
33541         bit_Prefer_PMINUB_for_stringop.
33543 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
33545         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
33546         buffer64.
33547         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
33548         of casting of buffer.
33549         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
33550         buffer32 and buffer64.
33551         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
33552         writes instead of casting of buffer.
33553         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
33554         buffer32.
33555         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
33556         casting of buffer.
33558 2011-07-19  Andreas Schwab  <schwab@redhat.com>
33560         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
33562 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
33564         * nscd/nscd.c (termination_handler): Don't do anything for a database
33565         if it has not yet been initialized.
33567 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
33569         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33571 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
33573         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33575 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
33577         * po/nl.po: Update from translation team.
33578         * po/sv.po: Likewise.
33580 2011-07-16  Roland McGrath  <roland@hack.frob.com>
33582         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
33583         now disallowed by GCC.
33585         * configure.in (use-default-link): Default to yes if a test -shared
33586         link meets our qualifications.
33587         * configure: Regenerated.
33589         * config.make.in (output-format): New variable.
33590         * configure.in: Check for ld --print-output-format support.
33591         * configure: Regenerated.
33592         * Makerules ($(common-objpfx)format.lds)
33593         [$(output-format) != unknown]: Just use $(output-format),
33594         instead of the linker-script munging.
33596 2011-07-14  Roland McGrath  <roland@hack.frob.com>
33598         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
33599         of $(common-objpfx)shlib.lds.
33600         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
33602         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
33603         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
33605         * configure.in (-z relro check): Adjust test code to add a large
33606         writable data section after it.
33607         * configure: Regenerated.
33609 2011-07-11  Roland McGrath  <roland@hack.frob.com>
33611         * configure.in (-z relro check): Fix test code to make the variable
33612         truly const.
33613         * configure: Regenerated.
33615 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
33617         * nscd/nscd.h (struct traced_file): Define.
33618         (struct database_dyn): Remove inotify_descr, reset_res, and filename
33619         elements.  Add traced_files.
33620         (inotify_fd): Declare.
33621         (register_traced_file): Declare.
33622         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
33623         (inotify_fd): Export.
33624         (resolv_conf_descr): Remove.
33625         (nscd_init): Move inotify descriptor creation to main.
33626         Don't register files for notification here.
33627         (register_traced_file): New function.
33628         (invalidate_cache): Don't use reset_res to determine whether to call
33629         res_init, go through the list of registered files.
33630         (main_loop_poll): The inotify descriptors are now stored in the
33631         structures for the traced files.
33632         (main_loop_epoll): Likewise
33633         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
33634         to __nss_disable_nscd.
33635         * nscd/cache.c (prune_cache): There is no single inotify descriptor
33636         for a database anymore.  Check the records for all the registered
33637         files instead.
33638         * nss/Makefile (libnss_files-routines): Add files-init.
33639         (libnss_db-routines): Add db-init.
33640         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
33641         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
33642         * nss/nss_db/db-init.c: New file.
33643         * nss/nss_files/files-init.c: New file.
33644         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
33645         __nss_lookup_function.
33646         (__nss_lookup_function): Call nss_load_library.
33647         (nss_load_all_libraries): New function.
33648         (__nss_disable_nscd): Take parameter with callback function for files
33649         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
33650         used for the cached services.
33651         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
33652         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
33653         options for features to all the files in nscd.
33655         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
33657 2011-07-10  Roland McGrath  <roland@hack.frob.com>
33659         * csu/elf-init.c (__libc_csu_init): Comment typo.
33661 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
33663         * po/pl.po: Update from translation team.
33664         * po/ja.po: Likewise.
33665         * po/ru.po: Likewise.
33666         * po/ko.po: Likewise.
33667         * po/fr.po: Likewise.
33669 2011-07-09  Roland McGrath  <roland@hack.frob.com>
33671         * configure.in (.ctors/.dtors header and trailer check):
33672         Use an empirical test on a built program.
33673         * configure: Regenerated.
33675         * configure.in (-z relro check): Use an empirical test on a built DSO.
33676         Detect, but do not require, on ia64.
33677         * configure: Regenerated.
33679         * configure.in (READELF): Find it with AC_CHECK_TOOL.
33680         Update tests that use readelf to use $READELF instead.
33681         * configure: Regenerated.
33683 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
33685         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
33686         if the result is not used.
33688 2011-07-05  Andreas Jaeger  <aj@suse.de>
33690         [BZ#9696]
33691         * stdlib/tst-strtod.c: Add testcase.
33693 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
33695         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
33696         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
33697         The latter has a higher limit.  Take additional parameter to pass to
33698         the new function.
33699         (__pathconf): Pass file to __statfs_link_max.
33700         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
33701         __statfs_link_max.
33702         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
33703         __statfs_link_max.
33705         [BZ #12868]
33706         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
33707         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33708         Handle Lustre.
33709         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
33710         (__statfs_filesize_max): Likewise.
33711         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
33713 2011-07-05  Andreas Jaeger  <aj@suse.de>
33715         * resolv/res_comp.c (dn_skipname): Remove unused variable.
33717 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
33719         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
33720         `status' variable.
33721         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
33722         Likewise.
33724 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
33726         * Makefile (strop-tests): Add strncat.
33727         * string/test-strncat.c: New file.
33729 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
33731         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
33733 2011-06-21  Andreas Jaeger  <aj@suse.de>
33735         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
33736         Copy rule from iconvdata/Makefile.
33738 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
33740         [BZ #12922]
33741         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
33742         but no long options are defined, just return 'W'.
33744 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
33746         [BZ #9696]
33747         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
33749 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
33751         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
33752         netgroups to read.
33753         (innetgr): Likewise.
33755 2011-07-05  Roland McGrath  <roland@hack.frob.com>
33757         * config.make.in (install_root): Default to $(DESTDIR).
33759 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
33761         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
33763 2011-07-02  Roland McGrath  <roland@hack.frob.com>
33765         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
33767         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
33768         containing directory rather than embedding absolute directory names.
33770         * scripts/check-local-headers.sh: Rewritten using awk.
33771         Match by word, not by line.  Print error messages for matches.
33772         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
33774         * Makerules [shlib-lds-flags empty]:
33775         ($(common-objpfx)libc_pic.opts): New target.
33776         ($(common-objpfx)libc_pic.os.clean): New target.
33777         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
33779         * config.make.in (OBJCOPY): New variable.
33780         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
33781         * configure: Regenerated.
33783         * config.make.in (use-default-link): New variable.
33784         * configure.in (use_default_link): Grok --with-default-link to set it.
33785         * configure: Regenerated.
33786         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
33787         (shlib-lds, shlib-lds-flags): Define to empty.
33789         * Makerules (shlib-lds): New variable.
33790         (shlib-lds-flags): New variable.
33791         (build-shlib, build-moduile, build-module-asneeded): Use it.
33792         ($(common-objpfx)libc.so): Use $(shlib-lds).
33793         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
33794         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
33796         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
33797         DT_FLAGS/DT_FLAGS_1 with zero flags.
33799         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
33800         linker script munging.
33802 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
33804         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
33805         as 128-bit value.
33806         * crypt/sha512.c (sha512_process_block): Perform total addition using
33807         128-bit if possible.
33808         (__sha512_finish_ctx): Likewise.
33809         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
33810         as 64-bit value.
33811         * crypt/sha256.c (SWAP64): Define.
33812         (sha256_process_block): Perform total addition using 64-bit if
33813         possible.
33814         (__sha256_finish_ctx): Likewise.
33816 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
33818         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
33819         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33820         * nscd/hstcache.c (cache_addhst): Likewise.
33821         * nscd/grpcache.c (cache_addgr): Likewise.
33822         * nscd/aicache.c (addhstaiX): Likewise
33823         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
33825 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
33827         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
33828         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33829         * nscd/hstcache.c (cache_addhst): Likewise.
33830         * nscd/grpcache.c (cache_addgr): Likewise.
33831         * nscd/aicache.c (addhstaiX): Likewise
33833 2011-07-01  Andreas Schwab  <schwab@redhat.com>
33835         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
33836         domain only when needed.
33838 2011-06-30  Andreas Schwab  <schwab@redhat.com>
33840         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
33841         is always restored.
33843 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
33845         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
33846         are re-adding the entry.
33847         * nscd/servicescache.c (cache_addserv): Likewise.
33849 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
33851         * sysdeps/generic/dl-irel.h: fix protection against multiple
33852         inclusions.
33853         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
33855 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
33857         [BZ #12935]
33858         * malloc/memusage.sh: Fix quoting in message.
33859         * debug/xtrace.sh: Likewise.
33861         * configure.in: Remove support for --experimental-malloc option, make
33862         it the default.
33863         * config.make.in: Likewise.
33864         * malloc/Makefile: Likewise.
33866 2011-06-27  Andreas Schwab  <schwab@redhat.com>
33868         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
33869         two-byte characters.
33871 2011-06-27  Roland McGrath  <roland@hack.frob.com>
33873         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
33874         AC_CACHE_CHECK invocation.
33875         * configure: Regenerated.
33877         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
33879 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
33881         [BZ #12350]
33882         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
33883         bit from old_res_options.
33885         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
33887         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
33888         value type for setfct.
33890 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
33892         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33893         __gettimeofday instead of gettimeofday.
33895 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
33897         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
33899 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
33901         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
33903         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
33904         info.
33906 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
33908         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33909         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33910         strcpy-sse2-unaligned strncpy-sse2-unaligned
33911         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
33912         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
33913         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
33914         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
33915         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
33916         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
33917         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
33918         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
33919         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
33920         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
33921         (STRCPY): Support SSE2 and SSSE3 versions.
33923 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
33925         [BZ #12874]
33926         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
33927         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
33928         kernels which artificially limit size of requests.
33930 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
33932         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33933         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33934         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
33935         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
33936         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
33937         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
33938         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
33939         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
33940         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
33941         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
33942         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
33943         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
33944         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
33945         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
33946         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
33947         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33948         Enable unaligned load optimization for Intel Core i3, i5 and i7
33949         processors.
33950         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
33951         Define.
33952         (index_Fast_Unaligned_Load): Define.
33953         (HAS_FAST_UNALIGNED_LOAD): Define.
33955 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
33957         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
33959 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
33961         [BZ #12907]
33962         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
33963         until it is clear that the information is realy needed.
33964         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
33966 2011-06-22  Andreas Schwab  <schwab@redhat.com>
33968         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
33970 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
33972         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33973         /sys/devices/system/cpu/online if it is usable.
33975         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
33976         reading the information from the /proc filesystem to once a second.
33978 2011-06-21  Andreas Jaeger  <aj@suse.de>
33980         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
33981         NULL after inclusion of kernel headers.
33983 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
33985         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
33986         calls to internal_setent.
33988         [BZ #12885]
33989         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
33990         addresses using gethostbyname4_r ignore IPv4 addresses.
33992         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
33993         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
33995         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
33997 2011-06-20  David S. Miller  <davem@davemloft.net>
33999         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
34000         inclusions.
34001         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
34003         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
34004         (elf_irel): Use it.
34005         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
34006         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
34007         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
34008         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
34009         * sysdeps/x86_64/dl-irel.h: Likewise.
34011         * elf/dl-runtime.c: Use elf_ifunc_invoke.
34012         * elf/dl-sym.c: Likewise.
34014 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
34016         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
34017         need to dereference resplen2.
34019 2011-06-14  Andreas Schwab  <schwab@redhat.com>
34021         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
34023 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
34025         * Makeconfig: Define vardbdir and inst_vardbdir.
34026         * nss/Makefile: Add rules to install db-Makefile.
34028         * nss/nss_db/db-XXX.c: Cleanup.
34030         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
34031         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
34032         GLIBC_PRIVATE.
34033         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
34034         * nss/makedb.c: Implement -g option to specify that value strings
34035         are generated and should not be added to table iterated over for
34036         get*ent calls.
34037         * nss/nss_db/db-initgroups.c: New file.
34039         * nss/getent.c: Add support for initgroups lookups through getgrouplist
34040         interface.
34042         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
34043         (internal_getgrouplist): Adjust to name change.
34044         Update use_initgroups_entry if this is not the first call.
34045         * nss/databases.def: Add initgroups entry.
34047         * nss/makedb.c (compute_tables): Check result of multiple hash table
34048         sizes to minimize maximum chain length.
34050 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
34052         * Versions.def: Add entry for libnss_db.
34053         * shlib-versions: Likewise.
34054         * nss/Makefile: Add rules to build libnss_db.
34055         * nss/Versions: Add libnss_db information.  Organize libnss_files
34056         entries better.
34057         * nss/db-Makefile: Add gshadow support.  Change rules for the new
34058         makedb progra.  Some minor improvements to generate smaller files.
34059         * nss/nss_db/nss_db.h: Move NSS database header data structures to
34060         here from...
34061         * nss/makedb.c: ...here.
34062         Improve database format to be smaller and require less memory at
34063         runtime.
34064         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
34065         db anymore.
34066         * nss/nss_db/db-netgrp.c: Likewise.
34067         * nss/nss_db/db-open.c: Likewise.
34068         * nss/nss_files/flies-XXX.x: Adjust comments.
34069         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
34070         * nss/nss_files/files-grp.c: Likewise.
34071         * nss/nss_files/files-hosts.c: Likewise.
34072         * nss/nss_files/files-network.c: Likewise.
34073         * nss/nss_files/files-proto.c: Likewise.
34074         * nss/nss_files/files-pwd.c: Likewise.
34075         * nss/nss_files/files-rpc.c: Likewise.
34076         * nss/nss_files/files-service.c: Likewise.
34077         * nss/nss_files/files-sgrp.c: Likewise.
34078         * nss/nss_files/files-spwd.c: Likewise.
34079         * nss/nss_db/db-alias.c: Removed.
34080         * nss/nss_db/dummy-db.h: Removed.
34082 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
34084         * nss/makedb.c: Rewritten to not use database library.
34085         * nss/Makefile: Update to build new makedb program.
34087 2011-06-14  Andreas Jaeger  <aj@suse.de>
34089         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
34090         memset declaration.
34092 2011-06-10  Andreas Schwab  <schwab@redhat.com>
34094         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
34095         tmpbuf.
34097 2011-06-10  Roland McGrath  <roland@hack.frob.com>
34099         * Makerules (shlib.lds): Fail if the linker script comes out empty.
34100         * elf/Makefile ($(objpfx)ld.so): Likewise.
34102         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
34103         Don't list ld.so twice in dependencies.
34105         * posix/bug-regex31.c: Include <stdlib.h>.
34107         * nscd/hstcache.c (cache_addhst): Remove unused variable.
34109         * nis/nss_compat/compat-spwd.c
34110         (getspent_next_nss_netgr): Remove unused variable.
34111         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
34113         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
34114         nonmembers" output to use the right array.
34116         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
34118         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
34120         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
34121         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
34122         * catgets/gencat.c (read_input_file): Likewise.
34123         * locale/programs/locarchive.c (enlarge_archive): Likewise.
34125         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
34126         variable definition inside #if's controlling its use.
34128         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
34130         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
34132         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
34134         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
34135         unreachable code.
34137         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
34139         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
34140         * configure: Regenerated.
34142         * Makerules: Revert last change.
34143         * elf/Makefile: Likewise.
34145 2011-06-09  Roland McGrath  <roland@hack.frob.com>
34147         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
34148         * elf/Makefile ($(objpfx)librtld.os): Likewise.
34149         (reloc-link): Likewise.
34151 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
34153         * elf/Makefile: Add rules to build pldd.
34154         * elf/pldd.c: New file.
34155         * elf/pldd-xx.c: New file.
34157 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
34159         * version.h: Update for 2.15 development version.
34161 2011-06-07  David S. Miller  <davem@davemloft.net>
34163         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
34164         ifuncs.
34165         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
34166         elf_machine_lazy_rel): Likewise.
34167         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34168         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
34169         elf_machine_lazy_rel): Likewise.
34170         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
34171         dl_hwcap via passed in argument.
34172         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
34173         Likewise.
34175 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34177         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
34179 2011-06-06  Roland McGrath  <roland@hack.frob.com>
34181         [BZ #12849]
34182         * manual/fdl-1.1.texi: New file, verbatim from:
34183         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
34184         * manual/lgpl-2.1.texi: New file, verbatim from:
34185         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
34186         * manual/Makefile (licenses): New variable, list those new file names.
34187         (texis): Use it.
34188         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
34190         * manual/fdl.texi: File removed.
34191         * manual/lesser.texi: File removed.
34192         * manual/libc.texinfo (Copying, Documentation License):
34193         Use new @include file names, put @appendix directive before @include.
34195 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
34197         [BZ #12841]
34198         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
34199         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
34200         (mq_open): Add __NTH.
34202 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
34204         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34205         Assume Intel Core i3/i5/i7 processor if AVX is available.
34207 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
34209         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34210         typo.
34212 2011-05-31  Andreas Schwab  <schwab@redhat.com>
34214         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
34215         memory.  Use alloca_account.  Fix memory leak when retrying.
34217 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
34219         * version.h (RELEASE): Bump for 2.14 release.
34220         * include/features.h (__GLIBC_MINOR__): Bump to 14.
34222         * config.make.in (RANLIB): Remove entry.
34224 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
34226         * po/Makefile (po-sed-cmd): Add ksh to extensions.
34227         (libc.pot): Work around missing support for .ksh extension in xgettext.
34229         [BZ #12684]
34230         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
34231         if both request failed.
34232         (send_dg): In case of server errors clear resplen or *resplen2.
34234         [BZ #12454]
34235         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
34236         when there are multiple maps.
34237         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
34238         (_dl_fini): Remove test here.
34240         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
34242 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
34244         [BZ #12350]
34245         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
34246         bit from old_res_options.
34247         (gaih_inet): Likewise.
34249         [BZ #11099]
34250         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
34251         as signed.
34253         * resolv/res_init.c (res_setoptions): Make the code more compact.
34255         [BZ #11558]
34256         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
34257         set RES_USEVC.
34259         [BZ #11634]
34260         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
34262         * malloc/malloc.h: Mark malloc hook variables as deprecated.
34264         [BZ #11781]
34265         * malloc/malloc.h: Declare malloc hook variables as volatile.
34267         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
34268         in last patch.
34270         [BZ #11799]
34271         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
34272         raise in the comment.
34273         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34274         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34275         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
34277 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
34279         [BZ #12811]
34280         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
34281         grow the buffers more if it already has to be sufficient.
34282         (build_wcs_upper_buffer): Likewise.
34283         * posix/regexec.c (check_matching): Likewise.
34284         (clean_state_log_if_needed): Likewise.
34285         (extend_buffers): Don't enlarge buffers beyond size of the input
34286         buffer.
34287         Patches mostly by Emil Wojak <emil@wojak.eu>.
34288         * posix/bug-regex32.c: New file.
34289         * posix/Makefile (tests): Add bug-regex32.
34291         * locale/findlocale.c (_nl_find_locale): Return right away if
34292         _nl_explode_name failed.
34293         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
34295         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
34297         * debug/xtrace.sh: Unify messages.
34298         * malloc/memusage.sh: Likewise.
34300         [BZ #12813]
34301         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
34302         time symbol from vDSO.  Substitute with vsyscall if not available.
34303         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
34304         __vdso_time.
34306         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
34307         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
34308         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
34309         Add sendmmsg and internal_sendmmsg.
34310         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
34311         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
34312         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
34314         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
34315         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
34316         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
34318 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
34320         [BZ #12813]
34321         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
34322         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
34323         available.
34324         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
34325         __vdso_getcpu.
34327         [BZ #12814]
34328         * iconvdata/Makefile (tests): Add bug-iconv9.
34329         * iconvdata/bug-iconv9.c: New file.
34331 2011-05-27  Andreas Schwab  <schwab@redhat.com>
34333         [BZ #12814]
34334         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
34336 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
34338         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34339         (struct user_regs_struct): Change intcs field back to cs.
34341 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
34343         * po/ja.po: Update from translation team.
34345 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
34347         [BZ #12795]
34348         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
34349         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
34351 2011-05-20  Andreas Schwab  <schwab@redhat.com>
34353         * stdlib/longlong.h: Update from GCC.
34355 2011-05-23  Andreas Schwab  <schwab@redhat.com>
34357         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
34358         parameter name.
34359         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
34360         Add parameter name.
34361         (__sysconf): Pass it down.
34363 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
34365         [BZ #12671]
34366         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
34367         some situations.
34368         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34369         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
34370         add in in __libc_use_alloca calls.  Adjust callers.
34371         (glob): Use malloc in some situations.
34373         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
34374         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
34375         pltexit.
34377 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
34379         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
34380         and CLOCK_BOOTTIME_ALARM.
34382         [BZ #12782]
34383         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
34384         is returned.
34386         * string/_strerror.c (__strerror_r): Print negative errors as signed
34387         numbers.
34389         [BZ #12777]
34390         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
34391         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
34392         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
34394         * configure.in: Fix typo in redirection and correct removal of test
34395         files in two cases.
34397         [BZ #12788]
34398         * locale/setlocale.c (new_composite_name): Fix test to check for
34399         identical name of all categories.
34401         [BZ #12792]
34402         * libio/filedoalloc.c (local_isatty): New function.
34403         (_IO_file_doallocate): Use local_isatty.
34404         * stdio-common/perror.c (perror): In case a new stream is used
34405         forward the stream error.
34406         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
34407         error flag.
34409 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
34411         [BZ #11869]
34412         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
34413         alloca.
34414         * include/alloca.h (extend_alloca_account): Define.
34416         [BZ #11857]
34417         * posix/regex.h: Fix comments with documentation of user-accessible
34418         fields after compilation and describe correct free'ing of pattern
34419         after re_compile_pattern.
34420         Patch by Reuben Thomas <rrt@sc3d.org>.
34422 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
34424         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
34425         and -mno-altivec to prevent the compiler from using Altivec and/or
34426         VSX instructions when the corresponding registers are not available.
34428 2011-05-19  Andreas Schwab  <schwab@redhat.com>
34430         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
34432 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
34434         * libio/freopen.c (freopen): Use __dup2, not dup2.
34435         * libio/freopen64.c (freopen64): Likewise.
34437 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34439         [BZ #12775]
34440         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
34441         * math/Makefile (tests): Add test-powl.
34442         (CFLAGS-test-powl.c): Define.
34443         * math/test-powl.c: New file.
34445 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34447         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
34449 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
34451         [BZ #11837]
34452         * iconvdata/gb18030.c: Update to GB18020-2005.
34454 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
34456         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
34457         RE_SYNTAX_POSIX_AWK): Update to match recent development.
34458         Patch by Aharon Robbins <arnold@skeeve.com>.
34460         [BZ #11892]
34461         * stdlib/putenv.c (putenv): Don't always create copy of the variable
34462         on the stack.
34464         [BZ #11895]
34465         * misc/pselect.c (__pselect): Handle timeout value errors hidden
34466         through underflows.
34468         [BZ #12766]
34469         * misc/error.c (error_at_line): Ensure file_name and old_file_name
34470         point to strings before performing equality test for error_one_per_line
34471         mode.
34473         [BZ #11697]
34474         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
34476         [BZ #11820]
34477         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34478         (struct user_fpregs_struct): Avoid __uint*_t types.
34480         [BZ #6420]
34481         * malloc/mtrace.c (tr_where): Add additional parameter to point to
34482         symbol info.  Use it instead of calling _dl_addr locally.
34483         (lock_and_info): New function.
34484         (tr_freehook): Call lock_and_info and pass symbol info as additional
34485         parameter to tr_where.
34486         (tr_mallochook): Likewise.
34487         (tr_reallochook): Likewise.
34488         (tr_memalignhook): Likewise.
34490         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
34491         used and couldn't be at all thread-safe.
34493 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
34495         * libio/freopen.c (freopen): Don't close old file descriptor
34496         before the new one is opened.  Instead dup the new file descriptor
34497         to the old one after the new stream is created.
34498         * libio/freopen64.c (freopen64): Likewise.
34499         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
34500         * libio/fileops.c (_IO_new_file_close_it): Handle new
34501         _IO_FLAGS2_NOCLOSE flag.
34502         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
34503         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
34504         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
34505         _IO_FLAGS2_NOCLOSE flag.
34506         * include/unistd.h: Add hidden_proto for dup3.
34507         Define __have_dup3.
34508         * io/dup3.c: Define hidden symbol.
34509         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
34511         [BZ #7101]
34512         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
34513         when an incomplete long option is used.
34514         * posix/tst-getopt_long1.c: New file.
34515         * posix/Makefile (tests): Add tst-getopt_long1.
34517         [BZ #10138]
34518         * scripts/config.guess: Update from autoconf-2.68.
34519         * scripts/config.sub: Likewise.
34521         [BZ #10157]
34522         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
34523         tests into ...
34524         (has_cpuclock): ...this.  New function.
34525         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
34526         macro here based on has_cpuclock code.
34528         [BZ #10149]
34529         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34530         First byte (not low byte) is now always NUL.
34531         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
34533         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34534         Use non-cancelable interfaces.
34536         [BZ #9809]
34537         * locale/iso-639.def: Add entry for Sorani.
34539         [BZ #11901]
34540         * include/stdlib.h: Move include protection to the right place.
34541         Define abort_msg_s.  Declare __abort_msg with it.
34542         * stdlib/abort.c (__abort_msg): Adjust type.
34543         * assert/assert.c (__assert_fail_base): New function.  Majority
34544         of code from __assert_fail.  Allocate memory for __abort_msg with
34545         mmap.
34546         (__assert_fail): Now call __assert_fail_base.
34547         * assert/assert-perr.c: Remove bulk of implementation.  Use
34548         __assert_fail_base.
34549         * include/assert.hL Declare __assert_fail_base.
34550         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
34551         mmap.
34552         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
34554 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
34556         [BZ #11952]
34557         [BZ #12453]
34558         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
34559         until all modules are registered in the DTV.
34560         * elf/Makefile: Add rules to build and run tst-tls19.
34561         * elf/tst-tls19.c: New file.
34562         * elf/tst-tls19mod1.c: New file.
34563         * elf/tst-tls19mod2.c: New file.
34564         * elf/tst-tls19mod3.c: New file.
34565         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
34567         [BZ #12083]
34568         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
34569         correctly.
34571         [BZ #12601]
34572         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
34573         two-byte sequence errors.
34574         * iconvdata/Makefile (tests): Add bug-iconv8.
34575         * iconvdata/bug-iconv8.c: New file.
34577         [BZ #12626]
34578         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
34579         buf2 definition.
34581         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
34583         [BZ #12432]
34584         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
34585         (dummy_getcfa): New function.
34586         (init): Get _Unwind_GetCFA address, use dummy if not found.
34587         (backtrace_helper): In recursion check, also check whether CFA changes.
34588         (__backtrace): Completely initialize arg.
34590         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
34591         storing incomplete byte sequence in state object.  Avoid testing for
34592         guaranteed too small input if we know there is enough data available.
34594 2011-05-11  Andreas Schwab  <schwab@redhat.com>
34596         * Makeconfig (+link-pie): Indent.
34597         * Rules (binaries-pie): Define if $(have-fpie) and
34598         $(build-shared).
34599         (binaries-shared): Also filter out $(binaries-pie).
34600         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
34601         * nscd/Makefile (others-pie): Add nscd.
34602         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
34603         ($(objpfx)nscd): Remove command override.
34604         * login/Makefile (others-pie): Add pt_chown.
34605         ($(objpfx)pt_chown): Remove command override.
34606         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
34607         remove command overrides.
34609 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
34611         * libio/tst_putwc.c: Fix error messages.
34613         [BZ #12724]
34614         * libio/fileops.c (_IO_new_file_close_it): Always flush when
34615         currently writing and seek to current position when not.
34616         * libio/Makefile (tests): Add bug-fclose1.
34617         * libio/bug-fclose1.c: New file.
34619 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
34621         [BZ #12511]
34622         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
34623         don't set DF_1_NODELETE here.
34624         (do_lookup_x): When entering new entry test for copy relocation
34625         and if necessary set DF_1_NODELETE flag.
34626         * elf/tst-unique4.cc: New file.
34627         * elf/tst-unique4.h: New file.
34628         * elf/tst-unique4lib.cc: New file.
34629         * elf/Makefile: Add rules to build and run tst-unique4.
34630         Patch by Piotr Bury <pbury@goahead.com>.
34632 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
34634         [BZ #12052]
34635         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
34637         [BZ #12625]
34638         * misc/mntent_r.c (addmntent): Flush the stream after the output
34640         [BZ #12393]
34641         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
34642         (is_trusted_path_normalize): Skip initial colon.  Append slash
34643         to empty buffer.  Duplicate is_trusted_path code but allow
34644         constructed patch to be prefix.
34645         (is_dst): Allow $ORIGIN followed by /.
34646         (_dl_dst_substitute): Correct clearing of check_for_trusted.
34647         Correct testing of result of is_trusted_path_normalize
34648         (decompose_rpath): Fix warning.
34650 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
34652         [BZ #11257]
34653         * grp/initgroups.c (internal_getgrouplist): When we found the service
34654         list through the initgroups entry in nsswitch.conf do not always
34655         continue on a successful lookup.  Don't always use the
34656         __nss_group_database value if it is set.
34657         * nss/nsswitch.conf (initgroups): Change action for successful db
34658         lookup to continue for compatibility.
34660 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
34662         [BZ #11532]
34663         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
34664         and CP774 modules.
34665         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
34666         and CP774 modules.
34667         * iconvdata/tst-tables.sh: Likewise.
34668         * iconvdata/cp770.c: New file.
34669         * iconvdata/cp771.c: New file.
34670         * iconvdata/cp772.c: New file.
34671         * iconvdata/cp773.c: New file.
34672         * iconvdata/cp774.c: New file.
34673         * iconvdata/testdata/CP770: New file.
34674         * iconvdata/testdata/CP770..UTF8: New file.
34675         * iconvdata/testdata/CP771: New file.
34676         * iconvdata/testdata/CP771..UTF8: New file.
34677         * iconvdata/testdata/CP772: New file.
34678         * iconvdata/testdata/CP772..UTF8: New file.
34679         * iconvdata/testdata/CP773: New file.
34680         * iconvdata/testdata/CP773..UTF8: New file.
34681         * iconvdata/testdata/CP774: New file.
34682         * iconvdata/testdata/CP774..UTF8: New file.
34684         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
34685         END CHARMAP line.
34686         * iconvdata/gen-8bit-gap.sh: Likewise.
34687         * iconvdata/gen-8bit.sh: Likewise.
34689         * locale/iso-639.def: Add ary entry.
34691         [BZ #11258]
34692         * locale/C-translit.h.in: Add U20A1 transliteration.
34694         [BZ #12178]
34695         * locale/iso-639.def: Add wae entry.
34696         Patch by Kevin Bortis <bortis@translate-wae.ch>.
34698         [BZ #12545]
34699         * locale/programs/localedef.c (construct_output_path): Use ssize_t
34700         for n.
34702         [BZ #12711]
34703         * locale/C-translit.h.in: Add entry for U20B9.
34704         Patch by pravin.d.s@gmail.com.
34706 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
34708         [BZ #12713]
34709         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
34710         ENAMETOOLONG use generic getcwd.
34711         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
34712         in rtld.  Use *stat64.
34713         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
34714         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
34715         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
34716         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
34717         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
34718         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
34719         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
34720         __fstatat64 macros.
34721         * include/dirent.h: Add libc_hidden_proto for rewinddir.
34722         * dirent/rewinddir.c: Add libc_hidden_def.
34723         * sysdeps/mach/hurd/rewinddir.c: Likewise.
34724         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
34726         * include/dirent.h (__alloc_dir): Add flags parameter.
34727         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
34728         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
34729         __alloc_dir.
34730         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
34731         from fdopendir if O_CLOEXEC is already set.
34733 2011-03-15  Alan Modra  <amodra@gmail.com>
34735         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
34736         l_tls_firstbyte_offset non-zero.  Save padding offset in
34737         l_tls_firstbyte_offset for later use.
34738         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
34739         freeing static tls block.
34741 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
34743         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
34744         where #ifdef was intended.  The intent is to prevent ARG_MAX from
34745         being defined by the kernel headers.
34747 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
34749         [BZ #12734]
34750         * resolv/resolv.h: Define RES_NOTLDQUERY.
34751         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
34752         no-tld-query and set RES_NOTLDQUERY.
34753         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
34754         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
34755         modern BIND to search name as TLD unless forbidden.
34757 2011-05-07  Petr Baudis  <pasky@suse.cz>
34758             Ulrich Drepper  <drepper@gmail.com>
34760         [BZ #12393]
34761         * elf/dl-load.c (fillin_rpath): Move trusted path check...
34762         (is_trusted_path): ...to here.
34763         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
34764         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
34765         using is_trusted_path_normalize() in setuid scripts.
34767 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
34769         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
34770         __BEGIN/__END_DECLS.
34772 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
34774         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
34775         NSS_STATUS_NOTFOUND if no record was found.
34777 2011-05-05  Andreas Schwab  <schwab@redhat.com>
34779         * sunrpc/Makefile (headers): Add rpc/netdb.h.
34780         (headers-not-in-tirpc): Remove rpc/netdb.h
34781         * resolv/netdb.h: Revert last change.
34783 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
34785         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
34786         circular dependency between libgcc.a and libc.a.
34788 2011-05-05  Andreas Schwab  <schwab@redhat.com>
34790         * resolv/netdb.h: Don't include <rpc/netdb.h>.
34791         * nis/Makefile: Don't install rpcsvc/*.
34792         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
34793         instead of <rpc/types.h>.
34794         (MAXHOSTNAMELEN): Define.
34796 2011-05-03  Andreas Schwab  <schwab@redhat.com>
34798         * elf/ldconfig.c (add_dir): Don't crash on empty path.
34800 2011-04-28  Maciej Babinski  <mbabinski@google.com>
34802         [BZ #12714]
34803         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
34804         gethostbyname4_r when IPv6 results are possible.
34806 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
34808         [BZ #12723]
34809         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
34810         _PC_PIPE_BUF handling.
34812 2011-04-30  Bruno Haible  <bruno@clisp.org>
34814         [BZ #12717]
34815         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
34816         * resolv/netdb.h (getnameinfo): Change type of flags parameter
34817         to 'int'.
34818         * inet/getnameinfo.c (getnameinfo): Likewise.
34820 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
34822         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
34823         to groups setting in database lookup.
34824         * nss/nsswitch.conf: Add initgroups entry.
34826 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
34828         [BZ #12685]
34829         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
34830         mode string.
34831         Patch by Eric Blake <eblake@redhat.com>.
34833 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
34835         * sunrpc/Makefile (need-export-routines): Add svc_run.
34836         (routines): Remove svc_run.
34837         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
34838         * sunrpc/clnt_perr.c (clnt_perrno): Export.
34839         * sunrpc/svc_run.c (svc_run): Likewise.
34840         * sunrpc/svc_udp.c (svcudp_create): Likewise.
34842 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
34844         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
34845         problem in reallocation in last patch.
34847 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
34849         * sunrpc/Makefile: Move inclusion of Rules.
34851 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
34853         * nss/nss_files/files-initgroups.c: New file.
34854         * nss/Makefile (libnss_files-routines): Add files-initgroups.
34855         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
34856         _nss_files_initgroups_dyn.
34858 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
34860         * elf/elf.h (R_ARM_IRELATIVE): Define.
34862 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
34864         * po/ru.po: Update from translation team.
34866 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
34868         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
34869         dependencies.
34871 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
34873         [BZ #12653]
34874         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
34875         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
34876         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34877         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34878         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34880 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
34882         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
34883         differing bytes.
34884         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34885         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34886         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34888 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
34890         [BZ #12420]
34891         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
34892         storing it.
34893         * stdlib/bug-getcontext.c: New file.
34894         * stdlib/Makefile: Add rules to build and run bug-getcontext.
34896 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34898         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
34899         instructions into .machine "z9-109".
34900         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
34901         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
34903 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34905         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
34906         between environment variables and auxiliary vector.
34908 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
34910         * Makefile: Add rules to build linkobj/libc.so.
34911         * include/libc-symbols.h: Define libc_hidden_nolink.
34912         * include/rpc/auth.h: Mark functions which are to be hidden.
34913         * include/rpc/auth_des.h: Likewise.
34914         * include/rpc/auth_unix.h: Likewise.
34915         * include/rpc/clnt.h: Likewise.
34916         * include/rpc/des_crypt.h: Likewise.
34917         * include/rpc/key_prot.h: Likewise.
34918         * include/rpc/pmap_clnt.h: Likewise.
34919         * include/rpc/pmap_prot.h: Likewise.
34920         * include/rpc/pmap_rmt.h: Likewise.
34921         * include/rpc/rpc_msg.h: Likewise.
34922         * include/rpc/svc.h: Likewise.
34923         * include/rpc/svc_auth.h: Likewise.
34924         * include/rpc/xdr.h: Likewise.
34925         * nis/Makefile: Link all DSOs against linkobj/libc.so.
34926         * nss/Makefile: Likewise.
34927         * sunrpc/Makefile: Don't install headers.  Build library with normal
34928         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
34929         * sunrpc/auth_des.c: Hide exported symbols by default, export some
34930         for the compat linking library.  Remove use of INTDEF/INTUSE.
34931         * sunrpc/auth_none.c: Likewise.
34932         * sunrpc/auth_unix.c: Likewise.
34933         * sunrpc/authdes_prot.c: Likewise.
34934         * sunrpc/authuxprot.c: Likewise.
34935         * sunrpc/clnt_gen.c: Likewise.
34936         * sunrpc/clnt_perr.c: Likewise.
34937         * sunrpc/clnt_raw.c: Likewise.
34938         * sunrpc/clnt_simp.c: Likewise.
34939         * sunrpc/clnt_tcp.c: Likewise.
34940         * sunrpc/clnt_udp.c: Likewise.
34941         * sunrpc/clnt_unix.c: Likewise.
34942         * sunrpc/des_crypt.c: Likewise.
34943         * sunrpc/des_soft.c: Likewise.
34944         * sunrpc/get_myaddr.c: Likewise.
34945         * sunrpc/key_call.c: Likewise.
34946         * sunrpc/key_prot.c: Likewise.
34947         * sunrpc/netname.c: Likewise.
34948         * sunrpc/pm_getmaps.c: Likewise.
34949         * sunrpc/pm_getport.c: Likewise.
34950         * sunrpc/pmap_clnt.c: Likewise.
34951         * sunrpc/pmap_prot.c: Likewise.
34952         * sunrpc/pmap_prot2.c: Likewise.
34953         * sunrpc/pmap_rmt.c: Likewise.
34954         * sunrpc/publickey.c: Likewise.
34955         * sunrpc/rpc_cmsg.c: Likewise.
34956         * sunrpc/rpc_common.c: Likewise.
34957         * sunrpc/rpc_dtable.c: Likewise.
34958         * sunrpc/rpc_prot.c: Likewise.
34959         * sunrpc/rpc_thread.c: Likewise.
34960         * sunrpc/rtime.c: Likewise.
34961         * sunrpc/svc.c: Likewise.
34962         * sunrpc/svc_auth.c: Likewise.
34963         * sunrpc/svc_authux.c: Likewise.
34964         * sunrpc/svc_raw.c: Likewise.
34965         * sunrpc/svc_run.c: Likewise.
34966         * sunrpc/svc_simple.c: Likewise.
34967         * sunrpc/svc_tcp.c: Likewise.
34968         * sunrpc/svc_udp.c: Likewise.
34969         * sunrpc/svc_unix.c: Likewise.
34970         * sunrpc/svcauth_des.c: Likewise.
34971         * sunrpc/xcrypt.c: Likewise.
34972         * sunrpc/xdr.c: Likewise.
34973         * sunrpc/xdr_array.c: Likewise.
34974         * sunrpc/xdr_float.c: Likewise.
34975         * sunrpc/xdr_intXX_t.c: Likewise.
34976         * sunrpc/xdr_mem.c: Likewise.
34977         * sunrpc/xdr_rec.c: Likewise.
34978         * sunrpc/xdr_ref.c: Likewise.
34979         * sunrpc/xdr_sizeof.c: Likewise.
34980         * sunrpc/xdr_stdio.c: Likewise.
34982 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
34984         [BZ #12650]
34985         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
34986         * sysdeps/ia64/dl-tls.h: Likewise.
34987         * sysdeps/powerpc/dl-tls.h: Likewise.
34988         * sysdeps/s390/dl-tls.h: Likewise.
34989         * sysdeps/sh/dl-tls.h: Likewise.
34990         * sysdeps/sparc/dl-tls.h: Likewise.
34991         * sysdeps/x86_64/dl-tls.h: Likewise.
34992         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
34994 2011-03-14  Andreas Schwab  <schwab@redhat.com>
34996         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
34997         rpath element also skip the following colon.
34998         (expand_dynamic_string_token): Add is_path parameter and pass
34999         down to DL_DST_REQUIRED and _dl_dst_substitute.
35000         (decompose_rpath): Call expand_dynamic_string_token with
35001         non-zero is_path.  Ignore empty rpaths.
35002         (_dl_map_object_from_fd): Call expand_dynamic_string_token
35003         with zero is_path.
35005 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
35007         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
35008         Make cancelable.
35010 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
35012         [BZ #12655]
35013         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
35014         Patch by Filipe David Manana <fdmanana@apache.org>.
35016 2011-04-07  Andreas Schwab  <schwab@redhat.com>
35018         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
35019         Maintain aligned stack.
35020         (CHECK_RSP): Remove unused macro.
35022 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
35024         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
35025         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
35027 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
35029         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
35031         * include/features.h: Mention __USE_XOPEN2K8 in comment.
35033 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
35035         [BZ #12518]
35036         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
35037         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
35038         * sysdeps/x86_64/memmove.c: New file.
35039         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
35040         (memcpy): Renamed to ...
35041         (__new_memcpy): This.
35042         (memcpy): Provide GLIBC_2_14 memcpy.
35043         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
35044         (memcpy): Provide GLIBC_2_2_5 memcpy.
35046 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
35048         [BZ #12631]
35049         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
35051 2011-03-30  Andreas Schwab  <schwab@redhat.com>
35053         * misc/syncfs.c: New file.
35054         * misc/Makefile (routines): Add syncfs.
35055         * posix/unistd.h: Declare syncfs.
35056         * sysdeps/unix/syscalls.list: Add syncfs.
35058 2011-04-01  Andreas Schwab  <schwab@redhat.com>
35060         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
35061         open_by_handle_at.
35062         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35063         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35064         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35065         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35066         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35067         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
35068         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35070 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
35072         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
35073         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35074         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
35075         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35076         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35077         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35078         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35080         * io/Makefile: Compile fallocate.c, fallocate64.c, and
35081         sync_file_range.c with -fexceptions.
35082         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
35083         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
35084         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
35085         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
35086         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
35087         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35088         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
35089         sync_file_range as cancellation point
35090         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
35091         now a wrapper around __call_sync_file_range with cancellation handling.
35092         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
35093         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
35094         function name to __call_sync_file_range.
35095         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
35096         Add call_sync_file_range.
35098 2011-04-01  Andreas Schwab  <schwab@redhat.com>
35100         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35101         bits/timex.h.
35103 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
35105         * iconv/iconv.h: Fix typo in comment.
35106         * io/fcntl.h: Likewise.
35107         * libio/stdio.h: Likewise.
35108         * posix/spawn.h: Likewise.
35109         * posix/unistd.h: Likewise.
35110         * stdlib/stdlib.h: Likewise.
35111         * time/time.h: Likewise.
35112         * wcsmbs/wchar.h: Likewise.
35114         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
35115         open_by_handle): Add.
35116         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
35117         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
35118         Augment a few comments.
35119         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35120         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35121         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35122         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35123         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35124         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
35125         open_by_handle.
35127         * io/fcntl.h (AT_EMPTY_PATH): Define.
35129 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
35131         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
35132         * sysdeps/unix/sysv/linux/bits/time.h: New file.
35133         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
35134         to...
35135         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
35136         * Versions.def: Add GLIBC_2.14.
35137         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
35138         Export.
35140 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
35142         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
35143         round counter.
35144         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35146 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35148         [BZ #12597]
35149         * string/test-strncmp.c (do_page_test): New function.
35150         (check2): Likewise.
35151         (test_main): Call check2.
35152         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
35154 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
35156         [BZ #12587]
35157         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
35158         Handle cache information in CPU leaf 4.
35159         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35161 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
35163         [BZ #12583]
35164         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
35165         character representation.
35166         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
35168 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
35170         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
35171         END(__isnan) to END(__isnanf) to match function entry point/label
35172         EALIGN(__isnanf,...).
35174 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
35176         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
35178 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
35180         [BZ #12510]
35181         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
35182         copy from the symbol referenced in the relocation to initialize the
35183         used variable.
35184         Patch by Piotr Bury <pbury@goahead.com>.
35185         * elf/Makefile: Add rules to build and tst-unique3.
35186         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
35187         * elf/tst-unique3.cc: New file.
35188         * elf/tst-unique3.h: New file.
35189         * elf/tst-unique3lib.cc: New file.
35190         * elf/tst-unique3lib2.cc: New file.
35192         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
35194 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
35196         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
35197         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
35198         to _start.
35200 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
35202         * elf/dl-load.c (_dl_map_object): If we are looking for the first
35203         to-be-loaded object along a path to loader is ld.so.
35205 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
35206             Ulrich Drepper  <drepper@gmail.com>
35208         * sysdeps/x86_64/memset.S: After aligning destination, code
35209         branches to different locations depending on the value of
35210         misalignment, when multiarch is enabled. Fix this.
35212 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
35214         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
35215         Set _x86_64_preferred_memory_instruction for AMD processsors.
35216         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35217         Set bit_Prefer_SSE_for_memop for AMD processors.
35219 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
35221         * libio/fmemopen.c (fmemopen): Optimize a bit.
35223 2011-03-03  Andreas Schwab  <schwab@redhat.com>
35225         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
35227 2011-03-03  Roland McGrath  <roland@redhat.com>
35229         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
35231 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
35233         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
35234         __bzero_ultra1 instead of __memset_ultra1.
35236 2011-02-23  Andreas Schwab  <schwab@redhat.com>
35237             Ulrich Drepper  <drepper@gmail.com>
35239         [BZ #12509]
35240         * include/link.h (struct link_map): Add l_orig_initfini.
35241         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
35242         returning unsuccessfully.
35243         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
35244         close of a file loaded at startup, restore the original l_initfini
35245         list.
35246         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
35247         list, store the pointer.
35248         * elf/Makefile ($(objpfx)noload-mem): New rule.
35249         (noload-ENV): Define.
35250         (tests): Add $(objpfx)noload-mem.
35251         * elf/noload.c: Include <memcheck.h>.
35252         (main): Call mtrace.  Close all opened handles.
35254 2011-02-17  Andreas Schwab  <schwab@redhat.com>
35256         [BZ #12454]
35257         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
35258         dependencies are missing.
35260 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35262         Fix __if_freereq crash: Unlike the generic version which uses free,
35263         Hurd needs munmap.
35264         * sysdeps/mach/hurd/ifreq.h: New file.
35266 2011-01-27  Petr Baudis  <pasky@suse.cz>
35267             Ulrich Drepper  <drepper@gmail.com>
35269         [BZ 12445]#
35270         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
35271         to extend_alloca().
35272         * stdio-common/bug23.c: New file.
35273         * stdio-common/Makefile (tests): Add bug23.
35275 2010-09-28  Andreas Schwab  <schwab@redhat.com>
35276             Ulrich Drepper  <drepper@gmail.com>
35278         [BZ #12489]
35279         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
35280         before performing relro protection.  At old place add assertion
35281         to make sure nothing changed.
35283 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
35284             Glauber de Oliveira Costa  <glommer@gmail.com>
35286         * elf/elf.h: Add new ARM TLS relocs.
35288 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
35290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35291         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
35292         cast from r3.
35293         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
35294         'tests' variable.
35295         * sysdeps/wordsize-64/tst-writev.c: New file.
35297 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
35299         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
35300         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
35301         insns in _dl_start to prevent a TOC reference before relocs are
35302         resolved.
35304 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
35306         [BZ #12469]
35307         * Makeconfig: Remove RANLIB definition.
35308         * Makerules: Don't use RANLIB.
35309         * aclocal.m4: Remove ranlib test.
35310         * configure.in: No need to check for ranlib.
35311         * elf/rtld-Rules: Don't use RANLIB.
35313 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35315         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
35316         protection macro.
35317         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
35318         inclusion protection macro.
35320         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
35321         SIGRTMIN and SIGRTMAX and print information in that case only when
35322         SIGRTMIN is defined.
35324 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
35326         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
35327         arginfo fn returning -1.
35329         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
35330         and thousands string is zero terminated.
35332 2011-02-03  Andreas Schwab  <schwab@redhat.com>
35334         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
35335         sysdeps/unix/sysv/linux/bits/socket.h.
35337 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35339         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
35340         (__CPU_COUNT): Remove old macros.
35341         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
35342         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
35343         (__CPU_ALLOC, __CPU_FREE): Add macros.
35344         (__sched_cpualloc, __sched_cpufree): Add declarations.
35346 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
35348         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
35349         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
35350         * nscd/aicache.c (addhstaiX): Return timeout of added value.
35351         (readdhstai): Return value of addhstaiX call.
35352         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
35353         (addgrbyX): Return value returned by cache_addgr.
35354         (readdgrbyname): Return value returned by addgrbyX.
35355         (readdgrbygid): Likewise.
35356         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
35357         (addpwbyX): Return value returned by cache_addpw.
35358         (readdpwbyname): Return value returned by addhstbyX.
35359         (readdpwbyuid): Likewise.
35360         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
35361         (addservbyX): Return value returned by cache_addserv.
35362         (readdservbyname): Return value returned by addservbyX:
35363         (readdservbyport): Likewise.
35364         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
35365         (addhstbyX): Return value returned by cache_addhst.
35366         (readdhstbyname): Return value returned by addhstbyX.
35367         (readdhstbyaddr): Likewise.
35368         (readdhstbynamev6): Likewise.
35369         (readdhstbyaddrv6): Likewise.
35370         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
35371         (readdinitgroups): Return value returned by addinitgroupsX.
35372         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
35373         (prune_cache): Keep track of timeout value of re-added entries.
35374         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
35375         * nscd/nscd.h: Adjust prototypes of readd* functions.
35377 2011-02-04  Roland McGrath  <roland@redhat.com>
35379         * nis/nis_server.c (nis_servstate): Use the right name for 0.
35380         (nis_stats): Likewise.
35381         * nis/nis_modify.c (nis_modify): Likewise.
35382         * nis/nis_remove.c (nis_remove): Likewise.
35383         * nis/nis_add.c (nis_add): Likewise.
35385         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
35387         * posix/fnmatch_loop.c: Add some consts.
35389         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
35391 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
35393         [BZ #12460]
35394         * config.make.in (config-cflags-novzeroupper): Define.
35395         * configure.in: Substitute libc_cv_cc_novzeroupper.
35396         * elf/Makefile (AVX-CFLAGS): Define.
35397         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
35398         (CFLAGS-tst-auditmod4a.c): Likewise.
35399         (CFLAGS-tst-auditmod4b.c): Likewise.
35400         (CFLAGS-tst-auditmod6b.c): Likewise.
35401         (CFLAGS-tst-auditmod6c.c): Likewise.
35402         (CFLAGS-tst-auditmod7b.c): Likewise.
35403         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
35405 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
35407         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
35408         function to the callback.
35409         Patch partly by Jiri Olsa <jolsa@redhat.com>.
35411 2011-02-02  Andreas Schwab  <schwab@redhat.com>
35413         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
35414         of errno.
35416 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
35418         [BZ #11724]
35419         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
35420         of constructors.
35421         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
35422         of destructors.
35423         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
35425         [BZ #11724]
35426         * elf/Makefile: Add rules to build and run new test.
35427         * elf/tst-initorder.c: New file.
35428         * elf/tst-initorder.exp: New file.
35429         * elf/tst-initordera1.c: New file.
35430         * elf/tst-initordera2.c: New file.
35431         * elf/tst-initordera3.c: New file.
35432         * elf/tst-initordera4.c: New file.
35433         * elf/tst-initorderb1.c: New file.
35434         * elf/tst-initorderb2.c: New file.
35435         * elf/tst-order-a1.c: New file.
35436         * elf/tst-order-a2.c: New file.
35437         * elf/tst-order-a3.c: New file.
35438         * elf/tst-order-a4.c: New file.
35439         * elf/tst-order-b1.c: New file.
35440         * elf/tst-order-b2.c: New file.
35441         * elf/tst-order-main.c: New file.
35442         New test case by George Gensure <werkt0@gmail.com>.
35444 2010-10-01  Andreas Schwab  <schwab@redhat.com>
35446         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35447         decoding ACE if AI_CANONIDN.
35449 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
35451         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
35453 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
35455         * version.h (RELEASE): Bump for 2.13 release.
35456         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
35458         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
35460         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
35461         MADV_NOHUGEPAGE.
35462         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
35463         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35464         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35465         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35466         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35467         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35469         * posix/getconf.c: Update copyright year.
35470         * catgets/gencat.c: Likewise.
35471         * csu/version.c: Likewise.
35472         * debug/catchsegv.sh: Likewise.
35473         * debug/xtrace.sh: Likewise.
35474         * elf/ldconfig.c: Likewise.
35475         * elf/ldd.bash.in: Likewise.
35476         * elf/sprof.c (print_version): Likewise.
35477         * iconv/iconv_prog.c: Likewise.
35478         * iconv/iconvconfig.c: Likewise.
35479         * locale/programs/locale.c: Likewise.
35480         * locale/programs/localedef.c: Likewise.
35481         * malloc/memusage.sh: Likewise.
35482         * malloc/mtrace.pl: Likewise.
35483         * nscd/nscd.c (print_version): Likewise.
35484         * nss/getent.c: Likewise.
35486         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
35487         PF_CAIF, and PF_ALG.
35488         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35490 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
35492         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
35493         (modules-names): Use them.
35494         (ifunc-test-modules, ifunc-pie-tests): Define.
35495         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
35496         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
35497         (test-extras): Likewise.
35498         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
35499         $(compile-command.c).
35500         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
35501         (all-built-dso): Define.
35502         (check-textrel.out, check-execstack.out): Depend on it.
35504         * configure.in: Don't override --enable-multi-arch.
35506 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
35508         [BZ #6812]
35509         * nscd/hstcache.c (tryagain): Define.
35510         (cache_addhst): Return tryagain not notfound for temporary errors.
35511         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
35512         failed.
35514 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
35516         [BZ #10563]
35517         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
35518         to make the syscall.
35519         * sysdeps/unix/sysv/linux/setgroups.c: New file.
35521         [BZ #12378]
35522         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
35523         and fall back to matching as normal character if the string ends before
35524         the matching ']' is found.  This is what POSIX requires.
35525         * posix/testfnm.c: Adjust test result.
35526         * posix/globtest.sh: Adjust test result.  Add new test.
35527         * posix/tst-fnmatch.input: Likewise.
35528         * posix/tst-fnmatch2.c: Add new test.
35530 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
35532         * elf/Makefile (check-execstack): Revert last change.  Depend on
35533         check-execstack.h.
35534         (check-execstack.h): New target.
35535         (generated): Add check-execstack.h.
35536         * elf/check-execstack.c: Include "check-execstack.h".
35537         (main): Revert last change.
35538         (handle_file): Return zero if GNU_STACK is absent and
35539         DEFAULT_STACK_PERMS doesn't include PF_X.
35541 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
35543         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
35544         in child fails because the descriptor is already closed.
35545         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
35546         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
35547         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
35549         [BZ #12397]
35550         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
35551         syscall.
35553         [BZ #10484]
35554         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
35555         temporary buffer used to handle multi lookups locally.
35556         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
35558 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
35560         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
35561         loader is ld.so.
35563 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
35565         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
35566         alignment for SSE2.
35568 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
35570         [BZ #12394]
35571         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
35572         characters.  When rounding increased number of integer digits recompute
35573         number of groups.
35574         * stdio-common/tst-grouping.c: New file.
35575         * stdio-common/Makefile: Add rules to build and run tst-grouping.
35577 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
35579         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
35580         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
35582         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
35583         void.
35584         * bits/select.h: Likewise.
35586 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
35588         * po/ja.po: Update from translation team.
35590 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
35592         [BZ #11155]
35593         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
35594         implementation just like for lxstat, fxstatat, et al.
35596 2010-12-27  Jim Meyering  <meyering@redhat.com>
35598         [BZ #12348]
35599         * posix/regexec.c (build_trtable): Return failure indication upon
35600         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
35602 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
35604         [BZ #12201]
35605         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
35606         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
35607         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
35608         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
35610         [BZ #12207]
35611         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
35613         [BZ #12204]
35614         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
35615         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
35617 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
35619         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
35620         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
35621         script has SORT_BY_INIT_PRIORITY.
35622         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
35623         NO_CTORS_DTORS_SECTIONS is defined.
35624         * elf/soinit.c: Likewise.
35625         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
35626         NO_CTORS_DTORS_SECTIONS is defined.
35627         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
35628         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
35629         * sysdeps/sh/init-first.c: Likewise.
35630         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
35632 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
35634         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
35635         always use the slow path.
35637 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
35639         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
35640         similar rule which adds the sysdep directories to the header search in
35641         order to pick up the correct platform stackinfo.h.
35642         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
35643         perform test if it is, otherwise return successfully without testing.
35644         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
35645         DEFAULT_STACK_PERMS define in stackinfo.h.
35646         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
35647         defined in stackinfo.h.
35648         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
35649         DEFAULT_STACK_PERMS defined in stackinfo.h.
35650         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
35651         * sysdeps/ia64/stackinfo.h: Likewise.
35652         * sysdeps/s390/stackinfo.h: Likewise.
35653         * sysdeps/sh/stackinfo.h: Likewise.
35654         * sysdeps/sparc/stackinfo.h: Likewise.
35655         * sysdeps/x86_64/stackinfo.h: Likewise.
35656         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
35657         PF_X for powerpc64.  Retain PF_X for powerpc32.
35659 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
35661         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
35662         accurately.
35663         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
35664         GETDENTS_64BIT_ALIGNED.
35666 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
35668         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
35670 2010-12-10  Andreas Schwab  <schwab@redhat.com>
35672         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
35673         _GNU_SOURCE.
35675         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
35676         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
35677         Remove __restrict.
35678         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
35679         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
35681 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
35683         [BZ #11655]
35684         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
35685         are initialized.
35687 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
35689         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
35691 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
35693         * po/it.po: Update from translation team.
35695 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
35697         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
35698         unused codes.
35700 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
35702         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
35704 2010-11-24  Andreas Schwab  <schwab@redhat.com>
35706         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
35707         specially.
35708         (gaih_getanswer_slice): Likewise.
35710 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
35712         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
35714 2010-05-31  Petr Baudis  <pasky@suse.cz>
35716         [BZ #11149]
35717         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
35718         silently even in the chroot mode.
35720 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
35722         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
35723         last patch a bit.  Pretty printing
35725 2010-05-31  Petr Baudis <pasky@suse.cz>
35727         [BZ #10085]
35728         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
35729         initialization of skip_initgroups_dyn.
35731 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
35733         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
35734         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35736 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
35738         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
35740 2010-11-11  Andreas Schwab  <schwab@redhat.com>
35742         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
35743         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
35744         (tst-fnmatch-ENV): Set MALLOC_TRACE.
35745         ($(objpfx)tst-fnmatch-mem): New rule.
35746         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
35747         * posix/tst-fnmatch.c (main): Call mtrace.
35749 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
35751         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35752         Support Intel processor model 6 and model 0x2c.
35754 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
35756         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
35757           signed comparison.
35759 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
35761         [BZ #12205]
35762         * string/test-strncasecmp.c (check_result): New function.
35763         (do_one_test): Use it.
35764         (check1): New function.
35765         (test_main): Use it.
35766         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
35767         Support strcasecmp and strncasecmp.
35769 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
35771         [BZ #12194]
35772         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
35773         * sysdeps/x86_64/bits/byteswap.h: Likewise.
35775 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
35777         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
35778         IFUNC support.
35779         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35780         memset-x86-64.
35781         * sysdeps/x86_64/multiarch/bzero.S: New file.
35782         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
35783         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
35784         * sysdeps/x86_64/multiarch/memset.S: New file.
35785         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
35786         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35787         Set bit_Prefer_SSE_for_memop for Intel processors.
35788         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
35789         Define.
35790         (index_Prefer_SSE_for_memop): Define.
35791         (HAS_PREFER_SSE_FOR_MEMOP): Define.
35793 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
35795         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
35796         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
35798 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
35800         [BZ #12191]
35801         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35802         (__x86_64_raw_data_cache_size_half): Likewise.
35803         (__x86_64_raw_shared_cache_size): Likewise.
35804         (__x86_64_raw_shared_cache_size_half): Likewise.
35806         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35807         (__x86_64_raw_data_cache_size_half): Likewise.
35808         (__x86_64_raw_shared_cache_size): Likewise.
35809         (__x86_64_raw_shared_cache_size_half): Likewise.
35810         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
35811         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
35812         and __x86_64_raw_shared_cache_size_half.  Round
35813         __x86_64_data_cache_size_half, __x86_64_data_cache_size
35814         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
35815         to multiple of 256 bytes.
35817 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
35819         [BZ #12167]
35820         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
35821         of inacessible symlinks.  Verify result of symlink before returning it.
35822         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
35823         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
35825 2010-10-28  Erich Ritz  <erichritz@gmail.com>
35827         * math/math.h (isinf): Fix typo in comment.
35829 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
35831         * po/da.po: Update from translation team.
35833 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
35835         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
35836         is added to the list.
35838 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35839             Ulrich Drepper  <drepper@gmail.com>
35841         * elf/dl-object.c (_dl_new_object): Don't append the new object to
35842         the global list here.  Move code to...
35843         (_dl_add_to_namespace_list): ...here.  New function.
35844         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
35845         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
35846         * elf/dl-load.c (lose): Don't remove the element from the list.
35847         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
35848         (_dl_map_object): Likewise.
35850 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
35852         [BZ #12159]
35853         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
35854         into all bytes of SSE register.
35855         Patch by Richard Li <richardpku@gmail.com>.
35857 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
35859         [BZ #12140]
35860         * malloc/malloc.c (_int_free): Fill correct number of bytes when
35861         perturbing.
35863 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
35865         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
35866         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
35867         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
35868         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35869         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
35870         submachine.
35871         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
35873 2010-10-22  Andreas Schwab  <schwab@redhat.com>
35875         * include/dlfcn.h (__RTLD_SECURE): Define.
35876         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
35877         mode & __RTLD_SECURE instead.
35878         (open_path): Rename preloaded parameter to secure.
35879         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
35880         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
35881         * elf/dl-deps.c (openaux): Likewise.
35882         * elf/rtld.c (struct map_args): Remove is_preloaded.
35883         (map_doit): Don't use it.
35884         (dl_main): Likewise.
35885         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
35886         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
35888 2010-09-09  Andreas Schwab  <schwab@redhat.com>
35890         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
35891         (sysd-rules-targets): Remove duplicates.
35892         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
35893         rtld-%.$o dependency.
35895 2010-10-18  Andreas Schwab  <schwab@redhat.com>
35897         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
35898         _dl_map_object do it.
35900 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
35902         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
35903         fast fma builtins, define the macros in the C99 standard.
35904         (FP_FAST_FMAF): Likewise.
35905         (FP_FAST_FMAL): Likewise.
35906         * sysdeps/x86_64/bits/mathdef.h: Likewise.
35908         * bits/mathdef.h: Update copyright year.
35909         * sysdeps/powerpc/bits/mathdef.h: Likewise.
35911 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
35913         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
35914         builtins, define the macros in the C99 standard.
35915         (FP_FAST_FMAF): Likewise.
35916         (FP_FAST_FMAL): Likewise.
35917         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
35918         multiply/add.
35919         (FP_FAST_FMAF): Likewise.
35921 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
35923         [BZ #3268]
35924         * math/libm-test.inc (fma_test): Some new testcases.
35925         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
35926         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
35927         y and infinite z.  Do multiplication by C already in long double.
35928         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
35929         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
35930         y and infinite z.  Do bitwise or of inexact bit into u.d.
35931         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
35932         * sysdeps/i386/fpu/s_fmaf.S: Removed.
35933         * sysdeps/i386/fpu/s_fma.S: Removed.
35934         * sysdeps/i386/fpu/s_fmal.S: Removed.
35936 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
35938         [BZ #3268]
35939         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
35940         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
35941         computation is not scheduled after fetestexcept.  Fix value
35942         of minimum denormal long double.
35944 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
35946         [BZ #3268]
35947         * math/libm-test.inc (fma_test): Add some more tests.
35948         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
35949         correctly.
35951 2010-10-15  Andreas Schwab  <schwab@redhat.com>
35953         * scripts/data/localplt-s390-linux-gnu.data: New file.
35954         * scripts/data/localplt-s390x-linux-gnu.data: New file.
35956 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
35958         [BZ #3268]
35959         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
35960         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
35961         instead of dbl-64.
35962         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
35963         inlines.
35964         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
35965         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
35966         if one of x and y is very large and the other is subnormal.
35967         * sysdeps/s390/fpu/s_fmaf.c: New file.
35968         * sysdeps/s390/fpu/s_fma.c: New file.
35969         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
35970         * sysdeps/powerpc/fpu/s_fma.S: New file.
35971         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
35972         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
35973         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
35975 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
35977         [BZ #3268]
35978         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
35979         fma tests.
35980         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
35981         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
35982         * sysdeps/i386/i686/multiarch/s_fma.c: Include
35983         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
35984         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
35985         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
35986         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
35988 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
35990         [BZ #12078]
35991         * posix/regcomp.c (parse_branch): One more memory leak plugged.
35992         * posix/bug-regex31.input: Add test case.
35994 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
35996         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
35997         * posix/bug-regex31.input: New file.
35999         [BZ #12078]
36000         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
36001         (parse_sub_exp): Fix last change, use postorder.
36003         * posix/bug-regex31.c: New file.
36004         * posix/Makefile: Add rules to build and run bug-regex31.
36006         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
36008         [BZ #12078]
36009         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
36011         [BZ #12108]
36012         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
36013         to have entries in sys_siglist.
36015         [BZ #12093]
36016         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
36017         be NULL.
36019 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
36021         [BZ #3268]
36022         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
36023         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
36024         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
36025         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
36026         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
36027         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
36028         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
36029         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
36030         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
36031         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
36032         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
36033         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
36034         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
36035         * math/ftestexcept.c (fetestexcept): Likewise.
36036         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
36037         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
36038         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
36039         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
36040         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
36041         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
36042         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
36044 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
36046         [BZ #12107]
36047         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
36048         newline.
36050 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
36052         * string/bug-strstr1.c: New file.
36053         * string/Makefile: Add rules to build and run bug-strstr1.
36055 2010-10-05  Eric Blake  <eblake@redhat.com>
36057         [BZ #12092]
36058         * string/str-two-way.h (two_way_long_needle): Always clear memory
36059         when skipping input due to the shift table.
36061 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
36063         [BZ #12005]
36064         * malloc/mcheck.c: Handle large requests.
36066         [BZ #12077]
36067         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
36068         for strncmp and strncasecmp.
36069         * string/stratcliff.c: Add tests for strcmp and strncmp.
36070         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
36072 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36074         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
36075         __set_fpscr.
36077 2010-09-30  Andreas Jaeger  <aj@suse.de>
36079         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
36080         (CGROUP_SUPER_MAGIC): Define.
36081         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36082         Handle btrfs and cgroup file systems.
36083         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36084         Likewise.
36086 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
36088         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
36089         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
36091 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36093         [BZ #12067]
36094         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
36095         trying to locate the ELF header.
36097 2010-09-27  Andreas Schwab  <schwab@redhat.com>
36099         [BZ #11611]
36100         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
36101         Mask out sign-bit copies when constructing f_fsid.
36103 2010-09-24  Petr Baudis <pasky@suse.cz>
36105         * debug/stack_chk_fail_local.c: Add missing licence exception.
36106         * debug/warning-nop.c: Likewise.
36108 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
36110         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
36111         implementing getdents64 using getdents syscall, set d_type if
36112         __ASSUME_GETDENTS32_D_TYPE.
36114 2010-09-16  Andreas Schwab  <schwab@redhat.com>
36116         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
36117         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
36119 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
36121         [BZ #12037]
36122         * posix/unistd.h: Undo change of feature selection for ftruncate from
36123         2010-01-11.
36125 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
36127         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
36128         detection.
36130 2010-09-20  Andreas Schwab  <schwab@redhat.com>
36132         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
36133         fanotify_mark.
36134         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36136 2010-09-14  Andreas Schwab  <schwab@redhat.com>
36138         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
36139         variables after CHECK_SP call.
36140         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
36142 2010-09-13  Andreas Schwab  <schwab@redhat.com>
36143             Ulrich Drepper  <drepper@redhat.com>
36145         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
36146         re-relocationg ld.so.
36147         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
36148         _dl_init_paths call.
36149         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
36150         here anymore.
36152 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
36154         * resolv/res_init.c (__res_vinit): Count the default server we added.
36156 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
36157             Ulrich Drepper  <drepper@redhat.com>
36159         [BZ #11968]
36160         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
36161         (____longjmp_chk): Use %ebx for saving value across system call.
36162         Add unwind info.
36164 2010-09-06  Andreas Schwab  <schwab@redhat.com>
36166         * manual/Makefile: Don't mix pattern rules with normal rules.
36168 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
36170         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
36171         operation.
36172         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
36173         * libio/iofopncook.c (_IO_cookie_init): Likewise.
36174         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
36175         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
36176         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36177         Likewise.
36179 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
36181         [BZ #11979]
36182         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
36183         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
36185 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
36187         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
36188         * sysdeps/x86_64/addmul_1.S: Likewise.
36189         * sysdeps/x86_64/lshift.S: Likewise.
36190         * sysdeps/x86_64/mul_1.S: Likewise.
36191         * sysdeps/x86_64/rshift.S: Likewise.
36192         * sysdeps/x86_64/sub_n.S: Likewise.
36193         * sysdeps/x86_64/submul_1.S: Likewise.
36195 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36197         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
36198         Define __sched_param instead of SCHED_* and sched_param when
36199         <bits/sched.h> is included with __need_schedparam defined.
36200         * bits/sched.h [__need_schedparam]
36201         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
36202         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
36203         (__defined_schedparam): Define to 1.
36204         (__sched_param): New structure, identical to sched_param.
36205         (__need_schedparam): Undefine.
36207 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
36209         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
36210         (epoll_create1): Declare.
36212         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
36214 2010-08-31  Andreas Schwab  <schwab@redhat.com>
36216         [BZ #7066]
36217         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
36218         shifting retval into place.
36220 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
36222         * nis/rpcsvc/nis.h: Update copyright notice.
36223         * nis/rpcsvc/nis.x: Likewise.
36224         * nis/rpcsvc/nis_callback.h: Likewise.
36225         * nis/rpcsvc/nis_callback.x: Likewise.
36226         * nis/rpcsvc/nis_object.x: Likewise.
36227         * nis/rpcsvc/nis_tags.h: Likewise.
36228         * nis/rpcsvc/yp.h: Likewise.
36229         * nis/rpcsvc/yp.x: Likewise.
36230         * nis/rpcsvc/ypupd.h: Likewise.
36231         * nis/yp_xdr.c: Likewise.
36232         * nis/ypupdate_xdr.c: Likewise.
36234         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
36235         mainly the body of pmap_getport.  Add parameters to specify timeouts.
36236         (pmap_getport): Use __libc_rpc_getport.
36237         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
36238         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
36239         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
36241 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
36243         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
36244         fanotify_mark.
36246 2010-08-27  Roland McGrath  <roland@redhat.com>
36248         * sysdeps/i386/i686/multiarch/Makefile
36249         (CFLAGS-varshift.c): New variable.
36251 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
36253         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
36254         * sysdeps/i386/i686/multiarch/varshift.c: New file.
36256         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
36258         * sysdeps/x86_64/strlen.S: Minimal code improvement.
36260 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
36262         * sysdeps/x86_64/strlen.S: Unroll the loop.
36263         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36264         strlen-sse2 strlen-sse2-bsf.
36265         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
36266         __strlen_no_bsf if bit_Slow_BSF is set.
36267         (__strlen_sse42): Removed.
36268         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
36269         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
36271 2010-08-25  Roland McGrath  <roland@redhat.com>
36273         * sysdeps/x86_64/multiarch/varshift.S: File removed.
36274         * sysdeps/x86_64/multiarch/varshift.c: New file.
36275         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
36276         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
36277         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
36278         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36280 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
36282         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36283         strlen-sse2 strlen-sse2-bsf.
36284         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
36285         __strlen_sse2_bsf if bit_Slow_BSF is unset.
36286         (__strlen_sse2): Removed.
36287         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
36288         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
36289         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
36290         bit_Slow_BSF for Atom.
36291         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
36292         (index_Slow_BSF): Define.
36293         (HAS_SLOW_BSF): Define.
36295 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
36297         [BZ #10851]
36298         * resolv/res_init.c (__res_vinit): When no server address at all
36299         is given default to loopback.
36301 2010-08-24  Roland McGrath  <roland@redhat.com>
36303         * configure.in: Remove config-name.h generation.
36304         * configure: Regenerated.
36305         * config-name.in: File removed.
36306         * scripts/config-uname.sh: New file.
36307         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
36308         ($(objdir)config-name.h): New target.
36310         * sunrpc/rpc_parse.h: Avoid nested comment.
36312 2010-08-24  Richard Henderson  <rth@redhat.com>
36313             Ulrich Drepper  <drepper@redhat.com>
36314             H.J. Lu  <hongjiu.lu@intel.com>
36316         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
36317         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
36318         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
36319         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
36320         _mm_alignr_epi8 with _mm_loadu_si128.
36321         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
36322         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
36323         (__m128i_shift_right): Removed.
36324         * sysdeps/i386/i686/multiarch/varshift.h: New file.
36325         * sysdeps/i386/i686/multiarch/varshift.S: New file.
36326         * sysdeps/x86_64/multiarch/varshift.h: New file.
36327         * sysdeps/x86_64/multiarch/varshift.S: New file.
36329 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
36331         * configure.in: Move assembler checks to before sysdep dir checking.
36333 2010-08-20  Petr Baudis  <pasky@suse.cz>
36335         * LICENSES: Sync the sunrpc license.
36337 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
36339         * sunrpc/auth_des.c: Update copyright notice once again.
36340         * sunrpc/auth_none.c: Likewise.
36341         * sunrpc/auth_unix.c: Likewise.
36342         * sunrpc/authdes_prot.c: Likewise.
36343         * sunrpc/authuxprot.c: Likewise.
36344         * sunrpc/bindrsvprt.c: Likewise.
36345         * sunrpc/clnt_gen.c: Likewise.
36346         * sunrpc/clnt_perr.c: Likewise.
36347         * sunrpc/clnt_raw.c: Likewise.
36348         * sunrpc/clnt_simp.c: Likewise.
36349         * sunrpc/clnt_tcp.c: Likewise.
36350         * sunrpc/clnt_udp.c: Likewise.
36351         * sunrpc/clnt_unix.c: Likewise.
36352         * sunrpc/des_crypt.c: Likewise.
36353         * sunrpc/des_soft.c: Likewise.
36354         * sunrpc/get_myaddr.c: Likewise.
36355         * sunrpc/getrpcport.c: Likewise.
36356         * sunrpc/key_call.c: Likewise.
36357         * sunrpc/key_prot.c: Likewise.
36358         * sunrpc/openchild.c: Likewise.
36359         * sunrpc/pm_getmaps.c: Likewise.
36360         * sunrpc/pm_getport.c: Likewise.
36361         * sunrpc/pmap_clnt.c: Likewise.
36362         * sunrpc/pmap_prot.c: Likewise.
36363         * sunrpc/pmap_prot2.c: Likewise.
36364         * sunrpc/pmap_rmt.c: Likewise.
36365         * sunrpc/rpc/auth.h: Likewise.
36366         * sunrpc/rpc/auth_unix.h: Likewise.
36367         * sunrpc/rpc/clnt.h: Likewise.
36368         * sunrpc/rpc/des_crypt.h: Likewise.
36369         * sunrpc/rpc/key_prot.h: Likewise.
36370         * sunrpc/rpc/netdb.h: Likewise.
36371         * sunrpc/rpc/pmap_clnt.h: Likewise.
36372         * sunrpc/rpc/pmap_prot.h: Likewise.
36373         * sunrpc/rpc/pmap_rmt.h: Likewise.
36374         * sunrpc/rpc/rpc.h: Likewise.
36375         * sunrpc/rpc/rpc_des.h: Likewise.
36376         * sunrpc/rpc/rpc_msg.h: Likewise.
36377         * sunrpc/rpc/svc.h: Likewise.
36378         * sunrpc/rpc/svc_auth.h: Likewise.
36379         * sunrpc/rpc/types.h: Likewise.
36380         * sunrpc/rpc/xdr.h: Likewise.
36381         * sunrpc/rpc_clntout.c: Likewise.
36382         * sunrpc/rpc_cmsg.c: Likewise.
36383         * sunrpc/rpc_common.c: Likewise.
36384         * sunrpc/rpc_cout.c: Likewise.
36385         * sunrpc/rpc_dtable.c: Likewise.
36386         * sunrpc/rpc_hout.c: Likewise.
36387         * sunrpc/rpc_main.c: Likewise.
36388         * sunrpc/rpc_parse.c: Likewise.
36389         * sunrpc/rpc_parse.h: Likewise.
36390         * sunrpc/rpc_prot.c: Likewise.
36391         * sunrpc/rpc_sample.c: Likewise.
36392         * sunrpc/rpc_scan.c: Likewise.
36393         * sunrpc/rpc_scan.h: Likewise.
36394         * sunrpc/rpc_svcout.c: Likewise.
36395         * sunrpc/rpc_tblout.c: Likewise.
36396         * sunrpc/rpc_util.c: Likewise.
36397         * sunrpc/rpc_util.h: Likewise.
36398         * sunrpc/rpcinfo.c: Likewise.
36399         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
36400         * sunrpc/rpcsvc/key_prot.x: Likewise.
36401         * sunrpc/rpcsvc/klm_prot.x: Likewise.
36402         * sunrpc/rpcsvc/mount.x: Likewise.
36403         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
36404         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
36405         * sunrpc/rpcsvc/rex.x: Likewise.
36406         * sunrpc/rpcsvc/rstat.x: Likewise.
36407         * sunrpc/rpcsvc/rusers.x: Likewise.
36408         * sunrpc/rpcsvc/sm_inter.x: Likewise.
36409         * sunrpc/rpcsvc/spray.x: Likewise.
36410         * sunrpc/rpcsvc/yppasswd.x: Likewise.
36411         * sunrpc/rtime.c: Likewise.
36412         * sunrpc/svc.c: Likewise.
36413         * sunrpc/svc_auth.c: Likewise.
36414         * sunrpc/svc_authux.c: Likewise.
36415         * sunrpc/svc_raw.c: Likewise.
36416         * sunrpc/svc_run.c: Likewise.
36417         * sunrpc/svc_simple.c: Likewise.
36418         * sunrpc/svc_tcp.c: Likewise.
36419         * sunrpc/svc_udp.c: Likewise.
36420         * sunrpc/svc_unix.c: Likewise.
36421         * sunrpc/svcauth_des.c: Likewise.
36422         * sunrpc/xcrypt.c: Likewise.
36423         * sunrpc/xdr.c: Likewise.
36424         * sunrpc/xdr_array.c: Likewise.
36425         * sunrpc/xdr_float.c: Likewise.
36426         * sunrpc/xdr_mem.c: Likewise.
36427         * sunrpc/xdr_rec.c: Likewise.
36428         * sunrpc/xdr_ref.c: Likewise.
36429         * sunrpc/xdr_sizeof.c: Likewise.
36430         * sunrpc/xdr_stdio.c: Likewise.
36432         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
36433         handling.
36435 2010-08-19  Andreas Schwab  <schwab@redhat.com>
36437         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
36439 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
36441         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
36442         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
36443         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
36444         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
36445         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
36446         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
36447         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
36448         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
36449         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
36450         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
36451         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
36452         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
36453         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
36454         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
36456 2010-07-26  Anton Blanchard  <anton@samba.org>
36458         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
36459         * malloc/arena.c (heap_trim): Likewise.
36461 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
36463         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
36464         here.  Not...
36465         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
36466         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
36468 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
36470         * sysdeps/i386/elf/Makefile: New file.
36472 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
36474         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
36475         from fanotify_init.
36476         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
36477         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36479 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
36481         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
36482         of strncasecmp_l.
36483         * sysdeps/multiarch/strcmp.S: Likewise.
36485 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
36487         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36488         strncase_l-nonascii.
36489         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36490         Add strncase_l-ssse3.
36491         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
36492         * sysdeps/x86_64/strcmp.S: Likewise.
36493         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
36494         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
36495         * sysdeps/x86_64/strncase.S: New file.
36496         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
36497         * sysdeps/x86_64/strncase_l.S: New file.
36498         * string/Makefile (strop-tests): Add strncasecmp.
36499         * string/test-strncasecmp.c: New file.
36501         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
36502         warning.
36504         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
36505         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
36507 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
36509         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
36511 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
36513         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
36514         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
36515         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
36517 2010-05-01  Alan Modra  <amodra@gmail.com>
36519         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
36520         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
36521         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
36522         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
36523         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
36524         tidying.  Don't tail-call __sigjmp_save for static lib.
36525         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
36526         save location.
36527         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
36528         (CALL_MCOUNT): Add eh info, and nop after bl.
36529         (TAIL_CALL_SYSCALL_ERROR): New macro.
36530         (PSEUDO_RET): Use it.
36531         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
36532         Correct save location of integer regs and cr.
36533         (_dl_profile_resolve): Correct cr save location.  Delete nops
36534         after bl when SHARED.  Reduce cfi size a little by better
36535         placement of cfi directives.
36536         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
36537         make a stack frame.  Instead use parm save area as a temp.
36538         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
36539         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
36540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36541         Don't make a stack frame for parent, use parm save area.
36542         Increase child stack frame to 112 bytes.  Don't save unused reg,
36543         and adjust reg usage.  Set up cfi on error recovery and
36544         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
36545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36546         (__makecontext): Add dummy nop after jump to exit.
36547         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
36548         Use correct parm save area and cr save, reduce stack frame.
36549         Correct cfi for possible PSEUDO_RET frame setup.
36550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
36551         Branch to local label emitted by PSEUDO_RET rather than
36552         __syscall_error.
36554 2010-08-12  Andreas Schwab  <schwab@redhat.com>
36556         [BZ #11904]
36557         * locale/programs/locale.c (print_assignment): New function.
36558         (show_locale_vars): Use it.
36560 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
36562         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
36563         field.
36564         (struct statfs64): Likewise.
36565         (_STATFS_F_FLAGS): Define.
36566         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
36567         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36568         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
36569         (ST_VALID): Define locally.
36570         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
36571         __statvfs_getflags, use the provided value.
36572         * sysdeps/unix/sysv/linux/kernel-features.h: Define
36573         __ASSUME_STATFS_F_FLAGS.
36575         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
36577         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
36578         Add sys/fanotify.h.
36579         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
36580         fanotify_mask for GLIBC_2.13.
36581         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
36582         fanotify_init and fanotify_mark.
36583         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36584         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
36586         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
36587         Add prlimit.
36588         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
36589         prlimit64 for GLIBC_2.13.
36590         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
36591         prlimit64.
36592         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
36593         syscall.
36594         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
36595         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36596         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
36597         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
36598         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
36599         add prlimit alias.
36600         * sysdeps/unix/sysv/linux/prlimit.c: New file.
36602         [BZ #11903]
36603         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
36604         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
36606         * nss/Makefile: Add rules to build and run tst-nss-test1.
36607         * shlib-versions: Add entry for libnss_test1.
36608         * nss/nss_test1.c: New file.
36609         * nss/tst-nss-test1.c: New file.
36611         * nss/nsswitch.c (__nss_database_custom): Define new variable.
36612         (__nss_configure_lookup): Set appropriate entry in
36613         __nss_configure_lookup to true.
36614         * nss/nsswitch.h: Define enum with indeces of databases in
36615         databases and __nss_database_custom arrays.  Declare
36616         __nss_database_custom.
36617         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
36618         to avoid using nscd when custom rules are installed.
36619         * nss/getXXbyYY_r.c: Likewise.
36620         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
36622         * nss/nss_files/files-parse.c: Whitespace fixes.
36624 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
36626         [BZ #11883]
36627         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
36628         * posix/fnmatch_loop.c: Likewise.
36630 2010-07-17  Andi Kleen  <ak@linux.intel.com>
36632         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
36633         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
36634         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
36635         * Versions.def [GLIBC_2.13]: Add.
36637 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
36639         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36640         Also fail if tpwd after pwuid call is NULL.
36642 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36644         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
36645         when converting to ms.
36647 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36649         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
36650         EOPNOTSUPP errors with ENOTTY.
36651         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
36652         EOPNOTSUPP errors with ENOTTY.
36654 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
36656         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36657         Add strcasecmp_l-ssse3.
36658         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
36659         strcasecmp.
36660         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
36661         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
36662         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
36664 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
36666         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
36668         * string/Makefile (strop-tests): Add strcasecmp.
36669         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36670         strcasecmp_l-nonascii.
36671         (gen-as-const-headers): Add locale-defines.sym.
36672         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
36673         * sysdeps/x86_64/strcasecmp.S: New file.
36674         * sysdeps/x86_64/strcasecmp_l.S: New file.
36675         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
36676         * sysdeps/x86_64/locale-defines.sym: New file.
36677         * string/test-strcasecmp.c: New file.
36679         * string/test-strcasestr.c: Test both ends of the range of characters.
36680         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
36682 2010-07-29  Roland McGrath  <roland@redhat.com>
36684         [BZ #11856]
36685         * manual/locale.texi (Yes-or-No Questions): Fix example code.
36687 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
36689         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
36690         for ld.so.
36692 2010-07-27  Andreas Schwab  <schwab@redhat.com>
36694         * manual/memory.texi (Malloc Tunable Parameters): Document
36695         M_PERTURB.
36697 2010-07-26  Roland McGrath  <roland@redhat.com>
36699         [BZ #11840]
36700         * configure.in (-fgnu89-inline check): Set and substitute
36701         gnu89_inline, not libc_cv_gnu89_inline.
36702         * configure: Regenerated.
36703         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
36705 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
36707         * string/test-strnlen.c: New file.
36708         * string/Makefile (strop-tests): Add strnlen.
36709         * string/tester.c (test_strnlen): Add a few more test cases.
36710         * string/tst-strlen.c: Better error reporting.
36712         * sysdeps/x86_64/strnlen.S: New file.
36714 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
36716         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
36717         lower-latency instructions.
36719 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
36721         * string/test-strcasestr.c: New file.
36722         * string/test-strstr.c: New file.
36723         * string/Makefile (strop-tests): Add strstr and strcasestr.
36724         * string/str-two-way.h: Don't undefine MAX.
36725         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
36727 2010-07-21  Andreas Schwab  <schwab@redhat.com>
36729         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36730         strcasestr-nonascii.
36731         (CFLAGS-strcasestr-nonascii.c): Define.
36732         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
36733         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
36734         Remove unused attribute.
36736 2010-07-20  Roland McGrath  <roland@redhat.com>
36738         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
36739         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
36740         ld.so.cache was broken.  With it, there is no way to disable dsocaps
36741         like LD_HWCAP_MASK can disable hwcaps.
36743 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
36745         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
36747 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
36749         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
36750         call in strcasestr.
36751         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
36752         __strcasestr_sse42_nonascii.
36753         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
36754         strcasestr-nonascii.c.
36755         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
36757 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
36759         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
36760         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
36761         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
36762         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
36764 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
36766         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
36767         fcntl.
36769 2010-07-06  Andreas Schwab  <schwab@redhat.com>
36771         [BZ #11577]
36772         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
36773         dl_signal_cerror.
36775 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
36777         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
36778         _PC_PIPE_BUF using F_GETPIPE_SZ.
36780 2010-07-05  Roland McGrath  <roland@redhat.com>
36782         * manual/arith.texi (Rounding Functions): Fix rint description
36783         implicit in round description.
36785 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
36787         * elf/Makefile: Fix linking for a few tests to make recent linker
36788         happy.
36790 2010-06-30  Andreas Schwab  <schwab@redhat.com>
36792         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36793         $(common-objpfx)libc_nonshared.a.
36795 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
36797         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
36798         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
36799         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36800         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36801         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
36802         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
36803         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36804         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36805         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
36806         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
36807         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
36808         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36809         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
36810         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36811         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
36812         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
36813         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
36814         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
36815         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
36817         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36818         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
36819         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
36820         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
36821         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
36822         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
36823         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
36824         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
36825         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
36826         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
36827         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
36828         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
36829         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
36830         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
36831         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
36832         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
36833         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
36834         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
36835         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
36836         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
36837         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
36838         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
36839         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
36840         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
36841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
36842         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
36843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
36844         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
36846 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
36848         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
36849         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
36850         * string/memmove.c (memmove): Renamed to ...
36851         (MEMMOVE): ...this.  Default to memmove.
36852         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
36853         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
36854         (END_CHK): Define.
36855         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36856         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
36857         mempcpy-ssse3-back memmove-ssse3-back.
36858         * sysdeps/x86_64/multiarch/bcopy.S: New file .
36859         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
36860         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
36861         * sysdeps/x86_64/multiarch/memcpy.S: New file.
36862         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
36863         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
36864         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
36865         * sysdeps/x86_64/multiarch/memmove.c: New file.
36866         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
36867         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
36868         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
36869         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
36870         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
36871         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
36872         Define.
36873         (index_Fast_Copy_Backward): Define.
36874         (HAS_ARCH_FEATURE): Define.
36875         (HAS_FAST_REP_STRING): Define.
36876         (HAS_FAST_COPY_BACKWARD): Define.
36878 2010-06-21  Andreas Schwab  <schwab@redhat.com>
36880         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36881         Restore proper fallback handling.
36883 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
36885         [BZ #11701]
36886         * posix/group_member.c (__group_member): Correct checking loop.
36888         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
36889         OOM in getpwuid_r correctly.  Return error number when the caller
36890         should return, otherwise -1.
36891         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
36892         call returning > 0 value.
36893         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
36895 2010-06-07  Andreas Schwab  <schwab@redhat.com>
36897         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
36898         libc_nonshared.a from targets in modules-names.
36900 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
36902         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
36903         requires it.
36905 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
36907         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
36908         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
36909         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
36910         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
36912 2010-06-02  Andreas Schwab  <schwab@redhat.com>
36914         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
36916 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
36918         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
36919         and F_GETPIPE_SZ.
36920         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36921         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36922         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36923         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36924         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36925         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
36927 2010-06-14  Roland McGrath  <roland@redhat.com>
36929         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
36931 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
36933         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
36934         __REDIRECT followed by __THROW.
36935         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
36936         * posix/getopt.h (getopt): Likewise.
36938 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
36940         * hurd/lookup-at.c (__file_name_lookup_at): Accept
36941         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
36942         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
36943         in AT_FLAGS.
36944         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
36945         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
36947 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
36949         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
36951 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
36953         [BZ #11640]
36954         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36955         Properly check family and model.
36957 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
36959         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
36961 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
36963         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
36965 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
36967         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
36968         symbol reference.
36970 2010-05-19  Andreas Schwab  <schwab@redhat.com>
36972         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
36973         symbol reference.
36975 2010-05-21  Andreas Schwab  <schwab@redhat.com>
36977         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
36978         and internal_recvmmsg.
36979         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
36980         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
36981         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
36982         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
36984         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
36985         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36986         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36988 2010-05-20  Andreas Schwab  <schwab@redhat.com>
36990         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
36992 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
36994         POWER7 optimizations.
36995         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
36996         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
36998 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
37000         * version.h: Update for 2.13 development version.
37002 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
37004         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
37005         exceptions.  Return 0.
37007 2010-05-07  Roland McGrath  <roland@redhat.com>
37009         * elf/ldconfig.c (main): Add a const.
37011 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
37013         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
37014         (args_options): Add no-idn option.
37015         (ahosts_keys_int): Add idn_flags to ai_flags.
37016         (parse_option): Handle 'i' option to clear idn_flags.
37018         * malloc/malloc.c (_int_free): Possible race in the most recently
37019         added check.  Only act on the data if no current modification
37020         happened.
37022 See ChangeLog.17 for earlier changes.