PowerPC: Adjust multiarch Implies for PowerPC64
[glibc.git] / ChangeLog
blob840a01a70ca2c45cfca73dcce8e8679e363878df
1 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
4         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
5         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
6         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
7         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
8         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
9         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
10         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
11         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
12         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
13         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
14         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
15         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
16         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
17         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
18         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
19         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
20         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
21         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
22         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
23         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
24         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
26 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
30 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
32         * benchtests/Makefile (bench): Add exp2 and log2.
33         (LDLIBS-bench-exp2): Add -lm.
34         (LDLIBS-bench-log2): Likewise.
35         * benchtests/exp2-inputs: New inputs file.
36         * benchtests/log2-inputs: New inputs file.
37         * benchtests/log-inputs: Add new inputs.
38         * benchtests/tan-inputs: Likewise.
40 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
42         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
43         definition...
44         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2,
45         csloww1, csloww2): ... from here.
47         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
48         instead of structures.
49         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
50         (POLYNOMIAL): Likewise.
51         (TAYLOR_SLOW): Likewise.
52         (__sin): Likewise.
53         (__cos): Likewise.
54         (slow1): Likewise.
55         (slow2): Likewise.
56         (sloww): Likewise.
57         (sloww1); Likewise.
58         (sloww2): Likewise.
59         (bsloww1): Likewise.
60         (bsloww2): Likewise.
61         (cslow2): Likewise.
62         (csloww): Likewise.
63         (csloww1): Likewise.
64         (csloww2): Likewise.
66 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
68         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
69         (__malloc_assert, __libc_realloc, __libc_calloc,
70         _int_realloc): Expand MALLOC_COPY and MALLOC_ZERO to
71         memcpy and memset.
72         * malloc/hooks.c (realloc_check): Likewise.
74 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
76         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
77         * malloc/arena.c: Remove PER_THREAD conditional.
78         [!PER_THREAD]: Remove code.
79         (ptmalloc_unlock_all2): Likewise.
80         (ptmalloc_init): Likewise.
81         (_int_new_arena): Likewise.
82         (arena_get2): Likewise.
83         * malloc/hooks.c (__malloc_get_state): Likewise.
84         (__malloc_set_state): Likewise.
85         * malloc/malloc.c: Likewise.
86         (struct malloc_state): Likewise.
87         (struct malloc_par): Likewise.
88         (__libc_realloc): Likewise.
89         (__libc_mallopt): Likewise.
91 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
93         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
95 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
97         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
98         macro to a function.  Check for zero perturb_byte.
99         (_int_malloc, _int_free): Remove zero perturb_byte checks.
101 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
103         * malloc/malloc.c: (force_reg): Remove.
104         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc,
105         _mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
106         force_reg by atomic_forced_read.
107         * malloc/arena.c (ptmalloc_init): Likewise.
108         * malloc/hooks.c (top_check): Likewise.
110 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
112         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
114 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
116         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
118 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
120         * math/auto-libm-test-in: Add tests of lgamma.
121         * math/auto-libm-test-out: Regenerated.
122         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
123         (M_LOG_2_SQRT_PIl): Likewise.
124         (lgamma_test_data): Use AUTO_TESTS_f_f1.
125         * math/gen-auto-libm-tests.c (func_calc_method): Add value
126         mpfr_f_f1.
127         (func_calc_desc): Add mpfr_f_f1 union field.
128         (ARGS1): New macro.
129         (ARGS2): Likewise.
130         (ARGS3): Likewise.
131         (ARGS4): Likewise.
132         (RET1): Likewise.
133         (RET2): Likewise.
134         (CALC): Likewise.
135         (FUNC): Likewise.
136         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
137         (test_functions): Add lgamma.
138         (calc_generic_results): Handle mpfr_f_f1.
139         * sysdeps/i386/fpu/libm-test-ulps: Update.
140         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
142 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
144         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
145         __mpn_add_n for PowerPC64/POWER7.
146         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
147         __mpn_sub_n for PowerPC64/POWER7.
149 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
151         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
152         __mpn_addmul_1 for PowerPC64.
153         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
154         __mpn_submul_1 for PowerPC64.
155         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
156         for PowerPC64.
157         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
158         for PowerPC64.
160 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
162         [BZ #15089]
163         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
165 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
167         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
169 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
171         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
172         add multiarch folders.
173         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
174         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
175         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
176         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
177         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
178         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
179         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
180         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
181         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
182         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
183         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
185         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
186         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
187         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
189         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
191 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
193         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
194         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
195         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
196         New file.
197         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
198         New file.
199         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
200         multiarch __ieee754_hypot for PowerPC32.
201         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
202         New file.
203         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
204         New file.
205         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
206         multiarch __ieee754_hypotf for PowerPC32.
208 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
210         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
211         long_double_symbol only if __logbl is defined.
212         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
213         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
214         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
215         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
216         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
217         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
218         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
219         path for implementation.
220         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
221         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
222         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
223         logb, and logbl multiarch implementations for PowerPC32.
224         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
225         file.
226         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
227         file.
228         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
229         multiarch logb for PowerPC32.
230         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
231         file.
232         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
233         file.
234         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
235         multiarch logbf for PowerPC32.
236         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
237         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
238         file.
239         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
240         multiarch logbl implementation for PowerPC32.
242 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
244         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
245         and modff multiarch implementations.
246         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
247         New file.
248         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
249         New file.
250         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
251         multiarch modf for PowerPC32.
252         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
253         New file.
254         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
255         New file.
256         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
257         multiarch modff for PowerPC32.
259 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
261         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
262         and lrintf multiarch implementations.
263         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
264         New file.
265         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
266         New file.
267         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
268         multiarch lrint for PowerPC32.
269         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
270         file: multiarch lrintf for PowerPC32.
272 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
274         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
275         and lroundf multiarch implementations.
276         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
277         New file.
278         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
279         New file.
280         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
281         New file.
282         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
283         multiarch lround for PowerPC32.
284         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
285         file: multiarch lroundf for PowerPC32.
287 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
289         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
290         copysign and copysignf multiarch implementations.
291         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
292         New file.
293         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
294         New file.
295         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
296         file: multiarch copysign for PowerPC32.
297         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
298         file: multiarch copysignf for PowerPC32.
300 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
302         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
303         and truncf multiarch implementations.
304         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
305         New file.
306         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
307         file.
308         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
309         multiarch trunc for PowerPC32.
310         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
311         New file.
312         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
313         New file.
314         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
315         multiarch truncf for PowerPC32.
317 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
319         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
320         and roundf multiarch implementations.
321         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
322         New file.
323         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
324         file.
325         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
326         multiarch round for PowerPC32.
327         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
328         New file.
329         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
330         New file.
331         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
332         multiarch roundf for PowerPC32.
334 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
336         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
337         and floorf multiarch implementations.
338         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
339         New file.
340         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
341         file.
342         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
343         multiarch floor for PowerPC32.
344         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
345         New file.
346         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
347         New file.
348         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
349         multiarch floorf for PowerPC32.
351 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
353         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
354         and ceilf multiarch implementations.
355         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
356         New file.
357         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
358         file.
359         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
360         multiarch ceil for PowerPC32.
361         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
362         New file.
363         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
364         file.
365         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
366         multiarch ceilf for PowerPC32.
368 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
370         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
371         is defined.
372         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
373         FINITEF is defined.
374         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
375         and finitef multiarch implementations.
376         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
377         New file.
378         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
379         file.
380         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
381         multiarch finite for PowerPC32.
382         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
383         New file.
384         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
385         file: multiarch finitef for PowerPC32.
387 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
389         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
390         and isinff multiarch implementations.
391         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
392         file.
393         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
394         file.
395         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
396         multiarch isinf for PowerPC32.
397         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
398         New file.
399         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
400         multiarch isinff for PowerPC32.
402 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
404         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
405         alias when __isnan is defined.
406         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
407         and isnanf multiarch implementations.
408         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
409         file.
410         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
411         file.
412         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
413         file.
414         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
415         file.
416         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
417         multiarch isnan for PowerPC32.
418         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
419         New file.
420         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
421         New file.
422         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
423         multiarch isnanf for PowerPC32.
425 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
427         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
428         and sqrtf multiarch implementations.
429         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
430         file.
431         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
432         file.
433         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
434         multiarch sqrt for PowerPC32.
435         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
436         file.
437         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
438         file.
439         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
440         multiarch sqrtf for PowerPC32.
442 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
444         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
445         and llroundf multiarch implementations.
446         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
447         New file.
448         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
449         New file.
450         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
451         New file.
452         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
453         file: multiarch llround for PowerPC32.
454         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
455         file: multiarch llroundf for PowerPC32.
457 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
459         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
460         multiarch PowerPC32 fpu implementations.
461         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
462         New file.
463         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
464         New file.
465         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
466         multiarch llrint for PowerPC32.
467         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
468         New file.
469         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
470         New file.
471         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
472         file.
474 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
476         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
478 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
480         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
481         file.
482         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
483         file.
484         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
485         file.
486         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
487         multiarch wordcopy for PPC32.
488         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
489         wordcopy objects.
490         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
491         (__libc_ifunc_impl_list): Likewise.
492         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
493         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
494         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
495         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
496         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
497         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
499 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
501         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
502         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
503         file.
504         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
505         file.
506         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
507         file.
508         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
509         multiarch wcscpy for PPC32.
510         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
511         multiarch objects.
512         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
513         (__libc_ifunc_impl_list): Likewise.
514         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
515         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
516         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
517         sysdeps/powerpc/power6/wcscpy.c.
519 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
521         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
522         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
523         file.
524         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
525         file.
526         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
527         file.
528         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
529         multiarch wcsrchr for PPC32.
530         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
531         multiarch objects.
532         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
533         (__libc_ifunc_impl_list): Likewise.
534         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
535         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
536         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
537         sysdeps/powerpc/power6/wcsrchr.c.
539 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
541         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
542         file.
543         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
544         file.
545         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
546         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
547         multiarch wcschr for PPc32.
548         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
549         multiarch objects.
550         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
551         (__libc_ifunc_impl_list): Likewise.
552         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
553         * sysdeps/powerpc/power6/wcschr.c: ... to here.
554         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
555         sysdeps/powerpc/power6/wcschr.c.
557 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
559         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
560         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
561         file.
562         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
563         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
564         file: multiarch strchr for PPC32.
565         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
566         multiarch objects.
567         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
568         (__libc_ifunc_impl_list): Likewise.
570 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
572         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
573         name.
574         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
575         file.
576         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
577         file.
578         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
579         multiarch strchrnul for PPC32.
580         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
581         multiarch objects.
582         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
583         (__libc_ifunc_impl_list): Likewise.
585 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
587         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
588         file.
589         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
590         multiarch strncasecmp for PPC32.
591         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
592         file.
593         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
594         multiarch strncasecmp_l for PPC32.
595         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
596         strncasecmp multiarch objects.
597         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
598         (__libc_ifunc_impl_list): Likewise.
600 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
602         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
603         file.
604         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
605         multiarch strncasecmp for PPC32.
606         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
607         New file.
608         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
609         multiarch strcasecmp_l for PPC32.
610         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
611         multiarch objects.
612         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
613         (__libc_ifunc_impl_list): Likewise.
615 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
617         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
618         file.
619         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
620         file.
621         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
622         multiarch strncmp for PPC32.
623         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
624         multiarch objects.
625         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
626         (__libc_ifunc_impl_list): Likewise.
628 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
630         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
631         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
632         file.
633         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
634         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
635         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
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/strlen-power7.S: New
643         file.
644         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
645         file.
646         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
647         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
648         multiarch objects.
649         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
650         (__libc_ifunc_impl_list): Likewise.
652 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
654         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
655         file.
656         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
657         file.
658         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
659         multiarch rawmemchr for PPC32.
660         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
661         multiarch objects.
662         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
663         (__libc_ifunc_impl_list): Likewise.
665 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
667         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
668         file.
669         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
670         file.
671         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
672         file: memrchr multiarch for PPC32.
673         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
674         multiarch objects.
675         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
676         (__libc_ifunc_impl_list): Likewise.
678 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
680         * string/memchr.c (__memchr): Using macro to redefine symbol name.
681         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
682         file.
683         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
684         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
685         multiarch memchr for PPC32.
686         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
687         multiarch objects.
688         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
689         (__libc_ifunc_impl_list): Likewise.
691 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
693         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
694         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
695         file.
696         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
697         file.
698         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
699         file: multiarch mempcpy for PPC32.
700         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
701         multiarch objects.
702         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
703         (__libc_ifunc_impl_list): Likewise.
705 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
707         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
708         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
709         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
710         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
711         multiarch bzero for PPC32.
712         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
713         file.
714         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
715         file.
716         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
717         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
718         file: multiarch memset for PPC32.
719         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
720         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
721         memset multiarch objects.
722         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
723         (__libc_ifunc_impl_list): Likewise.
725 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
727         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
728         file.
729         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
730         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
731         memcmp for PPC32.
732         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
733         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
734         multiarch objects.
735         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
736         (__libc_ifunc_impl_list): Likewise.
738 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
740         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
741         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
742         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
743         file.
744         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
745         file.
746         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
747         file.
748         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
749         multiarch memcpy for PPC32.
750         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
751         multiarch objects.
752         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
753         (__libc_ifunc_impl_list): Likewise.
755 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
757         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
758         support multiarch for POWER/PPC32.
759         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
760         Likewise.
761         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
762         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
763         Implies file to make multiarch folder appers before the fpu and
764         default folder for power4 configuration.
766 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
768         * scripts/bench.pl: Append volatile keyword to type.
770 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
772         * sysdeps/sh/sotruss-lib.c: New file.
773         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
775 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
777         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
779 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
781         [BZ #6810]
782         * math/w_tgamma.c: Include <errno.h>.
783         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
784         * math/w_tgammaf.c: Include <errno.h>.
785         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
786         * math/w_tgammal.c: Include <errno.h>.
787         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
788         * math/auto-libm-test-in: Do not allow missing errno on tgamma
789         underflow.  Add more tgamma tests.
790         * math/auto-libm-test-out: Regenerated.
791         * sysdeps/i386/fpu/libm-test-ulps: Update.
792         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
794         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
795         sin, sinh, tan, tanh, tgamma, y0 and y1.
796         * math/auto-libm-test-out: Regenerated.
797         * math/libm-test.inc (TEST_COND_x86_64): New macro.
798         (TEST_COND_x86): Likewise.
799         (M_E2l): Remove macro.
800         (M_E3l): Likewise.
801         (M_2_SQRT_PIl): Likewise.
802         (M_SQRT_PIl): Likewise.
803         (M_1_DIV_El): Likewise.
804         (log_test_data): Use AUTO_TESTS_f_f.
805         (log10_test_data): Likewise.
806         (log1p_test_data): Likewise.
807         (log2_test_data): Likewise.
808         (sin_test_data): Likewise.
809         (sin_tonearest_test_data): Likewise.
810         (sin_towardzero_test_data): Likewise.
811         (sin_downward_test_data): Likewise.
812         (sin_upward_test_data): Likewise.
813         (sinh_test_data): Likewise.
814         (sinh_tonearest_test_data): Likewise.
815         (sinh_towardzero_test_data): Likewise.
816         (sinh_downward_test_data): Likewise.
817         (sinh_upward_test_data): Likewise.
818         (tan_test_data): Likewise.
819         (tan_tonearest_test_data): Likewise.
820         (tan_towardzero_test_data): Likewise.
821         (tan_downward_test_data): Likewise.
822         (tan_upward_test_data): Likewise.
823         (tanh_test_data): Likewise.
824         (tgamma_test_data): Likewise.
825         (y0_test_data): Likewise.
826         (y1_test_data): Likewise.
827         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
828         (special_real_inputs): Add pi/4.
829         * sysdeps/i386/fpu/libm-test-ulps: Update.
830         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
832 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
834         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
835         "longjmp_target" static probes.
836         (__longjmp): Rename to __longjmp_symbol.
837         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
838         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
839         on which longjmp to generate.
840         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
841         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
842         probe.
843         (__sigsetjmp): Rename to __sigsetjmp_symbol.
844         (__sigjmp_save): Rename to __sigjmp_save_symbol.
845         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
846         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
847         and __sigjmp_save_symbol based on which sigsetjmp to generated.
848         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise
849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
850         __longjmp_symbol based on which __longjmp to generate.
851         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
852         probe.
853         (setjmp): Rename to setjmp_symbol.
854         (__sigsetjmp): Rename to __sigsetjmp_symbol.
855         (_setjmp): Rename to _setjmp_symbol.
856         (__sigsetjmp): Rename to __sigsetjmp_symbol.
857         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
858         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
859         which setjmp to generate.
860         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
861         "longjmp_target" static probes.
863 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
865         * benchtests/README: Add note about output arguments.
866         * benchtests/bench-sincos.c: Remove file.
867         * benchtests/sincos-inputs: New file.
868         * scripts/bench.pl: Identify output arguments and define
869         static variables for them.
871         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
873         [BZ #15941]
874         * Makefile (INSTALL): Add install-plain.texi as the primary
875         dependency.
876         * manual/install-plain.texi: New file.
877         * manual/install.texi: Include node directive only for
878         non-plaintext output.
880 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
882         * stdlib/longlong.h: Update from GCC.
884         [BZ #6807]
885         [BZ #15901]
886         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
887         * math/w_j0f.c (y0f): Likewise.
888         * math/w_j0l.c (__y0l): Likewise.
889         * math/w_j1.c (y1): Likewise.
890         * math/w_j1f.c (y1f): Likewise.
891         * math/w_j1l.c (__y1l): Likewise
892         * math/w_jn.c (yn): Likewise.
893         * math/w_jnf.c (ynf): Likewise.
894         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
895         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
896         value for Bessel function domain errors outside _SVID_ mode.
897         Adjust sign of return value for yn (negative integer, 0).
898         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
899         by zero in return for negative x and set sign appropriately for
900         negative n.
901         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
902         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
903         * math/libm-test.inc (y0_test_data): Add more tests and adjust
904         expectations in error cases.
905         (y1_test_data): Likewise.
906         (yn_test_data): Likewise.
907         * sysdeps/i386/fpu/libm-test-ulps: Update.
908         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
910 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
912         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
913         "64" to "64-v1".  Add "64-v2".
914         (abi-64-options): Rename to ...
915         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
916         (abi-64-condition): Rename to ...
917         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
918         (abi-64-ld-soname): Rename to ...
919         (abi-64-v1-ld-soname): ... this.
920         (abi-64-v2-options): Define.
921         (abi-64-v2-condition): Likewise.
922         (abi-64-v2-ld-soname): Likewise.
923         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
924         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
925         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
926         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
927         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
929 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
930             Alan Modra  <amodra@gmail.com>
932         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
933         New versions for use with the ELFv2 ABI.
934         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
935         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
936         declaration.
937         (struct La_ppc64v2_retval): Likewise.
938         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
939         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
940         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
941         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
942         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
943         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
944         Do not save or restore CR.
945         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
946         (_dl_profile_resolve): Do no save or restore CR.  Support extended
947         return values for ELFv2 ABI.  Fix location of FPR return registers.
948         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
949         updated values for _CALL_ELF == 2.
950         (La_regs, La_retval, int_retval): Likewise.
952 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
954         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
955         (FRAME_MIN_SIZE_PARM): Likewise.
956         (FRAME_BACKCHAIN): Likewise.
957         (FRAME_CR_SAVE): Likewise.
958         (FRAME_LR_SAVE): Likewise.
959         (FRAME_TOC_SAVE): Likewise.
960         (FRAME_PARM_SAVE): Likewise.
961         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
962         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
963         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
964         (call_mcount_parm_offset): New macro.
965         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
966         (PROF): Use symbolic stack frame offsets.
967         (TAIL_CALL_SYSCALL_ERROR): Likewise.
968         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
969         Redefine in terms of FRAME_MIN_SIZE.
970         (_dl_runtime_resolve): Use symbolic stack frame offsets.
971         (_dl_profile_resolve): Likewise.  Update comment.
972         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
973         symbols stack frame offsets.
974         (__sigsetjmp): Likewise.
975         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
976         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
977         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
978         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
980         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
981         (FRAME_BACKCHAIN): Remove.
982         (FRAME_CR_SAVE): Likewise.
983         (FRAME_LR_SAVE): Likewise.
984         (FRAME_COMPILER_DW): Likewise.
985         (FRAME_LINKER_DW): Likewise.
986         (FRAME_TOC_SAVE): Likewise.
987         (FRAME_PARM_SAVE): Likewise.
988         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
989         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
990         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
991         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
992         (CHECK_SP): Use symbolic stack frame offsets.
993         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
994         zone" instead of caller's parameter save area for temp storage.
995         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
996         Likewise.  Also, use symbolic stack frame offsets.
997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
998         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
999         our own stack frame instead of the caller's.
1000         (__socket): Use symbolic stack frame offsets.
1002 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1003             Alan Modra  <amodra@gmail.com>
1005         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
1006         Define.
1007         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK,
1008         PPC64_LOCAL_ENTRY_OFFSET): Define.
1009         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
1010         New function.
1011         (elf_machine_fixup_plt): Call it.
1012         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
1013         reloc arguments.
1014         (elf_machine_rela): Update call to elf_machine_plt_conflict.
1015         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1016         _dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
1017         r2 before calling target.
1019 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1020             Alan Modra  <amodra@gmail.com>
1022         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
1023         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
1024         versions of macros to support ELFv2 ABI.
1025         (LOCALENTRY): New macro.
1026         (ENTRY, EALIGN): Use it.
1027         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
1028         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
1029         fall through into ENTRY entry point.
1030         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
1031         Only define if _CALL_ELF != 2.
1033         (elf_machine_matches_host): Verify ABI version matches.
1034         (RTLD_START): Use LOCALENTRY.
1035         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
1036         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
1037         (PLT_ENTRY_WORDS): New macro.
1038         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
1039         (elf_machine_runtime_setup): Support ELFv2 ABI.
1040         (elf_machine_fixup_plt): Likewise.
1041         (elf_machine_plt_conflict): Likewise.
1042         (resolve_ifunc): Likewise.
1043         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
1044         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
1045         Likewise.
1046         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
1047         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
1048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1049         (makecontext): Support ELFv2 ABI.
1050         * elf/elf.h (EF_PPC64_ABI): Define.
1052 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1054         * sysdeps/powerpc/powerpc64/sysdep.h [ASSEMBLER] (PPC64_LOAD_FUNCPTR):
1055         New assembler macro.
1056         [ASSEMBLER] (ENTRY_1): Do not switch to .text section here ...
1057         [ASSEMBLER] (ENTRY): ... but instead here ...
1058         [ASSEMBLER] (EALIGN): ... and here.
1059         [!ASSEMBLER] (PPC64_LOAD_FUNCPTR): New macro.
1060         [!ASSEMBLER] (ENTRY_1): New macro; set up .opd entry.
1061         [!ASSEMBLER] (ENTRY_2): Use it.
1062         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
1063         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
1064         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve,
1065         _dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
1066         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
1067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
1068         Use PPC64_LOAD_FUNCPTR.
1070 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1072         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
1074 2013-12-04  Alan Modra  <amodra@gmail.com>
1076         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
1077         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
1078         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
1079         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
1081         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
1082         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
1083         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
1084         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
1085         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
1086         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
1088 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
1090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
1091         (__makecontext): Fix incorrect CFI when backtracing out of
1092         context created via makecontext.
1093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
1094         (__setcontext): Fix incorrect CFI during switch to new context.
1095         (__novec_setcontext): Likewise.
1097 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
1099         [BZ #4772]
1100         * time/strptime_l.c (__strptime_internal): Allow modifiers
1101         in strptime.
1102         * time/tst-strptime.c (day_tests): Add testcase.
1105 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
1107         * scripts/bench.pl: Skip over blank lines.
1109 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
1111         [BZ #926]
1112         * manual/time.texi (Calendar Time): Clarify what timezone functions
1113         use.
1115 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1117         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1119 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
1121         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
1122         implementation.
1123         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
1124         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
1125         * debug/memset_chk.c (__memset_chk): Likewise.
1126         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
1127         * debug/strncpy_chk.c: Likewise.
1129 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
1131         [BZ #15268]
1132         [BZ #15425]
1133         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
1134         (__ieee754_exp): For possibly underflowing results, check size of
1135         result and force underflow exception if required.
1136         * math/auto-libm-test-in: Add more tests of exp.
1137         * math/auto-libm-test-out: Regenerated.
1138         * sysdeps/i386/fpu/libm-test-ulps: Update.
1139         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1141         [BZ #16283]
1142         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
1143         * math/w_exp2f.c (__exp2f): Likewise.
1144         * math/w_exp2l.c (__exp2l): Likewise.
1145         * math/auto-libm-test-in: Do not allow missing errno on exp2
1146         underflow.
1147         * math/auto-libm-test-out: Regenerated.
1149 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
1151         [BZ #16274]
1152         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
1153         handle filename validation.
1154         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
1155         (do_open): Delete.
1157 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
1159         [BZ #6786]
1160         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
1161         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
1162         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
1163         <float.h>.
1164         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
1165         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
1166         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1167         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
1168         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1169         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
1170         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
1171         * math/auto-libm-test-in: Don't allow missing errno from erfc.
1172         Add more erfc tests.
1173         * math/auto-libm-test-out: Regenerated.
1174         * sysdeps/i386/fpu/libm-test-ulps: Update.
1175         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1177         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
1178         exp2, expm1, j0 and j1.
1179         * math/auto-libm-test-out: Regenerated.
1180         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
1181         (erfc_test_data): Likewise.
1182         (exp_test_data): Likewise.
1183         (exp_tonearest_test_data): Likewise.
1184         (exp_towardzero_test_data): Likewise.
1185         (exp_downward_test_data): Likewise.
1186         (exp_upward_test_data): Likewise.
1187         (exp10_test_data): Likewise.
1188         (exp2_test_data): Likewise.
1189         (expm1_test_data): Likewise.
1190         (j0_test_data): Likewise.
1191         (j1_test_data): Likewise.
1192         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
1193         (input_flag_type): Add flag_xfail_rounding.
1194         (input_flags): Add xfail-rounding.
1195         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
1196         (output_for_one_input_case): Handle flag_xfail_rounding.
1197         * sysdeps/i386/fpu/libm-test-ulps: Update.
1198         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1200 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
1202         [BZ #16289]
1203         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
1204         division by 0.
1206 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
1208         [BZ #16195]
1209         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
1210         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
1211         (STAP_PROBE0): New macro.
1212         (STAP_PROBE1): Likewise.
1213         (STAP_PROBE2): Likewise.
1214         (STAP_PROBE3): Likewise.
1215         (STAP_PROBE4): Likewise.
1217 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
1219         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
1221 2013-12-02  Steve Ellcey  <sellcey@mips.com>
1223         * benchtests/Makefile (bench): Add sqrt.
1224         (LDLIBS-bench-sqrt): New.
1225         * benchtests/sqrt-input: New.
1227 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
1229         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
1230         (GAIH_EAI): Likewise.
1231         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
1232         (gaih_inet): Likewise.
1233         (getaddrinfo): Don't use GAIH_EAI.
1235         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
1236         (struct gaih): Remove definition.
1238 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
1240         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
1241         Use HERRNOP directly.
1243 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1245         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
1247 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
1249         * math/gen-auto-libm-tests.c (test_functions): Add more
1250         single-argument functions.
1251         (special_fill_pi_2): New function.
1252         (special_fill_minus_pi_2): Likewise.
1253         (special_fill_pi_6): Likewise.
1254         (special_fill_minus_pi_6): Likewise.
1255         (special_fill_pi_3): Likewise.
1256         (special_fill_2pi_3): Likewise.
1257         (special_fill_e): Likewise.
1258         (special_fill_1_e): Likewise.
1259         (special_fill_e_minus_1): Likewise.
1260         (special_real_inputs): Add more special inputs.
1261         (output_for_one_input_case): Do not require ERANGE on underflow to
1262         zero if round-to-nearest result does not underflow to zero, unless
1263         exact results required.
1264         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
1265         atan, atanh, cbrt, cos and cosh.
1266         * math/auto-libm-test-out: Regenerated.
1267         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
1268         (acos_tonearest_test_data): Likewise.
1269         (acos_towardzero_test_data): Likewise.
1270         (acos_downward_test_data): Likewise.
1271         (acos_upward_test_data): Likewise.
1272         (acosh_test_data): Likewise.
1273         (asin_test_data): Likewise.
1274         (asin_tonearest_test_data): Likewise.
1275         (asin_towardzero_test_data): Likewise.
1276         (asin_upward_test_data): Likewise.
1277         (asinh_test_data): Likewise.
1278         (atan_test_data): Likewise.
1279         (atanh_test_data): Likewise.
1280         (cbrt_test_data): Likewise.
1281         (cos_test_data): Likewise.
1282         (cos_tonearest_test_data): Likewise.
1283         (cos_towardzero_test_data): Likewise.
1284         (cos_downward_test_data): Likewise.
1285         (cos_upward_test_data): Likewise.
1286         (cosh_test_data): Likewise.
1287         (cosh_tonearest_test_data): Likewise.
1288         (cosh_towardzero_test_data): Likewise.
1289         (cosh_downward_test_data): Likewise.
1290         (cosh_upward_test_data): Likewise.
1291         * sysdeps/i386/fpu/libm-test-ulps: Update.
1292         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
1294 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
1296         [BZ #6787]
1297         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
1298         * math/w_exp10f.c (__exp10f): Likewise.
1299         * math/w_exp10l.c (__exp10l): Likewise.
1300         * math/libm-test.inc (exp10_test_data): Add more tests and expect
1301         errno settings in existing tests.
1303         [BZ #14032]
1304         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
1305         precision control set to double precision.
1306         * sysdeps/i386/fpu/w_sqrt.c: New file.
1307         * math/auto-libm-test-in: Add more tests.
1308         * math/auto-libm-test-out: Update.
1310         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
1311         (sqrt_test_tonearest): New function.
1312         (sqrt_towardzero_test_data): New variable.
1313         (sqrt_test_towardzero): New function.
1314         (sqrt_downward_test_data): New variable.
1315         (sqrt_test_downward): New function.
1316         (sqrt_upward_test_data): New variable.
1317         (sqrt_test_upward): New function.
1318         (main): Call the new functions.
1320         * math/gen-auto-libm-tests.c: New file.
1321         * math/auto-libm-test-in: Likewise.
1322         * math/auto-libm-test-out: New generated file.
1323         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
1324         variables.
1325         (%beautify): Add generated representations of zero.
1326         (top level): Set $auto_input and call parse_auto_input.
1327         (beautify): Remove trailing "f" from hex float constants.
1328         (parse_args): Handle XFAIL_TEST.
1329         (convert_condition): New function.
1330         (or_value): Likewise.
1331         (or_cond_value): Likewise.
1332         (generate_testfile): Handle AUTO_TESTS_* lines.
1333         (parse_auto_input): New function.
1334         * math/libm-test.inc (XFAIL_TEST): New macro.
1335         (ERRNO_UNCHANGED): Update value.
1336         (ERRNO_EDOM): Likewise.
1337         (ERRNO_ERANGE): Likewise.
1338         (IGNORE_RESULT): Likewise.
1339         (TEST_COND_flt_32): New macro.
1340         (TEST_COND_dbl_64): Likewise.
1341         (TEST_COND_ldbl_96_intel): Likewise.
1342         (TEST_COND_ldbl_96_m68k): Likewise.
1343         (TEST_COND_ldbl_128): Likewise.
1344         (TEST_COND_ldbl_128ibm): Likewise.
1345         (TEST_COND_long32): Likewise.
1346         (TEST_COND_long64): Likewise.
1347         (TEST_COND_before_rounding): Likewise.
1348         (TEST_COND_after_rounding): Likewise.
1349         (enable_test): Handle XFAIL_TEST flag.
1350         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
1351         with finite results.
1352         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
1353         auto-libm-test-out.
1355 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
1356             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1358         [BZ #16214]
1359         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
1360         __tls_get_addr_internal instead of __tls_get_offset in order to
1361         avoid GOT pointer dependency.  Make rtld export
1362         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
1363         __tls_get_addr since we are a __tls_get_offset platform.
1364         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
1365         GOT pointer being set up before.
1366         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
1368 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
1370         * manual/math.texi (Errors in Math Functions): Document accuracy
1371         goals.
1373         [BZ #15004]
1374         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
1375         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
1376         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
1377         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
1378         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
1379         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
1380         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
1381         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
1382         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
1383         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
1384         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
1385         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
1386         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
1387         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
1388         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
1389         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
1391         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
1392         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
1393         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
1394         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
1395         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
1396         Likewise.
1397         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
1398         Likewise.
1399         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
1400         Likewise.
1401         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
1402         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
1403         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
1404         atomic-feupdateenv and flt-rounds.
1405         * sysdeps/powerpc/nofpu/Versions (libc): Add
1406         __atomic_feholdexcept, __atomic_feclearexcept,
1407         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
1408         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
1409         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
1410         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
1411         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
1412         here.
1413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
1414         Update.
1416         * manual/arith.texi (FP Exceptions): Document that exceptions may
1417         not be raised when matherr is used.
1418         (Math Error Reporting): Document overflow in directed rounding
1419         modes.  Document that errno may not be set when finite values are
1420         returned on overflow.  Document intent to set errno on underflow
1421         only for underflow to zero.
1423         [BZ #16271]
1424         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
1425         round-to-nearest then adjust result for other rounding modes.
1426         * include/fenv.h (fegetround): Use libm_hidden_proto.
1427         * math/fegetround.c (fegetround): Use libm_hidden_def.
1428         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
1429         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
1430         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1431         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
1432         Likewise.
1433         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
1434         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
1435         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
1436         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
1438 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
1440         [BZ #16077]
1441         * nss/Versions (libnss_files): Add
1442         _nss_files_gethostbyname3_r.
1443         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
1444         New function.
1445         (HOST_DB_LOOKUP): Remove macro.
1446         (_nss_files_gethostbyname_r): Implement function without the
1447         HOST_DB_LOOKUP macro.
1448         (_nss_files_gethostbyname2_r): Likewise.
1450 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
1452         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
1454 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
1456         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
1457         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
1458         warning.
1460 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1462         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
1463         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
1464         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
1465         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
1466         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
1467         __fe_nomask_env_priv and attribute_hidden.
1468         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
1469         (libc_feupdateenv_test_ppc): Likewise.
1470         (libc_feresetround_ppc): Likewise.
1471         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1472         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
1473         compat_symbol macro.
1474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1475         (__fe_nomask_env): Likewise.
1476         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
1478 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
1480         * string/Makefile: Remove ifunc tests.
1481         * string/test-string.h: Define TEST_IFUNC.
1482         * string/test-bcopy-ifunc.c: Remove.
1483         * string/test-bzero-ifunc.c: Likewise.
1484         * string/test-memccpy-ifunc.c: Likewise.
1485         * string/test-memchr-ifunc.c: Likewise.
1486         * string/test-memcmp-ifunc.c: Likewise.
1487         * string/test-memcpy-ifunc.c: Likewise.
1488         * string/test-memmem-ifunc.c: Likewise.
1489         * string/test-memmove-ifunc.c: Likewise.
1490         * string/test-mempcpy-ifunc.c: Likewise.
1491         * string/test-memrchr-ifunc.c: Likewise.
1492         * string/test-memset-ifunc.c: Likewise.
1493         * string/test-rawmemchr-ifunc.c: Likewise.
1494         * string/test-stpcpy-ifunc.c: Likewise.
1495         * string/test-stpncpy-ifunc.c: Likewise.
1496         * string/test-strcasecmp-ifunc.c: Likewise.
1497         * string/test-strcasestr-ifunc.c: Likewise.
1498         * string/test-strcat-ifunc.c: Likewise.
1499         * string/test-strchr-ifunc.c: Likewise.
1500         * string/test-strchrnul-ifunc.c: Likewise.
1501         * string/test-strcmp-ifunc.c: Likewise.
1502         * string/test-strcpy-ifunc.c: Likewise.
1503         * string/test-strcspn-ifunc.c: Likewise.
1504         * string/test-strlen-ifunc.c: Likewise.
1505         * string/test-strncasecmp-ifunc.c: Likewise.
1506         * string/test-strncat-ifunc.c: Likewise.
1507         * string/test-strncmp-ifunc.c: Likewise.
1508         * string/test-strncpy-ifunc.c: Likewise.
1509         * string/test-strnlen-ifunc.c: Likewise.
1510         * string/test-strpbrk-ifunc.c: Likewise.
1511         * string/test-strrchr-ifunc.c: Likewise.
1512         * string/test-strspn-ifunc.c: Likewise.
1513         * string/test-strstr-ifunc.c: Likewise.
1515 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
1517         * benchtests/Makefile: Remove ifunc tests.
1518         * benchtests/bench-string.h: Define TEST_IFUNC.
1519         * benchtests/bench-bcopy-ifunc.c: Remove.
1520         * benchtests/bench-bzero-ifunc.c: Likewise.
1521         * benchtests/bench-memccpy-ifunc.c: Likewise.
1522         * benchtests/bench-memchr-ifunc.c: Likewise.
1523         * benchtests/bench-memcmp-ifunc.c: Likewise.
1524         * benchtests/bench-memcpy-ifunc.c: Likewise.
1525         * benchtests/bench-memmem-ifunc.c: Likewise.
1526         * benchtests/bench-memmove-ifunc.c: Likewise.
1527         * benchtests/bench-mempcpy-ifunc.c: Likewise.
1528         * benchtests/bench-memrchr-ifunc.c: Likewise.
1529         * benchtests/bench-memset-ifunc.c: Likewise.
1530         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
1531         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
1532         * benchtests/bench-stpcpy-ifunc.c: Likewise.
1533         * benchtests/bench-stpncpy-ifunc.c: Likewise.
1534         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
1535         * benchtests/bench-strcasestr-ifunc.c: Likewise.
1536         * benchtests/bench-strcat-ifunc.c: Likewise.
1537         * benchtests/bench-strchr-ifunc.c: Likewise.
1538         * benchtests/bench-strchrnul-ifunc.c: Likewise.
1539         * benchtests/bench-strcmp-ifunc.c: Likewise.
1540         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
1541         * benchtests/bench-strcpy-ifunc.c: Likewise.
1542         * benchtests/bench-strcspn-ifunc.c: Likewise.
1543         * benchtests/bench-strlen-ifunc.c: Likewise.
1544         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
1545         * benchtests/bench-strncat-ifunc.c: Likewise.
1546         * benchtests/bench-strncmp-ifunc.c: Likewise.
1547         * benchtests/bench-strncpy-ifunc.c: Likewise.
1548         * benchtests/bench-strnlen-ifunc.c: Likewise.
1549         * benchtests/bench-strpbrk-ifunc.c: Likewise.
1550         * benchtests/bench-strrchr-ifunc.c: Likewise.
1551         * benchtests/bench-strsep-ifunc.c: Likewise.
1552         * benchtests/bench-strspn-ifunc.c: Likewise.
1553         * benchtests/bench-strstr-ifunc.c: Likewise.
1555 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
1557         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
1559 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
1561         * resolv/netdb.h: Use __glibc_reserved instead __unused.
1562         * rt/aio.h: Likewise.
1563         * sysdeps/gnu/bits/utmp.h: Likewise.
1564         * sysdeps/gnu/bits/utmpx.h: Likewise.
1565         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
1566         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
1567         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
1568         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
1569         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
1570         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
1571         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
1572         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
1573         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
1574         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
1575         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
1576         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
1577         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
1578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
1579         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1580         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
1581         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
1582         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
1583         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
1584         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
1585         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
1586         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
1587         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
1588         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
1589         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
1590         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
1591         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
1592         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
1593         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
1594         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
1595         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
1596         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
1597         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
1598         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
1599         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
1600         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
1601         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
1602         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
1603         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
1604         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
1605         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
1606         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
1608 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
1610         [BZ #16245]
1611         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
1612         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
1614 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
1616         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
1617         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
1618         Likewise.
1620 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1622         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
1623         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
1624         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
1625         (__fesetround): Remove define.
1626         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
1627         rounding and exceptions handling.
1628         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
1629         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
1630         (__fe_nomask_env): Likewise.
1631         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
1632         __fegetround instead of fegetround.
1633         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
1634         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
1636 2013-11-21  Roland McGrath  <roland@hack.frob.com>
1638         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
1639         it's there.
1641         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
1643 2013-11-21  Meador Inge  <meadori@codesourcery.com>
1645         [BZ #11157]
1646         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
1647         (encrypt_r): Likewise.
1648         * malloc/obstack.h (obstack_free): Likewise.
1649         * posix/unistd.h (encrypt): Likewise.
1651 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
1653         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
1654         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
1655         DL_CALL_DT_FINI() that call the functions directly.
1656         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
1657         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
1658         * elf/dl-fini.c: Likewise.
1660 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
1662         * malloc/hooks.c (memalign_check): Add alignment rounding.
1663         * malloc/malloc.c (_mid_memalign): New function.
1664         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
1665         Implement by calling _mid_memalign.
1666         * manual/probes.texi (Memory Allocation Probes): Remove
1667         memory_valloc_retry and memory_pvalloc_retry.
1669 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
1671         * locale/programs/locarchive.c (open_archive): Add const
1672         qualifier to ARCHIVEFNAME and copy default fname to
1673         DEFAULT_FNAME.
1675         [BZ #15601]
1676         * libio/tst-widetext.input: Rename Oriya to Odia.
1677         * locale/iso-639.def: Likewise.
1679         * manual/probes.texi (Mathematical Function Probes): Add
1680         documentation for sin, cos, asin and acos probes.
1681         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
1682         (__sin32): Add slowasin probe.
1683         (__cos32): Add slowacos probe.
1684         (__mpsin): Add slowsin probe.
1685         (__mpcos): Add slowcos probe.
1687 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
1689         [BZ #15483]
1690         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
1691         thread-local __sim_exceptions_thread and global
1692         __sim_exceptions_global.
1693         (__sim_disabled_exceptions): Change to thread-local
1694         __sim_disabled_exceptions_thread and global
1695         __sim_disabled_exceptions_global.
1696         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1697         and global __sim_round_mode_global.
1698         (__simulate_exceptions): Use thread-local floating-point state and
1699         set global state from it as needed.
1700         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
1701         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
1702         __sim_round_mode_thread.
1703         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
1704         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
1705         and global __sim_exceptions_global.
1706         (__sim_disabled_exceptions): Change to thread-local
1707         __sim_disabled_exceptions_thread and global
1708         __sim_disabled_exceptions_global.
1709         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
1710         and global __sim_round_mode_global.
1711         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
1712         (SIM_SET_GLOBAL): Likewise.
1713         * sysdeps/powerpc/soft-fp/sfp-machine.h
1714         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
1715         __sim_round_mode_thread.
1716         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
1717         __sim_disabled_exceptions_thread.
1718         (__sim_exceptions): Change to __sim_exceptions_thread.
1719         (__sim_disabled_exceptions): Change to
1720         __sim_disabled_exceptions_thread.
1721         (__sim_round_mode): Change to __sim_round_mode_thread.
1722         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
1723         thread-local floating-point state and set global state from it as
1724         needed.
1725         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
1726         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
1727         (__sim_disabled_exceptions): Remove extern declaration.
1728         (feenableexcept): Use thread-local floating-point state and set
1729         global state from it as needed.
1730         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
1731         extern declaration.
1732         (__sim_disabled_exceptions): Likewise.
1733         (__sim_round_mode): Likewise.
1734         (__fegetenv): Use thread-local floating-point state.
1735         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
1736         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
1737         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
1738         floating-point state and set global state from it as needed.
1739         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
1740         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
1741         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
1742         Likewise.
1743         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
1744         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
1745         Likewise.
1746         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
1747         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
1748         Use __sim_round_mode_thread.
1749         * math/test-fenv-tls.c: New file.
1750         * math/Makefile (tests): Add test-fenv-tls.
1751         ($(objpfx)test-fenv-tls): Depend on
1752         $(common-objpfx)nptl/libpthread.so.
1754 2013-11-19  Andreas Schwab  <schwab@suse.de>
1756         * locale/programs/locale.c (show_info): Decode wordarray elements.
1757         * locale/categories.def (LC_MONETARY): Add element for
1758         _NL_MONETARY_CRNCYSTR.
1759         * locale/C-monetary.c (conversion_rate): New variable.
1760         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
1761         element.
1763 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
1765         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
1766         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
1768 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
1770         * elf/Makefile (tst-auxv): New test.
1771         * elf/tst-auxv.c: New
1772         * elf/rtld.c (dl_main): Adjust AT_EXECFN
1774 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
1776         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
1777         (hidden_proto): Caller changed.
1778         (hidden_tls_proto): New macro.
1779         (libc_hidden_tls_proto): Likewise.
1780         (rtld_hidden_tls_proto): Likewise.
1781         (libm_hidden_tls_proto): Likewise.
1782         (libresolv_hidden_tls_proto): Likewise.
1783         (librt_hidden_tls_proto): Likewise.
1784         (libdl_hidden_tls_proto): Likewise.
1785         (libnss_files_hidden_tls_proto): Likewise.
1786         (libnsl_hidden_tls_proto): Likewise.
1787         (libnss_nisplus_hidden_tls_proto): Likewise.
1788         (libutil_hidden_tls_proto): Likewise.
1790 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
1792         [BZ #10253]
1793         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
1794         (decompose_rpath): Defer expansion to fillin_rpath.
1795         (_dl_init_paths): Pass linkmap to fillin_rpath.
1797 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1799         * benchtests/Makefile: Add strsep.
1800         * benchtests/bench-strsep.c: New file: strsep benchtest.
1801         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
1803 2013-11-18  Andreas Schwab  <schwab@suse.de>
1805         * locale/programs/locale.c (show_info) [case byte]: Check for
1806         '\377' instead of '\177'.
1807         * locale/C-monetary.c (not_available): Always use "\377".
1808         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
1809         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
1810         detect unavailable sign_posn locale elements.
1811         * locale/localeconv.c (__localeconv): For grouping and
1812         mon_grouping handle "\177" and "\377" like no grouping.
1813         (INT_ELEM): New macro.  Use it to set all numeric members.
1814         * locale/programs/ld-monetary.c (monetary_read)
1815         <tok_mon_grouping>: Normalize single -1 to the empty string.
1816         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
1817         Likewise.
1819 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
1821         [BZ #16055]
1822         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
1823         when we match (nil).
1824         * stdio-common/tst-sscanf.c (struct test): Add testcase.
1826 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
1828         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
1829         (NO_TEST_INLINE): Update value.
1830         (ERRNO_UNCHANGED): Likewise.
1831         (ERRNO_EDOM): Likewise.
1832         (ERRNO_ERANGE): Likewise.
1833         (IGNORE_RESULT): Likewise.
1834         (check_float_internal): Check signs of NaN results if
1835         TEST_NAN_SIGN used.
1836         (check_complex): Pass TEST_NAN_SIGN flag through to second
1837         check_float_internal call.
1838         (copysign_test_data): Add tests with quiet NaNs as second
1839         argument.  Use TEST_NAN_SIGN.
1840         (fabs_test_data): Add test of negative quiet NaN argument.  Use
1841         TEST_NAN_SIGN.
1842         (signbit_test_data): Add tests of quiet NaN argument.
1843         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
1845         * math/gen-libm-test.pl (show_exceptions): Take extra argument
1846         $ignore_result.
1847         (parse_args): Handle function results specified as IGNORE.
1848         * math/libm-test.inc (IGNORE_RESULT): New macro.
1849         (check_float_internal): Do not check numerical result if flag
1850         IGNORE_RESULT set.
1851         (check_complex): Pass through IGNORE_RESULT to second
1852         check_float_internal call.
1853         (check_int): Do not check numerical result if flag IGNORE_RESULT
1854         set.
1855         (check_long): Likewise.
1856         (check_bool): Likewise.
1857         (check_longlong): Likewise.
1858         (lrint_test_data): Add tests of infinite and NaN arguments.
1859         (lrint_tonearest_test_data): Likewise.
1860         (lrint_towardzero_test_data): Likewise.
1861         (lrint_downward_test_data): Likewise.
1862         (lrint_upward_test_data): Likewise.
1863         (llrint_test_data): Likewise.
1864         (llrint_tonearest_test_data): Likewise.
1865         (llrint_towardzero_test_data): Likewise.
1866         (llrint_downward_test_data): Likewise.
1867         (llrint_upward_test_data): Likewise.
1868         (lround_test_data): Likewise.
1869         (llround_test_data): Likewise.
1871         * math/libm-test.inc (NO_TEST_INLINE): New macro.
1872         (ERRNO_UNCHANGED): Update value.
1873         (ERRNO_EDOM): Likewise.
1874         (ERRNO_ERANGE): Likewise.
1875         (NO_TEST_INLINE_FLOAT): New macro.
1876         (NO_TEST_INLINE_DOUBLE): Likewise.
1877         (enable_test): New function.
1878         (RUN_TEST_f_f): Check enable_test before running test.
1879         (RUN_TEST_2_f): Likewise.
1880         (RUN_TEST_fff_f): Likewise.
1881         (RUN_TEST_c_f): Likewise.
1882         (RUN_TEST_f_f1): Likewise.
1883         (RUN_TEST_fF_f1): Likewise.
1884         (RUN_TEST_fI_f1): Likewise.
1885         (RUN_TEST_ffI_f1): Likewise.
1886         (RUN_TEST_c_c): Likewise.
1887         (RUN_TEST_cc_c): Likewise.
1888         (RUN_TEST_f_i): Likewise.
1889         (RUN_TEST_f_i_tg): Likewise.
1890         (RUN_TEST_ff_i_tg): Likewise.
1891         (RUN_TEST_f_b): Likewise.
1892         (RUN_TEST_f_b_tg): Likewise.
1893         (RUN_TEST_f_l): Likewise.
1894         (RUN_TEST_f_L): Likewise.
1895         (RUN_TEST_fFF_11): Likewise.
1896         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
1897         conditionals.
1898         (cosh_test_data): Likewise.
1899         (exp_test_data): Likewise.
1900         (expm1_test_data): Likewise.
1901         (hypot_test_data): Likewise.
1902         (pow_test_data): Likewise.
1903         (sinh_test_data): Likewise.
1904         (tanh_test_data): Likewise.
1905         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
1906         flags argument.
1908         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
1909         tests with quiet NaN input and output.
1910         (acosh_test_data): Likewise.
1911         (asin_test_data): Likewise.
1912         (asinh_test_data): Likewise.
1913         (atan_test_data): Likewise.
1914         (atanh_test_data): Likewise.
1915         (atan2_test_data): Likewise.
1916         (cbrt_test_data): Likewise.
1917         (cos_test_data): Likewise.
1918         (cosh_test_data): Likewise.
1919         (erf_test_data): Likewise.
1920         (erfc_test_data): Likewise.
1921         (exp_test_data): Likewise.
1922         (exp10_test_data): Likewise.
1923         (exp2_test_data): Likewise.
1924         (expm1_test_data): Likewise.
1925         (hypot_test_data): Likewise.
1926         (j0_test_data): Likewise.
1927         (j1_test_data): Likewise.
1928         (jn_test_data): Likewise.
1929         (lgamma_test_data): Likewise.
1930         (log_test_data): Likewise.
1931         (log10_test_data): Likewise.
1932         (log1p_test_data): Likewise.
1933         (log2_test_data): Likewise.
1934         (pow_test_data): Likewise.
1935         (scalb_test_data): Likewise.
1936         (sin_test_data): Likewise.
1937         (sincos_test_data): Likewise.
1938         (sinh_test_data): Likewise.
1939         (tan_test_data): Likewise.
1940         (tanh_test_data): Likewise.
1941         (tgamma_test_data): Likewise.
1942         (y0_test_data): Likewise.
1943         (y1_test_data): Likewise.
1944         (yn_test_data): Likewise.
1946         [BZ #16167]
1947         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
1948         argument being NaN and avoid computations with second argument in
1949         that case.
1950         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
1951         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
1952         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
1954 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
1956         * locale/iso-639.def: Add Chitwani Tharu (the).
1958 2013-11-14  Andreas Schwab  <schwab@suse.de>
1960         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
1961         word instead of empty string.
1963 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1965         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1966         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
1967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
1968         (__fe_nomask_env): Likewise.
1970 2013-11-13  Steve Ellcey  <sellcey@mips.com>
1972         * benchtests/bench-timing.h: Include time.h.
1974 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
1976         [BZ #15997]
1977         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
1978         to 3.4.0 for x32.
1979         * sysdeps/unix/sysv/linux/configure: Regenerated.
1981 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
1983         [BZ #16151]
1984         * stdlib/strtod_l.c (round_and_return): Do not consider
1985         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
1986         exponent one less than half the least subnormal exponent.
1987         * stdlib/test-strtod-round-data: Add more tests.
1988         * stdlib/tst-strtod-round.c (tests): Regenerated.
1990 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
1992         [BZ #14143]
1993         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
1994         (__fe_mask_env): Likewise.
1995         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
1996         libm_hidden_proto and add function prototype.
1997         (__fe_mask_env): Add function prototype.
1998         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
1999         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
2000         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
2001         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
2002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
2003         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
2005 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2007         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
2008         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
2010 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
2012         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
2013         of htab_find_slot().
2015 2013-11-11  David S. Miller  <davem@davemloft.net>
2017         [BZ #16150]
2018         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
2019         symbol in the non-vis3 case in static builds.
2020         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
2021         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
2022         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
2023         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
2025 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
2027         [BZ #387]
2028         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
2029         it is empty.
2031 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2033         * benchtests/Makefile: Add bench-strtod.
2034         * benchtests/bench-strtod.c: New file: strtod benchtest
2036 2013-11-11  Andreas Schwab  <schwab@suse.de>
2038         [BZ #16153]
2039         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
2040         terminating NUL in key length.
2042 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2044         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
2045         Add artificial ODP entry for vDSO symbol for PPC64.
2046         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
2047         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
2049 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
2051         [BZ #15374]
2052         * nss/getent.c (services_keys): Recognize services starting with digit.
2054 2013-11-06  David S. Miller  <davem@davemloft.net>
2056         [BZ #15985]
2057         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
2058         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
2060 2013-11-06  Will Newton  <will.newton@linaro.org>
2062         * manual/memory.texi (Malloc Examples): Remove register
2063         keyword from examples.
2065 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
2067         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
2069 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
2071         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
2072         depending on [__GCC_IEC_559 > 0].
2073         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
2074         depending on [__GCC_IEC_559_COMPLEX > 0].
2076 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
2078         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
2079         to iso-639.def.
2081 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
2083         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
2085 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
2087         [BZ #16112]
2088         * malloc/malloc (malloc_info): Do not handle first bin as
2089         special case.
2091 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
2093         * locale/iso-639.def: Add Central Nahuatl (nhn).
2095 2013-11-01  Bruno Haible  <bruno@clisp.org>
2097         [BZ #7003]
2098         * manual/math.texi (BSD Random): Specify range upper bound as
2099         in POSIX.
2101 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
2103         * locale/iso-639.def: Add Meadow Mari (mhr).
2105 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
2107         [BZ #14752], [BZ #15763]
2108         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
2109         Validate name.
2110         * rt/tst_shm.c: Add test for escaping directory.
2112 2013-10-31  Andreas Schwab  <schwab@suse.de>
2114         [BZ #15917]
2115         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
2116         followed by 'x' as part of digit sequence.
2117         * stdio-common/tst-sscanf.c (double_tests2): New tests.
2119 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
2121         [BZ #16037]
2122         * configure.ac: allow GNU Make 4.0 and greater.
2123         * configure: Regenerated.
2125 2013-10-30  Will Newton  <will.newton@linaro.org>
2127         [BZ #16038]
2128         * malloc/hooks.c (memalign_check): Limit alignment to the
2129         maximum representable power of two.
2130         * malloc/malloc.c (__libc_memalign): Likewise.
2131         * malloc/tst-memalign.c (do_test): Add test for very
2132         large alignment values.
2133         * malloc/tst-posix_memalign.c (do_test): Likewise.
2135 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
2137         [BZ #11087]
2138         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
2139         (munmap_chunk): Likewise.
2140         (mremap_chunk): Likewise.
2142 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
2144         [BZ #15799]
2145         * stdlib/div.c (div): Remove obsolete code.
2146         * stdlib/ldiv.c (ldiv): Likewise.
2147         * stdlib/lldiv.c (lldiv): Likewise.
2149 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
2151         [BZ #16071]
2152         * nss/nss_files/files-XXX.c (get_contents_ret): New
2153         enumerator.
2154         (get_contents): New function.
2155         (internal_getent): Use it.  Expand size of LINEBUFLEN.
2157 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
2159         * configure.in: Moved to ...
2160         * configure.ac: ... here. Change reference to configure.in
2161         to configure.ac.
2162         * sysdeps/arm/preconfigure.ac: ... here.
2163         configure.in to configure.ac.
2164         * sysdeps/gnu/configure.in: Moved to ...
2165         * sysdeps/gnu/configure.ac: ... here.
2166         * sysdeps/i386/configure.in: Moved to ...
2167         * sysdeps/i386/configure.ac: ... here.
2168         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
2169         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
2170         * sysdeps/mach/configure.in: Moved to ...
2171         * sysdeps/mach/configure.ac: ... here.
2172         * sysdeps/mach/hurd/configure.in: Moved to ...
2173         * sysdeps/mach/hurd/configure.ac: ... here.
2174         * sysdeps/powerpc/configure.in: Moved to ...
2175         * sysdeps/powerpc/configure.ac: ... here.
2176         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
2177         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
2178         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
2179         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
2180         * sysdeps/s390/s390-32/configure.in: Moved to ...
2181         * sysdeps/s390/s390-32/configure.ac: ... here.
2182         * sysdeps/s390/s390-64/configure.in: Moved to ...
2183         * sysdeps/s390/s390-64/configure.ac: ... here.
2184         * sysdeps/sh/configure.in: Moved to ...
2185         * sysdeps/sh/configure.ac: ... here.
2186         * sysdeps/sparc/configure.in: Moved to ...
2187         * sysdeps/sparc/configure.ac: ... here.
2188         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
2189         * sysdeps/unix/sysv/linux/configure.ac: ... here.
2190         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
2191         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
2192         * sysdeps/x86_64/configure.in: Moved to ...
2193         * sysdeps/x86_64/configure.ac: ... here.
2194         * sysdeps/x86_64/preconfigure.in: Moved to ...
2195         * sysdeps/x86_64/preconfigure.ac: ... here.
2196         * aclocal.m4: Change reference to configure.in to configure.ac.
2197         * config.h.in: Likewise.
2198         * manual/install.texi: Likewise.
2199         * manual/maint.texi: Likewise.
2200         * Makefile: Likewise.
2201         * malloc/Makefile: Likewise.
2202         * nscd/Makefile: Likewise.
2203         * Makeconfig: Change reference to configure.in and
2204         preconfigure.in to configure.ac and preconfigure.ac
2205         respectively.
2206         * INSTALL: Regenerated.
2207         * configure: Likewise.
2208         * sysdeps/gnu/configure: Likewise.
2209         * sysdeps/i386/configure: Likewise.
2210         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
2211         * sysdeps/mach/configure: Likewise.
2212         * sysdeps/mach/hurd/configure: Likewise.
2213         * sysdeps/powerpc/configure: Likewise.
2214         * sysdeps/powerpc/powerpc32/configure: Likewise.
2215         * sysdeps/powerpc/powerpc64/configure: Likewise.
2216         * sysdeps/s390/s390-32/configure: Likewise.
2217         * sysdeps/s390/s390-64/configure: Likewise.
2218         * sysdeps/sh/configure: Likewise.
2219         * sysdeps/sparc/configure: Likewise.
2220         * sysdeps/unix/sysv/linux/configure: Likewise.
2221         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
2222         * sysdeps/x86_64/configure: Likewise.
2223         * sysdeps/x86_64/preconfigure: Likewise.
2225 2013-10-29  Andreas Schwab  <schwab@suse.de>
2227         * stdio-common/Makefile (tst-swscanf-ENV): Define.
2229 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
2231         * benchtests/pow-inputs: Add new inputs.
2233         * benchtests/exp-inputs: Add new inputs.
2235         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
2236         conditional check for return value.
2237         (__cos32): Likewise.
2239 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
2241         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
2242         to provide a boost for large inputs with word alignment.
2243         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
2244         implementation based on optimized PPC64 strcpy.
2245         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
2246         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
2247         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
2248         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
2250 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
2252         [BZ #2801]
2253         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
2255 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
2257         [BZ #14876]
2258         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
2259         * time/tst-strptime.c (day_tests): Add testcase.
2261 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
2263         [BZ #14029]
2264         * manual/pattern.texi: Acknowledge that fnmatch can fail.
2266 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
2268         [BZ #16074]
2269         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
2270         MAP_FAILED on error.
2272 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
2274         [BZ #16072]
2275         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
2276         heap for large requests.
2278 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
2280         [BZ #9954]
2281         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
2282         result if the result has no associated interface.
2283         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
2284         interface for all 127.X.Y.Z addresses.
2286 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
2288         * locale/iso-639.def: Add Ligurian (lij)
2290 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
2292         [BZ #15825]
2293         * sunrpc/rpc_main.c: Document rpcgen -5.
2295 2013-10-19  Michael Stahl  <mstahl@redhat.com>
2297         * elf/rtld.c (do_preload): Print the reason why preloading failed.
2299 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
2301         [BZ #10278]
2302         * posix/glob.c: Match only directories when trailing slash is present.
2303         * posix/tst-gnuglob.c (my_opendir): Do not open files.
2304         (main): Add testcase.
2306 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
2308         [BZ #15670]
2309         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
2311 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
2313         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
2314         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
2315         AUTH_DES and cindex for FIPS 140-2.
2316         (DES Encryption): Add cindex FIPS 46-3.
2318         * locale/locarchive.h (struct locarhandle): Add fname.
2319         * locale/programs/localedef.c (main): Pass ARGV[remaining]
2320         if an optional argument was specified to --list-archive,
2321         otherwise NULL.
2322         * locale/programs/locarchive.c (show_archive_content): Take new
2323         argument fname and pass it via ah.fname to open_archive.
2324         * locale/programs/localedef.h: Update decl.
2325         (open_archive): If AH->fname is non-null, open that file
2326         rather than the default file name, and don't ignore ENOENT.
2327         (create_archive): Set AH.fname to NULL.
2328         (delete_locales_from_archive): Likewise.
2329         (add_locales_to_archive): Likewise.
2330         * locale/programs/locfile.c (write_all_categories): Likewise.
2332 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
2333             Aldy Hernandez  <aldyh@redhat.com>
2335         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
2336         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
2337         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
2338         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
2339         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
2340         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
2341         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
2342         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
2343         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
2344         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
2345         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
2346         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
2347         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
2348         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
2349         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
2350         Likewise.
2351         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
2352         Likewise.
2353         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
2354         Likewise.
2355         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
2356         Likewise.
2357         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
2358         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
2359         Likewise.
2360         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
2361         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
2362         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
2363         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
2364         Likewise.
2365         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
2366         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
2367         * sysdeps/powerpc/preconfigure: Likewise.
2368         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
2369         Likewise.
2370         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
2371         Replace contents of file by #include of <fenv_libc.h>.
2372         * sysdeps/powerpc/soft-fp/sfp-machine.h
2373         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
2374         and <sys/prctl.h>.
2375         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
2376         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
2377         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
2378         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
2379         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
2380         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
2381         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
2382         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
2383         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
2384         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
2385         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
2386         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
2387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
2388         Allow copysignl PLT reference to be missing.
2390 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
2391             Joseph Myers  <joseph@codesourcery.com
2393         [BZ #15948]
2394         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
2395         single character.
2396         (add_to_tablewc): Assert sequence of wide characters is nonempty.
2398 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
2400         * elf/tst-tls-dlinfo.c: Don't include tls.h.
2401         * elf/tst-tls1.c: Likewise.
2402         * elf/tst-tls10.h: Likewise.
2403         * elf/tst-tls14.c: Likewise.
2404         * elf/tst-tls2.c: Likewise.
2405         * elf/tst-tls3.c: Likewise.
2406         * elf/tst-tls4.c: Likewise.
2407         * elf/tst-tls5.c: Likewise.
2408         * elf/tst-tls6.c: Likewise.
2409         * elf/tst-tls7.c: Likewise.
2410         * elf/tst-tls8.c: Likewise.
2411         * elf/tst-tls9.c: Likewise.
2412         * elf/tst-tlsmod1.c: Likewise.
2413         * elf/tst-tlsmod13.c: Likewise.
2414         * elf/tst-tlsmod13a.c: Likewise.
2415         * elf/tst-tlsmod14a.c: Likewise.
2416         * elf/tst-tlsmod16a.c: Likewise.
2417         * elf/tst-tlsmod16b.c: Likewise.
2418         * elf/tst-tlsmod2.c: Likewise.
2419         * elf/tst-tlsmod3.c: Likewise.
2420         * elf/tst-tlsmod4.c: Likewise.
2421         * elf/tst-tlsmod5.c: Likewise.
2422         * elf/tst-tlsmod6.c: Likewise.
2424 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
2426         [BZ #12486]
2427         * malloc/malloc.c: remove checks for statistics.
2429 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
2431         [BZ #15277]
2432         * inet/inet_net.c (inet_network): Detect additional invalid strings.
2433         * inet/tst-network.c: Add testcase.
2435 2013-10-17  Andreas Schwab  <schwab@suse.de>
2437         [BZ #15218]
2438         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
2439         to determine canonical name.
2441 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
2443         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
2444         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
2445         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
2446         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
2447         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
2448         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
2449         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
2450         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
2451         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
2452         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
2453         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
2454         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
2455         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
2456         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
2457         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
2458         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
2459         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
2460         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
2461         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
2462         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
2463         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
2464         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
2465         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
2466         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
2467         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
2468         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
2469         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
2470         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
2471         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
2472         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
2473         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
2474         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
2475         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
2476         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
2477         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
2478         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
2479         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
2480         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
2481         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
2482         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
2483         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
2484         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
2485         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
2486         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
2487         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
2488         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
2489         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
2490         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
2491         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
2492         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
2493         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
2494         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
2495         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
2496         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
2497         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2498         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
2499         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
2500         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
2502 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
2504         [BZ #16041]
2505         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
2506         make result into a quiet NaN.
2508 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
2510         * soft-fp/adddf3.c: Fix horizontal whitespace.
2511         * soft-fp/addsf3.c: Likewise.
2512         * soft-fp/addtf3.c: Likewise.
2513         * soft-fp/divdf3.c: Likewise.
2514         * soft-fp/divsf3.c: Likewise.
2515         * soft-fp/divtf3.c: Likewise.
2516         * soft-fp/double.h: Likewise.
2517         * soft-fp/eqdf2.c: Likewise.
2518         * soft-fp/eqsf2.c: Likewise.
2519         * soft-fp/eqtf2.c: Likewise.
2520         * soft-fp/extenddftf2.c: Likewise.
2521         * soft-fp/extended.h: Likewise.
2522         * soft-fp/extendsfdf2.c: Likewise.
2523         * soft-fp/extendsftf2.c: Likewise.
2524         * soft-fp/extendxftf2.c: Likewise.
2525         * soft-fp/fixdfdi.c: Likewise.
2526         * soft-fp/fixdfsi.c: Likewise.
2527         * soft-fp/fixdfti.c: Likewise.
2528         * soft-fp/fixsfdi.c: Likewise.
2529         * soft-fp/fixsfsi.c: Likewise.
2530         * soft-fp/fixsfti.c: Likewise.
2531         * soft-fp/fixtfdi.c: Likewise.
2532         * soft-fp/fixtfsi.c: Likewise.
2533         * soft-fp/fixtfti.c: Likewise.
2534         * soft-fp/fixunsdfdi.c: Likewise.
2535         * soft-fp/fixunsdfsi.c: Likewise.
2536         * soft-fp/fixunsdfti.c: Likewise.
2537         * soft-fp/fixunssfdi.c: Likewise.
2538         * soft-fp/fixunssfsi.c: Likewise.
2539         * soft-fp/fixunssfti.c: Likewise.
2540         * soft-fp/fixunstfdi.c: Likewise.
2541         * soft-fp/fixunstfsi.c: Likewise.
2542         * soft-fp/fixunstfti.c: Likewise.
2543         * soft-fp/floatdidf.c: Likewise.
2544         * soft-fp/floatdisf.c: Likewise.
2545         * soft-fp/floatditf.c: Likewise.
2546         * soft-fp/floatsidf.c: Likewise.
2547         * soft-fp/floatsisf.c: Likewise.
2548         * soft-fp/floatsitf.c: Likewise.
2549         * soft-fp/floattidf.c: Likewise.
2550         * soft-fp/floattisf.c: Likewise.
2551         * soft-fp/floattitf.c: Likewise.
2552         * soft-fp/floatundidf.c: Likewise.
2553         * soft-fp/floatundisf.c: Likewise.
2554         * soft-fp/floatunditf.c: Likewise.
2555         * soft-fp/floatunsidf.c: Likewise.
2556         * soft-fp/floatunsisf.c: Likewise.
2557         * soft-fp/floatunsitf.c: Likewise.
2558         * soft-fp/floatuntidf.c: Likewise.
2559         * soft-fp/floatuntisf.c: Likewise.
2560         * soft-fp/floatuntitf.c: Likewise.
2561         * soft-fp/fmadf4.c: Likewise.
2562         * soft-fp/fmasf4.c: Likewise.
2563         * soft-fp/fmatf4.c: Likewise.
2564         * soft-fp/gedf2.c: Likewise.
2565         * soft-fp/gesf2.c: Likewise.
2566         * soft-fp/getf2.c: Likewise.
2567         * soft-fp/ledf2.c: Likewise.
2568         * soft-fp/lesf2.c: Likewise.
2569         * soft-fp/letf2.c: Likewise.
2570         * soft-fp/muldf3.c: Likewise.
2571         * soft-fp/mulsf3.c: Likewise.
2572         * soft-fp/multf3.c: Likewise.
2573         * soft-fp/negdf2.c: Likewise.
2574         * soft-fp/negsf2.c: Likewise.
2575         * soft-fp/negtf2.c: Likewise.
2576         * soft-fp/op-1.h: Likewise.
2577         * soft-fp/op-2.h: Likewise.
2578         * soft-fp/op-4.h: Likewise.
2579         * soft-fp/op-8.h: Likewise.
2580         * soft-fp/op-common.h: Likewise.
2581         * soft-fp/quad.h: Likewise.
2582         * soft-fp/single.h: Likewise.
2583         * soft-fp/soft-fp.h: Likewise.
2584         * soft-fp/sqrtdf2.c: Likewise.
2585         * soft-fp/sqrtsf2.c: Likewise.
2586         * soft-fp/sqrttf2.c: Likewise.
2587         * soft-fp/subdf3.c: Likewise.
2588         * soft-fp/subsf3.c: Likewise.
2589         * soft-fp/subtf3.c: Likewise.
2590         * soft-fp/truncdfsf2.c: Likewise.
2591         * soft-fp/trunctfdf2.c: Likewise.
2592         * soft-fp/trunctfsf2.c: Likewise.
2593         * soft-fp/trunctfxf2.c: Likewise.
2594         * soft-fp/unorddf2.c: Likewise.
2595         * soft-fp/unordsf2.c: Likewise.
2596         * soft-fp/unordtf2.c: Likewise.
2598 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
2600         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
2601         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
2603 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
2605         * elf/dl-libc.c: Clear initfini list after freeing.
2607 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
2609         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
2610         * soft-fp/addsf3.c: Likewise.
2611         * soft-fp/addtf3.c: Likewise.
2612         * soft-fp/divdf3.c: Likewise.
2613         * soft-fp/divsf3.c: Likewise.
2614         * soft-fp/divtf3.c: Likewise.
2615         * soft-fp/double.h: Likewise.
2616         * soft-fp/eqdf2.c: Likewise.
2617         * soft-fp/eqsf2.c: Likewise.
2618         * soft-fp/eqtf2.c: Likewise.
2619         * soft-fp/extenddftf2.c: Likewise.
2620         * soft-fp/extended.h: Likewise.
2621         * soft-fp/extendsfdf2.c: Likewise.
2622         * soft-fp/extendsftf2.c: Likewise.
2623         * soft-fp/extendxftf2.c: Likewise.
2624         * soft-fp/fixdfdi.c: Likewise.
2625         * soft-fp/fixdfsi.c: Likewise.
2626         * soft-fp/fixdfti.c: Likewise.
2627         * soft-fp/fixsfdi.c: Likewise.
2628         * soft-fp/fixsfsi.c: Likewise.
2629         * soft-fp/fixsfti.c: Likewise.
2630         * soft-fp/fixtfdi.c: Likewise.
2631         * soft-fp/fixtfsi.c: Likewise.
2632         * soft-fp/fixtfti.c: Likewise.
2633         * soft-fp/fixunsdfdi.c: Likewise.
2634         * soft-fp/fixunsdfsi.c: Likewise.
2635         * soft-fp/fixunsdfti.c: Likewise.
2636         * soft-fp/fixunssfdi.c: Likewise.
2637         * soft-fp/fixunssfsi.c: Likewise.
2638         * soft-fp/fixunssfti.c: Likewise.
2639         * soft-fp/fixunstfdi.c: Likewise.
2640         * soft-fp/fixunstfsi.c: Likewise.
2641         * soft-fp/fixunstfti.c: Likewise.
2642         * soft-fp/floatdidf.c: Likewise.
2643         * soft-fp/floatdisf.c: Likewise.
2644         * soft-fp/floatditf.c: Likewise.
2645         * soft-fp/floatsidf.c: Likewise.
2646         * soft-fp/floatsisf.c: Likewise.
2647         * soft-fp/floatsitf.c: Likewise.
2648         * soft-fp/floattidf.c: Likewise.
2649         * soft-fp/floattisf.c: Likewise.
2650         * soft-fp/floattitf.c: Likewise.
2651         * soft-fp/floatundidf.c: Likewise.
2652         * soft-fp/floatundisf.c: Likewise.
2653         * soft-fp/floatunsidf.c: Likewise.
2654         * soft-fp/floatunsisf.c: Likewise.
2655         * soft-fp/floatuntidf.c: Likewise.
2656         * soft-fp/floatuntisf.c: Likewise.
2657         * soft-fp/floatuntitf.c: Likewise.
2658         * soft-fp/fmadf4.c: Likewise.
2659         * soft-fp/fmasf4.c: Likewise.
2660         * soft-fp/fmatf4.c: Likewise.
2661         * soft-fp/gedf2.c: Likewise.
2662         * soft-fp/gesf2.c: Likewise.
2663         * soft-fp/getf2.c: Likewise.
2664         * soft-fp/ledf2.c: Likewise.
2665         * soft-fp/lesf2.c: Likewise.
2666         * soft-fp/letf2.c: Likewise.
2667         * soft-fp/muldf3.c: Likewise.
2668         * soft-fp/mulsf3.c: Likewise.
2669         * soft-fp/multf3.c: Likewise.
2670         * soft-fp/negdf2.c: Likewise.
2671         * soft-fp/negsf2.c: Likewise.
2672         * soft-fp/negtf2.c: Likewise.
2673         * soft-fp/op-1.h: Likewise.
2674         * soft-fp/op-2.h: Likewise.
2675         * soft-fp/op-4.h: Likewise.
2676         * soft-fp/op-8.h: Likewise.
2677         * soft-fp/op-common.h: Likewise.
2678         * soft-fp/quad.h: Likewise.
2679         * soft-fp/single.h: Likewise.
2680         * soft-fp/soft-fp.h: Likewise.
2681         * soft-fp/sqrtdf2.c: Likewise.
2682         * soft-fp/sqrtsf2.c: Likewise.
2683         * soft-fp/sqrttf2.c: Likewise.
2684         * soft-fp/subdf3.c: Likewise.
2685         * soft-fp/subsf3.c: Likewise.
2686         * soft-fp/subtf3.c: Likewise.
2687         * soft-fp/truncdfsf2.c: Likewise.
2688         * soft-fp/trunctfdf2.c: Likewise.
2689         * soft-fp/trunctfsf2.c: Likewise.
2690         * soft-fp/trunctfxf2.c: Likewise.
2691         * soft-fp/unorddf2.c: Likewise.
2692         * soft-fp/unordsf2.c: Likewise.
2693         * soft-fp/unordtf2.c: Likewise.
2695 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
2697         [BZ #15672]
2698         * misc/error.c (error_tail): Fix possible buffer overflow.
2700 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
2702         [BZ #13028]
2703         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
2704         address.
2706 2013-10-14  P. J. McDermott  <pj@pehjota.net>
2708         [BZ #832]
2709         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
2710         testing pipefail option.
2712 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
2714         * soft-fp/double.h: Indent preprocessor directives inside #if.
2715         * soft-fp/extended.h: Likewise.
2716         * soft-fp/op-2.h: Likewise.
2717         * soft-fp/op-4.h: Likewise.
2718         * soft-fp/op-common.h: Likewise.
2719         * soft-fp/quad.h: Likewise.
2720         * soft-fp/single.h: Likewise.
2721         * soft-fp/soft-fp.h: Likewise.
2723 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
2725         * iconv/iconv_prog.c: Fix typos.
2726         * stdio-common/psiginfo-data.h: Likewise.
2728 2013-10-12   Reuben Thomas <rrt@sc3d.org>
2730         [BZ #15764]
2731         * locale/setlocale.c: Fix typo.
2733 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
2735         [BZ #16036]
2736         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
2737         signaling NaN arguments.
2738         * soft-fp/unordsf2.c (__unordsf2): Likewise.
2739         * soft-fp/unordtf2.c (__unordtf2): Likewise.
2741         [BZ #14910]
2742         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
2743         unordered operands.
2744         * soft-fp/gesf2.c (__gesf2): Likewise.
2745         * soft-fp/getf2.c (__getf2): Likewise.
2746         * soft-fp/ledf2.c (__ledf2): Likewise.
2747         * soft-fp/lesf2.c (__lesf2): Likewise.
2748         * soft-fp/letf2.c (__letf2): Likewise.
2750         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
2751         * soft-fp/eqsf2.c (__eqsf2): Likewise.
2752         * soft-fp/eqtf2.c (__eqtf2): Likewise.
2753         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
2754         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
2755         * soft-fp/fixdfti.c (__fixdfti): Likewise.
2756         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
2757         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
2758         * soft-fp/fixsfti.c (__fixsfti): Likewise.
2759         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
2760         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
2761         * soft-fp/fixtfti.c (__fixtfti): Likewise.
2762         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
2763         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
2764         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
2765         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
2766         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
2767         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
2768         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
2769         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
2770         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
2771         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
2772         * soft-fp/floatdisf.c (__floatdisf): Likewise.
2773         * soft-fp/floatsisf.c (__floatsisf): Likewise.
2774         * soft-fp/floattidf.c (__floattidf): Likewise.
2775         * soft-fp/floattisf.c (__floattisf): Likewise.
2776         * soft-fp/floattitf.c (__floattitf): Likewise.
2777         * soft-fp/floatundidf.c (__floatundidf): Likewise.
2778         * soft-fp/floatundisf.c (__floatundisf): Likewise.
2779         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
2780         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
2781         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
2782         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
2783         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
2784         * soft-fp/gesf2.c (__gesf2): Likewise.
2785         * soft-fp/getf2.c (__getf2): Likewise.
2786         * soft-fp/ledf2.c (__ledf2): Likewise.
2787         * soft-fp/lesf2.c (__lesf2): Likewise.
2788         * soft-fp/letf2.c (__letf2): Likewise.
2790         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
2791         Undefine and redefine.
2792         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
2793         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
2794         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
2795         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
2796         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2797         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
2798         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2799         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
2800         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2801         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
2802         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2803         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
2804         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2805         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
2806         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
2808         [BZ #16032]
2809         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
2810         without decrementing exponent if mantissa >= that for the
2811         denominator, not >.
2812         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
2813         denominator, not >.  Decrement exponent in < case instead of
2814         incrementing in >= case.
2815         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
2816         without decrementing exponent if mantissa >= that for the
2817         denominator, not >.
2819         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
2820         computing saturated result for unsigned overflow.
2822 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
2823             Jeff Law  <law@redhat.com>
2825         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
2826         (atan2Mp): Add systemtap probe marker.
2827         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
2828         (__ieee754_log): Add systemtap probe marker.
2829         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
2830         (atanMp): Add systemtap probe marker.
2831         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
2832         (tanMp): Add systemtap probe marker.
2833         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
2834         (__slowexp): Add systemtap probe marker.
2835         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
2836         (__slowpow): Add systemtap probe marker.
2837         * manual/probes.texi: Document probes.
2839 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
2841         [BZ #15362]
2842         * libio/fileops.c (_IO_new_file_write): Return count of bytes
2843         written.
2844         (_IO_new_file_xsputn): Don't return EOF if nothing has been
2845         written.
2846         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
2847         written to buffer but not flushed.
2848         * libio/iofwrite_u.c:  Likewise.
2849         * libio/iopadn.c:  Return bytes returned even if EOF was
2850         encountered.
2851         * libio/iowpadn.c:  Likewise.
2852         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
2853         if _IO_padn does not write the whole buffer.
2854         [!COMPILE_WPRINTF] (PAD): Likewise.
2856 2013-10-10  David S. Miller  <davem@davemloft.net>
2858         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
2859         directory block.
2861 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
2863         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
2864         instead of FSF address.
2865         * soft-fp/fixdfti.c: Likewise.
2866         * soft-fp/fixsfti.c: Likewise.
2867         * soft-fp/fixtfti.c: Likewise.
2868         * soft-fp/fixunsdfti.c: Likewise.
2869         * soft-fp/fixunssfti.c: Likewise.
2870         * soft-fp/fixunstfti.c: Likewise.
2871         * soft-fp/floattidf.c: Likewise.
2872         * soft-fp/floattisf.c: Likewise.
2873         * soft-fp/floattitf.c: Likewise.
2874         * soft-fp/floatuntidf.c: Likewise.
2875         * soft-fp/floatuntisf.c: Likewise.
2876         * soft-fp/floatuntitf.c: Likewise.
2877         * soft-fp/trunctfxf2.c: Likewise.
2879         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
2880         * soft-fp/fixdfti.c: Likewise.
2881         * soft-fp/fixsfti.c: Likewise.
2882         * soft-fp/fixtfti.c: Likewise.
2883         * soft-fp/fixunsdfti.c: Likewise.
2884         * soft-fp/fixunssfti.c: Likewise.
2885         * soft-fp/fixunstfti.c: Likewise.
2886         * soft-fp/floattidf.c: Likewise.
2887         * soft-fp/floattisf.c: Likewise.
2888         * soft-fp/floattitf.c: Likewise.
2889         * soft-fp/floatuntidf.c: Likewise.
2890         * soft-fp/floatuntisf.c: Likewise.
2891         * soft-fp/floatuntitf.c: Likewise.
2892         * soft-fp/trunctfxf2.c: Likewise.
2894 2013-10-10  David S. Miller  <davem@davemloft.net>
2896         * sysdeps/sparc/fpu/libm-test-ulps: Update.
2898 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
2900         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
2901         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
2902         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
2903         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
2904         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
2905         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
2906         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
2908         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
2909         for NaNs before doing comparisons on argument.
2910         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
2911         Likewise.
2913 2013-10-10  Will Newton  <will.newton@linaro.org>
2915         * malloc/hooks.c (memalign_check): Ensure the value of bytes
2916         passed to _int_memalign does not overflow.
2918 2013-10-10  Torvald Riegel  <triegel@redhat.com>
2920         * scripts/bench.pl: Add include-sources directive.
2921         * benchtests/README: Update documentation.
2923 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
2925         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
2926         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
2927         instead of FP_INIT_ROUNDMODE.
2928         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
2929         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
2931         [BZ #16034]
2932         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
2933         copy class of input value.
2934         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
2935         not handle exceptions.
2936         * soft-fp/negsf2.c (__negsf2): Likewise.
2937         * soft-fp/negtf2.c (__negtf2): Likewise.
2938         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
2940 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
2942         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
2943         semicolon.  From Linux kernel.
2945 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
2947         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
2949 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
2951         [BZ #156]
2952         * manual/socket.texi: Added statement about buffer
2953         for gethostbyname2_r.
2955 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
2957         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
2958         Use .p2align directive instead, throughout.
2959         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
2960         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
2961         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
2962         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
2963         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
2964         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
2965         * sysdeps/x86_64/strchr.S: Likewise.
2966         * sysdeps/x86_64/strrchr.S: Likewise.
2968 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
2970         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
2972         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
2974         * sysdeps/generic/math_private.h (__mpsin1): Remove
2975         declaration.
2976         (__mpcos1): Likewise.
2977         (__mpsin): New argument __range_reduce.
2978         (__mpcos): Likewise.
2979         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
2980         (slow): Use __mpsin and __mpcos.
2981         (slow1): Likewise.
2982         (slow2): Likewise.
2983         (sloww): Likewise.
2984         (sloww1): Likewise.
2985         (sloww2): Likewise.
2986         (bsloww): Likewise.
2987         (bsloww1): Likewise.
2988         (bsloww2): Likewise.
2989         (cslow2): Likewise.
2990         (csloww): Likewise.
2991         (csloww1): Likewise.
2992         (csloww2): Likewise.
2993         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
2994         range_reduce.  Merge in __mpsin1.
2995         (__mpcos): Likewise.
2996         (__mpsin1): Remove.
2997         (__mpcos1): Likewise.
2999 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
3001         * locale/loadlocale.c (_nl_intern_locale_data): Use
3002         LOCFILE_ALIGNED_P.
3003         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
3004         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
3005         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
3006         obstack data is appropriately aligned.
3007         (obstack_int32_grow_fast): Likewise.
3008         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
3009         * locale/programs/locfile.c (add_locale_uint32): Likewise.
3010         (add_locale_uint32_array): Likewise.
3012 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
3014         * benchtests/Makefile: Remove ARGLIST and RET variables.
3015         ($(objpfx)bench-%.c): Pass only function name to the script.
3016         * benchtests/README: Update documentation.
3017         * benchtests/acos-inputs: Add new directives.
3018         * benchtests/acosh-inputs: Likewise.
3019         * benchtests/asin-inputs: Likewise.
3020         * benchtests/asinh-inputs: Likewise.
3021         * benchtests/atan-inputs: Likewise.
3022         * benchtests/atanh-inputs: Likewise.
3023         * benchtests/cos-inputs: Likewise.
3024         * benchtests/cosh-inputs: Likewise.
3025         * benchtests/exp-inputs: Likewise.
3026         * benchtests/log-inputs: Likewise.
3027         * benchtests/pow-inputs: Likewise.
3028         * benchtests/rint-inputs: Likewise.
3029         * benchtests/sin-inputs: Likewise.
3030         * benchtests/sinh-inputs: Likewise.
3031         * benchtests/tan-inputs: Likewise.
3032         * benchtests/tanh-inputs: Likewise.
3033         * scripts/bench.pl: Add support for new directives.
3035 2013-10-07  Alan Modra  <amodra@gmail.com>
3037         * README: Fix careless merge.
3039 2013-10-05  Alan Modra  <amodra@gmail.com>
3041         * NEWS: Mention powerpc64le support and bugs fixed.
3042         * README: Both big-endian and little-endian powerpc64 supported.
3044 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
3046         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook,
3047         _hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
3048         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
3049         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
3051 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
3053         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
3054         match prototype.
3056 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
3058         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
3059         Move -mhard-float appending from
3060         ports/sysdeps/powerpc/powerpc32/Makefile.
3061         [$(with-fp) = yes] (ASFLAGS): Likewise.
3062         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
3063         * sysdeps/powerpc/nofpu: Move directory from
3064         ports/sysdeps/powerpc/nofpu.
3065         * sysdeps/powerpc/soft-fp: Move directory from
3066         ports/sysdeps/powerpc/soft-fp.
3067         * sysdeps/powerpc/powerpc32/405: Move directory from
3068         ports/sysdeps/powerpc/powerpc32/405.
3069         * sysdeps/powerpc/powerpc32/440: Move directory from
3070         ports/sysdeps/powerpc/powerpc32/440.
3071         * sysdeps/powerpc/powerpc32/464: Move directory from
3072         ports/sysdeps/powerpc/powerpc32/464.
3073         * sysdeps/powerpc/powerpc32/476: Move directory from
3074         ports/sysdeps/powerpc/powerpc32/476.
3075         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
3076         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
3077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
3078         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
3079         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
3080         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
3081         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
3082         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
3083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
3084         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
3085         * README: Update for powerpc-*-linux-gnu software floating point
3086         support in libc.
3088         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
3089         case to powerpc/powerpc32*.
3090         * sysdeps/unix/sysv/linux/configure: Regenerated.
3092         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
3093         (_FPU_MASK_OM): Define as 0x04.
3094         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
3095         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
3096         0x00c10080.
3097         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
3098         0x0000003c.
3099         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
3101         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
3102         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3103         getcontext_e500.
3104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
3105         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
3106         setcontext_e500.
3107         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
3108         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
3109         and setcontext_e500.
3111 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
3113         * locale/iso-3166.def: Update iso-1366.def and related occurrences
3115 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
3117         * manual/threads.texi (Default Thread Attributes): Fix typo.
3119 2013-10-04  Will Newton  <will.newton@linaro.org>
3121         * malloc/Makefile: Add tst-memalign.
3122         * malloc/tst-memalign.c: New file.
3124         * malloc/tst-posix_memalign.c: Add comments.
3125         (do_test): Add comments and call free on all potentially
3126         allocated pointers. Add space after cast.
3128         * malloc/tst-pvalloc.c: Add comments.
3129         (do_test): Add comments and call free on all potentially
3130         allocated pointers. Remove duplicate check for NULL pointer.
3131         Add space after cast.
3133         * malloc/tst-valloc.c: Add comments.
3134         (do_test): Add comments and call free on all potentially
3135         allocated pointers. Remove duplicate check for NULL pointer.
3136         Add space after cast.
3138 2013-10-04  Alan Modra  <amodra@gmail.com>
3140         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3141         Use stdint types in rather than __attribute__((mode())).
3142         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3144 2013-10-04  Alan Modra  <amodra@gmail.com>
3146         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
3147         Correct handling of unaligned relocs for little-endian.
3148         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
3150 2013-10-04  Alan Modra  <amodra@gmail.com>
3152         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
3153         * configure: Regenerate.
3154         * nptl/shlib-versions: Powerpc*le starts at 2.18.
3155         * shlib-versions: Likewise.
3157 2013-10-04  Alan Modra  <amodra@gmail.com>
3159         * string/tester.c (test_memrchr): Increment reported test cycle.
3161 2013-10-04  Alan Modra  <amodra@gmail.com>
3163         * string/test-memcpy.c (do_one_test): When reporting errors, print
3164         string address and don't overrun end of string.
3166 2013-10-04  Alan Modra  <amodra@gmail.com>
3168         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
3169         insrdi.  Make better use of reg selection to speed exit slightly.
3170         Schedule entry path a little better.  Remove useless "are we done"
3171         checks on entry to main loop.  Handle wrapping around zero address.
3172         Correct main loop count.  Handle single left-over word from main
3173         loop inline rather than by using loop_small.  Remove extra word
3174         case in loop_small caused by wrong loop count.  Add little-endian
3175         support.
3176         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
3177         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
3178         cache hint.
3179         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
3180         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
3181         support.  Avoid rlwimi.
3182         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
3184 2013-10-04  Alan Modra  <amodra@gmail.com>
3186         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
3187         insrdi.  Formatting.
3188         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
3189         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3190         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3191         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
3192         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
3193         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
3195 2013-10-04  Alan Modra  <amodra@gmail.com>
3197         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
3198         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
3199         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
3200         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
3201         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3202         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3203         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3204         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3205         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
3206         use of regs.  Use power7 mtocrf.  Tidy function tails.
3208 2013-10-04  Alan Modra  <amodra@gmail.com>
3210         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
3211         Formatting.  Consistently use rXXX register defines or rN defines.
3212         Use early exit labels that avoid restoring unused non-volatile regs.
3213         Make cr field use more consistent with rWORDn compares.  Rename
3214         regs used as shift registers for unaligned loop, using rN defines
3215         for short lifetime/multiple use regs.
3216         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
3217         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
3218         addi 1,1,64 to pop stack frame.  Simplify return value code.
3219         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
3221 2013-10-04  Alan Modra  <amodra@gmail.com>
3223         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
3224         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
3225         rather than rlwimi.
3226         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
3227         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
3228         little-endian support.  Correct typos.
3229         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
3230         rather than rlwimi.
3231         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
3232         in loop and entry code to keep "and." results.
3233         (strchr): Add little-endian support.  Comment.  Move cntlzd
3234         earlier in tail.
3235         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
3237 2013-10-04  Alan Modra  <amodra@gmail.com>
3239         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
3240         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
3241         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
3242         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
3244 2013-10-04  Alan Modra  <amodra@gmail.com>
3246         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
3247         (rTMP): Define as r11.
3248         (strcmp): Add little-endian support.  Optimise tail.
3249         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
3250         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3251         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
3252         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
3253         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
3254         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3255         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
3257 2013-10-04  Alan Modra  <amodra@gmail.com>
3259         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
3260         little-endian support.  Remove unnecessary "are we done" tests.
3261         Handle "s" wrapping around zero and extremely large "size".
3262         Correct main loop count.  Handle single left-over word from main
3263         loop inline rather than by using small_loop.  Correct comments.
3264         Delete "zero" tail, use "end_max" instead.
3265         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
3267 2013-10-04  Alan Modra  <amodra@gmail.com>
3269         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
3270         support.  Don't branch over align.
3271         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
3272         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
3273         support.  Rearrange tmp reg use to suit.  Comment.
3274         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
3276 2013-10-04  Alan Modra  <amodra@gmail.com>
3278         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
3280 2013-10-04  Alan Modra  <amodra@gmail.com>
3282         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
3283         conditional form of branch and link when obtaining pc.
3284         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
3286 2013-10-04  Alan Modra  <amodra@gmail.com>
3288         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
3289         HIWORD/LOWORD.
3290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
3291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
3293 2013-10-04  Alan Modra  <amodra@gmail.com>
3295         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
3296         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
3297         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
3298         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
3299         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
3300         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
3301         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
3302         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
3303         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
3304         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
3306 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
3307             Alistair Popple <alistair@ozlabs.au.ibm.com>
3308             Alan Modra <amodra@gmail.com>
3310         [BZ #15723]
3311         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
3312         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
3313         _dl_hwcap access for little-endian.
3314         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
3315         destroy vmx regs when saving unaligned.
3316         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
3317         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
3318         destroy vmx regs when saving unaligned.
3320 2013-10-04  Alan Modra  <amodra@gmail.com>
3322         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
3323         Don't use a union to pack hi/low value.
3325 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
3327         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
3328         for little-endian.
3329         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
3330         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
3331         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
3332         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
3333         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
3335 2013-10-04  Alan Modra  <amodra@gmail.com>
3337         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
3338         constants to usual value for .cst8 section, and remove redundant
3339         high address load.
3340         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
3341         constant for 0x1p52.  Load little-endian words of double from
3342         correct stack offsets.
3344 2013-10-04  Alan Modra  <amodra@gmail.com>
3346         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
3347         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
3348         words of double from correct stack offsets.
3349         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
3350         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
3351         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
3352         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
3353         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
3354         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
3355         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
3356         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
3357         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
3358         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
3359         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
3360         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
3361         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
3362         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
3363         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
3364         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
3365         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
3367 2013-10-04  Alan Modra  <amodra@gmail.com>
3369         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
3370         64-bit int/double union.
3371         (_FPU_SETCW): Likewise.
3372         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
3373         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
3375 2013-10-04  Alan Modra  <amodra@gmail.com>
3377         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
3378         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
3380 2013-10-04  Alan Modra  <amodra@gmail.com>
3382         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
3383         use vector int constants.
3384         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
3386 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
3388         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
3389         array with long long.
3390         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
3391         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
3392         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
3393         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
3394         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
3395         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
3396         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
3397         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
3398         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
3399         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
3400         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
3401         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
3402         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
3404 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
3406         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
3407         (__signbit): Likewise.  Correct for little-endian.
3408         (__signbitl): Call __signbit.
3409         (lrint): Correct for little-endian.
3410         (lrintf): Call lrint.
3412 2013-10-04  Alan Modra  <amodra@gmail.com>
3414         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
3415         union 32-bit int array member with 64-bit int array.
3416         (t515, tm256): Double rather than long double.
3417         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
3419 2013-10-04  Alan Modra  <amodra@gmail.com>
3421         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
3422         Delete.
3423         (IEEE854_LONG_DOUBLE_BIAS): Delete.
3424         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
3425         version of math_ldbl.h.
3427 2013-10-04  Alan Modra  <amodra@gmail.com>
3429         [BZ #15734], [BZ #15735]
3430         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
3431         all uses of ieee875 long double macros and unions.  Simplify test
3432         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
3433         ldbl_extract_mantissa value for ix,iy exponents.  Properly
3434         normalize after ldbl_extract_mantissa, and don't add hidden bit
3435         already handled.  Don't treat low word of ieee854 mantissa like
3436         low word of IBM long double and mask off bit when testing for
3437         zero.
3438         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
3439         all uses of ieee875 long double macros and unions.  Simplify tests
3440         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
3441         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
3442         two1022, instead use their values.  Recognise that tests for large
3443         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
3444         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
3445         Rewrite all uses of ieee875 long double macros and unions.  Simplify
3446         test for 0.0L and nan.  Correct negation.
3447         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
3448         ieee875 long double macros and unions.  Correct output for large
3449         magnitude x.  Correct absolute value calculation.
3450         (__erfcl): Likewise.
3451         * math/libm-test.inc: Add tests for errors discovered in IBM long
3452         double versions of fmodl, remainderl, erfl and erfcl.
3454 2013-10-04  Alan Modra  <amodra@gmail.com>
3456         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
3457         all uses of ieee854 long double macros and unions.  Simplify tests
3458         for long doubles that are fully specified by the high double.
3459         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
3460         Likewise.
3461         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
3462         Remove dead code too.
3463         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
3464         (__ieee754_ynl): Likewise.
3465         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
3466         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
3467         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
3468         Remove dead code too.
3469         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
3470         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
3471         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
3472         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
3473         Simplify.
3474         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
3475         Simplify.
3476         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
3477         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
3478         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
3479         Comment on variable precision.
3480         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
3481         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
3482         Likewise.
3483         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
3484         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
3485         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
3486         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
3487         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
3489 2013-10-04  Alan Modra  <amodra@gmail.com>
3491         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
3492         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
3493         all uses of ieee854 long double macros and unions.
3494         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
3495         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
3496         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
3497         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
3498         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
3499         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
3500         Likewise.
3501         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
3502         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
3503         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
3504         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
3505         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
3506         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
3507         Simplify sign and nan test too.
3508         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
3509         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
3510         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
3511         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
3512         Likewise.
3513         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
3514         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
3515         Likewise.
3516         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
3517         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
3518         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
3519         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
3520         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
3521         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
3523 2013-10-04  Alan Modra  <amodra@gmail.com>
3525         * stdio-common/printf_size.c (__printf_size): Don't use
3526         union ieee854_long_double in fpnum union.
3527         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
3528         signbit macro to retrieve sign from long double.
3529         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
3530         retrieve sign from long double.
3531         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
3532         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
3533         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
3534         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
3535         * math/test-misc.c (main): Don't use union ieee854_long_double.
3537 2013-10-04  Alan Modra  <amodra@gmail.com>
3539         [BZ #15680]
3540         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
3541         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
3542         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
3543         calculation.  Remove unnecessary test for denormal exponent.
3544         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
3545         Correct handling of denormals.  Avoid undefined shift behaviour.
3546         Correct normalisation of low mantissa when low double is denormal.
3547         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
3548         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
3549         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
3550         Correct normalisation of low mantissa.  Test for overflow of high
3551         mantissa and normalise.
3552         (ldbl_nearbyint): Use more readable constant for two52.
3553         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
3554         (__mpn_construct_long_double): Fix test for overflow of high
3555         mantissa and correct normalisation.  Avoid undefined shift.
3557 2013-10-04  Alan Modra  <amodra@gmail.com>
3559         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
3560         (union ibm_extended_long_double): Define as an array of ieee754_double.
3561         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
3562         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
3563         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
3564         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
3565         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
3566         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
3567         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
3568         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
3569         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
3570         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
3571         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
3573 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
3575         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
3576         page size instead of calling getpagesize.
3578         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
3579         (LOCFILE_ALIGN_MASK): Likewise.
3580         (LOCFILE_ALIGN_UP): Likewise.
3581         (LOCFILE_ALIGNED_P): Likewise.
3582         * locale/programs/ld-collate.c (collate_output): Use the new
3583         macros instead of __alignof__ (int32_t).
3584         * locale/weight.h (findidx): Likewise.
3586 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
3588         [BZ #431]
3589         * manual/string.texi: Fix strncat and wcsncat.
3591 2013-10-03  Brooks Moses  <bmoses@google.com>
3593         [BZ #15915]
3594         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
3595         * Makerules: ...here, and adjust associated comments.
3597 2013-10-02  Will Newton  <will.newton@linaro.org>
3599         * malloc/Makefile: Add tst-pvalloc.
3600         * malloc/tst-pvalloc.c: New file.
3602 2013-10-02  Will Newton  <will.newton@linaro.org>
3604         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
3605         improve test coverage.
3607 2013-10-02  Will Newton  <will.newton@linaro.org>
3609         * malloc/Makefile: Add tst-posix_memalign.
3610         * malloc/tst-posix_memalign.c: New file.
3612 2013-10-01  Eric Blake  <eblake@redhat.com>
3614         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
3615         Use __THROWNL rather than __THROW on static functions.
3617 2013-09-30  Petr Machata  <pmachata@redhat.com>
3619         * elf/elf.h (R_AARCH64_ABS16): New macro.
3620         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
3621         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
3622         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
3623         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
3624         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
3625         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
3626         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
3627         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
3628         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
3629         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
3630         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
3631         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
3632         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
3633         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
3634         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
3635         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
3636         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
3637         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
3638         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
3639         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
3640         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
3641         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
3642         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
3643         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
3644         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
3645         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
3646         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
3647         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
3648         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
3649         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
3650         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
3651         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
3652         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
3653         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
3654         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
3655         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
3656         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
3657         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
3658         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
3659         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
3660         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
3661         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
3662         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
3663         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
3664         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
3665         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
3666         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
3667         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
3668         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
3669         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
3670         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
3671         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
3672         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
3673         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
3674         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
3675         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
3676         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
3677         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
3678         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
3679         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
3680         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
3681         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
3682         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
3683         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
3684         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
3685         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
3686         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
3687         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
3688         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
3689         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
3690         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
3691         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
3692         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
3693         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
3694         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
3695         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
3696         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
3697         (R_AARCH64_TLSDESC_LDR): Likewise.
3698         (R_AARCH64_TLSDESC_ADD): Likewise.
3699         (R_AARCH64_TLSDESC_CALL): Likewise.
3701 2013-09-30  Andreas Schwab  <schwab@suse.de>
3703         [BZ #15048]
3704         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
3705         the nss database lookup.
3706         * nscd/initgrcache.c (addinitgroupsX): Likewise.
3707         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
3709 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
3711         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
3713 2013-09-28  P. J. McDermott  <pj@pehjota.net>
3715         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
3716         ${Bash-specific parameter/pattern/string} parameter expansion.
3717         * sysdeps/unix/make-syscalls.sh: Likewise.
3719 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
3721         * sysdeps/sh/stackguard-macros.h: New file.
3723 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
3725         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
3726         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
3727         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
3728         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
3729         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
3730         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
3732 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
3734         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
3735         Fix thread ID register.
3737 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
3739         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
3740         [POSIX || UNIX98]: Require rather than permitting all symbols from
3741         <time.h>.
3742         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
3743         element of struct sched_param.
3744         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
3745         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
3746         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
3747         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
3748         constant.
3750 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
3752         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
3753         argument calculation.
3755 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
3757         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
3758         Expect macro.
3759         [POSIX] (pthread_attr_t): Do not require type.
3760         [POSIX] (pthread_cond_t): Likewise.
3761         [POSIX] (pthread_condattr_t): Likewise.
3762         [POSIX] (pthread_key_t): Likewise.
3763         [POSIX] (pthread_mutex_t): Likewise.
3764         [POSIX] (pthread_mutexattr_t): Likewise.
3765         [POSIX] (pthread_once_t): Likewise.
3766         [POSIX] (pthread_t): Likewise.
3767         [POSIX-based standards] (pthread_atfork): Expect function.
3769 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
3770             Richard Sandiford  <richard@codesourcery.com>
3772         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
3773         (swap_endianness_p): New extern variable.
3774         (set_big_endian): New inline function.
3775         (maybe_swap_uint32): Likewise.
3776         (maybe_swap_uint32_array): Likewise.
3777         (maybe_swap_uint32_obstack): Likewise.
3778         * locale/programs/locfile.c: Include <stdbool.h>.
3779         (swap_endianness_p): New variable.
3780         (add_locale_uint32): Call maybe_swap_uint32.
3781         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
3782         (write_locale_data): Call maybe_swap_uint32_array.
3783         * locale/programs/ld-collate.c (obstack_int32_grow): Call
3784         maybe_swap_uint32.
3785         (obstack_int32_grow_fast): Likewise.
3786         (output_weightwc): Call maybe_swap_uint32_obstack.
3787         (collate_output): Likewise.
3788         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
3789         (OPT_LITTLE_ENDIAN): Likewise.
3790         (options): Add --little-endian and --big-endian options.
3791         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
3792         * locale/programs/locarchive.c: Include "locfile.h".
3793         (GET): New macro.
3794         (SET): Likewise.
3795         (INC): Likewise.
3796         (create_archive): Use the new macros to access fields of
3797         structures directly mapped from or written to locale archives.
3798         (oldlocrecentcmp): Likewise.
3799         (enlarge_archive): Likewise.
3800         (insert_name): Likewise.
3801         (add_alias): Likewise.
3802         (add_locale): Likewise.
3803         (delete_locales_from_archive): Likewise.
3804         (show_archive_content): Likewise.
3805         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
3806         locale data.
3808 2013-09-24  Roland McGrath  <roland@hack.frob.com>
3810         * manual/freemanuals.texi: Updated from (newly) canonical copy at
3811         http://www.gnu.org/doc/freemanuals.texi.
3812         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
3814 2013-09-24  Will Newton  <will.newton@linaro.org>
3816         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
3817         macro.
3819 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
3821         * locale/hashval.h (compute_hashval): Interpret bytes of key as
3822         unsigned char.
3824 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
3826         * manual/threads.texi (POSIX Threads): Fix a typo.
3828 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
3830         [BZ #14547]
3831         * string/tst-strcoll-overflow.c: New test case.
3832         * string/Makefile (xtests): Add tst-strcoll-overflow.
3833         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
3834         cache if string sizes may cause integer overflow.
3836         [BZ #14547]
3837         * string/strcoll_l.c (coll_seq): New members rule, idx,
3838         save_idx and back_us.
3839         (get_next_seq_nocache): New function.
3840         (do_compare_nocache): New function.
3841         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
3842         when malloc fails.
3844 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
3846         [BZ #15754]
3847         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
3848         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
3849         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
3851         [BZ #15754]
3852         * elf/Makefile (tests): Add tst-ptrguard1.
3853         (tests-static): Add tst-ptrguard1-static.
3854         (tst-ptrguard1-ARGS): Define.
3855         (tst-ptrguard1-static-ARGS): Define.
3856         * elf/tst-ptrguard1.c: New file.
3857         * elf/tst-ptrguard1-static.c: New file.
3858         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
3859         * sysdeps/i386/stackguard-macros.h: Likewise.
3860         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
3861         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
3862         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
3863         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
3864         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
3865         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
3867 2013-09-23  Hector Marco  <hecmargi@upv.es>
3868             Ismael Ripoll  <iripoll@disca.upv.es>
3869             Carlos O'Donell  <carlos@redhat.com>
3871         [BZ #15754]
3872         * sysdeps/generic/stackguard-macros.h: Define
3873         __pointer_chk_guard_local and POINTER_CHK_GUARD.
3874         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
3875         Define __pointer_chk_guard_local.
3876         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
3877         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
3879 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
3881         [BZ #15859]
3882         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
3884 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
3886         * include/string.h (__ffs): Declare as hidden.
3887         * string/ffs.c (__ffs): Define as hidden.
3888         * sysdeps/i386/ffs.c (__ffs): Likewise.
3889         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
3890         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
3891         * sysdeps/s390/ffs.c (__ffs): Likewise.
3892         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
3894 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
3896         * NEWS: Mention malloc probes.
3898         * malloc/arena.c (new_heap): New memory_heap_new probe.
3899         (grow_heap): New memory_heap_more probe.
3900         (shrink_heap): New memory_heap_less probe.
3901         (heap_trim): New memory_heap_free probe.
3902         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
3903         (systrim): New memory_sbrk_less probe.
3904         * manual/probes.texi: Document them.
3906         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
3907         * manual/probes.texi: Document it.
3909         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
3910         (__libc_realloc): Add memory_realloc_retry probe.
3911         (__libc_memalign): Add memory_memalign_retry probe.
3912         (__libc_valloc): Add memory_valloc_retry probe.
3913         (__libc_pvalloc): Add memory_pvalloc_retry probe.
3914         (__libc_calloc): Add memory_calloc_retry probe.
3915         * manual/probes.texi: Document them.
3917         * malloc/arena.c (get_free_list): Add probe
3918         memory_arena_reuse_free_list.
3919         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
3920         and memory_arena_reuse.
3921         (arena_get2) [!PER_THREAD]: Likewise.
3922         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
3923         memory_arena_reuse_realloc.
3924         * manual/probes.texi: Document them.
3926         * malloc/malloc.c (__libc_free): Add
3927         memory_mallopt_free_dyn_thresholds probe.
3928         (__libc_mallopt): Add multiple memory_mallopt probes.
3929         * manual/probes.texi: Document them.
3931         * malloc/malloc.c: Include stap-probe.h.
3932         (__libc_mallopt): Add memory_mallopt probe.
3933         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
3934         * manual/probes.texi: New.
3935         * manual/Makefile (chapters): Add probes.
3936         * manual/threads.texi: Set next node.
3938 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
3940         [BZ #15963, #13985]
3941         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
3942         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
3943         Add `Chinese' to `nan' entry name.
3945 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3947         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
3948         (POLYNOMIAL): Likewise.
3949         (TAYLOR_SINCOS): Likewise.
3950         (TAYLOR_SLOW): Likewise.
3951         (__sin): Use TAYLOR_SINCOS.
3952         (__cos): Likewise.
3953         (slow): Use TAYLOR_SLOW.
3954         (sloww): Likewise.
3955         (bsloww): Likewise.
3956         (csloww): Likewise.
3958 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
3960         * stdlib/strtod_l.c: Fix buffer overrun.
3962 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
3964         * benchtests/Makefile (bench): Add sincos.
3965         * benchtests/bench-sincos.c: New file.
3967         * math/libm-test.inc (cos_test_data): New test inputs.
3968         (sin_test_data): Likewise.
3970         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
3971         macro.
3972         (__sin): Use it.
3973         (__cos): Likewise.
3974         (slow1): Likewise.
3975         (slow2): Likewise.
3976         (sloww1): Likewise.
3977         (sloww2): Likewise.
3978         (bsloww1): Likewise.
3979         (bsloww2): Likewise.
3980         (cslow2): Likewise.
3981         (csloww1): Likewise.
3982         (csloww2): Likewise.
3984         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
3985         function.
3986         (__sin): Use it.
3987         (__cos): Likewise.
3989         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
3990         gotos.
3991         (__cos): Likewise.
3993 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
3995         * config.h.in (HAVE_MIPS_NAN2008): New macro.
3996         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
3997         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
3998         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
3999         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
4000         * elf/cache.c (print_entry): Handle the new cache flags.
4002 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
4003             Aldy Hernandez  <aldyh@redhat.com>
4005         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
4006         Change condition to [_SOFT_FLOAT].
4007         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
4008         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
4009         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
4010         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
4011         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
4012         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
4013         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
4014         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
4015         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
4016         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
4017         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
4018         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
4019         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
4020         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
4021         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
4022         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
4023         declaration.
4025 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
4027         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
4028         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4029         (__longjmp): Use LOAD_GP to load saved GPRs.
4030         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
4031         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
4032         (__sigsetjmp): Use SAVE_GP to save GPRs.
4034         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
4035         Do not append -msoft-float.
4036         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
4038 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
4040         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
4042 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
4044         [BZ #15966]
4045         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
4046         (_FPU_GETCW): Use initial "__" on variable and field names but not
4047         on macro parameter name.
4048         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
4049         parentheses around reference to macro parameter.
4051 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
4053         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
4054         prototype.
4055         (ctype_startup): Use uint32_t in cast and sizeof for
4056         ctype->charnames.
4058 2013-09-11  Jia Liu  <proljc@gmail.com>
4060         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
4061         __daddr_t_defined.
4062         [__FreeBSD__]: Likewise.
4064 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
4066         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
4067         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
4068         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
4069         (strchr): Remove __strchr_sse42 ifunc selection.
4070         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
4071         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
4073 2013-09-11  Will Newton  <will.newton@linaro.org>
4075         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
4076         parameter to RES. Remove hardcoded 1000 value.
4077         * benchtests/bench-skeleton.c (main): Pass RES parameter
4078         to TIMING_INIT and multiply result by 1000.
4080 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4082         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4084 2013-09-11  Andreas Schwab  <schwab@suse.de>
4086         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
4087         if not defined.
4088         (O_TMPFILE) [__USE_GNU]: Define.
4089         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
4090         Define.
4092 2013-09-11  Will Newton  <will.newton@linaro.org>
4094         [BZ #15857]
4095         * malloc/malloc.c (__libc_memalign): Check the value of bytes
4096         does not overflow.
4098 2013-09-11  Will Newton  <will.newton@linaro.org>
4100         [BZ #15856]
4101         * malloc/malloc.c (__libc_valloc): Check the value of bytes
4102         does not overflow.
4104 2013-09-11  Will Newton  <will.newton@linaro.org>
4106         [BZ #15855]
4107         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
4108         does not overflow.
4110 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
4112         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
4113         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
4114         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
4115         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
4116         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
4118 2013-09-10  Allan McRae  <allan@archlinux.org>
4120         [BZ #15748]
4121         * manual/arith.texi (Parsing of Floats): Clarify
4122         cross-reference.
4124         [BZ #15849]
4125         * manual/install.texi (Running make install): Mention
4126         --enable-pt-chown.
4127         * INSTALL: Regenerated.
4129 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
4131         * csu/init-first.c (_init): Remove the !SHARED condition around
4132         FPU control word initialization.
4133         * elf/dl-support.c (_dl_fpu_control): New variable.
4134         (_dl_aux_init) <AT_FPUCW>: Initialize it.
4135         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
4136         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
4137         * math/test-fpucw-static.c: New file.
4138         * math/test-fpucw-ieee.c: New file.
4139         * math/test-fpucw-ieee-static.c: New file.
4140         * math/Makefile (tests): Add `test-fpucw-ieee' and
4141         `$(tests-static)'.
4142         (tests-static): New variable.
4143         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
4144         dependency to...
4145         [($(build-shared),yes)]
4146         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
4147         ... this.
4148         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
4149         New dependency.
4151 2013-09-09  Allan McRae  <allan@archlinux.org>
4153         [BZ #15939]
4154         * manual/string.texi (Collation Functions): Fix typo in
4155         strcoll example.
4156         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
4158         [BZ #15893]
4159         * stdlib/isomac.c (get_null_defines): Fix memory leak.
4161         [BZ #15892]
4162         * libio/memstream.c (open_memstream): Fix memory leak.
4163         * libio/wmemstream.c (open_wmemstream): Likewise.
4165         [BZ #15895]
4166         * nscd/netgroupcache.c: Fix nesting of ifdefs.
4168 2013-09-09  Will Newton  <will.newton@linaro.org>
4170         * malloc/Makefile: Add tst-realloc to tests.
4171         * malloc/tst-realloc.c: New file.
4173 2013-09-09  Allan McRae  <allan@archlinux.org>
4175         [BZ #15844]
4176         * COPYING: Update from GNU website to fix FSF address.
4177         * COPYING.LIB: Likewise.
4179 2013-09-06  David S. Miller  <davem@davemloft.net>
4181         * po/zh_TW.po: Update Chinese (traditional) translation from
4182         translation project.
4184 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
4185             Joseph Myers  <joseph@codesourcery.com>
4187         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
4188         "localeinfo.h".
4189         (obstack_chunk_alloc): New macro.
4190         (obstack_chunk_free): Likewise.
4191         (record_offset): New function.
4192         (init_locale_data): Likewise.
4193         (align_locale_data): Likewise.
4194         (add_locale_empty): Likewise.
4195         (add_locale_raw_data): Likewise.
4196         (add_locale_raw_obstack): Likewise.
4197         (add_locale_string): Likewise.
4198         (add_locale_wstring): Likewise.
4199         (add_locale_uint32): Likewise.
4200         (add_locale_uint32_array): Likewise.
4201         (add_locale_char): Likewise.
4202         (start_locale_structure): Likewise.
4203         (end_locale_structure): Likewise.
4204         (start_locale_prelude): Likewise.
4205         (end_locale_prelude): Likewise.
4206         (write_locale_data): Take locale_file structure rather than an
4207         iovec.
4208         * locale/programs/locfile.h: Include "obstack.h".
4209         (struct locale_file): Change to store locale file contents instead
4210         of header.
4211         (init_locale_data): New prototype.
4212         (align_locale_data): Likewise.
4213         (add_locale_empty): Likewise.
4214         (add_locale_raw_data): Likewise.
4215         (add_locale_raw_obstack): Likewise.
4216         (add_locale_string): Likewise.
4217         (add_locale_wstring): Likewise.
4218         (add_locale_uint32): Likewise.
4219         (add_locale_uint32_array): Likewise.
4220         (add_locale_char): Likewise.
4221         (start_locale_structure): Likewise.
4222         (end_locale_structure): Likewise.
4223         (start_locale_prelude): Likewise.
4224         (end_locale_prelude): Likewise.
4225         (write_locale_data): Update prototype.
4226         * locale/programs/3level.h (struct TABLE): Remove result field.
4227         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
4228         Use new locale_file interface.
4229         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
4230         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
4231         * locale/programs/ld-address.c (address_output): Use new
4232         locale_file interface.
4233         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
4234         NO_ADD_LOCALE.
4235         (collate_finish): Don't call collseq_table_finalize.
4236         (collate_output): Use new locale_file interface.
4237         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
4238         in file.
4239         (NO_FINALIZE): Change to NO_ADD_LOCALE.
4240         (TABLE): Move defines earlier in file.
4241         (ELEMENT): Likewise.
4242         (DEFAULT): Likewise.
4243         (wctrans_table_add): Move macro and inline function earlier in
4244         file.
4245         (struct wctype_table): Move type earlier in file.
4246         (add_locale_wctype_table): New static prototype.
4247         (struct locale_ctype_t): Use logical types instead of struct iovec
4248         pointers for members.
4249         (ctype_output): Use new locale_file interface.
4250         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
4251         new locale_file interface.
4252         (allocate_arrays): Update for use of new locale_file interface.
4253         * locale/programs/ld-identification.c (identification_output): Use
4254         new locale_file interface.
4255         * locale/programs/ld-measurement.c (measurement_output): Likewise.
4256         * locale/programs/ld-messages.c (messages_output): Likewise.
4257         * locale/programs/ld-monetary.c (monetary_output): Likewise.
4258         * locale/programs/ld-name.c (name_output): Likewise.
4259         * locale/programs/ld-numeric.c (numeric_output): Likewise.
4260         * locale/programs/ld-paper.c (paper_output): Likewise.
4261         * locale/programs/ld-telephone.c (telephone_output): Likewise.
4262         * locale/programs/ld-time.c (time_output): Likewise.
4264 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4266         * benchtests/Makefile: Add memrchr benchmark.
4267         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
4268         benchmark as memrchr.
4269         * benchtests/bench-memrchr-ifunc.c: New file.
4270         * benchtests/bench-memrchr.c: New file.
4272 2013-09-06   Will Newton  <will.newton@linaro.org>
4274         * benchtests/Makefile (string-bench): Add memcpy.
4276 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
4277             Cong Wang  <amwang@redhat.com>
4279         * sysdeps/unix/sysv/linux/bits/in.h
4280         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
4281         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
4282         before __USE_KERNEL_IPV6_DEFS uses.
4283         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
4284         IPPROTO_BEETPH.
4285         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
4286         sockaddr_in6, or ipv6_mreq.
4288 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4290         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
4291         memory access for final bytes in some large inputs.
4292         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
4294 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4296         * string/test-memrchr.c: New file.
4297         * string/test-memrchr-ifunc.c: New file.
4298         * string/Makefile: Add new memrchr testcase.
4300 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
4302         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
4303         fanotify_init returns EPERM.
4305 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
4307         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
4308         errors.
4309         (top level): Treat second token from macro or constant entries for
4310         allowed headers as allowed.
4311         * include/complex.h: Condition internal declarations on
4312         [!_ISOMAC].
4313         * include/fenv.h: Condition include of <stdbool.h> and internal
4314         declarations on [!_ISOMAC].
4316 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
4318         [BZ #15923]
4319         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
4321 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
4323         * configure.in (--enable-versioning): Remove configure option.
4324         (libc_cv_asm_symver_directive): Remove configure test.
4325         (libc_cv_ld_version_script_option): Likewise.
4326         (VERSIONING): Remove variable and AC_SUBST.
4327         (DO_VERSIONING): Remove AC_DEFINE.
4328         * configure: Regenerated.
4329         * config.h.in (DO_VERSIONING): Remove macro.
4330         * Makerules [$(versioning) = yes]: Change conditionals to
4331         [$(build-shared) = yes].
4332         * config.make.in (versioning): Remove variable.
4333         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
4334         [$(build-shared) = yes].
4335         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
4336         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
4337         * elf/Makefile [$(versioning) = yes]: Change conditionals to
4338         [$(build-shared) = yes].
4339         * extra-lib.mk [$(versioning) = yes]: Likewise.
4340         * hurd/Makefile [$(versioning) = yes]: Likewise.
4341         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
4342         [SHARED].
4343         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
4344         [SHARED].
4345         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4346         [SHARED && !NO_HIDDEN].
4347         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
4348         [SHARED].
4349         [SHARED && DO_VERSIONING]: Likewise..
4350         * libio/Makefile [$(versioning) = yes]: Change conditionals to
4351         [$(build-shared) = yes].
4352         * manual/install.texi (--disable-versioning): Remove
4353         documentation.
4354         * INSTALL: Regenerated.
4355         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
4356         to [SHARED].
4357         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
4358         [$(build-shared) = yes].
4359         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
4360         * sysdeps/i386/i686/multiarch/strstr-c.c
4361         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
4362         [SHARED && !NO_HIDDEN].
4363         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
4364         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
4365         * sysdeps/powerpc/powerpc32/dl-machine.c
4366         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
4367         * sysdeps/powerpc/powerpc32/sysdep.h
4368         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
4369         to [SHARED && PIC && !NO_HIDDEN].
4370         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
4371         conditional to [SHARED].
4373 2013-09-04   Will Newton  <will.newton@linaro.org>
4375         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
4376         * benchtests/bench-string.h: Include bench-timing.h instead
4377         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
4378         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
4379         call to HP_TIMING_DIFF_INIT.
4380         * benchtests/bench-memccpy.c: Use bench-timing.h macros
4381         instead of hp-timing.h macros.
4382         * benchtests/bench-memchr.c: Likewise.
4383         * benchtests/bench-memcmp.c: Likewise.
4384         * benchtests/bench-memcpy.c: Likewise.
4385         * benchtests/bench-memmem.c: Likewise.
4386         * benchtests/bench-memmove.c: Likewise.
4387         * benchtests/bench-memset.c: Likewise.
4388         * benchtests/bench-rawmemchr.c: Likewise.
4389         * benchtests/bench-strcasecmp.c: Likewise.
4390         * benchtests/bench-strcasestr.c: Likewise.
4391         * benchtests/bench-strcat.c: Likewise.
4392         * benchtests/bench-strchr.c: Likewise.
4393         * benchtests/bench-strcmp.c: Likewise.
4394         * benchtests/bench-strcpy.c: Likewise.
4395         * benchtests/bench-strcpy_chk.c: Likewise.
4396         * benchtests/bench-strlen.c: Likewise.
4397         * benchtests/bench-strncasecmp.c: Likewise.
4398         * benchtests/bench-strncat.c: Likewise.
4399         * benchtests/bench-strncmp.c: Likewise.
4400         * benchtests/bench-strncpy.c: Likewise.
4401         * benchtests/bench-strnlen.c: Likewise.
4402         * benchtests/bench-strpbrk.c: Likewise.
4403         * benchtests/bench-strrchr.c: Likewise.
4404         * benchtests/bench-strspn.c: Likewise.
4405         * benchtests/bench-strstr.c: Likewise.
4407 2013-09-04  Will Newton  <will.newton@linaro.org>
4409         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
4411 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
4413         [BZ #15427]
4414         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
4415         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
4416         * math/libm-test.inc (lgamma_test_data): Add more tests.
4417         * sysdeps/i386/fpu/libm-test-ulps: Update.
4418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4420 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
4422         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
4423         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
4424         Add ifunc.
4425         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
4426         Add strcmp-sse2-unaligned
4427         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
4429 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
4431         * Versions.def (libc): Add GLIBC_2.19.
4433 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
4435         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
4436         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
4438 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
4440         [BZ #14155]
4441         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
4442         intermediate calculations in recurrence.
4443         (__ieee754_ynf): Likewise.
4444         * math/libm-test.inc (jn_test_data): Do not allow spurious
4445         underflow exception.  Add more tests.
4446         (yn_test_data): Add more tests.
4447         * sysdeps/i386/fpu/libm-test-ulps: Update.
4448         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4450 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
4452         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
4454 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
4456         * csu/init-first.c: Fix then/than typos.
4457         * locale/programs/ld-collate.c: Likewise.
4458         * locale/programs/linereader.h: Likewise.
4459         * manual/charset.texi: Likewise.
4460         * manual/filesys.texi: Likewise.
4461         * manual/stdio.texi: Likewise.
4462         * manual/string.texi: Likewise.
4463         * stdlib/fmtmsg.c: Likewise.
4464         * sysdeps/i386/stpncpy.S: Likewise.
4465         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
4466         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
4467         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
4468         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
4470 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
4472         * elf/dl-open.c: Fix typos.
4473         * iconvdata/gbbig5.c: Likewise.
4474         * iconvdata/iso-2022-jp.c: Likewise.
4475         * iconv/gconv_int.h: Likewise.
4476         * iconv/loop.c: Likewise.
4477         * nis/rpcsvc/nis.h: Likewise.
4478         * resolv/ns_name.c: Likewise.
4479         * stdio-common/vfscanf.c: Likewise.
4480         * streams/stropts.h: Likewise.
4481         * sunrpc/rpc_thread.c: Likewise.
4482         * sysdeps/i386/strpbrk.S: Likewise.
4483         * sysdeps/ieee754/k_standard.c: Likewise.
4484         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
4485         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
4486         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
4487         * sysdeps/mach/hurd/profil.c: Likewise.
4488         * sysdeps/s390/dl-procinfo.h: Likewise.
4489         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
4490         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
4491         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
4492         * sysdeps/x86_64/dl-trampoline.S: Likewise.
4493         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
4495 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
4497         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
4498         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
4500 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
4502         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
4503         aix specific files.
4504         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
4505         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
4506         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
4507         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
4508         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
4509         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
4510         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
4511         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
4513 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
4514             Roland McGrath  <roland@hack.frob.com>
4516         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
4517         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
4519 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4521         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
4522         __executable_start symbol instead of _start.
4524 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
4526         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
4527         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
4528         Move macros to...
4529         * sysdeps/gnu/ldsodefs.h: ... this new file.
4531         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
4532         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
4533         instead of ELFOSABI_LINUX.
4535         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
4536         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
4537         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
4538         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
4539         Likewise.
4540         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
4541         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
4542         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
4543         Likewise.
4544         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
4545         (ibm_extended_long_double): Add ieee_nan member.
4546         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
4547         (do_test): New function.
4549         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
4550         TEST_TRUNC.
4551         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
4552         functions, renamed from truncdfsf_test, trunctfsf_test,
4553         trunctfdf_test.
4554         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
4555         functions.
4556         (do_test): Run all these.
4558 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
4560         * argp/argp-help.c: Fix typos.
4561         * argp/argp-parse.c: Likewise.
4562         * debug/backtracesyms.c: Likewise.
4563         * elf/elf.h: Likewise.
4564         * malloc/malloc.c: Likewise.
4565         * nis/nis_print.c: Likewise.
4566         * resolv/res_comp.c: Likewise.
4567         * stdlib/stdlib.h: Likewise.
4568         * sunrpc/clnt_tcp.c: Likewise.
4569         * sunrpc/clnt_udp.c: Likewise.
4570         * sunrpc/clnt_unix.c: Likewise.
4571         * sysdeps/unix/bsd/ptsname.c: Likewise.
4572         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
4573         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
4574         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
4575         Likewise.
4576         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
4577         Likewise.
4578         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
4579         Likewise.
4580         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
4582 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
4584         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
4585         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
4587 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
4589         [BZ #15897]
4590         * dlfcn/Makefile (tests): Add bug-dl-leaf.
4591         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
4592         ($(objpfx)bug-dl-leaf): New rule.
4593         ($(objpfx)bug-dl-leaf.so): Likewise.
4594         ($(objpfx)bug-dl-leaf.out): Likewise.
4595         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
4596         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
4597         * dlfcn/bug-dl-leaf.c: New test.
4598         * dlfcn/bug-dl-leaf-lib.c: Likewise.
4599         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
4600         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
4601         (dlclose): Likewise.
4602         (dlmopen): Likewise.
4604 2013-08-27  Roland McGrath  <roland@hack.frob.com>
4606         * include/netdb.h [!_ISOMAC]:
4607         Don't include <tls.h>.
4608         (h_errno, __libc_h_errno): Move declaration and macros out of
4609         [_LIBC_REENTRANT].
4611         * include/resolv.h [_RESOLV_H_]:
4612         Don't include <tls.h>.
4613         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
4614         * resolv/res_libc.c: Don't include <tls.h>.
4615         (_res): Use __attribute__ ((nocommon)) in place of
4616         __attribute__ ((section (".bss"))).
4618         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
4619         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
4621         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
4623         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
4624         only under [SIOCGIFCONF && SIOCGIFNETMASK].
4626         * resolv/res_mkquery.c: Include <sys/time.h>.
4628         * inet/ifreq.c: Moved to ...
4629         * sysdeps/unix/ifreq.c: ... here.
4630         * inet/ifreq.c: New file, true stub version.
4632         * socket/sa_len.c: New file.
4633         * socket/Makefile (aux): Add it.
4634         * sysdeps/unix/sysv/linux/Makefile
4635         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
4636         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
4637         and #include <socket/sa_len.c>.
4638         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
4639         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
4641         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
4642         * bits/socket.h: ... here.
4644         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
4645         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
4646         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
4648 2013-08-27  Andreas Schwab  <schwab@suse.de>
4650         [BZ #15736]
4651         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
4652         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
4653         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
4654         * string/test-strcasecmp.c (test_main): Run tests in several
4655         locales.
4656         * string/test-strncasecmp.c (test_main): Likewise.
4658         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
4659         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
4660         to __strcasecmp_nonascii and __strncasecmp_nonascii.
4661         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
4662         (__strncasecmp_ssse3) [PIC]: Likewise.
4664 2013-08-26  Roland McGrath  <roland@hack.frob.com>
4666         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
4668         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
4669         instead of explicitly declaring xdecrypt.
4670         * nis/nss_nis/nis-publickey.c: Likewise.
4672 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4674         [BZ #15890]
4675         * nscd/aicache.c: Include res_hconf.h.
4676         (addhstaiX): Initialize res_hconf.
4678 2013-08-26  Andreas Schwab  <schwab@suse.de>
4680         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
4681         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
4683 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
4685         * nscd/aicache.c (addhstaiX): Fix indentation.
4687 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
4689         * configure.ac: Quote $build_pt_chown test.
4690         * configure: Regenerated.
4692 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
4694         [BZ #15532]
4695         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
4696         * math/s_cexpf.c (__cexpf): Likewise.
4697         * math/s_cexpl.c (__cexpl): Likewise.
4698         * math/libm-test.inc (cexp_test_data): Correct expected return
4699         value for NaN + i0.  Add another test.
4701 2013-08-22  David S. Miller  <davem@davemloft.net>
4703         * po/ca.po: Update Catalan translation from translation project.
4704         * po/uk.po: Add Ukrainian translations from translation project.
4706 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
4708         [BZ #15797]
4709         * math/s_fdim.c (__fdim): Check for infinite arguments if result
4710         is infinite, not alongside NaN test.
4711         * math/s_fdimf.c (__fdimf): Likewise.
4712         * math/s_fdiml.c (__fdiml): Likewise.
4713         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
4714         errno is unchanged.
4716 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
4718         * argp/argp-help.c: Fix typos.
4719         * crypt/speeds.c: Likewise.
4720         * csu/check_fds.c: Likewise.
4721         * elf/dl-load.c: Likewise.
4722         * elf/dl-open.c: Likewise.
4723         * elf/reldep3.c: Likewise.
4724         * elf/reldep.c: Likewise.
4725         * elf/sprof.c: Likewise.
4726         * iconv/iconv_charmap.c: Likewise.
4727         * iconv/skeleton.c: Likewise.
4728         * iconv/strtab.c: Likewise.
4729         * io/lockf64.c: Likewise.
4730         * libio/libioP.h: Likewise.
4731         * resolv/gai_notify.c: Likewise.
4732         * resolv/ns_name.c: Likewise.
4733         * resolv/ns_samedomain.c: Likewise.
4734         * resolv/res_send.c: Likewise.
4735         * stdlib/random.c: Likewise.
4736         * sunrpc/rpc/xdr.h: Likewise.
4737         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
4738         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
4739         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
4740         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
4741         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
4742         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
4743         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
4744         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
4745         * sysdeps/mach/hurd/check_fds.c: Likewise.
4746         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
4747         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
4748         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
4749         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
4750         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
4751         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
4752         * sysdeps/pthread/aio_notify.c: Likewise.
4753         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
4754         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
4755         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
4756         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
4757         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
4759 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
4761         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
4762         version if bit_Slow_SSE4_2 is set.
4763         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
4764         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
4766 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4768         [BZ #15867]
4769         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
4770         trampoline stack frame information.
4771         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
4772         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
4773         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
4774         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
4775         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
4776         * sysdeps/unix/sysv/linux/powerpc/init-first.c
4777         (_libc_vdso_platform_setup): Initialize the signal trampolines.
4778         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
4779         sa_flags value.
4780         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
4781         interrupting a syscall and set with option SA_SIGINFO.
4783 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
4785         [BZ #15531]
4786         * math/s_cproj.c (__cproj): Only return an infinity if one part of
4787         argument is infinite.
4788         * math/s_cprojf.c (__cprojf): Likewise.
4789         * math/s_cprojl.c (__cprojl): Likewise.
4790         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
4791         * math/libm-test.inc (cproj_test_data): Add more tests.
4793         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
4795         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
4796         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
4797         size.  Use __ffs to determine corresponding shift.
4799 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
4800             Roland McGrath  <roland@hack.frob.com>
4802         * Makefile (INSTALL): Remove trailing blank lines from output of
4803         makeinfo.
4805 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4807         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
4808         Align 32 bit compat elf_greg to 8 bytes.
4810 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
4812         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
4814 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
4816         * string/strcoll_l.c (coll_seq): New structure.
4817         (get_next_seq_cached): New function.
4818         (get_next_seq): New function.
4819         (do_compare): New function.
4820         (STRCOLL): Use GNU style definition.  Simplify implementation
4821         by using get_next_seq, get_next_seq_cached and do_compare.
4823 2013-08-16  Florian Weimer  <fweimer@redhat.com>
4825         [BZ #14699]
4826         CVE-2013-4237
4827         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
4828         member.
4829         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
4830         member.
4831         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
4832         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
4833         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
4834         conditional.
4835         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
4836         GETDENTS_64BIT_ALIGNED.
4837         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
4838         * manual/filesys.texi (Reading/Closing Directory): Document
4839         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
4840         strongly.
4841         * manual/conf.texi (Limits for Files): Add portability note to
4842         NAME_MAX, PATH_MAX.
4843         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
4845 2013-08-13  Andreas Schwab  <schwab@suse.de>
4847         [BZ #15749]
4848         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
4849         of fabs.
4850         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
4851         LDBL_MAX_EXP >= 16384]: Add tests for it.
4853 2013-08-12  David S. Miller  <davem@davemloft.net>
4855         * version.h (RELEASE): Set to "development".
4856         (VERSION): Set to "2.18.90".
4857         * NEWS: Add 2.19 section.
4859 2013-08-03  David S. Miller  <davem@davemloft.net>
4861         * po/ko.po: Update Korean translation from translation project.
4863 2013-08-01  David S. Miller  <davem@davemloft.net>
4865         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
4866         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
4867         Bilka.
4869 2013-07-30  David S. Miller  <davem@davemloft.net>
4871         * po/fr.po: Update French translation from translation project.
4873 2013-07-28  David S. Miller  <davem@davemloft.net>
4875         * po/cs.po: Update Czech translation from translation project.
4877         * po/sv.po: Update Swedish translation from translation project.
4879 2013-07-27  David S. Miller  <davem@davemloft.net>
4881         * po/eo.po: Update Esperanto translation from translation project.
4883         * po/vi.po: Update Vietnamese translation from translation project.
4885         * po/de.po: Update German translation from translation project.
4887 2013-07-26  David S. Miller  <davem@davemloft.net>
4889         * po/bg.po: Update Bulgarian translation from translation project.
4891         * po/nl.po: Update Dutch translation from translation project.
4892         * po/pl.po: Update Polish translation from translation project.
4893         * po/ru.po: Update Russian translation from translation project.
4895 2013-07-24  David S. Miller  <davem@davemloft.net>
4897         * po/libc.pot: Update.
4899 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4901         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
4902         variable page size.
4903         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
4904         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
4905         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
4907 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
4909         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
4911 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
4912             Andreas Schwab  <schwab@suse.de>
4913             Roland McGrath  <roland@hack.frob.com>
4914             Joseph Myers  <joseph@codesourcery.com>
4915             Carlos O'Donell  <carlos@redhat.com>
4917         [BZ #15755]
4918         * config.h.in: Define HAVE_PT_CHOWN.
4919         * config.make.in (build-pt-chown): New variable.
4920         * configure.in (--enable-pt_chown): New configure option.
4921         * configure: Regenerate.
4922         * login/Makefile: Include Makeconfig.  Build pt_chown only if
4923         build-pt-chown is enabled.
4924         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
4925         pt_chown to fix pty ownership.
4926         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
4927         CLOSE_ALL_FDS.
4928         * manual/install.texi (Configuring and compiling): Mention
4929         --enable-pt_chown. Add @findex for grantpt.
4930         * INSTALL: Regenerate.
4932 2013-07-20  David S. Miller  <davem@davemloft.net>
4934         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
4935         difference between 32-bit and 64-bit.
4937 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
4939         [BZ #15711]
4940         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
4941         Avoid system header dependency with -ffreestanding.
4942         ($(objpfx)bits/syscall%d): Likewise.
4944 2013-07-13  David S. Miller  <davem@davemloft.net>
4946         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
4947         underflows from atanl/atan2l due to bug 15319.
4948         (casinh_test_data): Likewise.
4950 2013-07-07  David S. Miller  <davem@davemloft.net>
4952         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
4954 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
4956         * sysdeps/i386/fpu/libm-test-ulps: Update.
4957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4959 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
4961         * configure.in (--enable-lock-elision): Fix message text.
4962         * INSTALL: Regenerate.
4963         * configure: Regenerate.
4965 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
4967         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
4969 2013-07-03  Andreas Jaeger  <aj@suse.de>
4971         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
4972         define.
4973         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
4974         (ptrace_peeksiginfo_args): Add.
4975         (__ptrace_peeksiginfo_flags): Add.
4976         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
4977         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
4978         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
4980 2013-07-03  Allan McRae  <allan@archlinux.org>
4982         * sysdeps/i386/fpu/libm-test-ulps: Update.
4984 2013-07-02  David S. Miller  <davem@davemloft.net>
4986         * sysdeps/sparc/fpu/libm-test-ulps: Update.
4988 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
4990         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
4992 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
4994         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
4995         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
4997 2013-07-02  Andi Kleen <ak@linux.intel.com>
4999         * config.h.in (ENABLE_LOCK_ELISION): Add.
5000         * configure.in (--enable-lock-elision): Add option.
5001         * manual/install.texi: Document --enable lock elision.
5002         * configure: Regenerate
5003         * INSTALL: Regenerate.
5005 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
5007         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
5008         SSE4.2 strcasecmp for libc.a.
5009         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
5011 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
5013         [BZ #13304]
5014         * soft-fp/op-common.h (_FP_FMA): New macro.
5015         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
5016         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
5017         (_FP_MUL_MEAT_1_imm): ... here.
5018         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
5019         (_FP_MUL_MEAT_1_wide): ... here.
5020         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
5021         (_FP_MUL_MEAT_1_hard): ... here.
5022         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
5023         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
5024         (_FP_MUL_MEAT_2_wide): ... here.
5025         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
5026         (_FP_MUL_MEAT_2_wide_3mul): ... here.
5027         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
5028         (_FP_MUL_MEAT_2_gmp): ... here.
5029         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
5030         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
5031         (_FP_MUL_MEAT_4_wide): ... here.
5032         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
5033         (_FP_MUL_MEAT_4_gmp): ... here.
5034         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
5035         (_FP_WFRACBITS_DW_S): Likewise.
5036         (_FP_WFRACXBITS_DW_S): Likewise.
5037         (_FP_HIGHBIT_DW_S): Likewise.
5038         (FP_FMA_S): Likewise.
5039         (_FP_FRAC_HIGH_DW_S): Likewise.
5040         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
5041         (_FP_WFRACBITS_DW_D): Likewise.
5042         (_FP_WFRACXBITS_DW_D): Likewise.
5043         (_FP_HIGHBIT_DW_D): Likewise.
5044         (FP_FMA_D): Likewise.
5045         (_FP_FRAC_HIGH_DW_D): Likewise.
5046         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
5047         (_FP_WFRACBITS_DW_E): Likewise.
5048         (_FP_WFRACXBITS_DW_E): Likewise.
5049         (_FP_HIGHBIT_DW_E): Likewise.
5050         (FP_FMA_E): Likewise.
5051         (_FP_FRAC_HIGH_DW_E): Likewise.
5052         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
5053         (_FP_WFRACBITS_DW_Q): Likewise.
5054         (_FP_WFRACXBITS_DW_Q): Likewise.
5055         (_FP_HIGHBIT_DW_Q): Likewise.
5056         (FP_FMA_Q): Likewise.
5057         (_FP_FRAC_HIGH_DW_Q): Likewise.
5058         * soft-fp/fmasf4.c: New file.
5059         * soft-fp/fmadf4.c: Likewise.
5060         * soft-fp/fmatf4.c: Likewise.
5062 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5064         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
5065         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
5066         Silvermont.
5067         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
5068         macro.
5069         (index_Slow_SSE4_2): Likewise.
5070         (index_Prefer_PMINUB_for_stringop): Likewise.
5071         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
5072         bit_Slow_SSE4_2 is set.
5073         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
5074         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
5076 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5078         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
5079         rtld_global._dl_hwcap2.
5080         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
5081         POWER8.
5082         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
5083         POWER8 feature descriptions defined in _dl_hwcap2.
5084         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
5085         string handling for POWER8 feature bits.
5086         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
5087         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
5088         _dl_powerpc_cap_flags.
5089         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
5090         * sysdeps/powerpc/rtld-global-offsets.sym
5091         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
5092         _dl_hwcap2 in the rtld_global_ro structure.
5094 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5096         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
5097         hardware capabilities in support of AT_HWCAP2.
5098         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
5099         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
5100         GLRO(dl_hwcap2).
5101         (_dl_show_auxv): Add support for calling _dl_procinfo to display
5102         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
5103         explicitly the unknown a_type display mechanism is used.
5104         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
5105         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
5106         struct member.
5107         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
5108         to macro prototype for AT_HWCAP2 support.
5109         * sysdeps/i386/dl-procinfo.h: Likewise.
5110         * sysdeps/s390/dl-procinfo.h: Likewise.
5111         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
5112         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
5113         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
5114         return -1 for unknown a_type display fallback.
5115         * sysdeps/sparc/dl-procinfo.h: Likewise.
5116         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
5117         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
5119 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
5121         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
5122         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
5124 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
5126         [BZ #12492]
5127         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
5128         mprotect making __stack_prot writable.
5130 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
5131             Joseph Myers  <joseph@codesourcery.com>
5133         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
5134         as being properly aligned.
5136 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
5138         * dlfcn/modstatic5.c: New file.
5139         * dlfcn/tststatic5.c: New file.
5140         * dlfcn/Makefile (tests): Add tststatic5.
5141         (tests-static): Likewise.
5142         (modules-names): Add modstatic5.
5143         (tststatic5-ENV): New variable.
5144         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
5146         [BZ #15022]
5147         * elf/dl-support.c (_dl_main_map): New variable.
5148         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
5149         (_dl_nns, _dl_load_adds): Set to 1.
5150         (_dl_initial_searchlist): Refer to _dl_main_map.
5151         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
5152         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
5153         call to _dl_get_origin.
5154         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
5155         around call_map.
5156         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
5157         * dlfcn/modstatic3.c: New file.
5158         * dlfcn/tststatic3.c: New file.
5159         * dlfcn/tststatic4.c: New file.
5160         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
5161         (tests-static): Likewise.
5162         (modules-names): Add modstatic3.
5163         (tststatic3-ENV, tststatic4-ENV): New variables.
5164         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
5165         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
5167 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
5169         * configure.in (CC): Require GCC version 4.4 or later.
5170         * configure: Regenerated.
5171         * manual/install.texi (Tools for Compilation): Update GCC version
5172         requirement.
5173         * INSTALL: Regenerated.
5175 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5177         [BZ #15674]
5178         * string/test-memcmp.c (check2): New.
5179         (main): Call check2.
5181         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
5183 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
5185         [BZ #15022]
5186         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
5187         over to...
5188         (dl_open_worker) [!SHARED]: ... here.
5190 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5192         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
5194 2013-06-25  Richard Henderson  <rth@redhat.com>
5196         * locale/programs/locarchive.c: Include <libc-internal.h>
5198 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
5200         * manual/texinfo.tex: Update to version 2013-06-21.17, with
5201         trailing whitespace removed.
5203 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
5205         [BZ #10283]
5206         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
5207         * locale/programs/locarchive.c: Include libc-mmap.h.
5208         (prepare_address_space): Take two new outputs (the mmap base and len).
5209         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
5210         values.
5211         (create_archive): Declare new mmap base and len values for
5212         prepare_address_space, and store the result in ah.
5213         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
5214         (enlarge_archive): If ah->mmap_base is not NULL, use that and
5215         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5216         Declare new mmap base and len values for
5217         prepare_address_space, and store the result in new_ah.
5218         (open_archive): Declare new mmap base and len values for
5219         prepare_address_space, and store the result in ah.
5220         (close_archive): If ah->mmap_base is not NULL, use that and
5221         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
5222         * sysdeps/generic/libc-mmap.h: New file.
5224 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
5226         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
5227         (ALIGN_UP): Likewise.
5228         (PTR_ALIGN_DOWN): Likewise.
5229         (PTR_ALIGN_UP): Likewise.
5231 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5233         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
5234         entry mapped to PPC_PLATFORM_POWER8.
5235         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
5236         POWER8.
5237         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
5238         (_dl_string_platform): Add case for exporting platform position for
5239         POWER8.
5240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
5241         search path to sysdeps/powerpc/powerpc32/power8 directory.
5242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
5243         search path to sysdeps/powerpc/powerpc64/power8 directory.
5244         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
5245         power7 directories.
5246         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
5247         power7 directories.
5249 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
5251         * INSTALL: Regenerate.
5253         * nscd/connections.c (nscd_init): Fix comment.
5255 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
5257         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
5259         [BZ #15667]
5260         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
5261         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
5263 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
5265         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
5266         DL_DST_REQ_STATIC.
5267         (DL_DST_REQ_STATIC): Remove macro.
5269 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
5271         [BZ #7006]
5272         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
5273         with a shift of 0 bits.
5275 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
5277         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
5278         $(tststatic-ENV).
5280 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
5282         [BZ #15655]
5283         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
5285 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5287         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
5288         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
5289         accepts -fno-tree-loop-distribute-patterns.
5290         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
5291         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
5292         recursive call.
5293         * string/memset.c (memset): Likewise.
5294         * string/test-memmove.c (simple_memmove): Disable loop transformation
5295         to library calls.
5296         * string/test-memset.c (simple_memset): Likewise.
5297         * benchtests/bench-memmove.c (simple_memmove): Likewise.
5298         * benchtests/bench-memset.c (simple_memset): Likewise.
5299         * configure: Regenerated.
5301 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
5303         * math/test-misc.c (main): Ignore fesetround failure when failures
5304         of subsequent rounding tests would be ignored.
5306         [BZ #15654]
5307         * math/fedisblxcpt.c (fedisableexcept): Return 0.
5308         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
5309         * math/fegetenv.c (__fegetenv): Return 0.
5310         * math/fegetexcept.c (fegetexcept): Return 0.
5311         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
5312         FE_TONEAREST.
5313         * math/feholdexcpt.c (feholdexcept): Return 0.
5314         * math/fesetenv.c (__fesetenv): Return 0.
5315         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
5316         argument FE_TONEAREST.
5317         * math/feupdateenv.c (__feupdateenv): Return 0.
5318         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
5320 2013-06-18  Roland McGrath  <roland@hack.frob.com>
5322         * elf/rtld-Rules (rtld-compile-command.S): New variable.
5323         (rtld-compile-command.s, rtld-compile-command.c): New variables.
5324         ($(objpfx)rtld-%.os rules): Use them.
5326 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5328         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
5329         fields.
5331 2013-06-17  Roland McGrath  <roland@hack.frob.com>
5333         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
5334         length of target pattern, then descending length of dependency pattern.
5335         * configure.in (AWK): Require gawk 3.1.2 or newer.
5336         * manual/install.texi (Tools for Compilation): Say that we do.
5337         * configure: Regenerated.
5339         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
5340         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
5341         * scripts/sysd-rules.awk: ... this new script.
5342         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
5343         than a glob-style pattern.
5345 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
5347         * math/test-misc.c (main): Do not treat incorrectly rounded
5348         conversions as failure unless ROUNDING_TESTS passes.
5350 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
5352         [BZ #15631]
5353         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
5354         restore exception state around main square root computation, then
5355         check for inexactness explicitly.
5357         * math/libm-test.inc (fma_test_data): Add another test.
5359 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
5361         * manual/threads.texi (Non-POSIX Extensions): New document
5362         node.  Document pthread_getattr_default_np and
5363         pthread_setattr_default_np.
5365         * Versions.def (libpthread): Add GLIBC_2.18.
5366         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
5367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
5368         Likewise.
5369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
5370         Likewise.
5371         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
5372         Likewise.
5373         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
5374         Likewise.
5375         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
5376         Likewise.
5377         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
5378         Likewise.
5379         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
5380         Likewise.
5381         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
5382         Likewise.
5383         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
5384         Likewise.
5386 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
5388         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
5389         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
5391 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
5392             H.J. Lu  <hjl.tools@gmail.com>
5394         [BZ #15627]
5395         * sysdeps/x86_64/rtld-memset.c: Remove file.
5396         * sysdeps/x86_64/rtld-memset.S: New file.
5398 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
5400         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
5401         (test_in_one_mode): Take arguments for whether the rounding mode
5402         is supported for each floating-point type.
5403         (do_test): Pass new arguments to test_in_one_mode using
5404         ROUNDING_TESTS.
5406 2013-06-13  Roland McGrath  <roland@hack.frob.com>
5408         * posix/tst-waitid.c (do_test): Distinguish different instances of
5409         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
5410         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
5411         before entering the kernel for waitpid.
5413 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
5415         * NEWS: Fix note on clock function precision.  Text by Roland
5416         McGrath.
5418 2013-06-13  Roland McGrath  <roland@hack.frob.com>
5420         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
5421         it into place only when and if the sanity check passes.
5423 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
5425         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
5426         output for whether conversion result is exact.  Take argument
5427         indicating whether type is IBM long double.
5428         (round_for_all): Change need_exact field to ibm_ld.
5429         * stdlib/tst-strtod-round.c (struct exactness): New type.
5430         (struct test): Change bool ld_ok field to struct exactness exact.
5431         (TEST): Update all definitions for change to field.
5432         (tests): Regenerate array contents.
5433         (test_in_one_mode): Take pointer to new field instead of old ld_ok
5434         field value.  Check for IBM long double here.
5435         (do_test): Update calls to test_in_one_mode.
5437 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
5439         [BZ #12515]
5440         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
5441         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
5443 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
5445         [BZ #15605]
5446         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
5447         generated by the compiler on loop optimizations.
5448         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
5449         general definitions.
5451 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
5453         * math/bug-nextafter.c: Include <math-tests.h>.
5454         (main): Only test for exceptions if EXCEPTION_TESTS is true for
5455         the relevant type.
5456         * math/bug-nexttoward.c: Include <math-tests.h>.
5457         (main): Only test for exceptions if EXCEPTION_TESTS is true for
5458         the relevant type.
5459         * math/test-misc.c: Include <math-tests.h>.
5460         (main): Only test for exceptions if EXCEPTION_TESTS is true for
5461         the relevant type.
5463 2013-06-12  Andreas Jaeger  <aj@suse.de>
5465         * po/ia.po: Update Interlingua translation from translation
5466         project.
5468 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
5470         * include/fenv.h: Include stdbool.h.
5471         (struct rm_ctx): New structure.
5472         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
5473         Define macro.
5474         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
5475         (SET_RESTORE_ROUNDF): Likewise.
5476         (SET_RESTORE_ROUNDL): Likewise.
5477         (SET_RESTORE_ROUND_NOEX): Likewise.
5478         (SET_RESTORE_ROUND_NOEXF): Likewise.
5479         (SET_RESTORE_ROUND_NOEXL): Likewise.
5480         (SET_RESTORE_ROUND_53BIT): Likewise.
5481         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
5482         (libc_feresetround_noexf_ctx): Likewise.
5483         (libc_feresetround_noexl_ctx): Likewise.
5484         (libc_feholdsetround_53bit_ctx): Likewise.
5485         (libc_feresetround_53bit_ctx): Likewise.
5486         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
5487         (libc_feholdexcept_setround_sse_ctx): New function.
5488         (libc_fesetenv_sse_ctx): Likewise.
5489         (libc_feupdateenv_sse_ctx): Likewise.
5490         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
5491         (libc_feholdexcept_setround_387_ctx): Likewise.
5492         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
5493         (libc_feholdsetround_387_prec_ctx): Likewise.
5494         (libc_feholdsetround_387_ctx): Likewise.
5495         (libc_feholdsetround_387_53bit_ctx): Likewise.
5496         (libc_feholdsetround_sse_ctx): Likewise.
5497         (libc_feresetround_sse_ctx): Likewise.
5498         (libc_feresetround_387_ctx): Likewise.
5499         (libc_feupdateenv_387_ctx): Likewise.
5500         (libc_feholdexcept_setroundf_ctx): Define macro.
5501         (libc_fesetenvf_ctx): Likewise.
5502         (libc_feupdateenvf_ctx): Likewise.
5503         (libc_feholdsetroundf_ctx): Likewise.
5504         (libc_feresetroundf_ctx): Likewise.
5505         (libc_feholdexcept_setround_ctx): Likewise.
5506         (libc_fesetenv_ctx): Likewise.
5507         (libc_feupdateenv_ctx): Likewise.
5508         (libc_feholdsetround_ctx): Likewise.
5509         (libc_feresetround_ctx): Likewise.
5510         (libc_feholdexcept_setroundl_ctx): Likewise.
5511         (libc_feupdateenvl_ctx): Likewise.
5512         (libc_feholdsetroundl_ctx): Likewise.
5513         (libc_feresetroundl_ctx): Likewise.
5514         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
5515         (libc_feresetround_53bit_ctx): Likewise.
5517 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5519         * locale/iso-639.def: Convert to UTF-8.
5521 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
5523         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
5524         (EXCEPTION_TESTS_double): Likewise.
5525         (EXCEPTION_TESTS_long_double): Likewise.
5526         (EXCEPTION_TESTS): Likewise.
5527         * math/libm-test.inc (test_exceptions): Only test exceptions if
5528         EXCEPTION_TESTS (FLOAT).
5530 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5532         * benchtests/Makefile (string-bench): Add strcpy_chk and
5533         stpcpy_chk.
5534         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
5535         * benchtests/bench-stpcpy_chk.c: New file.
5536         * benchtests/bench-strcpy_chk-ifunc.c: New file.
5537         * benchtests/bench-strcpy_chk.c: New file.
5538         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
5539         code.
5540         (do_test): Likewise.
5542 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
5544         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
5545         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
5546         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
5547         with tabs where appropriate.
5548         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
5549         dl-procinfo.h.
5550         [PPC_PLATFORM_PPC440]: Likewise.
5551         [PPC_PLATFORM_PPC464]: Likewise.
5552         [PPC_PLATFORM_PPC476]: Likewise.
5553         (_dl_string_platform): Add support for detecting ppc405, ppc440,
5554         ppc464, and ppc476 platform strings merging from ports/
5555         dl-procinfo.h.
5557 2013-06-11  Andreas Schwab  <schwab@suse.de>
5559         [BZ #14991]
5560         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
5561         (from_ucs4_idx): Regenerate.
5562         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
5563         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
5564         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
5565         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
5566         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
5567         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
5568         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
5569         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
5570         from FROM_LOOP and TO_LOOP specific macros.
5571         (BODY): Handle combining characters.
5572         * iconvdata/BIG5HKSCS.irreversible: Update.
5573         * iconvdata/BIG5HKSCS.precomposed: New file.
5574         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
5575         characters.
5576         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
5578 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5580         * include/sys/time.h: Fix indentation and add copyright header.
5582         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
5583         (do_test): Likewise.
5584         * string/test-memchr.c (do_one_test): Likewise.
5585         (do_test): Likewise.
5586         * string/test-memcmp.c (do_one_test): Likewise.
5587         (do_test): Likewise.
5588         * string/test-memcpy.c (do_one_test): Likewise.
5589         (do_test): Likewise.
5590         * string/test-memmem.c (do_one_test): Likewise.
5591         (do_test): Likewise.
5592         (do_random_tests): Likewise.
5593         * string/test-memmove.c (do_one_test): Likewise.
5594         (do_test): Likewise.
5595         * string/test-memset.c (do_one_test): Likewise.
5596         (do_test): Likewise.
5597         * string/test-rawmemchr.c (do_one_test): Likewise.
5598         (do_test): Likewise.
5599         * string/test-strcasecmp.c (do_one_test): Likewise.
5600         (do_test): Likewise.
5601         * string/test-strcasestr.c (do_one_test): Likewise.
5602         (do_test): Likewise.
5603         * string/test-strcat.c (do_one_test): Likewise.
5604         (do_test): Likewise.
5605         * string/test-strchr.c (do_one_test): Likewise.
5606         (do_test): Likewise.
5607         * string/test-strcmp.c (do_one_test): Likewise.
5608         (do_test): Likewise.
5609         * string/test-strcpy.c (do_one_test): Likewise.
5610         (do_test): Likewise.
5611         * string/test-string.h: Likewise.
5612         (test_init): Likewise.
5613         * string/test-strlen.c (do_one_test): Likewise.
5614         (do_test): Likewise.
5615         * string/test-strncasecmp.c (do_one_test): Likewise.
5616         (do_test): Likewise.
5617         * string/test-strncat.c (do_one_test): Likewise.
5618         (do_test): Likewise.
5619         * string/test-strncmp.c (do_one_test): Likewise.
5620         (do_test_limit): Likewise.
5621         (do_test): Likewise.
5622         * string/test-strncpy.c (do_one_test): Likewise.
5623         (do_test): Likewise.
5624         * string/test-strnlen.c (do_one_test): Likewise.
5625         (do_test): Likewise.
5626         * string/test-strpbrk.c (do_one_test): Likewise.
5627         (do_test): Likewise.
5628         * string/test-strrchr.c (do_one_test): Likewise.
5629         (do_test): Likewise.
5630         * string/test-strspn.c (do_one_test): Likewise.
5631         (do_test): Likewise.
5632         * string/test-strstr.c (do_one_test): Likewise.
5633         (do_test): Likewise.
5635         * benchtests/Makefile (string-bench): Add string benchmarks.
5636         * benchtests/bench-bcopy-ifunc.c: New file.
5637         * benchtests/bench-bcopy.c: New file.
5638         * benchtests/bench-bzero-ifunc.c: New file.
5639         * benchtests/bench-bzero.c: New file.
5640         * benchtests/bench-memccpy-ifunc.c: New file.
5641         * benchtests/bench-memccpy.c: New file.
5642         * benchtests/bench-memchr-ifunc.c: New file.
5643         * benchtests/bench-memchr.c: New file.
5644         * benchtests/bench-memcmp-ifunc.c: New file.
5645         * benchtests/bench-memcmp.c: New file.
5646         * benchtests/bench-memmem-ifunc.c: New file.
5647         * benchtests/bench-memmem.c: New file.
5648         * benchtests/bench-memmove-ifunc.c: New file.
5649         * benchtests/bench-memmove.c: New file.
5650         * benchtests/bench-mempcpy-ifunc.c: New file.
5651         * benchtests/bench-mempcpy.c: New file.
5652         * benchtests/bench-memset-ifunc.c: New file.
5653         * benchtests/bench-memset.c: New file.
5654         * benchtests/bench-rawmemchr-ifunc.c: New file.
5655         * benchtests/bench-rawmemchr.c: New file.
5656         * benchtests/bench-stpcpy-ifunc.c: New file.
5657         * benchtests/bench-stpcpy.c: New file.
5658         * benchtests/bench-stpncpy-ifunc.c: New file.
5659         * benchtests/bench-stpncpy.c: New file.
5660         * benchtests/bench-strcasecmp-ifunc.c: New file.
5661         * benchtests/bench-strcasecmp.c: New file.
5662         * benchtests/bench-strcasestr-ifunc.c: New file.
5663         * benchtests/bench-strcasestr.c: New file.
5664         * benchtests/bench-strcat-ifunc.c: New file.
5665         * benchtests/bench-strcat.c: New file.
5666         * benchtests/bench-strchr-ifunc.c: New file.
5667         * benchtests/bench-strchr.c: New file.
5668         * benchtests/bench-strchrnul-ifunc.c: New file.
5669         * benchtests/bench-strchrnul.c: New file.
5670         * benchtests/bench-strcmp-ifunc.c: New file.
5671         * benchtests/bench-strcmp.c: New file.
5672         * benchtests/bench-strcpy-ifunc.c: New file.
5673         * benchtests/bench-strcpy.c: New file.
5674         * benchtests/bench-strcspn-ifunc.c: New file.
5675         * benchtests/bench-strcspn.c: New file.
5676         * benchtests/bench-strlen-ifunc.c: New file.
5677         * benchtests/bench-strlen.c: New file.
5678         * benchtests/bench-strncasecmp-ifunc.c: New file.
5679         * benchtests/bench-strncasecmp.c: New file.
5680         * benchtests/bench-strncat-ifunc.c: New file.
5681         * benchtests/bench-strncat.c: New file.
5682         * benchtests/bench-strncmp-ifunc.c: New file.
5683         * benchtests/bench-strncmp.c: New file.
5684         * benchtests/bench-strncpy-ifunc.c: New file.
5685         * benchtests/bench-strncpy.c: New file.
5686         * benchtests/bench-strnlen-ifunc.c: New file.
5687         * benchtests/bench-strnlen.c: New file.
5688         * benchtests/bench-strpbrk-ifunc.c: New file.
5689         * benchtests/bench-strpbrk.c: New file.
5690         * benchtests/bench-strrchr-ifunc.c: New file.
5691         * benchtests/bench-strrchr.c: New file.
5692         * benchtests/bench-strspn-ifunc.c: New file.
5693         * benchtests/bench-strspn.c: New file.
5694         * benchtests/bench-strstr-ifunc.c: New file.
5695         * benchtests/bench-strstr.c: New file.
5697         * benchtests/Makefile: Disable parallel execution of targets.
5698         (string-bench): Add memcpy.
5699         (benchset): New variable to store a list of benchmark sets.
5700         (bench-func): Renamed from bench.
5701         (bench-set): New target.
5702         (bench): Depend on bench-func and bench-set.
5703         * benchtests/README: Add section on benchmark sets.
5704         * benchtests/bench-memcpy-ifunc.c: New file.
5705         * benchtests/bench-memcpy.c: New file.
5706         * benchtests/bench-string.h: New file.
5708 2013-06-11  Andreas Schwab  <schwab@suse.de>
5710         [BZ #15577]
5711         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
5712         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
5713         values in the triple.
5714         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
5715         terminator in the group key.
5717 2013-06-11  Andreas Jaeger  <aj@suse.de>
5719         * po/zh_TW.po: Update Chinese (traditional) translation from
5720         translation project.
5722 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
5724         * include/time.h (__clock_gettime): Add libc_hidden_proto.
5725         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
5726         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
5727         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
5728         (clock_getcpuclockid): Likewise.
5729         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
5730         Add weak_alias and libc_hidden_def.
5731         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
5732         * rt/clock_gettime.c (clock_gettime): Rename to
5733         __clock_gettime.  Add weak_alias and libc_hidden_def.
5734         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
5735         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
5736         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
5737         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
5738         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
5739         Likewise.
5740         * rt/clock_settime.c (clock_settime): Rename to
5741         __clock_settime.  Add weak_alias and libc_hidden_def.
5742         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
5744 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
5746         * mach/err_boot.sub: Remove trailing whitespace.
5747         * mach/err_ipc.sub: Likewise.
5748         * mach/err_mach.sub: Likewise.
5750         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
5751         (ROUNDING_TESTS_double): Likewise.
5752         (ROUNDING_TESTS_long_double): Likewise.
5753         (ROUNDING_TESTS): Likewise.
5754         * math/libm-test.inc: Include <math-tests.h>.
5755         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
5756         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
5757         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
5758         (IF_ROUND_INIT_FE_UPWARD): Likewise.
5760 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
5762         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
5763         of assigning.
5765 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
5767         * sysdeps/gnu/errlist.awk: Do not generate space at end of
5768         otherwise empty TRANS lines.
5769         * sysdeps/gnu/errlist.c: Regenerated.
5771         * catgets/gencat.c (error_print): Use (void) in function
5772         definition.
5773         * crypt/crypt_util.c (__init_des): Likewise.
5774         * crypt/speeds.c (Stop): Likewise.
5775         (main): Likewise.
5776         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
5777         * inet/ruserpass.c (token): Likewise.
5778         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
5779         * intl/localealias.c (extend_alias_table): Likewise.
5780         * intl/plural-exp.c (init_germanic_plural): Likewise.
5781         * libio/fcloseall.c (__fcloseall): Likewise.
5782         * libio/genops.c (_IO_flush_all): Likewise.
5783         (_IO_flush_all_linebuffered): Likewise.
5784         (_IO_cleanup): Likewise.
5785         (_IO_iter_begin): Likewise.
5786         (_IO_iter_end): Likewise.
5787         (_IO_list_lock): Likewise.
5788         (_IO_list_unlock): Likewise.
5789         (_IO_list_resetlock): Likewise.
5790         * libio/getchar.c (getchar): Likewise.
5791         * libio/getchar_u.c (getchar_unlocked): Likewise.
5792         * libio/getwchar.c (getwchar): Likewise.
5793         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
5794         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
5795         * login/getpt.c (__getpt): Likewise.
5796         * login/tst-utmp.c (main): Likewise.
5797         * malloc/hooks.c (__malloc_check_init): Likewise.
5798         * malloc/malloc.c (__malloc_stats): Likewise.
5799         * malloc/mtrace.c (tr_break): Likewise.
5800         (mtrace): Likewise.
5801         (muntrace): Likewise.
5802         * misc/fstab.c (endfsent): Likewise.
5803         * misc/getclktck.c (__getclktck): Likewise.
5804         * misc/getdtsz.c (__getdtablesize): Likewise.
5805         * misc/gethostid.c (gethostid): Likewise.
5806         * misc/getpagesize.c (__getpagesize): Likewise.
5807         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
5808         (__get_nprocs): Likewise.
5809         (__get_phys_pages): Likewise.
5810         (__get_avphys_pages): Likewise.
5811         * misc/getttyent.c (getttyent): Likewise.
5812         (setttyent): Likewise.
5813         (endttyent): Likewise.
5814         * misc/getusershell.c (getusershell): Likewise.
5815         (endusershell): Likewise.
5816         (setusershell): Likewise.
5817         (initshells): Likewise.
5818         * misc/hsearch.c (__hdestroy): Likewise.
5819         * misc/sync.c (sync): Likewise.
5820         * misc/syslog.c (closelog_internal): Likewise.
5821         (closelog): Likewise.
5822         * misc/ttyslot.c (ttyslot): Likewise.
5823         * misc/vhangup.c (vhangup): Likewise.
5824         * posix/fork.c (__fork): Likewise.
5825         * posix/getegid.c (__getegid): Likewise.
5826         * posix/geteuid.c (__geteuid): Likewise.
5827         * posix/getgid.c (__getgid): Likewise.
5828         * posix/getpid.c (__getpid): Likewise.
5829         * posix/getppid.c (__getppid): Likewise.
5830         * posix/getuid.c (__getuid): Likewise.
5831         * posix/pause.c (pause): Likewise.
5832         * posix/setpgrp.c (setpgrp): Likewise.
5833         * posix/setsid.c (__setsid): Likewise.
5834         * posix/test-vfork.c (noop): Likewise.
5835         * resolv/gethnamaddr.c (_endhtent): Likewise.
5836         (_gethtent): Likewise.
5837         (ht_endhostent): Likewise.
5838         (gethostent): Likewise.
5839         (dns_service): Likewise.
5840         * stdlib/drand48.c (drand48): Likewise.
5841         * stdlib/lrand48.c (lrand48): Likewise.
5842         * stdlib/mrand48.c (mrand48): Likewise.
5843         * stdlib/rand.c (rand): Likewise.
5844         * stdlib/random.c (__random): Likewise.
5845         * stdlib/setenv.c (clearenv): Likewise.
5846         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
5847         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
5848         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
5849         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
5850         (__get_nprocs): Likewise.
5851         (__get_phys_pages): Likewise.
5852         (__get_avphys_pages): Likewise.
5853         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
5854         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
5855         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
5856         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
5857         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
5858         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
5859         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
5860         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
5861         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
5862         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
5863         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
5864         * sysdeps/mach/hurd/sync.c (sync): Likewise.
5865         * sysdeps/posix/clock.c (clock): Likewise.
5866         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
5867         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
5868         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
5869         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
5870         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
5871         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
5872         (__get_nprocs_conf): Likewise.
5873         (__get_phys_pages): Likewise.
5874         (__get_avphys_pages): Likewise.
5875         * time/clock.c (clock): Likewise.
5876         * time/tzset.c (__tzname_max): Likewise.
5878 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
5880         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
5881         (__bswap_32): Do not use "register".
5882         * crypt/crypt.c (_ufc_doit_r): Likewise.
5883         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
5884         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
5885         * gmon/gmon.c (__monstartup): Likewise.
5886         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
5887         * hurd/hurdmalloc.c (more_memory): Likewise.
5888         (malloc): Likewise.
5889         (free): Likewise.
5890         (realloc): Likewise.
5891         (malloc_fork_prepare): Likewise.
5892         (malloc_fork_parent): Likewise.
5893         (malloc_fork_child): Likewise.
5894         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
5895         (_svcauth_des): Likewise.
5896         * inet/inet_lnaof.c (inet_lnaof): Likewise.
5897         * inet/inet_net.c (inet_network): Likewise.
5898         * inet/inet_netof.c (inet_netof): Likewise.
5899         * inet/rcmd.c (__validuser2_sa): Likewise.
5900         * io/fts.c (fts_open): Likewise.
5901         (fts_load): Likewise.
5902         (fts_close): Likewise.
5903         (fts_read): Likewise.
5904         (fts_children): Likewise.
5905         (fts_build): Likewise.
5906         (fts_stat): Likewise.
5907         (fts_sort): Likewise.
5908         (fts_alloc): Likewise.
5909         (fts_lfree): Likewise.
5910         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
5911         (_IO_file_xsgetn): Likewise.
5912         (_IO_file_xsgetn_mmap): Likewise.
5913         * libio/iofopncook.c (_IO_cookie_read): Likewise.
5914         (_IO_cookie_write): Likewise.
5915         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
5916         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
5917         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
5918         * malloc/obstack.c (_obstack_begin): Likewise.
5919         (_obstack_begin_1): Likewise.
5920         (_obstack_newchunk): Likewise.
5921         (_obstack_allocated_p): Likewise.
5922         (obstack_free): Likewise.
5923         (_obstack_memory_used): Likewise.
5924         * misc/getttyent.c (getttynam): Likewise.
5925         (getttyent): Likewise.
5926         (skip): Likewise.
5927         (value): Likewise.
5928         * misc/getusershell.c (initshells): Likewise.
5929         * misc/syslog.c (__vsyslog_chk): Likewise.
5930         * misc/ttyslot.c (ttyslot): Likewise.
5931         * nis/nis_hash.c (__nis_hash): Likewise.
5932         * posix/fnmatch_loop.c (FCT): Likewise.
5933         * posix/getconf.c (print_all): Likewise.
5934         (main): Likewise.
5935         * posix/getopt.c (exchange): Likewise.
5936         * posix/glob.c (globfree): Likewise.
5937         (prefix_array): Likewise.
5938         (__glob_pattern_type): Likewise.
5939         * resolv/arpa/nameser.h (NS_GET16): Likewise.
5940         (NS_GET32): Likewise.
5941         (NS_PUT16): Likewise.
5942         (NS_PUT32): Likewise.
5943         * resolv/gethnamaddr.c (getanswer): Likewise.
5944         (gethostbyname2): Likewise.
5945         (gethostbyaddr): Likewise.
5946         (_gethtent): Likewise.
5947         (_gethtbyname2): Likewise.
5948         (_gethtbyaddr): Likewise.
5949         * resolv/ns_print.c (dst_s_get_int16): Likewise.
5950         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
5951         * resolv/res_init.c (__res_vinit): Likewise.
5952         (net_mask): Likewise.
5953         * resolv/res_mkquery.c (outchar): Likewise.
5954         (PRINT): Likewise.
5955         * stdio-common/printf_fp.c (outchar): Likewise.
5956         (PRINT): Likewise.
5957         * stdio-common/printf_fphex.c (outchar): Likewise.
5958         (PRINT): Likewise.
5959         * stdio-common/printf_size.c (outchar): Likewise.
5960         (PRINT): Likewise.
5961         * stdio-common/test_rdwr.c (main): Likewise.
5962         * stdio-common/tfformat.c (matches): Likewise.
5963         * stdio-common/vfprintf.c (outchar): Likewise.
5964         (printf_unknown): Likewise.
5965         (buffered_vfprintf): Likewise.
5966         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
5967         * stdio-common/xbug.c (AppendToBuffer): Likewise.
5968         (ReadFile): Likewise.
5969         * stdlib/qsort.c (SWAP): Likewise.
5970         (_quicksort): Likewise.
5971         * stdlib/setenv.c (__add_to_environ): Likewise.
5972         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
5973         * stdlib/strtol_l.c (__strtol_l): Likewise.
5974         * stdlib/tst-strtod.c (main): Likewise.
5975         * stdlib/tst-strtol.c (main): Likewise.
5976         * stdlib/tst-strtoll.c (main): Likewise.
5977         * string/bits/string2.h (__strcmp_cc): Likewise.
5978         (__strcmp_cg): Likewise.
5979         (__strcspn_c1): Likewise.
5980         (__strcspn_c2): Likewise.
5981         (__strcspn_c3): Likewise.
5982         (__strspn_c1): Likewise.
5983         (__strspn_c2): Likewise.
5984         (__strspn_c3): Likewise.
5985         (__strsep_1c): Likewise.
5986         (__strsep_2c): Likewise.
5987         (__strsep_3c): Likewise.
5988         * string/memccpy.c (__memccpy): Likewise.
5989         * string/stpcpy.c (__stpcpy): Likewise.
5990         * string/strcmp.c (strcmp): Likewise.
5991         * string/strrchr.c (strrchr): Likewise.
5992         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
5993         Likewise.
5994         * sysdeps/mach/hurd/getcwd.c
5995         (_hurd_canonicalize_directory_name_internal): Likewise.
5996         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
5997         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
5998         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
5999         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
6000         Likewise, in both definitions.
6001         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
6002         definitions.
6003         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
6004         64] (__bswap_64): Likewise.
6005         * time/test_time.c (main): Likewise.
6006         * time/tzfile.c (__tzfile_read): Likewise.
6007         (__tzfile_compute): Likewise.
6008         * time/tzset.c (__tzset_parse_tz): Likewise.
6009         (tzset_internal): Likewise.
6010         (compute_change): Likewise.
6011         * wcsmbs/wcscat.c (__wcscat): Likewise.
6012         * wcsmbs/wcschr.c (wcschr): Likewise.
6013         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
6014         * wcsmbs/wcscspn.c (wcscspn): Likewise.
6015         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
6016         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
6017         * wcsmbs/wcsspn.c (wcsspn): Likewise.
6018         * wcsmbs/wcsstr.c (wcsstr): Likewise.
6019         * wcsmbs/wmemchr.c (wmemchr): Likewise.
6020         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
6021         * wcsmbs/wmemset.c (wmemset): Likewise.
6023 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
6025         * scripts/config.guess: Update to version 2013-05-16.
6026         * scripts/config.sub: Update to version 2013-04-24.
6027         * scripts/install-sh: Update to version 2011-11-20.07.
6028         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
6029         * scripts/move-if-change: Update to version 2012-01-06 07:23.
6031 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
6033         * debug/fgetws_u_chk.c: Fix leading whitespaces.
6034         * elf/sln.c: Likewise.
6035         * hurd/hurd/ioctl.h: Likewise.
6036         * hurd/hurdmalloc.c: Likewise.
6037         * hurd/xattr.c: Likewise.
6038         * include/shlib-compat.h: Likewise.
6039         * inet/ruserpass.c: Likewise.
6040         * libio/iofgets_u.c: Likewise.
6041         * libio/iofgetws_u.c: Likewise.
6042         * locale/programs/ld-identification.c: Likewise.
6043         * locale/programs/ld-time.c: Likewise.
6044         * mach/msg-destroy.c: Likewise.
6045         * nss/nss_files/files-netgrp.c: Likewise.
6046         * resolv/res_data.c: Likewise.
6047         * soft-fp/op-1.h: Likewise.
6048         * soft-fp/op-2.h: Likewise.
6049         * soft-fp/op-4.h: Likewise.
6050         * soft-fp/op-common.h: Likewise.
6051         * stdio-common/printf_fphex.c: Likewise.
6052         * stdlib/strtod_l.c: Likewise.
6053         * sunrpc/rpc/clnt.h: Likewise.
6054         * sysdeps/generic/framestate.c: Likewise.
6055         * sysdeps/i386/bsd-_setjmp.S: Likewise.
6056         * sysdeps/i386/bsd-setjmp.S: Likewise.
6057         * sysdeps/i386/__longjmp.S: Likewise.
6058         * sysdeps/i386/setjmp.S: Likewise.
6059         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
6060         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
6061         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6062         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6063         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
6064         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
6065         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
6066         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
6067         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
6068         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
6069         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
6070         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6071         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6072         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6073         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6074         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
6075         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
6076         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
6077         * sysdeps/ieee754/support.c: Likewise.
6078         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
6079         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
6080         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
6081         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
6082         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
6083         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
6084         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
6085         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
6086         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
6087         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
6088         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
6089         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
6090         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
6091         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
6092         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
6093         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
6094         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
6095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
6097 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
6099         * posix/transbug.c: Remove executable mode.
6101 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
6103         * crypt/speeds.c: Remove trailing whitespace.
6104         * dlfcn/default.c: Likewise.
6105         * elf/ifuncdep2.c: Likewise.
6106         * elf/ifuncmain1.c: Likewise.
6107         * elf/ifuncmain1vis.c: Likewise.
6108         * elf/testobj.h: Likewise.
6109         * elf/tst-stackguard1.c: Likewise.
6110         * gmon/sys/gmon.h: Likewise.
6111         * hurd/hurdmsg.c: Likewise.
6112         * hurd/new-fd.c: Likewise.
6113         * hurd/ports-get.c: Likewise.
6114         * iconvdata/ibm1008_420.c: Likewise.
6115         * inet/tst-getni1.c: Likewise.
6116         * inet/tst-getni2.c: Likewise.
6117         * libio/ioungetc.c: Likewise.
6118         * libio/wfiledoalloc.c: Likewise.
6119         * manual/libm-err-tab.pl: Likewise.
6120         * math/w_dremf.c: Likewise.
6121         * misc/ftruncate.c: Likewise.
6122         * posix/bug-glob2.c: Likewise.
6123         * posix/tst-pcre.c: Likewise.
6124         * posix/wait4.c: Likewise.
6125         * resolv/README: Likewise.
6126         * resolv/res_debug.h: Likewise.
6127         * resolv/tst-inet_ntop.c: Likewise.
6128         * setjmp/bug269-setjmp.c: Likewise.
6129         * soft-fp/extended.h: Likewise.
6130         * soft-fp/op-1.h: Likewise.
6131         * soft-fp/op-2.h: Likewise.
6132         * soft-fp/op-4.h: Likewise.
6133         * soft-fp/op-8.h: Likewise.
6134         * soft-fp/testit.c: Likewise.
6135         * stdio-common/bug16.c: Likewise.
6136         * stdlib/random.c: Likewise.
6137         * sunrpc/rpcsvc/rquota.x: Likewise.
6138         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
6139         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
6140         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
6141         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
6142         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
6143         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
6144         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
6145         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
6146         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
6147         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
6148         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
6149         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6150         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6151         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6152         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6153         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6154         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6155         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
6156         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6157         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6158         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6159         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6160         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6161         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
6162         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
6163         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
6164         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
6165         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
6166         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
6167         * sysdeps/ieee754/s_lib_version.c: Likewise.
6168         * sysdeps/mach/hurd/check_fds.c: Likewise.
6169         * sysdeps/mach/hurd/getsockname.c: Likewise.
6170         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
6171         * sysdeps/mach/hurd/recvfrom.c: Likewise.
6172         * sysdeps/powerpc/bits/link.h: Likewise.
6173         * sysdeps/powerpc/dl-procinfo.c: Likewise.
6174         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
6175         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
6176         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
6177         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
6178         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
6179         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
6180         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
6181         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
6182         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
6183         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
6184         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
6185         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
6186         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
6187         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
6188         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
6189         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
6190         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
6191         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
6192         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
6193         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
6194         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
6195         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
6196         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
6197         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
6198         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
6199         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
6200         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
6201         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
6202         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
6203         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
6204         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
6205         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
6206         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
6207         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
6208         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
6209         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
6210         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
6211         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
6212         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
6213         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
6214         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
6215         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
6216         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
6217         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
6218         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
6219         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
6220         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
6221         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
6222         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
6223         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
6224         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
6225         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
6226         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
6227         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
6228         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
6229         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
6230         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
6231         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
6232         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
6233         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
6234         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
6235         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
6236         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
6237         * sysdeps/powerpc/sysdep.h: Likewise.
6238         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
6239         * sysdeps/s390/s390-64/sub_n.S: Likewise.
6240         * sysdeps/sh/dl-trampoline.S: Likewise.
6241         * sysdeps/sh/memset.S: Likewise.
6242         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
6243         * sysdeps/sh/strlen.S: Likewise.
6244         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
6245         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
6246         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
6247         * sysdeps/sparc/sparc32/rem.S: Likewise.
6248         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
6249         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
6250         * sysdeps/sparc/sparc32/strchr.S: Likewise.
6251         * sysdeps/sparc/sparc32/udiv.S: Likewise.
6252         * sysdeps/sparc/sparc32/urem.S: Likewise.
6253         * sysdeps/sparc/sparc64/add_n.S: Likewise.
6254         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
6255         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
6256         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
6257         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
6258         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
6259         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
6260         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
6261         * sysdeps/unix/bsd/times.c: Likewise.
6262         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
6263         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
6264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
6265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
6266         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
6267         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
6268         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
6269         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
6270         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
6271         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
6272         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
6273         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
6274         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
6275         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
6276         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
6277         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
6278         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
6279         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
6280         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
6281         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
6282         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
6283         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
6284         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
6285         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
6286         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
6287         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
6288         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
6289         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
6290         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
6291         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
6292         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
6293         * sysdeps/x86_64/strcspn.S: Likewise.
6295 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
6297         * locale/C-translit.h: Revert #include <stdint.h> because this is a
6298         generated file.  Regenerate properly from gen-translit.pl.
6299         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
6300         locale/C-translit.h.
6302 2013-06-05  Andreas Schwab  <schwab@suse.de>
6304         [BZ #15100]
6305         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
6306         week as 6 instead of -1.
6307         * time/tst-strptime.c (day_tests): Add test case.
6309 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
6311         * sysdeps/generic/math_private.h
6312         (libc_feholdexcept_setround_53bit): Replace with
6313         libc_feholdsetround_53bit.
6314         (libc_feupdateenv_53bit): Replace with
6315         libc_feresetround_53bit.
6316         (SET_RESTORE_ROUND_53BIT): Adjust.
6318 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
6320         * string/test-strchrnul.c: Add copyright header.
6322         * posix/tst-getaddrinfo4.c: Increase test timeout.
6324 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
6326         [BZ #15536]
6327         * math/libm-test.inc (MAX_EXP): Remove
6328         (MIN_EXP): Define.
6329         (ulp): Use MIN_EXP - MANT_DIG.
6330         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
6332 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
6334         * po/be.po: Revert last change.
6335         * po/zh_CN.po: Likewise.
6336         * po/header.pot: Likewise.
6338 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
6340         * Makefile ($(common-objpfx)linkobj/libc.so): Define
6341         link-libc-deps to empty as target-specific variable.
6342         * Makerules (link-libc-args): New variable.
6343         (libc-for-link): Likewise.
6344         (link-libc-deps): Likewise.
6345         (lib%.so): Depend on $(link-libc-deps).  Link with
6346         $(link-libc-args).
6347         (build-module): Link with $(link-libc-args).
6348         (build-module-asneeded): Likewise.
6349         (build-module-helper-objlist): Filter out $(link-libc-deps) from
6350         list of objects.
6351         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
6352         target-specific variable.
6353         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
6354         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
6355         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
6356         libc.
6357         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
6358         libc and ld.so.
6359         ($(objpfx)libpcprofile.so): Likewise.
6360         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
6361         libc_nonshared.a.
6362         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
6363         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
6364         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
6365         $(link-libc-deps).
6366         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
6367         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
6368         * login/Makefile ($(objpfx)libutil.so): Likewise.
6369         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
6370         * math/Makefile ($(objpfx)libm.so): Likewise.
6371         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
6372         $(objpfx)libnsl.so): Define libc-for-link as target-specific
6373         variable instead of depending directly on libc.
6374         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
6375         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
6376         $(link-libc-deps).
6377         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
6378         libc.
6379         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
6380         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
6381         ($(objpfx)libanl.so): Likewise.
6382         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
6383         ld.so.
6384         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
6385         $(link-libc-deps).
6386         * sysdeps/i386/fpu/Makefile: Remove file.
6387         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
6388         ($(objpfx)libm.so): Remove dependency on ld.so.
6390 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
6392         [BZ # 15553]
6393         * nis/yp_xdr.c (XDRMAXNAME): Define.
6394         (XDRMAXRECORD): Define.
6395         (xdr_domainname): Use XDRMAXNAME.
6396         (xdr_mapname): Likewise.
6397         (xdr_peername): Likewise.
6398         (xdr_keydat): Use XDRMAXRECORD.
6399         (xdr_valdat): Likewise.
6401 2013-05-30  Jeff Law  <law@redhat.com>
6403         [BZ #14256]
6404         * manual/errno.texi (ESTALE): Update to account for more than
6405         just NFS file systems.
6406         * sysdeps/gnu/errlist.c: Regenerated.
6408 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
6410         [BZ #15465]
6411         * elf/Makefile (tests): Add tst-null-argv.
6412         (modules-names):  Add tst-null-argv-lib.
6413         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
6414         (tst-null-argv-ENV): Set environment for tst-null-argv.
6415         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
6416         (RTLD_PROGNAME): New macro.
6417         * elf/tst-null-argv.c: New test case.
6418         * elf/tst-null-argv-lib.c: Library for test case.
6419         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
6420         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
6421         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
6422         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
6423         * elf/dl-init.c (call_init): Likewise.
6424         (_dl_init): Likewise.
6425         * elf/dl-load.c (print_search_path): Likewise.
6426         (_dl_map_object): Likewise.
6427         * elf/dl-lookup.c (do_lookup_x): Likewise.
6428         (add_dependency): Likewise.
6429         (_dl_lookup_symbol_x): Likewise.
6430         (_dl_debug_bindings): Likewise.
6431         * elf/dl-open.c (_dl_show_scope): Likewise.
6432         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
6433         * elf/dl-version.c (match_symbol): Likewise.
6434         (_dl_check_map_versions): Likewise.
6435         * elf/rtld.c (dl_main): Likewise.
6436         (print_unresolved): Use RTLD_PROGNAME.
6437         (print_missing_version): Likewise.
6438         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
6439         (elf_machine_rela): Likewise.
6440         * sysdeps/powerpc/powerpc32/dl-machine.c
6441         (__process_machine_rela): Likewise.
6442         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
6443         Likewise.
6444         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
6445         Likewise.
6446         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
6447         Likewise.
6448         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
6449         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
6450         Likewise.
6451         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
6452         Likewise.
6453         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
6455 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
6457         * po/be.po: Add descriptive title.
6458         * po/zh_CN.po: Likewise.
6459         * po/header.pot: Likewise.
6461 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
6463         * locale/programs/locarchive.c (create_archive): Inlucde fname in
6464         error message.
6465         (enlarge_archive): Likewise.
6467 2013-05-28  Ben North  <ben@redfrontdoor.org>
6469         * manual/arith.texi (frexp): It is the magnitude of the return
6470         value which lies in [0.5, 1), not the return value itself.
6472 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6474         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
6476 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
6478         * stdio-common/bug26.c (main): Correct fscanf template.
6480         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
6481         declare _dl_skip_args.
6483         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
6484         Don't declare.
6486         * manual/platform.texi: Add missing @end deftypefun.
6488 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
6490         [BZ #15529]
6491         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
6492         bit of mantissa of 2^16382.
6493         * math/libm-test.inc (hypot_test_data): Add more tests.
6495         * math/libm-test.inc: Add drem and pow10 to list of tested
6496         functions.
6497         (pow10_test): New function.
6498         (drem_test): Likewise.
6499         (drem_test_tonearest): Likewise.
6500         (drem_test_towardzero): Likewise.
6501         (drem_test_downward): Likewise.
6502         (drem_test_upward): Likewise.
6503         (main): Call the new functions.
6505         * math/libm-test.inc (finite_test_data): Remove.
6506         (finite_test): Run tests from isfinite_test_data.
6507         (gamma_test_data): Remove.
6508         (gamma_test): Run tests from lgamma_test_data.
6509         * sysdeps/i386/fpu/libm-test-ulps: Update.
6510         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
6512 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
6514         * manual/platform.texi: Add PowerPC PPR function set documentation.
6515         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
6516         implementation.
6518 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
6520         * math/libm-test.inc (MAX_EXP): Define.
6521         (ULPDIFF): Define.
6522         (ulp): New function.
6523         (check_float_internal): Use ULPDIFF.
6524         (cpow_test): Disable failing test.
6525         (check_ulp): Test ulp() implemetnation.
6526         (main): Call check_ulp before starting tests.
6528 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
6530         * math/gen-libm-test.pl (generate_testfile): Do not handle
6531         START_DATA and END_DATA.
6532         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
6533         END_DATA.
6534         (acos_tonearest_test_data): Likewise.
6535         (acos_towardzero_test_data): Likewise.
6536         (acos_downward_test_data): Likewise.
6537         (acos_upward_test_data): Likewise.
6538         (acosh_test_data): Likewise.
6539         (asin_test_data): Likewise.
6540         (asin_tonearest_test_data): Likewise.
6541         (asin_towardzero_test_data): Likewise.
6542         (asin_downward_test_data): Likewise.
6543         (asin_upward_test_data): Likewise.
6544         (asinh_test_data): Likewise.
6545         (atan_test_data): Likewise.
6546         (atanh_test_data): Likewise.
6547         (atan2_test_data): Likewise.
6548         (cabs_test_data): Likewise.
6549         (cacos_test_data): Likewise.
6550         (cacosh_test_data): Likewise.
6551         (carg_test_data): Likewise.
6552         (casin_test_data): Likewise.
6553         (casinh_test_data): Likewise.
6554         (catan_test_data): Likewise.
6555         (catanh_test_data): Likewise.
6556         (cbrt_test_data): Likewise.
6557         (ccos_test_data): Likewise.
6558         (ccosh_test_data): Likewise.
6559         (ceil_test_data): Likewise.
6560         (cexp_test_data): Likewise.
6561         (cimag_test_data): Likewise.
6562         (clog_test_data): Likewise.
6563         (clog10_test_data): Likewise.
6564         (conj_test_data): Likewise.
6565         (copysign_test_data): Likewise.
6566         (cos_test_data): Likewise.
6567         (cos_tonearest_test_data): Likewise.
6568         (cos_towardzero_test_data): Likewise.
6569         (cos_downward_test_data): Likewise.
6570         (cos_upward_test_data): Likewise.
6571         (cosh_test_data): Likewise.
6572         (cosh_tonearest_test_data): Likewise.
6573         (cosh_towardzero_test_data): Likewise.
6574         (cosh_downward_test_data): Likewise.
6575         (cosh_upward_test_data): Likewise.
6576         (cpow_test_data): Likewise.
6577         (cproj_test_data): Likewise.
6578         (creal_test_data): Likewise.
6579         (csin_test_data): Likewise.
6580         (csinh_test_data): Likewise.
6581         (csqrt_test_data): Likewise.
6582         (ctan_test_data): Likewise.
6583         (ctan_tonearest_test_data): Likewise.
6584         (ctan_towardzero_test_data): Likewise.
6585         (ctan_downward_test_data): Likewise.
6586         (ctan_upward_test_data): Likewise.
6587         (ctanh_test_data): Likewise.
6588         (ctanh_tonearest_test_data): Likewise.
6589         (ctanh_towardzero_test_data): Likewise.
6590         (ctanh_downward_test_data): Likewise.
6591         (ctanh_upward_test_data): Likewise.
6592         (erf_test_data): Likewise.
6593         (erfc_test_data): Likewise.
6594         (exp_test_data): Likewise.
6595         (exp_tonearest_test_data): Likewise.
6596         (exp_towardzero_test_data): Likewise.
6597         (exp_downward_test_data): Likewise.
6598         (exp_upward_test_data): Likewise.
6599         (exp10_test_data): Likewise.
6600         (exp2_test_data): Likewise.
6601         (expm1_test_data): Likewise.
6602         (fabs_test_data): Likewise.
6603         (fdim_test_data): Likewise.
6604         (finite_test_data): Likewise.
6605         (floor_test_data): Likewise.
6606         (fma_test_data): Likewise.
6607         (fma_towardzero_test_data): Likewise.
6608         (fma_downward_test_data): Likewise.
6609         (fma_upward_test_data): Likewise.
6610         (fmax_test_data): Likewise.
6611         (fmin_test_data): Likewise.
6612         (fmod_test_data): Likewise.
6613         (fpclassify_test_data): Likewise.
6614         (frexp_test_data): Likewise.
6615         (gamma_test_data): Likewise.
6616         (hypot_test_data): Likewise.
6617         (ilogb_test_data): Likewise.
6618         (isfinite_test_data): Likewise.
6619         (isgreater_test_data): Likewise.
6620         (isgreaterequal_test_data): Likewise.
6621         (isinf_test_data): Likewise.
6622         (isless_test_data): Likewise.
6623         (islessequal_test_data): Likewise.
6624         (islessgreater_test_data): Likewise.
6625         (isnan_test_data): Likewise.
6626         (isnormal_test_data): Likewise.
6627         (issignaling_test_data): Likewise.
6628         (isunordered_test_data): Likewise.
6629         (j0_test_data): Likewise.
6630         (j1_test_data): Likewise.
6631         (jn_test_data): Likewise.
6632         (ldexp_test_data): Likewise.
6633         (lgamma_test_data): Likewise.
6634         (lrint_test_data): Likewise.
6635         (lrint_tonearest_test_data): Likewise.
6636         (lrint_towardzero_test_data): Likewise.
6637         (lrint_downward_test_data): Likewise.
6638         (lrint_upward_test_data): Likewise.
6639         (llrint_test_data): Likewise.
6640         (llrint_tonearest_test_data): Likewise.
6641         (llrint_towardzero_test_data): Likewise.
6642         (llrint_downward_test_data): Likewise.
6643         (llrint_upward_test_data): Likewise.
6644         (log_test_data): Likewise.
6645         (log10_test_data): Likewise.
6646         (log1p_test_data): Likewise.
6647         (log2_test_data): Likewise.
6648         (logb_test_data): Likewise.
6649         (logb_downward_test_data): Likewise.
6650         (lround_test_data): Likewise.
6651         (llround_test_data): Likewise.
6652         (modf_test_data): Likewise.
6653         (nearbyint_test_data): Likewise.
6654         (nextafter_test_data): Likewise.
6655         (nexttoward_test_data): Likewise.
6656         (pow_test_data): Likewise.
6657         (pow_tonearest_test_data): Likewise.
6658         (pow_towardzero_test_data): Likewise.
6659         (pow_downward_test_data): Likewise.
6660         (pow_upward_test_data): Likewise.
6661         (remainder_test_data): Likewise.
6662         (remainder_tonearest_test_data): Likewise.
6663         (remainder_towardzero_test_data): Likewise.
6664         (remainder_downward_test_data): Likewise.
6665         (remainder_upward_test_data): Likewise.
6666         (remquo_test_data): Likewise.
6667         (rint_test_data): Likewise.
6668         (rint_tonearest_test_data): Likewise.
6669         (rint_towardzero_test_data): Likewise.
6670         (rint_downward_test_data): Likewise.
6671         (rint_upward_test_data): Likewise.
6672         (round_test_data): Likewise.
6673         (scalb_test_data): Likewise.
6674         (scalbn_test_data): Likewise.
6675         (scalbln_test_data): Likewise.
6676         (signbit_test_data): Likewise.
6677         (sin_test_data): Likewise.
6678         (sin_tonearest_test_data): Likewise.
6679         (sin_towardzero_test_data): Likewise.
6680         (sin_downward_test_data): Likewise.
6681         (sin_upward_test_data): Likewise.
6682         (sincos_test_data): Likewise.
6683         (sinh_test_data): Likewise.
6684         (sinh_tonearest_test_data): Likewise.
6685         (sinh_towardzero_test_data): Likewise.
6686         (sinh_downward_test_data): Likewise.
6687         (sinh_upward_test_data): Likewise.
6688         (sqrt_test_data): Likewise.
6689         (tan_test_data): Likewise.
6690         (tan_tonearest_test_data): Likewise.
6691         (tan_towardzero_test_data): Likewise.
6692         (tan_downward_test_data): Likewise.
6693         (tan_upward_test_data): Likewise.
6694         (tanh_test_data): Likewise.
6695         (tgamma_test_data): Likewise.
6696         (trunc_test_data): Likewise.
6697         (y0_test_data): Likewise.
6698         (y1_test_data): Likewise.
6699         (yn_test_data): Likewise.
6700         (significand_test_data): Likewise.
6702         * math/gen-libm-test.pl (@functions): Remove variable.
6703         (generate_testfile): Don't handle START and END lines.
6704         * math/libm-test.inc (START): New macro.
6705         (END): Likewise.
6706         (END_COMPLEX): Likewise.
6707         (acos_test): Use END macro without arguments.
6708         (acos_test_tonearest): Likewise.
6709         (acos_test_towardzero): Likewise.
6710         (acos_test_downward): Likewise.
6711         (acos_test_upward): Likewise.
6712         (acosh_test): Likewise.
6713         (asin_test): Likewise.
6714         (asin_test_tonearest): Likewise.
6715         (asin_test_towardzero): Likewise.
6716         (asin_test_downward): Likewise.
6717         (asin_test_upward): Likewise.
6718         (asinh_test): Likewise.
6719         (atan_test): Likewise.
6720         (atanh_test): Likewise.
6721         (atan2_test): Likewise.
6722         (cabs_test): Likewise.
6723         (cacos_test): Use END_COMPLEX macro without arguments.
6724         (cacosh_test): Likewise.
6725         (carg_test): Use END macro without arguments.
6726         (casin_test): Use END_COMPLEX macro without arguments.
6727         (casinh_test): Likewise.
6728         (catan_test): Likewise.
6729         (catanh_test): Likewise.
6730         (cbrt_test): Use END macro without arguments.
6731         (ccos_test): Use END_COMPLEX macro without arguments.
6732         (ccosh_test): Likewise.
6733         (ceil_test): Use END macro without arguments.
6734         (cexp_test): Use END_COMPLEX macro without arguments.
6735         (cimag_test): Use END macro without arguments.
6736         (clog_test): Use END_COMPLEX macro without arguments.
6737         (clog10_test): Likewise.
6738         (conj_test): Likewise.
6739         (copysign_test): Use END macro without arguments.
6740         (cos_test): Likewise.
6741         (cos_test_tonearest): Likewise.
6742         (cos_test_towardzero): Likewise.
6743         (cos_test_downward): Likewise.
6744         (cos_test_upward): Likewise.
6745         (cosh_test): Likewise.
6746         (cosh_test_tonearest): Likewise.
6747         (cosh_test_towardzero): Likewise.
6748         (cosh_test_downward): Likewise.
6749         (cosh_test_upward): Likewise.
6750         (cpow_test): Use END_COMPLEX macro without arguments.
6751         (cproj_test): Likewise.
6752         (creal_test): Use END macro without arguments.
6753         (csin_test): Use END_COMPLEX macro without arguments.
6754         (csinh_test): Likewise.
6755         (csqrt_test): Likewise.
6756         (ctan_test): Likewise.
6757         (ctan_test_tonearest): Likewise.
6758         (ctan_test_towardzero): Likewise.
6759         (ctan_test_downward): Likewise.
6760         (ctan_test_upward): Likewise.
6761         (ctanh_test): Likewise.
6762         (ctanh_test_tonearest): Likewise.
6763         (ctanh_test_towardzero): Likewise.
6764         (ctanh_test_downward): Likewise.
6765         (ctanh_test_upward): Likewise.
6766         (erf_test): Use END macro without arguments.
6767         (erfc_test): Likewise.
6768         (exp_test): Likewise.
6769         (exp_test_tonearest): Likewise.
6770         (exp_test_towardzero): Likewise.
6771         (exp_test_downward): Likewise.
6772         (exp_test_upward): Likewise.
6773         (exp10_test): Likewise.
6774         (exp2_test): Likewise.
6775         (expm1_test): Likewise.
6776         (fabs_test): Likewise.
6777         (fdim_test): Likewise.
6778         (finite_test): Likewise.
6779         (floor_test): Likewise.
6780         (fma_test): Likewise.
6781         (fma_test_towardzero): Likewise.
6782         (fma_test_downward): Likewise.
6783         (fma_test_upward): Likewise.
6784         (fmax_test): Likewise.
6785         (fmin_test): Likewise.
6786         (fmod_test): Likewise.
6787         (fpclassify_test): Likewise.
6788         (frexp_test): Likewise.
6789         (gamma_test): Likewise.
6790         (hypot_test): Likewise.
6791         (ilogb_test): Likewise.
6792         (isfinite_test): Likewise.
6793         (isgreater_test): Likewise.
6794         (isgreaterequal_test): Likewise.
6795         (isinf_test): Likewise.
6796         (isless_test): Likewise.
6797         (islessequal_test): Likewise.
6798         (islessgreater_test): Likewise.
6799         (isnan_test): Likewise.
6800         (isnormal_test): Likewise.
6801         (issignaling_test): Likewise.
6802         (isunordered_test): Likewise.
6803         (j0_test): Likewise.
6804         (j1_test): Likewise.
6805         (jn_test): Likewise.
6806         (ldexp_test): Likewise.
6807         (lgamma_test): Likewise.
6808         (lrint_test): Likewise.
6809         (lrint_test_tonearest): Likewise.
6810         (lrint_test_towardzero): Likewise.
6811         (lrint_test_downward): Likewise.
6812         (lrint_test_upward): Likewise.
6813         (llrint_test): Likewise.
6814         (llrint_test_tonearest): Likewise.
6815         (llrint_test_towardzero): Likewise.
6816         (llrint_test_downward): Likewise.
6817         (llrint_test_upward): Likewise.
6818         (log_test): Likewise.
6819         (log10_test): Likewise.
6820         (log1p_test): Likewise.
6821         (log2_test): Likewise.
6822         (logb_test): Likewise.
6823         (logb_test_downward): Likewise.
6824         (lround_test): Likewise.
6825         (llround_test): Likewise.
6826         (modf_test): Likewise.
6827         (nearbyint_test): Likewise.
6828         (nextafter_test): Likewise.
6829         (nexttoward_test): Likewise.
6830         (pow_test): Likewise.
6831         (pow_test_tonearest): Likewise.
6832         (pow_test_towardzero): Likewise.
6833         (pow_test_downward): Likewise.
6834         (pow_test_upward): Likewise.
6835         (remainder_test): Likewise.
6836         (remainder_test_tonearest): Likewise.
6837         (remainder_test_towardzero): Likewise.
6838         (remainder_test_downward): Likewise.
6839         (remainder_test_upward): Likewise.
6840         (remquo_test): Likewise.
6841         (rint_test): Likewise.
6842         (rint_test_tonearest): Likewise.
6843         (rint_test_towardzero): Likewise.
6844         (rint_test_downward): Likewise.
6845         (rint_test_upward): Likewise.
6846         (round_test): Likewise.
6847         (scalb_test): Likewise.
6848         (scalbn_test): Likewise.
6849         (scalbln_test): Likewise.
6850         (signbit_test): Likewise.
6851         (sin_test): Likewise.
6852         (sin_test_tonearest): Likewise.
6853         (sin_test_towardzero): Likewise.
6854         (sin_test_downward): Likewise.
6855         (sin_test_upward): Likewise.
6856         (sincos_test): Likewise.
6857         (sinh_test): Likewise.
6858         (sinh_test_tonearest): Likewise.
6859         (sinh_test_towardzero): Likewise.
6860         (sinh_test_downward): Likewise.
6861         (sinh_test_upward): Likewise.
6862         (sqrt_test): Likewise.
6863         (tan_test): Likewise.
6864         (tan_test_tonearest): Likewise.
6865         (tan_test_towardzero): Likewise.
6866         (tan_test_downward): Likewise.
6867         (tan_test_upward): Likewise.
6868         (tanh_test): Likewise.
6869         (tgamma_test): Likewise.
6870         (trunc_test): Likewise.
6871         (y0_test): Likewise.
6872         (y1_test): Likewise.
6873         (yn_test): Likewise.
6874         (significand_test): Likewise.
6876 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
6878         [BZ #15381]
6879         * libio/genops.c (_IO_no_init): Initialize wide struct info.
6881 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
6883         [BZ #14894]
6884         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
6885         __ppc_mdoio and __ppc_mdoom.
6886         * manual/platform.texi: Document new functions __ppc_yield,
6887         __ppc_mdoio and __ppc_mdoom.
6889 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
6891         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
6892         (main): Mention "tls" pseudo-hwcap is legacy.
6893         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
6895 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
6897         * math/gen-libm-test.pl (parse_args): Output only string of
6898         arguments as text for test name, not full call or descriptions of
6899         tests for extra outputs.
6900         (generate_testfile): Do not pass function name to parse_args.
6901         Generate this_func variable from START.
6902         * math/libm-test.inc (struct test_f_f_data): Rename test_name
6903         field to arg_str.
6904         (struct test_ff_f_data): Likewise.
6905         (test_ff_f_data_nexttoward): Likewise.
6906         (struct test_fi_f_data): Likewise.
6907         (struct test_fl_f_data): Likewise.
6908         (struct test_if_f_data): Likewise.
6909         (struct test_fff_f_data): Likewise.
6910         (struct test_c_f_data): Likewise.
6911         (struct test_f_f1_data): Likewise.  Remove field extra_name.
6912         (struct test_fF_f1_data): Likewise.
6913         (struct test_ffI_f1_data): Likewise.
6914         (struct test_c_c_data): Rename test_name field to arg_str.
6915         (struct test_cc_c_data): Likewise.
6916         (struct test_f_i_data): Likewise.
6917         (struct test_ff_i_data): Likewise.
6918         (struct test_f_l_data): Likewise.
6919         (struct test_f_L_data): Likewise.
6920         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
6921         and extra2_name.
6922         (COMMON_TEST_SETUP): New macro.
6923         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
6924         (COMMON_TEST_CLEANUP): Likewise.
6925         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
6926         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
6927         macros.
6928         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
6929         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
6930         macros.
6931         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
6932         (RUN_TEST_fff_f): Take argument string.  Call new setup and
6933         cleanup macros.
6934         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
6935         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
6936         macros.
6937         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
6938         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
6939         macros.
6940         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
6941         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
6942         cleanup macros.
6943         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
6944         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
6945         cleanup macros.
6946         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
6947         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
6948         cleanup macros.
6949         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
6950         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
6951         macros.
6952         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
6953         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
6954         macros.
6955         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
6956         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
6957         macros.
6958         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
6959         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
6960         cleanup macros.
6961         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
6962         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
6963         cleanup macros.
6964         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
6965         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
6966         macros.
6967         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
6968         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
6969         cleanup macros.
6970         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
6971         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
6972         macros.
6973         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
6974         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
6975         macros.
6976         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
6977         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
6978         cleanup macros.
6979         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
6981 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
6983         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
6984         to _sifields.sigfault.
6985         (si_addr_lsb): Define new macro.
6986         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
6987         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
6988         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
6990 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
6992         [BZ #15441]
6993         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
6994         returns -1.
6995         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
6996         null return -1.
6997         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
6998         loading the domain.
7000 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
7002         * math/gen-libm-test.pl (parse_args): Do not include expected
7003         result in test name.
7004         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
7005         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7006         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7007         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7008         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7009         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7011 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
7013         * benchtests/Makefile: Sort function entries.
7015         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
7016         tanh, asinh, acosh, atanh.
7017         * benchtests/acos-inputs: New file.
7018         * benchtests/acosh-inputs: New file.
7019         * benchtests/asin-inputs: New file.
7020         * benchtests/asinh-inputs: New file.
7021         * benchtests/atanh-inputs: New file.
7022         * benchtests/cosh-inputs: New file.
7023         * benchtests/log-inputs: New file.
7024         * benchtests/sinh-inputs: New file.
7025         * benchtests/tanh-inputs: New file.
7027 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
7029         [BZ #15339]
7030         * posix/tst-getaddrinfo4.c: New test.
7031         * posix/Makefile (tests): Add it.
7033 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7035         [BZ #15339]
7036         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
7037         when no services were used.
7038         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
7039         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
7041 2013-05-21  Andreas Schwab  <schwab@suse.de>
7043         [BZ #15014]
7044         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
7045         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
7046         successful.
7047         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
7048         redundant variable declarations and reallocation of buffer when
7049         parsing as IPv6 address.  Always set NSS status when called from
7050         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
7051         buffer too small.  Correct computation of needed size.
7052         * nss/Makefile (tests): Add test-digits-dots.
7053         * nss/test-digits-dots.c: New test.
7055 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
7057         * benchtests/Makefile: Remove instructions for adding
7058         benchmark tests.
7059         * benchtests/README: New file to explain how to execute and
7060         enhance the benchmark tests.
7062 2013-05-21  Andreas Schwab  <schwab@suse.de>
7064         [BZ #15493]
7065         * setjmp/Makefile (tests): Add tst-sigsetjmp.
7066         * setjmp/tst-sigsetjmp.c: New test.
7068 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
7070         * sysdeps/x86_64/memset.S (memset): New implementation.
7071         (__bzero): Likewise.
7072         (__memset_tail): New function.
7074 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
7076         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
7077         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
7078         __memcpy_sse2_unaligned ifunc selection.
7079         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
7080         Add memcpy-sse2-unaligned.S.
7081         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
7082         Add: __memcpy_sse2_unaligned.
7084 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
7086         [BZ #15490]
7087         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
7088         math_force_eval before restoring floating-point envrionment.
7089         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
7090         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
7091         Likewise.
7092         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
7093         <math_private.h>.
7094         (__nearbyintl): Use math_force_eval before restoring
7095         floating-point environment.
7096         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
7098         * math/gen-libm-test.pl (special_functions): Remove.
7099         (parse_args): Don't handle TEST_extra.  Handle functions with no
7100         return value.
7101         * math/libm-test.inc (struct test_sincos_data): Replace with
7102         struct test_fFF_11_data.
7103         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
7104         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
7105         (sincos_test_data): Change element type to struct
7106         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
7107         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
7108         RUN_TEST_LOOP_sincos.
7109         * math/README.libm-test: Don't mention special handling of
7110         individual functions.
7111         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
7112         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
7113         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
7114         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
7115         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
7116         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
7118         * math/gen-libm-test.pl (get_variable): Remove function.
7119         (parse_args): Don't show pointer parameters to call in test
7120         names.  Use "extra output N" in test names for extra outputs
7121         rather than naming variables.
7123 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
7125         [BZ #15488]
7126         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
7127         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
7128         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
7129         double tests.
7130         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
7131         disable.
7132         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
7133         check_long_double.
7135         * math/gen-libm-test.pl (@tests): Remove variable.
7136         ($count): Likewise.
7137         (new_test): Remove function.
7138         (show_exceptions): New function.
7139         (special_functions): Use show_exceptions instead of new_test.
7140         (parse_args): Likewise.
7141         (generate_testfile): Pass only function name in generated call to
7142         print_max_error or print_complex_max_error.
7143         (get_ulps): Do not handle complex tests specially.
7144         (output_test): Rename to ...
7145         (get_all_ulps_for_test): ... this.  Return a string rather than
7146         printing to a file.  Require ulps to be present.
7147         (output_ulps): Generate arrays rather than #defines.
7148         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
7149         (struct ulp_data): New type.
7150         (BUILD_COMPLEX_ULP): Remove macro.
7151         (compare_ulp_data): New function.
7152         (find_ulps): Likewise.
7153         (find_test_ulps): Likewise.
7154         (find_function_ulps): Likewise.
7155         (find_complex_function_ulps): Likewise.
7156         (print_max_error): Determine allowed ulps using
7157         find_function_ulps.
7158         (print_complex_max_error): Determine allowed ulps using
7159         find_complex_function_ulps.
7160         (check_float_internal): Determine max ulps using find_test_ulps.
7161         (check_float): Do not take max_ulp parameter.  Update call to
7162         check_float_internal.
7163         (check_complex): Likewise.
7164         (check_int): Do not take max_ulp parameter.
7165         (check_long): Likewise.
7166         (check_bool): Likewise.
7167         (check_longlong): Likewise.
7168         (struct test_f_f_data): Remove max_ulp field.
7169         (struct test_ff_f_data): Likewise.
7170         (struct test_ff_f_data_nexttoward): Likewise.
7171         (struct test_fi_f_data): Likewise.
7172         (struct test_fl_f_data): Likewise.
7173         (struct test_if_f_data): Likewise.
7174         (struct test_fff_f_data): Likewise.
7175         (struct test_c_f_data): Likewise.
7176         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
7177         (struct test_fF_f1_data): Likewise.
7178         (struct test_ffI_f1_data): Likewise.
7179         (struct test_c_c_data): Remove max_ulp field.
7180         (struct test_cc_c_data): Likewise.
7181         (struct test_f_i_data): Likewise.
7182         (struct test_ff_i_data): Likewise.
7183         (struct test_f_l_data): Likewise.
7184         (struct test_f_L_data): Likewise.
7185         (struct test_sincos_data): Likewise.
7186         (RUN_TEST_f_f): Do not handle ulps.
7187         (RUN_TEST_LOOP_f_f): Likewise.
7188         (RUN_TEST_2_f): Likewise.
7189         (RUN_TEST_LOOP_2_f): Likewise.
7190         (RUN_TEST_fff_f): Likewise.
7191         (RUN_TEST_LOOP_fff_f): Likewise.
7192         (RUN_TEST_c_f): Likewise.
7193         (RUN_TEST_LOOP_c_f): Likewise.
7194         (RUN_TEST_f_f1): Likewise.
7195         (RUN_TEST_LOOP_f_f1): Likewise.
7196         (RUN_TEST_fF_f1): Likewise.
7197         (RUN_TEST_LOOP_fF_f1): Likewise.
7198         (RUN_TEST_fI_f1): Likewise.
7199         (RUN_TEST_LOOP_fI_f1): Likewise.
7200         (RUN_TEST_ffI_f1): Likewise.
7201         (RUN_TEST_LOOP_ffI_f1): Likewise.
7202         (RUN_TEST_c_c): Likewise.
7203         (RUN_TEST_LOOP_c_c): Likewise.
7204         (RUN_TEST_cc_c): Likewise.
7205         (RUN_TEST_LOOP_cc_c): Likewise.
7206         (RUN_TEST_f_i): Likewise.
7207         (RUN_TEST_LOOP_f_i): Likewise.
7208         (RUN_TEST_f_i_tg): Likewise.
7209         (RUN_TEST_LOOP_f_i_tg): Likewise.
7210         (RUN_TEST_ff_i_tg): Likewise.
7211         (RUN_TEST_LOOP_ff_i_tg): Likewise.
7212         (RUN_TEST_f_b): Likewise.
7213         (RUN_TEST_LOOP_f_b): Likewise.
7214         (RUN_TEST_f_b_tg): Likewise.
7215         (RUN_TEST_LOOP_f_b_tg): Likewise.
7216         (RUN_TEST_f_l): Likewise.
7217         (RUN_TEST_LOOP_f_l): Likewise.
7218         (RUN_TEST_f_L): Likewise.
7219         (RUN_TEST_LOOP_f_L): Likewise.
7220         (RUN_TEST_sincos): Likewise.
7221         (RUN_TEST_LOOP_sincos): Likewise.
7223 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
7225         [BZ #15480]
7226         [BZ #15485]
7227         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
7228         main case of finite arguments, set rounding mode to FE_TONEAREST
7229         and discard exceptions.
7230         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
7231         exceptions.
7232         (remainder_tonearest_test_data): New variable.
7233         (remainder_test_tonearest): New function.
7234         (remainder_towardzero_test_data): New variable.
7235         (remainder_test_towardzero): New function.
7236         (remainder_downward_test_data): New variable.
7237         (remainder_test_downward): New function.
7238         (remainder_upward_test_data): New variable.
7239         (remainder_test_upward): New function.
7240         (main): Call the new test functions.
7242         * math/libm-test.inc (struct test_f_f1_data): Remove field
7243         extra_init.
7244         (struct test_fF_f1_data): Likewise.
7245         (struct test_ffI_f1_data): Likewise.
7246         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
7247         based on value of EXTRA_EXPECTED.
7248         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
7249         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
7250         EXTRA_VAR based on value of EXTRA_EXPECTED.
7251         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
7252         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
7253         EXTRA_VAR based on value of EXTRA_EXPECTED.
7254         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
7255         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
7256         EXTRA_VAR based on value of EXTRA_EXPECTED.
7257         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
7258         * math/gen-libm-test.pl (parse_args): Don't output initializers
7259         for extra output values.
7261         * math/libm-test.inc (check_int): Expect result to be exactly
7262         equal to expected value and do not handle ulps.
7263         (check_long): Likewise.
7264         (check_longlong): Likewise.
7266         * math/libm-test.inc (ceil_test_data): Test for "inexact"
7267         exceptions.
7268         (cimag_test_data): Likewise.
7269         (conj_test_data): Likewise.
7270         (copysign_test_data): Likewise.
7271         (cproj_test_data): Likewise.
7272         (creal_test_data): Likewise.
7273         (fabs_test_data): Likewise.
7274         (fdim_test_data): Likewise.
7275         (finite_test_data): Likewise.
7276         (floor_test_data): Likewise.
7277         (fmax_test_data): Likewise.
7278         (fmin_test_data): Likewise.
7279         (fmod_test_data): Likewise.
7280         (fpclassify_test_data): Likewise.
7281         (frexp_test_data): Likewise.
7282         (ilogb_test_data): Likewise.
7283         (isfinite_test_data): Likewise.
7284         (isgreater_test_data): Likewise.
7285         (isgreaterequal_test_data): Likewise.
7286         (isinf_test_data): Likewise.
7287         (isless_test_data): Likewise.
7288         (islessequal_test_data): Likewise.
7289         (islessgreater_test_data): Likewise.
7290         (isnan_test_data): Likewise.
7291         (isnormal_test_data): Likewise.
7292         (issignaling_test_data): Likewise.
7293         (isunordered_test_data): Likewise.
7294         (ldexp_test_data): Likewise.
7295         (lrint_test_data): Likewise.
7296         (lrint_test_data) [TEST_FLOAT]: Disable one test.
7297         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
7298         (lrint_tonearest_test_data): Test for "inexact" exceptions.
7299         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7300         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
7301         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7302         test input.
7303         (lrint_towardzero_test_data): Test for "inexact" exceptions.
7304         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7305         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
7306         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
7307         that test input.
7308         (lrint_downward_test_data): Test for "inexact" exceptions.
7309         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7310         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
7311         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
7312         test input.
7313         (lrint_upward_test_data): Test for "inexact" exceptions.
7314         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
7315         test input.
7316         (llrint_test_data): Test for "inexact" exceptions.
7317         (llrint_test_data) [TEST_FLOAT]: Disable one test.
7318         (llrint_tonearest_test_data): Test for "inexact" exceptions.
7319         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
7320         (llrint_towardzero_test_data): Test for "inexact" exceptions.
7321         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
7322         (llrint_downward_test_data): Test for "inexact" exceptions.
7323         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
7324         (llrint_upward_test_data): Test for "inexact" exceptions.
7325         (logb_test_data): Likewise.
7326         (logb_downward_test_data): Likewise.
7327         (nextafter_test_data): Likewise.
7328         (nexttoward_test_data): Likewise.
7329         (remainder_test_data): Likewise.
7330         (remquo_test_data): Likewise.
7331         (scalbn_test_data): Likewise.
7332         (scalbln_test_data): Likewise.
7333         (signbit_test_data): Likewise.
7334         (sqrt_test_data): Likewise.
7335         (significand_test_data): Likewise.
7337 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
7339         [BZ #15424]
7340         * benchtests/bench-modf.c (struct args): Mark arg0 as
7341         volatile.
7342         * scripts/bench.pl: Mark members of struct args as volatile.
7344 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7346         [BZ # 15497]
7347         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
7348         negative infinity on POWER6 or lower.
7349         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
7351 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
7353         [BZ #15442]
7354         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
7355         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
7356         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
7357         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
7358         (_FP_SETQNAN): New macro.
7359         (_FP_SETQNAN_SEMIRAW): Likewise.
7360         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
7361         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
7362         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
7363         (FP_EXTEND): Use _FP_FRAC_SNANP.
7364         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
7365         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
7366         into account.
7367         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7368         New macro.
7369         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
7370         Likewise.
7372 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
7374         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
7375         with DIVIDE_BY_ZERO_EXCEPTION.
7376         (gamma_test_data): Likewise.
7377         (lgamma_test_data): Likewise.
7378         (log_test_data): Likewise.
7379         (log10_test_data): Likewise.
7380         (log2_test_data): Likewise.
7381         (tgamma_test_data): Likewise.
7383         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
7384         (acos_test_tonearest): Likewise.
7385         (acos_test_towardzero): Likewise.
7386         (acos_test_downward): Likewise.
7387         (acos_test_upward): Likewise.
7388         (acosh_test): Likewise.
7389         (asin_test): Likewise.
7390         (asin_test_tonearest): Likewise.
7391         (asin_test_towardzero): Likewise.
7392         (asin_test_downward): Likewise.
7393         (asin_test_upward): Likewise.
7394         (asinh_test): Likewise.
7395         (atan_test): Likewise.
7396         (atanh_test): Likewise.
7397         (atan2_test): Likewise.
7398         (cabs_test): Likewise.
7399         (cacos_test): Likewise.
7400         (cacosh_test): Likewise.
7401         (casin_test): Likewise.
7402         (casinh_test): Likewise.
7403         (catan_test): Likewise.
7404         (catanh_test): Likewise.
7405         (cbrt_test): Likewise.
7406         (ccos_test): Likewise.
7407         (ccosh_test): Likewise.
7408         (cexp_test): Likewise.
7409         (clog_test): Likewise.
7410         (clog10_test): Likewise.
7411         (cos_test): Likewise.
7412         (cos_test_tonearest): Likewise.
7413         (cos_test_towardzero): Likewise.
7414         (cos_test_downward): Likewise.
7415         (cos_test_upward): Likewise.
7416         (cosh_test): Likewise.
7417         (cosh_test_tonearest): Likewise.
7418         (cosh_test_towardzero): Likewise.
7419         (cosh_test_downward): Likewise.
7420         (cosh_test_upward): Likewise.
7421         (cpow_test): Likewise.
7422         (csin_test): Likewise.
7423         (csinh_test): Likewise.
7424         (csqrt_test): Likewise.
7425         (ctan_test): Likewise.
7426         (ctan_test_tonearest): Likewise.
7427         (ctan_test_towardzero): Likewise.
7428         (ctan_test_downward): Likewise.
7429         (ctan_test_upward): Likewise.
7430         (ctanh_test): Likewise.
7431         (ctanh_test_tonearest): Likewise.
7432         (ctanh_test_towardzero): Likewise.
7433         (ctanh_test_downward): Likewise.
7434         (ctanh_test_upward): Likewise.
7435         (erf_test): Likewise.
7436         (erfc_test): Likewise.
7437         (exp_test): Likewise.
7438         (exp_test_tonearest): Likewise.
7439         (exp_test_towardzero): Likewise.
7440         (exp_test_downward): Likewise.
7441         (exp_test_upward): Likewise.
7442         (exp10_test): Likewise.
7443         (exp2_test): Likewise.
7444         (expm1_test): Likewise.
7445         (fmod_test): Likewise.
7446         (gamma_test): Likewise.
7447         (hypot_test): Likewise.
7448         (j0_test): Likewise.
7449         (j1_test): Likewise.
7450         (jn_test): Likewise.
7451         (lgamma_test): Likewise.
7452         (log_test): Likewise.
7453         (log10_test): Likewise.
7454         (log1p_test): Likewise.
7455         (log2_test): Likewise.
7456         (logb_test_downward): Likewise.
7457         (pow_test): Likewise.
7458         (pow_test_tonearest): Likewise.
7459         (pow_test_towardzero): Likewise.
7460         (pow_test_downward): Likewise.
7461         (pow_test_upward): Likewise.
7462         (remainder_test): Likewise.
7463         (remquo_test): Likewise.
7464         (sin_test): Likewise.
7465         (sin_test_tonearest): Likewise.
7466         (sin_test_towardzero): Likewise.
7467         (sin_test_downward): Likewise.
7468         (sin_test_upward): Likewise.
7469         (sincos_test): Likewise.
7470         (sinh_test): Likewise.
7471         (sinh_test_tonearest): Likewise.
7472         (sinh_test_towardzero): Likewise.
7473         (sinh_test_downward): Likewise.
7474         (sinh_test_upward): Likewise.
7475         (sqrt_test): Likewise.
7476         (tan_test): Likewise.
7477         (tan_test_tonearest): Likewise.
7478         (tan_test_towardzero): Likewise.
7479         (tan_test_downward): Likewise.
7480         (tan_test_upward): Likewise.
7481         (tanh_test): Likewise.
7482         (tgamma_test): Likewise.
7483         (y0_test): Likewise.
7484         (y1_test): Likewise.
7485         (yn_test): Likewise.
7487         * math/gen-libm-test.pl (adjust_arg): Remove function.
7488         (special_function): Remove argument $in_func.  Only handle
7489         generating output for tables of tests, not inside functions.
7490         (parse_args): Likewise.
7491         (generate_testfile): Remove variable $in_func.  Update call to
7492         parse_args.
7493         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
7494         (MINUS_ZERO_INIT): Rename macro to minus_zero.
7495         (PLUS_INFTY_INIT): Rename macro to plus_infty.
7496         (MINUS_INFTY_INIT): Rename macro to minus_infty.
7497         (QNAN_VALUE_INIT): Rename macro to qnan_value.
7498         (MAX_VALUE_INIT): Rename macro to max_value.
7499         (MIN_VALUE_INIT): Rename macro to min_value.
7500         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
7501         (plus_zero): Remove variable.
7502         (minus_zero): Likewise.
7503         (plus_infty): Likewise.
7504         (minus_infty): Likewise.
7505         (qnan_value): Likewise.
7506         (max_value): Likewise.
7507         (min_value): Likewise.
7508         (min_subnorm_value): Likewise.
7510 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
7512         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
7513         uint64_t or uint32_t usage.
7514         * crypt/sha256-block.c: Likewise.
7515         * crypt/sha256-crypt.c: Likewise.
7516         * crypt/sha256.c: Likewise.
7517         * crypt/sha512-block.c: Likewise.
7518         * crypt/sha512-crypt.c: Likewise.
7519         * crypt/sha512.c: Likewise.
7520         * debug/backtrace-tst.c: Likewise.
7521         * debug/pcprofiledump.c: Likewise.
7522         * elf/cache.c: Likewise.
7523         * elf/dl-cache.c: Likewise.
7524         * elf/dl-misc.c: Likewise.
7525         * elf/dl-profile.c: Likewise.
7526         * elf/dl-support.c: Likewise.
7527         * elf/ldconfig.c: Likewise.
7528         * elf/sprof.c: Likewise.
7529         * iconv/dummy-repertoire.c: Likewise.
7530         * iconv/iconv_charmap.c: Likewise.
7531         * iconv/skeleton.c: Likewise.
7532         * iconvdata/8bit-generic.c: Likewise.
7533         * iconvdata/cp737.h: Likewise.
7534         * iconvdata/cp775.h: Likewise.
7535         * iconvdata/ibm1008.h: Likewise.
7536         * iconvdata/ibm1025.h: Likewise.
7537         * iconvdata/ibm1046.h: Likewise.
7538         * iconvdata/ibm1097.h: Likewise.
7539         * iconvdata/ibm1112.h: Likewise.
7540         * iconvdata/ibm1122.h: Likewise.
7541         * iconvdata/ibm1123.h: Likewise.
7542         * iconvdata/ibm1124.h: Likewise.
7543         * iconvdata/ibm1129.h: Likewise.
7544         * iconvdata/ibm1130.h: Likewise.
7545         * iconvdata/ibm1132.h: Likewise.
7546         * iconvdata/ibm1133.h: Likewise.
7547         * iconvdata/ibm1137.h: Likewise.
7548         * iconvdata/ibm1140.h: Likewise.
7549         * iconvdata/ibm1141.h: Likewise.
7550         * iconvdata/ibm1142.h: Likewise.
7551         * iconvdata/ibm1143.h: Likewise.
7552         * iconvdata/ibm1144.h: Likewise.
7553         * iconvdata/ibm1145.h: Likewise.
7554         * iconvdata/ibm1146.h: Likewise.
7555         * iconvdata/ibm1147.h: Likewise.
7556         * iconvdata/ibm1148.h: Likewise.
7557         * iconvdata/ibm1149.h: Likewise.
7558         * iconvdata/ibm1153.h: Likewise.
7559         * iconvdata/ibm1154.h: Likewise.
7560         * iconvdata/ibm1155.h: Likewise.
7561         * iconvdata/ibm1156.h: Likewise.
7562         * iconvdata/ibm1157.h: Likewise.
7563         * iconvdata/ibm1158.h: Likewise.
7564         * iconvdata/ibm1160.h: Likewise.
7565         * iconvdata/ibm1161.h: Likewise.
7566         * iconvdata/ibm1162.h: Likewise.
7567         * iconvdata/ibm1163.h: Likewise.
7568         * iconvdata/ibm1164.h: Likewise.
7569         * iconvdata/ibm1166.h: Likewise.
7570         * iconvdata/ibm1167.h: Likewise.
7571         * iconvdata/ibm12712.h: Likewise.
7572         * iconvdata/ibm1390.h: Likewise.
7573         * iconvdata/ibm1399.h: Likewise.
7574         * iconvdata/ibm16804.h: Likewise.
7575         * iconvdata/ibm4517.h: Likewise.
7576         * iconvdata/ibm4899.h: Likewise.
7577         * iconvdata/ibm4909.h: Likewise.
7578         * iconvdata/ibm4971.h: Likewise.
7579         * iconvdata/ibm5347.h: Likewise.
7580         * iconvdata/ibm803.h: Likewise.
7581         * iconvdata/ibm856.h: Likewise.
7582         * iconvdata/ibm901.h: Likewise.
7583         * iconvdata/ibm902.h: Likewise.
7584         * iconvdata/ibm9030.h: Likewise.
7585         * iconvdata/ibm9066.h: Likewise.
7586         * iconvdata/ibm921.h: Likewise.
7587         * iconvdata/ibm922.h: Likewise.
7588         * iconvdata/ibm9448.h: Likewise.
7589         * iconvdata/isiri-3342.h: Likewise.
7590         * iconvdata/jis0201.h: Likewise.
7591         * include/link.h: Likewise.
7592         * include/netdb.h: Likewise.
7593         * inet/check_native.c: Likewise.
7594         * inet/check_pf.c: Likewise.
7595         * inet/getipv4sourcefilter.c: Likewise.
7596         * inet/getnameinfo.c: Likewise.
7597         * inet/getsourcefilter.c: Likewise.
7598         * inet/htonl.c: Likewise.
7599         * inet/setipv4sourcefilter.c: Likewise.
7600         * inet/setsourcefilter.c: Likewise.
7601         * inet/test-inet6_opt.c: Likewise.
7602         * inet/tst-network.c: Likewise.
7603         * locale/C-collate.c: Likewise.
7604         * locale/C-ctype.c: Likewise.
7605         * locale/C-time.c: Likewise.
7606         * locale/C-translit.h: Likewise.
7607         * locale/loadarchive.c: Likewise.
7608         * locale/programs/3level.h: Likewise.
7609         * locale/programs/charmap.c: Likewise.
7610         * locale/programs/charmap.h: Likewise.
7611         * locale/programs/ld-address.c: Likewise.
7612         * locale/programs/ld-collate.c: Likewise.
7613         * locale/programs/ld-ctype.c: Likewise.
7614         * locale/programs/ld-identification.c: Likewise.
7615         * locale/programs/ld-measurement.c: Likewise.
7616         * locale/programs/ld-messages.c: Likewise.
7617         * locale/programs/ld-monetary.c: Likewise.
7618         * locale/programs/ld-name.c: Likewise.
7619         * locale/programs/ld-numeric.c: Likewise.
7620         * locale/programs/ld-paper.c: Likewise.
7621         * locale/programs/ld-telephone.c: Likewise.
7622         * locale/programs/ld-time.c: Likewise.
7623         * locale/programs/linereader.c: Likewise.
7624         * locale/programs/locale.c: Likewise.
7625         * locale/programs/locarchive.c: Likewise.
7626         * locale/programs/locfile.h: Likewise.
7627         * locale/programs/repertoire.c: Likewise.
7628         * locale/programs/simple-hash.c: Likewise.
7629         * locale/programs/simple-hash.h: Likewise.
7630         * malloc/memusage.c: Likewise.
7631         * malloc/memusagestat.c: Likewise.
7632         * nis/nis_defaults.c: Likewise.
7633         * nis/nis_hash.c: Likewise.
7634         * nis/nis_print.c: Likewise.
7635         * nis/nis_xdr.c: Likewise.
7636         * nscd/connections.c: Likewise.
7637         * nscd/hstcache.c: Likewise.
7638         * nscd/nscd_gethst_r.c: Likewise.
7639         * nscd/nscd_getserv_r.c: Likewise.
7640         * nscd/nscd_helper.c: Likewise.
7641         * nscd/servicescache.c: Likewise.
7642         * nss/makedb.c: Likewise.
7643         * nss/nss_db/db-XXX.c: Likewise.
7644         * nss/nss_db/db-initgroups.c: Likewise.
7645         * nss/nss_db/db-netgrp.c: Likewise.
7646         * nss/nss_files/files-network.c: Likewise.
7647         * nss/nss_files/files-parse.c: Likewise.
7648         * posix/bug-regex5.c: Likewise.
7649         * posix/fnmatch_loop.c: Likewise.
7650         * posix/regcomp.c: Likewise.
7651         * posix/regexec.c: Likewise.
7652         * posix/tst-rfc3484-2.c: Likewise.
7653         * posix/tst-rfc3484-3.c: Likewise.
7654         * posix/tst-rfc3484.c: Likewise.
7655         * resolv/nss_dns/dns-canon.c: Likewise.
7656         * resolv/nss_dns/dns-network.c: Likewise.
7657         * resolv/res_init.c: Likewise.
7658         * resolv/res_mkquery.c: Likewise.
7659         * resolv/tst-aton.c: Likewise.
7660         * stdlib/cxa_atexit.c: Likewise.
7661         * stdlib/cxa_finalize.c: Likewise.
7662         * stdlib/gen-fpioconst.c: Likewise.
7663         * stdlib/strtol_l.c: Likewise.
7664         * string/tst-endian.c: Likewise.
7665         * sunrpc/auth_des.c: Likewise.
7666         * sunrpc/clnt_udp.c: Likewise.
7667         * sunrpc/rtime.c: Likewise.
7668         * sunrpc/svcauth_des.c: Likewise.
7669         * sunrpc/xdr.c: Likewise.
7670         * sunrpc/xdr_intXX_t.c: Likewise.
7671         * sunrpc/xdr_rec.c: Likewise.
7672         * sysdeps/generic/ldconfig.h: Likewise.
7673         * sysdeps/generic/ldsodefs.h: Likewise.
7674         * sysdeps/generic/memusage.h: Likewise.
7675         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
7676         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
7677         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
7678         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
7679         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
7680         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
7681         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
7682         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
7683         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
7684         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
7685         * sysdeps/posix/getaddrinfo.c: Likewise.
7686         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
7687         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
7688         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
7689         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
7690         * sysdeps/powerpc/test-gettimebase.c: Likewise.
7691         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
7692         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
7693         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
7694         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
7695         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
7696         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
7697         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
7698         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
7699         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
7700         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
7701         * sysdeps/x86_64/dl-tls.h: Likewise.
7702         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
7703         * time/alt_digit.c: Likewise.
7704         * time/era.c: Likewise.
7705         * wcsmbs/tst-c16c32-1.c: Likewise.
7707 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
7709         * math/libm-test.inc (struct test_sincos_data): New type.
7710         (RUN_TEST_LOOP_sincos): New macro.
7711         (sincos_test_data): New variable.
7712         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
7714 2013-05-16  Richard Henderson  <rth@redhat.com>
7716         * math/atest-exp2.c (LIMB64): New macro.
7717         (CONSTSZ): New macro.
7718         (mp_exp1, mp_exp_m1, mp_log2): New variables.
7719         (hexdig): Move ...
7720         (print_mpn_fp): ... to function scope.
7721         (read_mpn_hex): Remove.
7722         (get_log2): Remove.
7723         (exp2_mpn): Use mp_log2.
7724         (main): Use mp_exp1.
7726 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
7728         * math/libm-test.inc: Remove comment about not testing "inexact"
7729         exceptions.
7730         (INEXACT_EXCEPTION): New macro.
7731         (NO_INEXACT_EXCEPTION): Likewise.
7732         (INVALID_EXCEPTION_OK): Update value.
7733         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
7734         (OVERFLOW_EXCEPTION_OK): Likewise.
7735         (UNDERFLOW_EXCEPTION_OK): Likewise.
7736         (IGNORE_ZERO_INF_SIGN): Likewise.
7737         (ERRNO_UNCHANGED): Likewise.
7738         (ERRNO_EDOM): Likewise.
7739         (ERRNO_ERANGE): Likewise.
7740         (test_exceptions): Handle testing "inexact" exceptions.
7741         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
7742         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
7743         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
7744         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
7745         INEXACT_EXCEPTION.
7746         (rint_towardzero_test_data): Likewise.
7747         (rint_downward_test_data): Likewise.
7748         (rint_upward_test_data): Likewise.
7750         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
7751         with OVERFLOW_EXCEPTION.
7752         (exp10_test_data): Likewise.
7753         (exp2_test_data): Likewise.
7754         (expm1_test_data): Likewise.
7755         (lgamma_test_data): Likewise.
7756         (pow_test_data): Likewise.
7757         (tgamma_test_data): Likewise.
7758         (yn_test_data): Remove duplicate test of overflow.
7760         * math/libm-test.inc (struct test_cc_c_data): New type.
7761         (RUN_TEST_LOOP_cc_c): New macro.
7762         (cpow_test_data): New variable.
7763         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
7765         * math/libm-test.inc (struct test_f_L_data): New type.
7766         (RUN_TEST_LOOP_f_L): New macro.
7767         (llrint_test_data): New variable.
7768         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
7769         (llrint_tonearest_test_data): New variable.
7770         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
7771         (llrint_towardzero_test_data): New variable.
7772         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
7773         (llrint_downward_test_data): New variable.
7774         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
7775         (llrint_upward_test_data): New variable.
7776         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
7777         (llround_test_data): New variable.
7778         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
7780 2013-05-13  Peter Collingbourne  <pcc@google.com>
7782         * math/atest-exp2.c (get_log2): Remove const attribute.
7784 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
7786         * math/libm-test.inc (struct test_f_l_data): New type.
7787         (RUN_TEST_LOOP_f_l): New macro.
7788         (lrint_test_data): New variable.
7789         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
7790         (lrint_tonearest_test_data): New variable.
7791         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
7792         (lrint_towardzero_test_data): New variable.
7793         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
7794         (lrint_downward_test_data): New variable.
7795         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
7796         (lrint_upward_test_data): New variable.
7797         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
7798         (lround_test_data): New variable.
7799         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
7801 2013-05-15  Peter Collingbourne  <pcc@google.com>
7803         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
7804         (EXTRACT_WORDS64) Use where appropriate.
7805         (INSERT_WORDS64) Likewise.
7807         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
7808         constraints with x constraints.
7809         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
7811         * malloc/obstack.c (_obstack_compat): Add initializer.
7813 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
7815         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
7816         si_trapno and add si_addr_lsb to _sifields.sigfault.
7817         (si_trapno): Remove macro.
7818         (si_addr_lsb): Define new macro.
7819         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
7821 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
7823         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
7824         instead of TEST_f_l.
7825         (llrint_test_tonearest): Likewise.
7826         (llrint_test_towardzero): Likewise.
7827         (llrint_test_downward): Likewise.
7828         (llrint_test_upward): Likewise.
7829         (llround_test): Likewise.
7831         * math/libm-test.inc (struct test_f_i_data): Add comment.
7832         (RUN_TEST_LOOP_f_b): New macro.
7833         (RUN_TEST_LOOP_f_b_tg): Likewise.
7834         (finite_test_data): New variable.
7835         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
7836         (isfinite_test_data): New variable.
7837         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7838         (isinf_test_data): New variable.
7839         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7840         (isnan_test_data): New variable.
7841         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7842         (isnormal_test_data): New variable.
7843         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7844         (issignaling_test_data): New variable.
7845         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7846         (signbit_test_data): New variable.
7847         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
7849         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
7850         with INVALID_EXCEPTION.
7851         (acosh_test_data): Likewise.
7852         (asin_test_data): Likewise.
7853         (atanh_test_data): Likewise.
7854         (fmod_test_data): Likewise.
7855         (log_test_data): Likewise.
7856         (log10_test_data): Likewise.
7857         (log2_test_data): Likewise.
7858         (pow_test_data): Likewise.
7859         (sqrt_test_data): Likewise.
7860         (y0_test_data): Likewise.
7861         (y1_test_data): Likewise.
7862         (yn_test_data): Likewise.
7864         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
7865         function contents.
7867         * math/libm-test.inc (struct test_ff_i_data): New type.
7868         (RUN_TEST_LOOP_ff_i_tg): New macro.
7869         (isgreater_test_data): New variable.
7870         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7871         (isgreaterequal_test_data): New variable.
7872         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7873         (isless_test_data): New variable.
7874         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7875         (islessequal_test_data): New variable.
7876         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7877         (islessgreater_test_data): New variable.
7878         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7879         (isunordered_test_data): New variable.
7880         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
7882 2013-05-14  David S. Miller  <davem@davemloft.net>
7884         * sysdeps/sparc/fpu/libm-test-ulps: Update.
7886 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
7888         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
7890         * math/libm-test.inc (struct test_fF_f1_data): Change type of
7891         extra_test to int.
7892         (struct test_f_i_data): Change type of max_ulp to int.
7894         * math/libm-test.inc (test_ffI_f1_data): New type.
7895         (RUN_TEST_LOOP_ffI_f1): New macro.
7896         (remquo_test_data): New variable.
7897         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
7899         * setjmp/tst-setjmp-fp.c: New file.
7900         * setjmp/Makefile (tests): Add tst-setjmp-fp.
7901         (link-libm): New variable.
7902         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
7904         * math/libm-test.inc (struct test_f_i_data): New type.
7905         (RUN_TEST_LOOP_f_i): New macro.
7906         (RUN_TEST_LOOP_f_i_tg): Likewise.
7907         (fpclassify_test_data): New variable.
7908         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
7909         (ilogb_test_data): New variable.
7910         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
7912         * math/libm-test.inc (scalbln_test): Correct function name in END
7913         call.
7915         * math/libm-test.inc (struct test_f_f1_data): Add comment.
7916         (RUN_TEST_LOOP_fI_f1): New macro.
7917         (frexp_test_data): New variable.
7918         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
7920         * math/libm-test.inc (struct test_fF_f1_data): New type.
7921         (RUN_TEST_LOOP_fF_f1): New macro.
7922         (modf_test_data): New variable.
7923         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
7925         * math/libm-test.inc (struct test_f_f1_data): New type.
7926         (RUN_TEST_LOOP_f_f1): New macro.
7927         (gamma_test_data): New variable.
7928         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7929         (lgamma_test_data): New variable.
7930         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
7932 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
7934         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
7935         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
7936         (main): Comment "tls" pseudo-hwcap.
7938 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
7940         * math/libm-test.inc (struct test_fl_f_data): New type.
7941         (RUN_TEST_LOOP_fl_f): New variable.
7942         (scalbln_test_data): New variable.
7943         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
7945         * math/libm-test.inc (struct test_fi_f_data): New type.
7946         (RUN_TEST_LOOP_fi_f): New macro.
7947         (ldexp_test_data): New variable.
7948         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
7949         (scalbn_test_data): New variable.
7950         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
7952         * math/libm-test.inc (struct test_c_f_data): New type.
7953         (RUN_TEST_LOOP_c_f): New macro.
7954         (cabs_test_data): New variable.
7955         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
7956         (carg_test_data): New variable.
7957         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
7958         (cimag_test_data): New variable.
7959         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
7960         (creal_test_data): New variable.
7961         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
7963         * math/libm-test.inc (struct test_if_f_data): New type.
7964         (RUN_TEST_LOOP_if_f): New macro.
7965         (jn_test_data): New variable.
7966         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
7967         (yn_test_data): New variable.
7968         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
7970         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
7972 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
7974         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
7975         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
7977 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
7979         * benchtests/Makefile (CPPFLAGS-nonlib): Add
7980         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
7981         (bench-deps): Add bench-timing.h.
7982         * benchtests-bench-skeleton.c: Include bench-timing.h.
7983         (main): Use TIMING_* macros instead of clock_gettime.
7984         * benchtests/bench-timing.h: New file.
7986         [BZ #14582]
7987         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
7988         Renamed from _LIB_VERSION.
7989         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
7991 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
7993         * math/libm-test.inc (struct test_fff_f_data): New type.
7994         (RUN_TEST_LOOP_fff_f): New macro.
7995         (fma_test_data): New variable.
7996         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
7997         (fma_towardzero_test_data): New variable.
7998         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
7999         (fma_downward_test_data): New variable.
8000         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
8001         (fma_upward_test_data): New variable.
8002         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
8004         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
8005         (struct test_c_c_data): New type.
8006         (RUN_TEST_LOOP_c_c): New macro.
8007         (cacos_test_data): New variable.
8008         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
8009         (cacosh_test_data): New variable.
8010         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
8011         (casin_test_data): New variable.
8012         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
8013         (casinh_test_data): New variable.
8014         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
8015         (catan_test_data): New variable.
8016         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
8017         (catanh_test_data): New variable.
8018         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
8019         (ccos_test_data): New variable.
8020         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
8021         (ccosh_test_data): New variable.
8022         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
8023         (cexp_test_data): New variable.
8024         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
8025         (clog_test_data): New variable.
8026         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
8027         (clog10_test_data): New variable.
8028         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
8029         (conj_test_data): New variable.
8030         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
8031         (cproj_test_data): New variable.
8032         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
8033         (csin_test_data): New variable.
8034         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
8035         (csinh_test_data): New variable.
8036         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
8037         (csqrt_test_data): New variable.
8038         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
8039         (ctan_test_data): New variable.
8040         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
8041         (ctan_tonearest_test_data): New variable.
8042         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8043         (ctan_towardzero_test_data): New variable.
8044         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8045         (ctan_downward_test_data): New variable.
8046         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8047         (ctan_upward_test_data): New variable.
8048         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8049         (ctanh_test_data): New variable.
8050         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
8051         (ctanh_tonearest_test_data): New variable.
8052         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
8053         (ctanh_towardzero_test_data): New variable.
8054         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
8055         (ctanh_downward_test_data): New variable.
8056         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
8057         (ctanh_upward_test_data): New variable.
8058         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
8059         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
8060         of BUILD_COMPLEX.
8062         * math/libm-test.inc (struct test_ff_f_data): New type.
8063         (struct test_ff_f_data_nexttoward): Likewise.
8064         (RUN_TEST_LOOP_2_f): New macro.
8065         (RUN_TEST_LOOP_ff_f): Likewise.
8066         (atan2_test_data): New variable.
8067         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
8068         (copysign_test_data): New variable.
8069         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
8070         (fdim_test_data): New variable.
8071         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
8072         (fmax_test_data): New variable.
8073         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
8074         (fmin_test_data): New variable.
8075         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
8076         (fmod_test_data): New variable.
8077         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
8078         (hypot_test_data): New variable.
8079         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
8080         (nextafter_test_data): New variable.
8081         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
8082         (nexttoward_test_data): New variable.
8083         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
8084         (pow_test_data): New variable.
8085         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
8086         (pow_tonearest_test_data): New variable.
8087         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
8088         (pow_towardzero_test_data): New variable.
8089         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
8090         (pow_downward_test_data): New variable.
8091         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
8092         (pow_upward_test_data): New variable.
8093         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
8094         (remainder_test_data): New variable.
8095         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
8096         (scalb_test_data): New variable.
8097         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
8098         * sysdeps/i386/fpu/libm-test-ulps: Update.
8100 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
8102         * math/libm-test.inc (fma_test): Use max_value instead of local
8103         variable fltmax.
8104         (nextafter_test): Likewise.
8106         * math/libm-test.inc (acos_towardzero_test_data): New variable.
8107         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8108         (acos_downward_test_data): New variable.
8109         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8110         (acos_upward_test_data): New variable.
8111         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8112         (acosh_test_data): New variable.
8113         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
8114         (asin_test_data): New variable.
8115         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
8116         (asin_tonearest_test_data): New variable.
8117         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8118         (asin_towardzero_test_data): New variable.
8119         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8120         (asin_downward_test_data): New variable.
8121         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8122         (asin_upward_test_data): New variable.
8123         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8124         (asinh_test_data): New variable.
8125         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
8126         (atan_test_data): New variable.
8127         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
8128         (atanh_test_data): New variable.
8129         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
8130         (cbrt_test_data): New variable.
8131         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
8132         (ceil_test_data): New variable.
8133         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
8134         (cos_test_data): New variable.
8135         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
8136         (cos_tonearest_test_data): New variable.
8137         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8138         (cos_towardzero_test_data): New variable.
8139         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8140         (cos_downward_test_data): New variable.
8141         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8142         (cos_upward_test_data): New variable.
8143         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8144         (cosh_test_data): New variable.
8145         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
8146         (cosh_tonearest_test_data): New variable.
8147         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8148         (cosh_towardzero_test_data): New variable.
8149         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8150         (cosh_downward_test_data): New variable.
8151         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8152         (cosh_upward_test_data): New variable.
8153         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8154         (erf_test_data): New variable.
8155         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
8156         (erfc_test_data): New variable.
8157         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
8158         (exp_test_data): New variable.
8159         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
8160         (exp_tonearest_test_data): New variable.
8161         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8162         (exp_towardzero_test_data): New variable.
8163         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8164         (exp_downward_test_data): New variable.
8165         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8166         (exp_upward_test_data): New variable.
8167         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8168         (exp10_test_data): New variable.
8169         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
8170         (exp2_test_data): New variable.
8171         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
8172         (expm1_test_data): New variable.
8173         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
8174         (fabs_test_data): New variable.
8175         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
8176         (floor_test_data): New variable.
8177         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
8178         (j0_test_data): New variable.
8179         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
8180         (j1_test_data): New variable.
8181         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
8182         (log_test_data): New variable.
8183         (log_test): Run tests with RUN_TEST_LOOP_f_f.
8184         (log10_test_data): New variable.
8185         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
8186         (log1p_test_data): New variable.
8187         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
8188         (log2_test_data): New variable.
8189         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
8190         (logb_test_data): New variable.
8191         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
8192         (logb_downward_test_data): New variable.
8193         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8194         (nearbyint_test_data): New variable.
8195         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
8196         (rint_test_data): New variable.
8197         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
8198         (rint_tonearest_test_data): New variable.
8199         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8200         (rint_towardzero_test_data): New variable.
8201         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8202         (rint_downward_test_data): New variable.
8203         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8204         (rint_upward_test_data): New variable.
8205         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8206         (round_test_data): New variable.
8207         (round_test): Run tests with RUN_TEST_LOOP_f_f.
8208         (sin_test_data): New variable.
8209         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
8210         (sin_tonearest_test_data): New variable.
8211         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8212         (sin_towardzero_test_data): New variable.
8213         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8214         (sin_downward_test_data): New variable.
8215         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8216         (sin_upward_test_data): New variable.
8217         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8218         (sinh_test_data): New variable.
8219         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
8220         (sinh_tonearest_test_data): New variable.
8221         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8222         (sinh_towardzero_test_data): New variable.
8223         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8224         (sinh_downward_test_data): New variable.
8225         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8226         (sinh_upward_test_data): New variable.
8227         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8228         (sqrt_test_data): New variable.
8229         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
8230         (tan_test_data): New variable.
8231         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
8232         (tan_tonearest_test_data): New variable.
8233         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8234         (tan_towardzero_test_data): New variable.
8235         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
8236         (tan_downward_test_data): New variable.
8237         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
8238         (tan_upward_test_data): New variable.
8239         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
8240         (tanh_test_data): New variable.
8241         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
8242         (tgamma_test_data): New variable.
8243         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
8244         (trunc_test_data): New variable.
8245         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
8246         (y0_test_data): New variable.
8247         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
8248         (y1_test_data): New variable.
8249         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
8250         (significand_test_data): New variable.
8251         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
8253 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
8255         [BZ #12387]
8256         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
8258 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
8260         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
8262 2013-05-10  Andreas Jaeger  <aj@suse.de>
8264         [BZ #15448]
8265         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
8266         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
8268 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
8270         * math/gen-libm-test.pl (adjust_arg): New function.
8271         (special_functions): Handle generating output in both functions
8272         and arrays.
8273         (parse_args): Likewise.
8274         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
8275         $in_func argument to parse_args.
8276         * math/libm-test.inc (struct test_f_f_data): New type.
8277         (IF_ROUND_INIT_): New macro.
8278         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
8279         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
8280         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
8281         (IF_ROUND_INIT_FE_UPWARD): Likewise.
8282         (ROUND_RESTORE_): Likewise.
8283         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
8284         (ROUND_RESTORE_FE_TONEAREST): Likewise.
8285         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
8286         (ROUND_RESTORE_FE_UPWARD): Likewise.
8287         (RUN_TEST_LOOP_f_f): New macro.
8288         (acos_test_data): New variable.
8289         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
8290         (acos_tonearest_test_data): New variable.
8291         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
8293 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
8295         * benchtests/bench-skeleton.c (startup): Fix coding style.
8297 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
8299         [BZ #6809]
8300         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
8301         negative infinity argument.
8302         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
8303         negative infinity argument.
8304         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
8305         negative infinity argument.
8306         * math/libm-test.inc (tgamma_test): Expect errno to be set for
8307         domain errors.
8309 2013-05-10  Florian Weimer  <fweimer@redhat.com>
8311         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
8312         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
8313         * iconv/iconv_prog.c (main): Likewise.
8314         * locale/programs/charmap-dir.c (charmap_readdir)
8315         (fopen_uncompressed): Likewise.
8316         * locale/programs/locfile.c (siblings_uncached)
8317         (write_locale_data): Use lstat64 instead of lstat.
8318         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
8319         stat.
8321 2013-05-10  Andreas Jaeger  <aj@suse.de>
8323         [BZ #15395]
8324         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
8325         localization.
8326         Include <locale.h>.
8328 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
8330         * elf/dl-close.c (_dl_close_worker): Add comments.
8332 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
8334         [BZ #15359]
8335         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
8336         high part of pi/2.
8337         (__ieee754_rem_pio2l): Update comments.
8339         [BZ #15429]
8340         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
8341         high part of pi/2.
8342         (__ieee754_rem_pio2l): Update comments.
8344         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
8345         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
8347         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
8348         M_PI_4l.
8350         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
8351         (M_PI_34_LOG10El): Likewise.
8352         (M_PI2_LOG10El): Likewise.
8353         (M_PI4_LOG10El): Likewise.
8354         (M_PI_LOG10El): Likewise.
8356 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8358         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8360 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
8362         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
8363         (MINUS_ZERO_INIT): Likewise.
8364         (PLUS_INFTY_INIT): Likewise.
8365         (MINUS_INFTY_INIT): Likewise.
8366         (QNAN_VALUE_INIT): Likewise.
8367         (MAX_VALUE_INIT): Likewise.
8368         (MIN_VALUE_INIT): Likewise.
8369         (MIN_SUBNORM_VALUE_INIT): Likewise.
8370         (plus_zero): Initialize with PLUS_ZERO_INIT.
8371         (minus_zero): Initialize with MINUS_ZERO_INIT.
8372         (plus_infty): Initialize with PLUS_INFTY_INIT.
8373         (minus_infty): Initialize with MINUS_INFTY_INIT.
8374         (qnan_value): Initialize with QNAN_VALUE_INIT.
8375         (max_value): Initialize with MAX_VALUE_INIT.
8376         (min_value): Initialize with MIN_VALUE_INIT.
8377         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
8379         * math/libm-test.inc (RUN_TEST_if_f): New macro.
8380         (jn_test): Use TEST_if_f instead of TEST_ff_f.
8381         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
8382         (yn_test): Use TEST_if_f instead of TEST_ff_f.
8384         * math/libm-test.inc (RUN_TEST_f_f): New macro.
8385         (RUN_TEST_2_f): Likewise.
8386         (RUN_TEST_ff_f): Likewise.
8387         (RUN_TEST_fi_f): Likewise.
8388         (RUN_TEST_fl_f): Likewise.
8389         (RUN_TEST_fff_f): Likewise.
8390         (RUN_TEST_c_f): Likewise.
8391         (RUN_TEST_f_f1): Likewise.
8392         (RUN_TEST_fF_f1): Likewise.
8393         (RUN_TEST_fI_f1): Likewise.
8394         (RUN_TEST_ffI_f1): Likewise.
8395         (RUN_TEST_c_c): Likewise.
8396         (RUN_TEST_cc_c): Likewise.
8397         (RUN_TEST_f_i): Likewise.
8398         (RUN_TEST_f_i_tg): Likewise.
8399         (RUN_TEST_ff_i_tg): Likewise.
8400         (RUN_TEST_f_b): Likewise.
8401         (RUN_TEST_f_b_tg): Likewise.
8402         (RUN_TEST_f_l): Likewise.
8403         (RUN_TEST_f_L): Likewise.
8404         (RUN_TEST_sincos): Likewise.
8405         * math/gen-libm-test.pl (new_test): Take new argument to indicate
8406         whether to show exceptions.  Do not include ");\n" in return
8407         value.
8408         (special_functions): Output call to RUN_TEST_sincos instead of
8409         check_float calls.  Update calls to new_test.
8410         (parse_args): Output call to single RUN_TEST_* macro instead of
8411         check_* calls and other assignments.  Update calls to new_test.
8413         [BZ #2546]
8414         [BZ #2560]
8415         [BZ #5159]
8416         [BZ #15426]
8417         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
8418         input to result for tgamma overflow.
8419         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
8420         (gamma_coeff): New variable.
8421         (NCOEFF): New macro.
8422         (gamma_positive): New function.
8423         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
8424         underflow here.  Use gamma_positive instead of exp (lgamma) for
8425         other arguments.
8426         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
8427         (gamma_coeff): New variable.
8428         (NCOEFF): New macro.
8429         (gammaf_positive): New function.
8430         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
8431         underflow here.  Use gamma_positive instead of exp (lgamma) for
8432         other arguments.
8433         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
8434         (gamma_coeff): New variable.
8435         (NCOEFF): New macro.
8436         (gammal_positive): New function.
8437         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
8438         underflow here.  Use gamma_positive instead of exp (lgamma) for
8439         other arguments.
8440         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
8441         (gamma_coeff): New variable.
8442         (NCOEFF): New macro.
8443         (gammal_positive): New function.
8444         (__ieee754_gammal_r): Handle positive infinity, overflow and
8445         underflow here.  Handle NaN the same as positive infinity.  Remove
8446         check x < 0xffffffff for negative integers.  Use gamma_positive
8447         instead of exp (lgamma) for other arguments.
8448         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
8449         (gamma_coeff): New variable.
8450         (NCOEFF): New macro.
8451         (gammal_positive): New function.
8452         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
8453         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
8454         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
8455         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
8456         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
8457         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
8458         * sysdeps/generic/math_private.h (__gamma_productf): New
8459         prototype.
8460         (__gamma_product): Likewise.
8461         (__gamma_productl): Likewise.
8462         * math/Makefile (libm-calls): Add gamma_product.
8463         * math/libm-test.inc (tgamma_test): Add more tests.
8464         * sysdeps/i386/fpu/libm-test-ulps: Update.
8465         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8467 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
8469         * benchtests/bench-skeleton.c (main): Preheat CPU.
8471 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
8473         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
8475 2013-05-07  Roland McGrath  <roland@hack.frob.com>
8477         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
8478         and _dl_skip_args_internal.
8480 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
8482         * manual/message.texi (Message Translation): Talk about users.
8483         Message to key mapping impacts design.
8485 2013-05-06  Roland McGrath  <roland@hack.frob.com>
8487         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
8489         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
8491         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
8492         * sysdeps/wordsize-64/glob64.c: ... here.
8494         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
8495         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
8496         New macros.
8498         * debug/getlogin_r_chk.c: Moved to ...
8499         * login/getlogin_r_chk.c: ... here.
8500         * debug/Makefile (routines): Move getlogin_r_chk to ...
8501         * login/Makefile (routines): ... here.
8502         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
8503         * login/Versions (libc: GLIBC_2.4): ... here.
8505         * io/poll.c (__poll): Renamed from poll.
8506         Add libc_hidden_def.
8507         (poll): Define as weak alias.
8509         * debug/ptsname_r_chk.c: Moved to ...
8510         * login/ptsname_r_chk.c: ... here.
8511         * debug/Makefile (routines): Move ptsname_r_chk to ...
8512         * login/Makefile (routines): ... here.
8513         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
8514         * login/Versions (libc: GLIBC_2.4): ... here.
8516         * posix/getlogin.c: Moved to ...
8517         * login/getlogin.c: ... here.
8518         * posix/getlogin_r.c: Moved to ...
8519         * login/getlogin_r.c: ... here.
8520         * posix/getlogin_r.c: Moved to ...
8521         * login/getlogin_r.c: ... here.
8522         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
8523         * login/Makefile (routines): ... here.
8524         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
8525         * login/Versions (libc: GLIBC_2.0): ... here.
8527         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
8528         (setrlimit): Define as weak alias.
8530         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
8531         Call __ names for open, ftruncate, and close.
8532         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
8533         (truncate): Define as weak alias.
8535 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
8537         * math/gen-libm-test.pl (parse_args): Initialize x before each
8538         test of frexp, modf and remquo.
8540         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
8541         test signgam value.
8543 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8545         [BZ #15418]
8546         [BZ #15419]
8547         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
8548         internal tests.
8549         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
8551 2013-05-06  Roland McGrath  <roland@hack.frob.com>
8553         * elf/dl-writev.h: New file.
8554         * elf/dl-misc.c: Include it.
8555         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
8556         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
8558 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
8560         * math/libm-test.inc (noXFails): Remove variable.
8561         (noXPasses): Likewise.
8562         (BUILD_COMPLEX_INT): Remove macro.
8563         (print_screen): Remove xfail argument.
8564         (print_screen_max_error): Likewise.
8565         (update_stats): Likewise.
8566         (print_max_error): Likewise.  Update calls to other affected
8567         functions.
8568         (print_complex_max_error): Likewise.
8569         (test_single_exception): Update calls to print_screen.
8570         (test_single_errno): Likewise.
8571         (check_float_internal): Remove xfail argument.  Update calls to
8572         other affected functions.
8573         (check_float): Likewise.
8574         (check_complex): Likewise.
8575         (check_int): Likewise.
8576         (check_long): Likewise.
8577         (check_bool): Likewise.
8578         (check_longlong): Likewise.
8579         (main): Don't print noXFails and noXPasses.
8580         * math/gen-libm-test.pl (top level): Don't mention expected
8581         failure handling in comment.
8582         (new_test): Don't handle expected failures.
8583         (parse_args): Don't mention expected failure handling in comment.
8584         (generate_testfile): Don't handle expected failures.
8585         (parse_ulps): Likewise.
8586         (print_ulps_file): Likewise.
8587         (get_failure): Remove function.
8588         (output_test): Don't handle expected failures.
8589         * make/README.libm-test: Don't mention expected failure handling.
8591         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
8592         (minus_zero): Likewise.
8593         (plus_infty): Likewise.
8594         (minus_infty): Likewise.
8595         (qnan_value): Likewise.
8596         (max_value): Likewise.
8597         (min_value): Likewise.
8598         (min_subnorm_value): Likewise.
8599         (initialize): Do not initialize those variables dynamically.
8601 2013-05-03  Roland McGrath  <roland@hack.frob.com>
8603         * io/open.c (__open_2): Moved to ...
8604         * io/open_2.c: ... this new file.
8605         * io/open64.c (__open64_2): Moved to ...
8606         * io/open64_2.c: ... this new file.
8607         * io/openat.c (__openat_2): Moved to ...
8608         * io/openat_2.c: ... this new file.
8609         * io/openat64.c (__openat64_2): Moved to ...
8610         * io/openat64_2.c: ... this new file.
8611         * io/Makefile (routines): Add them.
8612         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
8613         * sysdeps/unix/sysv/linux/open_2.c: File removed.
8614         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
8615         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
8616         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
8617         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
8618         (__openat64): Add hidden_ver.
8619         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
8620         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
8622         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
8623         Separately conditionalize setting of GLRO(dl_sysinfo) so
8624         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
8625         as well, but the actual setting is only under [NEED_DL_SYSINFO].
8627 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8629         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
8630         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
8631         definition.
8632         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
8633         * sysdeps/unix/sysv/linux/powerpc/init-first.c
8634         (_libc_vdso_platform_setup): Add __vdso_time initialization.
8635         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
8636         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
8638 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
8640         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
8641         test signgam value.
8643         * math/libm-test.inc (hypot_test): Do not use
8644         IGNORE_ZERO_INF_SIGN.
8646 2013-05-03  Andreas Jaeger  <aj@suse.de>
8648         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
8649         Linux 3.9.
8650         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
8651         (PF_MAX): Adjust for VSOCK change.
8653 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8655         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8657 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
8659         [BZ #15264]
8660         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
8661         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
8662         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
8664 2013-05-02  David S. Miller  <davem@davemloft.net>
8666         * sysdeps/sparc/fpu/libm-test-ulps: Update.
8668 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
8670         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
8672 2013-05-01  Roland McGrath  <roland@hack.frob.com>
8674         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
8676 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
8678         [BZ #14952]
8679         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
8680         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8681         Use __attribute__ ((__gnu_inline__)).
8682         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
8683         Don't use __attribute__ ((__gnu_inline__)).
8685 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
8687         [BZ #15423]
8688         * math/s_catan.c (__catan): Handle small real or imaginary part of
8689         input specially to avoid spurious underflow.
8690         * math/s_catanf.c (__catanf): Likewise.
8691         * math/s_catanh.c (__catanh): Likewise.
8692         * math/s_catanhf.c (__catanhf): Likewise.
8693         * math/s_catanhl.c (__catanhl): Likewise.
8694         * math/s_catanl.c (__catanl): Likewise.
8695         * math/libm-test.inc (catan_test): Add more tests.
8696         (catanh_test): Likewise.
8697         * sysdeps/i386/fpu/libm-test-ulps: Update.
8698         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8700 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8702         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8704 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
8706         [BZ #15416]
8707         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
8708         accurately for denominator in atan2.
8709         * math/s_catanf.c (__catanf): Likewise.
8710         * math/s_catanh.c (__catanh): Likewise.
8711         * math/s_catanhf.c (__catanhf): Likewise.
8712         * math/s_catanhl.c (__catanhl): Likewise.
8713         * math/s_catanl.c (__catanl): Likewise.
8714         * math/libm-test.inc (catan_test): Add more tests.
8715         (catanh_test): Likewise.
8716         * sysdeps/i386/fpu/libm-test-ulps: Update.
8717         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8719 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
8721         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
8723         * benchtests/Makefile (bench): Remove slow benchmarks.
8724         * benchtests/atan-inputs: Add slow benchmark inputs.
8725         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
8726         (BENCH_FUNC): Accept variant offset.
8727         (VARIANT): Define.
8728         * benchtests/bench-skeleton.c (main): Run benchmark for each
8729         variant.
8730         * benchtests/cos-inputs: Add slow benchmark inputs.
8731         * benchtests/exp-inputs: Likewise.
8732         * benchtests/pow-inputs: Likewise.
8733         * benchtests/sin-inputs: Likewise.
8734         * benchtests/slowatan-inputs: Remove.
8735         * benchtests/slowatan.c: Remove.
8736         * benchtests/slowcos-inputs: Remove.
8737         * benchtests/slowcos.c: Remove.
8738         * benchtests/slowexp-inputs: Remove.
8739         * benchtests/slowexp.c: Remove.
8740         * benchtests/slowpow-inputs: Remove.
8741         * benchtests/slowpow.c: Remove.
8742         * benchtests/slowsin-inputs: Remove.
8743         * benchtests/slowsin.c: Remove.
8744         * benchtests/slowtan-inputs: Remove.
8745         * benchtests/slowtan.c: Remove.
8746         * benchtests/tan-inputs: Add slow benchmark inputs.
8747         * scripts/bench.pl: Parse comments and directives.
8749         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
8750         in CPPFLAGS.
8751         ($(objpfx)bench-%.c): Remove *-ITER.
8752         * benchtests/bench-modf.c: Remove definition of ITER.
8753         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
8754         (main): Loop for DURATION seconds instead of fixed number of
8755         iterations.
8756         * scripts/bench.pl: Don't expect iterations in parameters.
8758 2013-04-29  Roland McGrath  <roland@hack.frob.com>
8760         * io/fchdir.c (__fchdir): Renamed from fchdir.
8761         (fchdir): Define as weak alias.
8763 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
8765         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
8766         (ERRNO_EDOM): Likewise.
8767         (ERRNO_ERANGE): Likewise.
8768         (noErrnoTests): New variable.
8769         (init_max_error): Set errno to 0.
8770         (test_single_errno): New function.
8771         (test_errno): Likewise.
8772         (check_float_internal): Call test_errno.  Set errno to 0.
8773         (check_complex): Refer to errno tests in comment.
8774         (check_int): Call test_errno.  Set errno to 0.
8775         (check_long): Likewise.
8776         (check_bool): Likewise.
8777         (check_longlong): Likewise.
8778         (cos_test): Use ERRNO_* flags for errno tests instead of
8779         check_int.
8780         (expm1_test): Likewise.
8781         (fmod_test): Likewise.
8782         (ilogb_test): Likewise.
8783         (lgamma_test): Likewise.
8784         (pow_test): Likewise.
8785         (remainder_test): Likewise.
8786         (sin_test): Likewise.
8787         (tan_test): Likewise.
8788         (yn_test): Likewise.
8789         (initialize): Set errno to 0.
8790         (main): Print number of errno tests.
8791         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
8793 2013-04-29  Andreas Jaeger  <aj@suse.de>
8795         [BZ #15084]
8796         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
8797         and RES_USEVC.
8799         [BZ #15085]
8800         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
8801         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
8802         unimplemented.
8804         [BZ #15380]
8805         * stdlib/random.c (__initstate): Return NULL if
8806         __initstate fails.
8808         [BZ #15086]
8809         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
8810         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
8811         RES_SNGLKUPREOP.
8813 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8815         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
8817 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
8819         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
8820         of individual tests.
8821         (casin_test): Likewise.
8822         (casinh_test): Likewise.
8824 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
8826         [BZ #15409]
8827         * math/s_catan.c (__catan): Handle arguments with large real or
8828         imaginary part separately without squaring.
8829         * math/s_catanf.c (__catanf): Likewise.
8830         * math/s_catanh.c (__catanh): Likewise.
8831         * math/s_catanhf.c (__catanhf): Likewise.
8832         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8833         and redefine.
8834         (__catanhl): Handle arguments with large real or imaginary part
8835         separately without squaring.
8836         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
8837         and redefine.
8838         (__catanl): Handle arguments with large real or imaginary part
8839         separately without squaring.
8840         * math/libm-test.inc (catan_test): Add more tests.
8841         (catanh_test): Likewise.
8842         * sysdeps/i386/fpu/libm-test-ulps: Update.
8843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
8845 2013-04-27  Andreas Jaeger  <aj@suse.de>
8847         [BZ #15007]
8848         * stdlib/stdlib.h: Update guards for qecvt.
8849         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
8850         <stdlib.h>.
8852 2013-04-27  Allan McRae  <allan@archlinux.org>
8854         * sysdeps/i386/fpu/libm-test-ulps: Update.
8856 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
8858         [BZ #15406]
8859         * math/s_catan.c: Include <float.h>.
8860         (__catan): Ensure underflow exception occurs for underflowed
8861         result.
8862         * math/s_catanf.c: Include <float.h>.
8863         (__catanf): Ensure underflow exception occurs for underflowed
8864         result.
8865         * math/s_catanh.c: Include <float.h>.
8866         (__catanh): Ensure underflow exception occurs for underflowed
8867         result.
8868         * math/s_catanhf.c: Include <float.h>.
8869         (__catanhf): Ensure underflow exception occurs for underflowed
8870         result.
8871         * math/s_catanhl.c: Include <float.h>.
8872         (__catanhl): Ensure underflow exception occurs for underflowed
8873         result.
8874         * math/s_catanl.c: Include <float.h>.
8875         (__catanl): Ensure underflow exception occurs for underflowed
8876         result.
8877         * math/libm-test.inc (catan_test): Add more tests.
8878         (catanh_test): Likewise.
8880         [BZ #15405]
8881         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
8882         underflowed result.
8883         * math/s_ccoshf.c (__ccoshf): Likewise.
8884         * math/s_ccoshl.c (__ccoshl): Likewise.
8885         * math/s_csin.c (__csin): Likewise.
8886         * math/s_csinf.c (__csinf): Likewise.
8887         * math/s_csinh.c (__csinh): Likewise.
8888         * math/s_csinhf.c (__csinhf): Likewise.
8889         * math/s_csinhl.c (__csinhl): Likewise.
8890         * math/s_csinl.c (__csinl): Likewise.
8891         * math/libm-test.inc (ccos_test): Add more tests.
8892         (ccosh_test): Likewise.
8893         (csin_test): Likewise.
8894         (csinh_test): Likewise.
8896 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
8898         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
8899         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
8900         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
8901         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
8902         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
8903         powerpc/power5+/fpu folders.
8904         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
8907 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
8909         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
8911 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
8913         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
8914         additions to variable.
8915         [$(config-machine) = x86_64] (modules-names): Likewise.
8916         ($(objpfx)tst-audit3): Remove dependency.
8917         ($(objpfx)tst-audit3.out): Likewise.
8918         ($(objpfx)tst-audit4): Likewise.
8919         ($(objpfx)tst-audit4.out): Likewise.
8920         ($(objpfx)tst-audit5): Likewise.
8921         ($(objpfx)tst-audit5.out): Likewise.
8922         ($(objpfx)tst-audit6): Likewise.
8923         ($(objpfx)tst-audit6.out): Likewise.
8924         ($(objpfx)tst-audit7): Likewise.
8925         ($(objpfx)tst-audit7.out): Likewise.
8926         (tst-audit3-ENV): Remove variable.
8927         (tst-audit4-ENV): Likewise.
8928         (tst-audit5-ENV): Likewise.
8929         (tst-audit6-ENV): Likewise.
8930         (tst-audit7-ENV): Likewise.
8931         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
8932         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
8933         addition to variable.
8934         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
8935         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
8936         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
8937         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
8938         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
8939         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
8940         tst-audit3, tst-audit4 and tst-audit5.
8941         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
8942         tst-audit6 and tst-audit7.
8943         [$(subdir) = elf] (modules-names): Add audit modules for those
8944         tests.
8945         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
8946         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
8947         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
8948         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
8949         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
8950         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
8951         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
8952         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
8953         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
8954         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
8955         [$(subdir) = elf] (tst-audit3-ENV): New variable.
8956         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
8957         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
8958         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
8959         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
8960         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
8961         Likewise.
8962         [$(subdir) = elf && $(config-cflags-avx) = yes]
8963         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
8964         [$(subdir) = elf && $(config-cflags-avx) = yes]
8965         (CFLAGS-tst-auditmod4a.c): Likewise.
8966         [$(subdir) = elf && $(config-cflags-avx) = yes]
8967         (CFLAGS-tst-auditmod4b.c): Likewise.
8968         [$(subdir) = elf && $(config-cflags-avx) = yes]
8969         (CFLAGS-tst-auditmod6b.c): Likewise.
8970         [$(subdir) = elf && $(config-cflags-avx) = yes]
8971         (CFLAGS-tst-auditmod6c.c): Likewise.
8972         [$(subdir) = elf && $(config-cflags-avx) = yes]
8973         (CFLAGS-tst-auditmod7b.c): Likewise.
8974         * elf/tst-audit3.c: Move to ...
8975         * sysdeps/x86_64/tst-audit3.c: ... here.
8976         * elf/tst-audit4.c: Move to ...
8977         * sysdeps/x86_64/tst-audit4.c: ... here.
8978         * elf/tst-audit5.c: Move to ...
8979         * sysdeps/x86_64/tst-audit5.c: ... here.
8980         * elf/tst-audit6.c: Move to ...
8981         * sysdeps/x86_64/tst-audit6.c: ... here.
8982         * elf/tst-audit7.c: Move to ...
8983         * sysdeps/x86_64/tst-audit7.c: ... here.
8984         * elf/tst-auditmod3a.c: Move to ...
8985         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
8986         * elf/tst-auditmod3b.c: Move to ...
8987         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
8988         * elf/tst-auditmod4a.c: Move to ...
8989         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
8990         * elf/tst-auditmod4b.c: Move to ...
8991         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
8992         * elf/tst-auditmod5a.c: Move to ...
8993         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
8994         * elf/tst-auditmod5b.c: Move to ...
8995         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
8996         * elf/tst-auditmod6a.c: Move to ...
8997         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
8998         * elf/tst-auditmod6b.c: Move to ...
8999         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
9000         * elf/tst-auditmod6c.c: Move to ...
9001         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
9002         * elf/tst-auditmod7a.c: Move to ...
9003         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
9004         * elf/tst-auditmod7b.c: Move to ...
9005         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
9007 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
9009         [BZ #15366]
9010         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
9011         define unconditionally.
9012         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
9013         define unconditionally.
9014         (INT8_C, INT16_C, etc.): Likewise.
9016 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
9018         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
9019         __ehdr_start with hidden visibility.
9021         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
9023 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
9025         * math/libm-test.inc (cos_test): Use accurate hex constants.
9026         (sincost_test): Likewise.
9028 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
9030         * math/libm-test.inc (catan_test): Add more tests.
9031         (catanh_test): Likewise.
9033         * math/s_catanf.c (__catanf): Use suffixed floating-point
9034         constants.
9035         * math/s_catanhf.c (__catanhf): Likewise.
9036         * math/s_catanhl.c (__catanhl): Likewise.
9037         * math/s_catanl.c (__catanl): Likewise.
9039         [BZ #15394]
9040         * math/s_catan.c (__catan): Calculate imaginary part of result
9041         with log1p not log unless computing log of number close to 0.
9042         * math/s_catanf.c (__catanf): Likewise.
9043         * math/s_catanl.c (__catanl): Likewise.
9044         * math/s_catanh.c (__catanh): Calculate real part of result with
9045         log1p not log unless computing log of number close to 0.
9046         * math/s_catanhf.c (__catanhf): Likewise.
9047         * math/s_catanhl.c (__catanhl): Likewise.
9048         * math/libm-test.inc (catan_test): Add more tests.
9049         (catanh_test): Likewise.
9050         * sysdeps/i386/fpu/libm-test-ulps: Update.
9051         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9053 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
9055         * benchtests/Makefile: Mention files in which fast and slow
9056         paths of math functions are implemented.
9058 2013-04-23  Roland McGrath  <roland@hack.frob.com>
9060         * sysdeps/posix/timespec_get.c: New file.
9062 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9064         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
9065         POWER.
9066         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
9067         for POWER.
9068         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
9069         powerpc/power5/fpu folders.
9070         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
9071         * benchtests/Makefile: Add modf testcase.
9072         * benchtests/bench-modf.c: New file: Benchmark test for mo
9074 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
9076         [BZ #14888]
9077         * time/Makefile (tests): Add tst-strptime-whitespace.
9078         * time/strptime_l.c (get_number): Use ISSPACE.
9079         (__strptime_internal): Likewise.
9080         * time/tst-strptime-whitespace.c: New test case.
9082 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
9084         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
9085         member.
9086         (_nss_files_init): Set it here.
9088 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
9090         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
9091         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
9092         unsigned.
9094 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
9096         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
9098 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
9100         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
9101         size just once.
9103 2013-04-21  David S. Miller  <davem@davemloft.net>
9105         * po/ru.po: Update Russion translation from translation project.
9107 2013-04-17  Adam Conrad  <adconrad@0c3.net>
9109         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
9110         and setfsgid.
9112 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
9114         * configure.in: Remove i386 configure warning. Remove i386 case.
9115         * configure: Regenerate.
9116         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
9117         Add example to error message.
9118         * sysdeps/i386/configure: Regenerate.
9120 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
9122         * benchtests/Makefile (bench): Add cos, tan, slowcos and
9123         slowtan.
9124         * benchtests/cos-inputs: New file.
9125         * benchtests/slowcos-inputs: New file.
9126         * benchtests/slowcos.c: New file.
9127         * benchtests/slowtan-inputs: New file.
9128         * benchtests/slowtan.c: New file.
9129         * benchtests/tan-inputs: New file.
9131 2013-04-16  Roland McGrath  <roland@hack.frob.com>
9133         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
9134         considered kosher.
9136 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
9138         * benchtests/Makefile: Include cppflags-iterator.mk to add
9139         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
9141         * Makefile.in (bench-clean): New target.
9142         * benchtests/Makefile (bench-clean): Likewise.
9144 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
9146         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
9148 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
9150         * stdio-common/tstdiomisc.c: Fix coding-style violation.
9152 2013-04-15  Andreas Schwab  <schwab@suse.de>
9154         * nscd/grpcache.c (cache_addgr): Properly check for short write.
9155         * nscd/initgrcache.c (addinitgroupsX): Likewise.
9156         * nscd/pwdcache.c (cache_addpw): Likewise.
9157         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
9158         more than recsize.
9160 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9162         * benchtests/Makefile (bench): Write all output to
9163         bench-out.tmp together.
9165 2013-04-15  Andreas Schwab  <schwab@suse.de>
9167         * nscd/nscd.c (main): Don't fork again after closing files.
9169 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9171         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
9173         * benchtests/Rules (bench-deps): Collect dependencies into a
9174         single variable.  Add Makefile to dependencies.
9175         ($(objpfx)bench-%.c): Depend on bench-deps.
9177 2013-04-12  Roland McGrath  <roland@hack.frob.com>
9178             Xavier Roche  <roche+kml2@exalead.com>
9180         [BZ #15361]
9181         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
9182         just that it's a file descriptor.
9183         * manual/llio.texi (Synchronizing AIO Operations): Update description
9184         for EBADF error from aio_fsync.
9186 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
9188         * Rules (bench): Move target definition...
9189         * benchtests/Makefile: ... here.
9191 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
9193         * math/libm-test.inc (cos_test): Fix PI/2 test.
9194         (sincos_test): Likewise.
9195         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
9196         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
9198 2013-04-11  Andreas Schwab  <schwab@suse.de>
9200         [BZ #13988]
9201         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
9202         accept exponent character only when digits were seen.
9203         * stdio-common/Makefile (tests): Add bug26.
9204         * stdio-common/bug26.c: New file.
9206         [BZ #14293]
9207         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
9208         non-freeable.
9210 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
9212         * Makeconfig (rtld-prefix): Define built linker prefix.
9213         * Rules (run-bench): Use it.
9214         * math/Makefile (run-regen-ulps): Likewise.
9216         * Rules (bench): Remove eval.
9218 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
9219             Roland McGrath  <roland@hack.frob.com>
9220             Ondrej Bilka  <neleai@seznam.cz>
9222         [BZ #15346]
9223         * time/getdate.c: Include ctype.h and alloca.h.
9224         (__getdate_r): Trim leading and trailing spaces of input.
9225         * time/tst-getdate.c (tests): Add tests with leading and
9226         trailing spaces.
9228 2013-04-08  Roland McGrath  <roland@hack.frob.com>
9230         [BZ #14280]
9231         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
9232         when computing value.
9234 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9236         * math/README.libm-test (How can I generate "libm-test-ulps"?):
9237         Use testrun.sh to run libm tests.
9239         [BZ #15309]
9240         * elf/dl-open.c (dl_open_worker): memset all of seen array.
9242 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
9244         [BZ #15264]
9245         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
9247 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9249         * Makefile.in (regen-ulps): New target.
9250         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
9251         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
9252         [ifneq (no,$(PERL)] (regen-ulps): New target.
9253         [ifeq (no,$(PERL)] (regen-ulps): New target.
9254         * math/libm-test.inc (ulps_file_name): Define.
9255         (output_dir): New variable.
9256         (options): Add "output-dir" option.
9257         (parse_opt): Handle 'o' case.
9258         (main): If output_dir is non-NULL use it as a prefix
9259         otherwise use "".
9260         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
9262 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9264         [BZ #10060, #10062]
9265         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
9266         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
9267         fail configure if __sync_val_compare_and_swap is not inlined.
9268         * sysdeps/i386/configure: Regenerate.
9269         * configure.in: Build for i686 when configured for i386.
9270         * configure: Regenerate.
9271         * README: Remove i386 reference.
9273 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
9275         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
9276         * sysdeps/s390/s390-64/sysdep.h: Likewise.
9278 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
9280         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
9281         (lmsnanval): New variables.
9282         (F): Add conversion tests.
9283         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
9284         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
9286         * stdio-common/tstdiomisc.c (F): Properly collect individual
9287         tests' results.
9289         [BZ #14686, #15336]
9290         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
9291         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
9292         Instead, use input NaN values or generate a qNaN by arithmetic
9293         operation.  Also fix bugs to comply with the standard.
9294         * math/libm-test.inc (remainder_test): Add more tests.
9296         [BZ #15335, #15342]
9297         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
9298         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
9299         input NaN values or generate a qNaN by arithmetic operation.
9301         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
9302         unreachable code.
9304         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
9305         definitions.
9307 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
9309         [BZ #14478]
9310         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
9311         underflowed result.
9312         * math/s_cexpf.c (__cexpf): Likewise.
9313         * math/s_cexpl.c (__cexpl): Likewise.
9314         * math/libm-test.inc (cexp_test): Add more tests.
9316 2013-04-03  Andreas Schwab  <schwab@suse.de>
9318         [BZ #15330]
9319         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
9320         order arrays from heap if bigger than alloca cutoff.
9322 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
9324         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
9325         (SNAN_TESTS_double): Refer to GCC PR56831.
9326         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
9327         GCC PR56828.
9329 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
9331         * Rules (bench): Move bench.out after the run is complete.
9333         * Rules (bench): Echo currently running benchmark.
9335         * benchtests/Makefile (bench): Add atan and slowatan.
9336         * benchtests/atan-inputs: New file.
9337         * benchtests/slowatan-inputs: New file.
9338         * benchtests/slowatan.c: New file.
9340         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
9341         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
9342         its value.
9344         [BZ #15305]
9345         * sysdeps/unix/sysv/linux/kernel-features.h
9346         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
9347         __ASSUME_XFS_RESTRICTED_CHOWN.
9348         * sysdeps/unix/sysv/linux/pathconf.c
9349         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
9350         Save and restore errno.
9352 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
9354         [BZ #15327]
9355         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
9356         arguments using __kernel_casinh.
9357         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
9358         arguments using __kernel_casinhf.
9359         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
9360         arguments using __kernel_casinhl.
9361         * math/libm-test.inc (cacosh_test): Add more tests.
9362         * sysdeps/i386/fpu/libm-test-ulps: Update.
9363         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9365 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
9367         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
9368         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
9370         * bench/Makefile (bench): Add sin and slowsin.
9371         * benchtests/sin-inputs: New file.
9372         * benchtests/slowsin-inputs: New file.
9373         * benchtests/slowsin.c: New file.
9375         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
9376         (bench): Add slowexp and slowpow.
9377         (exp-ITER): Increase iterations.
9378         (pow-ITER): Likewise.
9379         * benchtests/exp-inputs: Change input.
9380         * benchtests/pow-inputs: Likewise.
9381         * benchtests/slowexp-inputs: New file.
9382         * benchtests/slowexp.c: New file.
9383         * benchtests/slowpow-inputs: New file.
9384         * benchtests/slowpow.c: New file.
9386 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9388         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
9389         instructions.
9390         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
9391         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
9392         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
9393         * benchtests/Makefile: Add rint benchtest.
9394         * benchtests/rint-inputs: Input for rint benchtest.
9396 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
9398         * Versions.def (libm): Add GLIBC_2.18.
9399         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
9400         hidden libm prototypes.
9401         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
9402         * math/Makefile (libm-calls): Add s_issignaling.
9403         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
9404         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
9405         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
9406         declaration.
9407         * math/math.h [__USE_GNU] (issignaling): New macro.
9408         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
9409         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
9410         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
9411         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
9412         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
9413         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
9414         * manual/arith.texi (issignaling): New section.
9415         * manual/libm-err-tab.pl (@all_functions): Update comment.
9416         * math/gen-libm-test.pl (parse_args): Apply special handling for
9417         issignaling.
9418         * math/libm-test.inc (print_float, issignaling_test): New
9419         functions.
9420         (check_float_internal): Add issignaling checks.
9421         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
9422         default definition.
9423         * sysdeps/powerpc/math-tests.h: New file.
9424         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
9425         tests.
9426         * math/test-snan.c (TEST_FUNC): Likewise.
9428 2013-03-30  David S. Miller  <davem@davemloft.net>
9430         * po/de.po: Update from translation team.
9432 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
9434         [BZ #10357]
9435         * math/k_casinh.c (__kernel_casinh): Handle arguments with
9436         imaginary part less than 1.0 and real part less than 0.5
9437         specially.
9438         * math/k_casinhf.c (__kernel_casinhf): Likewise.
9439         * math/k_casinhl.c (__kernel_casinhl): Likewise.
9440         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
9441         (cacos_test): Add more tests.
9442         (casin_test): Likewise.
9443         (casinh_test): Likewise.
9444         * sysdeps/i386/fpu/libm-test-ulps: Update.
9445         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9447 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
9449         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
9450         ONE with its value.
9452         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
9453         (__pow_mp): Replace ONE and MONE with their values.
9454         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9455         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
9456         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9457         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
9458         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9459         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9461         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
9463         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
9464         (__pow_mp): Replace ZERO and MZERO with their values.
9465         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9466         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9467         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
9468         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
9469         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9470         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
9471         (__sqr): Likewise.
9473         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
9475         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
9477 2013-03-28  Roland McGrath  <roland@hack.frob.com>
9479         * include/stdlib.h [!SHARED] (__call_tls_dtors):
9480         Declare with __attribute__ ((weak)).
9481         * stdlib/exit.c (__libc_atexit) [!SHARED]:
9482         Call __call_tls_dtors only if it's not NULL.
9484 2013-03-28  Roland McGrath  <roland@hack.frob.com>
9486         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
9487         didn't do it already, then set _dl_phdr and _dl_phnum based on the
9488         magic __ehdr_start linker symbol if it's defined.
9489         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
9490         them up here if it was already done.
9492         * elf/dl-support.c (_dl_phdr): Make pointer to const.
9493         (_dl_aux_init): Use const in cast when setting it.
9494         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
9495         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
9496         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
9498         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
9499         Declare them here.
9500         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
9501         * csu/libc-tls.c: Nor here.
9502         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
9504         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
9505         (__libc_message): Never call vsyslog.
9507 2013-03-28  Alan Modra  <amodra@gmail.com>
9509         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
9510         Define as empty.
9511         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
9512         Likewise.
9514 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9516         [BZ #15214]
9517         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
9518         underflow.
9519         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9521 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
9523         [BZ #15304]
9524         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
9525         Don't add gid passed as argument.
9527         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
9529 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
9531         [BZ #15307]
9532         * math/k_casinh.c (__kernel_casinh): Handle arguments with
9533         imaginary part between 1.0 and 1.5 and real part less than 0.5
9534         specially.
9535         * math/k_casinhf.c (__kernel_casinhf): Likewise.
9536         * math/k_casinhl.c (__kernel_casinhl): Likewise.
9537         * math/libm-test.inc (cacos_test): Add more tests.
9538         (casin_test): Likewise.
9539         (casinh_test): Likewise.
9540         * sysdeps/i386/fpu/libm-test-ulps: Update.
9541         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9543 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
9545         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
9546         constants.
9547         (norm): Likewise.
9548         (denorm): Likewise.
9549         (__dbl_mp): Likewise.
9550         (add_magnitudes): Likewise.
9551         (sub_magnitudes): Likewise.
9552         (__add): Likewise.
9553         (__sub): Likewise.
9554         (__mul): Likewise.
9555         (__sqr): Likewise.
9556         (__inv): Likewise.
9557         (__dvd): Likewise.
9559         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
9560         commented code.
9561         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
9562         (__dubcos): Likewise.
9563         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
9564         (__ieee754_acos): Likewise.
9565         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
9566         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
9567         (__exp1): Likewise.
9568         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
9569         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
9570         (log1): Likewise.
9571         (my_log2): Likewise.
9572         (checkint): Likewise.
9573         * sysdeps/ieee754/dbl-64/e_remainder.c
9574         (__ieee754_remainder): Likewise.
9575         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
9576         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
9577         (bsloww): Likewise.
9578         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
9580         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9581         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
9582         MANTISSA_STORE_T to store computations on mantissa.  Use
9583         macros for rounding and division.
9584         (denorm): Likewise.
9585         (__dbl_mp): Likewise.
9586         (add_magnitudes): Likewise.
9587         (sub_magnitudes): Likewise.
9588         (__mul): Likewise.
9589         (__sqr): Likewise.
9590         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
9591         powers of two in terms of TWOPOW macro.
9592         (mp_no): Make type of mantissa as MANTISSA_T.
9593         [!RADIXI]: Define RADIXI.
9594         [!TWO52]: Define TWO52.
9595         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9597 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9599         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
9600         llroundl symbol when building for PPC32.
9602 2013-03-24  Mark H Weaver  <mhw@netris.org>
9604         * manual/arith.texi (Normalization Functions): Fix prototypes for
9605         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
9607 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9609         [BZ #13889]
9610         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
9611         high value to check if expl overflow.
9612         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
9613         to check for underflow and overflow.
9614         * math/libm-test.inc: Add exp test.
9616 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
9618         [BZ #11120]
9619         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
9620         with NOT_IN_libc.
9622 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9624         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
9625         symbol.
9627 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
9629         * math/gen-libm-test.pl (parse_args, special_functions): Properly
9630         wrap blocks consisting of several statements.
9632         * sysdeps/generic/math-tests.h: New file.
9633         * sysdeps/i386/fpu/math-tests.h: Likewise.
9634         * math/test-snan.c: Include it.
9635         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
9637 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
9639         [BZ #15285]
9640         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
9641         (__ieee754_j0l): Do not improve calculations using cos of twice
9642         input for inputs above LDBL_MAX / 2.0L.
9643         (__ieee754_y0l): Likewise.
9644         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
9645         (__ieee754_j1l): Do not improve calculations using cos of twice
9646         input for inputs above LDBL_MAX / 2.0L.
9647         (__ieee754_y1l): Likewise.
9648         * math/libm-test.inc (j0_test): Add another test.
9649         (j1_test): Likewise.
9650         (y0_test): Likewise.
9651         (y1_test): Likewise.
9652         * sysdeps/i386/fpu/libm-test-ulps: Update.
9654 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9656         * Rules ($(objpfx)bench-%.c): Include code from a C source
9657         file.
9659 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
9661         [BZ #15287]
9662         * math/k_casinh.c (__kernel_casinh): Handle arguments with
9663         imaginary part 1.0 and real part less than 0.5 specially.
9664         * math/k_casinhf.c (__kernel_casinhf): Likewise.
9665         * math/k_casinhl.c (__kernel_casinhl): Likewise.
9666         * math/libm-test.inc (cacos_test): Add more tests.
9667         (casin_test): Likewise.
9668         (casinh_test): Likewise.
9669         * sysdeps/i386/fpu/libm-test-ulps: Update.
9670         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9672 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
9674         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
9675         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
9677 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
9679         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
9680         * config.make.in (config-cflags-sse4): Remove variable.
9681         (config-cflags-avx): Likewise.
9682         (config-cflags-sse2avx): Likewise.
9683         (config-cflags-novzeroupper): Likewise.
9684         (config-asflags-i686): Likewise.
9685         (have-mfma4): Likewise.
9686         (have-as-vis3): Likewise.
9687         (MIG): Likewise.
9688         * configure.in (MIG): Do not AC_SUBST.
9689         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
9690         (libc_cv_cc_sse4): Do not AC_SUBST.
9691         (libc_cv_cc_avx): Likewise.
9692         (libc_cv_cc_sse2avx): Likewise.
9693         (libc_cv_cc_novzeroupper): Likewise.
9694         (libc_cv_cc_fma4): Likewise.
9695         (libc_cv_as_i686): Likewise.
9696         (libc_cv_sparc_as_vis3): Likewise.
9697         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
9698         LIBC_CONFIG_VAR.
9699         (config-asflags-i686): Likewise.
9700         (config-cflags-avx): Likewise.
9701         (config-cflags-sse2avx): Likewise.
9702         (have-mfma4): Likewise.
9703         (config-cflags-novzeroupper): Likewise.
9704         * sysdeps/mach/configure.in (MIG): Likewise.
9705         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
9706         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
9707         LIBC_CONFIG_VAR.
9708         (config-cflags-avx): Likewise.
9709         (config-cflags-sse2avx): Likewise.
9710         (have-mfma4): Likewise.
9711         (config-cflags-novzeroupper): Likewise.
9712         * configure: Regenerated.
9713         * sysdeps/i386/configure: Likewise.
9714         * sysdeps/mach/configure: Likewise.
9715         * sysdeps/sparc/configure: Likewise.
9716         * sysdeps/x86_64/configure: Likewise.
9718 2013-03-20  Roland McGrath  <roland@hack.frob.com>
9720         [BZ #14812]
9721         * locale/programs/localedef.c (options): Put N_ translation marker
9722         on argument names, not just descriptions.
9724 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
9726         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
9728 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
9730         [BZ #14176]
9731         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
9733 2013-03-19  Roland McGrath  <roland@hack.frob.com>
9735         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
9736         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
9737         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
9738         [!BEFORE_ABORT] (before_abort): New function.
9739         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
9740         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
9741         (writev_for_fatal): New function.
9742         (WRITEV_FOR_FATAL): New macro; call that.
9743         (backtrace_and_maps): New function.
9744         (BEFORE_ABORT): New macro; call that.
9745         (struct str_list): Type removed.
9746         (__libc_message, __libc_fatal): Functions removed.
9747         Include <sysdeps/posix/libc_fatal.c> instead.
9749 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
9751         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
9752         constants.
9753         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
9754         double constants.
9756 2013-03-19  Andreas Schwab  <schwab@suse.de>
9758         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
9759         * sysdeps/gnu/configure: Regenerate.
9761         * configure.in: Substitute libc_cv_rtlddir.
9762         * configure: Regenerate.
9763         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
9764         * Makeconfig (rtlddir, inst_rtlddir): New variables.
9765         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
9766         * elf/Makefile (install-others, CFLAGS-interp.c)
9767         (ldso_install, common-ldd-rewrite): Likewise.
9768         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
9769         $(inst_slibdir)/$(rtld-installed-name).
9770         * scripts/rellns-sh: Add -p option.
9771         * Makerules (make-shlib-link): Use rellns-sh to get relative name
9772         for source.
9774 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
9776         * manual/nptl.texi: Renamed to ...
9777         * manual/threads.texi: ... this.
9778         * manual/Makefile (chapters): Update.
9780 2013-03-18  Roland McGrath  <roland@hack.frob.com>
9782         [BZ #14812]
9783         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
9784         on argument names, not just descriptions.
9785         * malloc/memusagestat.c (options): Likewise.
9786         * nss/getent.c (options): Likewise.
9788 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
9790         [BZ #14812]
9791         * iconv/iconv_prog.c (options): Put N_ translation marker
9792         on argument names, not just descriptions.
9793         * iconv/iconvconfig.c (options): Likewise.
9795 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
9797         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
9798         implementation which is faster on all x86_64 architectures.
9799         Tested on AMD, Intel Nehalem, SNB, IVB.
9800         * sysdeps/x86_64/strnlen.S: Likewise.
9802         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
9803         Remove all multiarch strlen and strnlen versions.
9804         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
9805         Remove strlen and strnlen related parts.
9807         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
9808         Inline strlen part.
9809         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
9811         * sysdeps/x86_64/multiarch/strlen.S: Remove.
9812         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
9813         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
9814         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
9815         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
9816         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
9818 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
9820         * manual/memory.texi (Malloc Tunable Parameters):
9821         Sort parameters alphabetically. Add comments for missing entries.
9823 2013-03-17  David S. Miller  <davem@davemloft.net>
9825         * sysdeps/sparc/fpu/libm-test-ulps: Update.
9827 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
9829         [BZ #15283]
9830         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
9831         for arguments at most half maximum finite value.
9832         * math/libm-test.inc (j0_test): Add more tests.
9833         (j1_test): Likewise.
9834         (y0_test): Likewise.
9835         (y1_test): Likewise.
9836         * sysdeps/i386/fpu/libm-test-ulps: Update.
9837         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
9839         [BZ #14155]
9840         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
9841         1 / x and functions P and Q for arguments above 0x1p256L.
9842         (__ieee754_y0l): Likewise.
9843         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
9844         (__ieee754_y1l): Likewise.
9845         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
9846         (j1_test): Likewise.
9847         (y0_test): Likewise.
9848         (y1_test): Likewise.
9850 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
9852         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
9853         variable.
9855 2013-03-15  Roland McGrath  <roland@hack.frob.com>
9857         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
9858         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
9859         zero since it's initialized to EXEC_PAGESIZE.
9861         * sysdeps/unix/sysv/linux/ldsodefs.h
9862         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
9863         * sysdeps/generic/ldsodefs.h: ... here.
9865 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
9867         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
9869         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
9870         math/test-snan.c.
9871         * math/test-snan.c: Renamed from
9872         sysdeps/powerpc/fpu/test-powerpc-snan.c.
9873         * math/Makefile (tests): Add test-snan.
9874         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
9875         test-powerpc-snan.
9877         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
9878         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
9879         functions.
9880         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
9881         __builtin_nan family of functions.
9882         * math/libm-test.inc (initialize): Initialize qnan_value with
9883         __builtin_nan family of functions.
9884         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
9885         Remove variables.
9886         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
9887         Remove functions.
9888         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
9889         storage class.  Initialize qNaN_var and sNaN_var with
9890         __builtin_nan and __builtin_nans families of functions,
9891         respectively.
9893         * math/libm-test.inc (acosh_test): Also test with qNaN input.
9894         (sqrt_test): Remove duplicate test with qNaN input.
9895         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
9896         (round_test, signbit_test, significand_test): Note missing +/-Inf
9897         as well as qNaN tests.
9899         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
9900         qNaN_var.  Fix a few strings, too.
9901         * math/libm-test.inc (nan_value): Rename to qnan_value.
9902         * math/gen-libm-test.pl (%beautify): Adjust to that.
9903         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
9904         * math/test-misc.c (main): Likewise.
9905         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
9906         to __qnan_bytes, and __qnan_union, respectively.
9907         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
9908         Likewise.
9909         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
9910         and lqnanval, respectively.
9911         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
9912         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
9913         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
9914         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
9916         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
9917         * math/test-misc.c (main) [__x86_64__]: Enable test for long
9918         doubles.
9920         * math/test-misc.c (main): Fix copy'n'pastos.
9921         * misc/tst-efgcvt.c (special): Likewise.
9923         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
9924         Remove declarations.
9926 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9928         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
9929         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
9930         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
9931         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
9933 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
9935         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
9936         macro to return vdso values correctly in IFUNC implementations.
9937         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
9938         Optimization by using IFUNC.
9940 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9941             Richard Henderson  <rth@redhat.com>
9942             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9944         * Makefile.in (bench): New target.
9945         * NEWS: Mention the benchmark framework.
9946         * Rules (bench): Likewise.
9947         (binaries-bench): Generate binaries for functions to
9948         benchmark.
9949         * benchtests/Makefile: New makefile for benchmark tests.
9950         * benchtests/bench-skeleton.c: New skeleton file for benchmark
9951         programs.
9952         * benchtests/exp-inputs: New input file for EXP function.
9953         * benchtests/pow-inputs: New input file for POW function.
9954         * scripts/bench.pl: New script to generate source files for
9955         benchmark programs.
9957 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
9959         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
9960         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
9961         computations on mantissa.  Use macros for rounding and
9962         division.
9963         (denorm): Likewise.
9964         (__dbl_mp): Likewise.
9965         (add_magnitudes): Likewise.
9966         (sub_magnitudes): Likewise.
9967         (__mul): Likewise.
9968         (__sqr): Likewise.
9969         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
9970         powers of two in terms of TWOPOW macro.
9971         (mp_no): Make type of mantissa as MANTISSA_T.
9972         [!RADIXI]: Define RADIXI.
9973         [!TWO52]: Define TWO52.
9974         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
9976         * manual/nptl.texi (cindex): Modify threads to pthreads.
9978 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
9980         * sysdeps/x86_64/preconfigure: Regenerated.
9982 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
9984         [BZ #14155]
9985         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
9986         0x1p28 and above.
9987         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
9988         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
9989         0x1p28 and above.
9990         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
9991         * math/libm-test.inc (j0_test): Do not allow one spurious
9992         underflow exception.
9993         (y1_test): Likewise.
9995 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
9997         * manual/Makefile (chapters): Add nptl.
9998         * manual/debug.texi (Debugging Support): Add link to Threads
9999         chapter.
10000         * manual/nptl.texi: New file.
10002         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
10004 2013-03-14  Petr Baudis  <pasky@ucw.cz>
10006         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
10007         for non-NULL pointer before the memory validity test. Pointed
10008         out by Holger Brunck <holger.brunck@keymile.com>.
10010 2013-03-13  Andreas Schwab  <schwab@suse.de>
10012         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
10013         instead of .os.
10015 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
10017         * timezone/zic.c: Update from tzcode 2013b.
10019 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
10021         * manual/install.texi (Configuring and compiling):
10022         Mention i686 and i586.
10023         * INSTALL: Regenerate.
10025 2013-03-12  Roland McGrath  <roland@hack.frob.com>
10027         * sysdeps/init_array/elf-init.c: New file.
10028         * csu/elf-init.c
10029         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
10030         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
10032         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
10033         __gmon_start__ as global, but as static with a .preinit_array pointer.
10034         * sysdeps/init_array/gmon-start.c: New file.  Use that.
10035         * sysdeps/init_array/crti.S: New file, empty except for comments.
10036         * sysdeps/init_array/crtn.S: Likewise.
10038 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
10040         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
10041         definining bcopy.
10042         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
10043         Remove Prefer_SSE_for_memop.
10044         * sysdeps/x86_64/multiarch/init-arch.h: Remove
10045         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
10046         HAS_PREFER_SSE_FOR_MEMOP.
10047         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10048         memset-x86-64.
10049         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
10050         Remove bzero, memset ifunc support.
10051         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
10052         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
10053         * sysdeps/x86_64/multiarch/memset.S: Likewise.
10054         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
10056 2013-03-11  Andreas Schwab  <schwab@suse.de>
10058         [BZ #15234]
10059         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
10060         by SHLIB_COMPAT.
10061         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
10062         (GLIBC_2.16): Remove pthread_atfork.
10064 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
10066         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
10067         (ptestcases.h): Likewise.
10069 2013-03-08  Roland McGrath  <roland@hack.frob.com>
10071         * Makeconfig ($(common-objpfx)config.status): Depend on
10072         sysdeps/*/preconfigure{,.in} too.
10074 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
10076         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
10077         (__free_hook): Use void * instead of __malloc_ptr_t.
10078         (__malloc_hook): Likewise.
10079         (__realloc_hook): Likewise.
10080         (__memalign_hook): Likewise.
10081         (__after_morecore_hook): Likewise.
10082         * malloc/arena.c (save_malloc_hook): Likewise.
10083         (save_free_hook): Likewise.
10084         * malloc/hooks.c (malloc_hook_ini): Likewise.
10085         (realloc_hook_ini): Likewise.
10086         (memalign_hook_ini): Likewise.
10087         * malloc/malloc.c (malloc_hook_ini): Likewise.
10088         (realloc_hook_ini): Likewise.
10089         (memalign_hook_ini): Likewise.
10090         (__free_hook): Likewise.
10091         (__malloc_hook): Likewise.
10092         (__realloc_hook): Likewise.
10093         (__memalign_hook): Likewise.
10094         (__libc_malloc): Likewise.
10095         (__libc_free): Likewise.
10096         (__libc_realloc): Likewise.
10097         (__libc_memalign): Likewise.
10098         (__libc_valloc): Likewise.
10099         (__libc_pvalloc): Likewise.
10100         (__libc_calloc): Likewise.
10101         (__posix_memalign): Likewise.
10102         * malloc/morecore.c (__sbrk): Likewise.
10103         (__default_morecore): Likewise.
10105         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
10107         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
10108         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
10109         __malloc_ptrdiff_t.
10111         * malloc/malloc.h (__malloc_size_t): Remove macro.
10112         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
10113         __malloc_size_t.
10114         (old_memalign_hook): Likewise.
10115         (old_realloc_hook): Likewise.
10116         (struct hdr): Likewise.
10117         (flood): Likewise.
10118         (mallochook): Likewise.
10119         (memalignhook): Likewise.
10120         (reallochook): Likewise.
10121         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
10122         (tr_old_realloc_hook): Likewise.
10123         (tr_old_memalign_hook): Likewise.
10124         (tr_mallochook): Likewise.
10125         (tr_reallochook): Likewise.
10126         (tr_memalignhook): Likewise.
10128 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10130         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
10131         default_ldbl_pack and using as default implementation.
10132         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
10133         implementation.
10134         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
10135         redundant definition.
10136         (ldbl_insert_mantissa): Likewise.
10137         (ldbl_canonicalize): Likewise.
10138         (ldbl_nearbyint): Likewise.
10139         (ldbl_pack): Rename to ldbl_pack_ppc.
10140         (ldbl_unpack): Rename to ldbl_unpack_ppc.
10141         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
10142         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
10144 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
10146         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
10147         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
10148         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
10149         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
10150         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
10151         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
10152         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
10153         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
10155 2013-03-07  Andreas Jaeger  <aj@suse.de>
10157         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
10158         bits/mman-linux.h.
10160 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
10162         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
10163         Include mpa.h and declare __MPEXP.
10164         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
10165         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10166         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10167         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
10168         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10169         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
10170         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
10172         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
10173         (__slowpow): Use long double EXPL and LOGL functions to
10174         compute POW.
10175         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
10176         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10177         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
10178         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
10179         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
10180         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
10182         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
10183         intermediate variable to calculate exponent.
10184         (__sqr): Likewise.
10185         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
10186         Likewise.
10187         (__sqr): Likewise.
10189         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
10190         [!NO__SQR]: Define __sqr.
10191         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
10192         and NO__SQR.  Remove all code except __mul and __sqr.  Include
10193         sysdeps/ieee754/dbl-64/mpa.c.
10194         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
10196         [BZ #12723]
10197         * posix/Makefile (tests): Add tst-pathconf.
10198         * posix/tst-pathconf.c: New test case.
10199         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
10200         _PC_PIPE_BUF.
10201         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
10203 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
10205         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
10207 2013-03-06  Andreas Jaeger  <aj@suse.de>
10209         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
10210         definition via __MAP_ANONYMOUS.
10212         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
10213         it's not part of Linux headers.
10215         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
10216         (MAP_HUGE_MASK): Define.
10218         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10219         Define.
10220         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10221         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10222         Define.
10223         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10224         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
10225         Define.
10226         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10227         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
10228         Define.
10229         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
10231         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
10232         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
10233         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
10234         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
10235         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
10236         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
10238         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
10239         Handle f2fs.
10241         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
10242         Handle f2fs and efivarfs.
10244         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
10245         f2fs.
10247         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
10248         (EFIVARFS_MAGIC): Add.
10249         (F2FS_LINK_MAX): Add.
10251 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
10253         * stdio-common/vfprintf.c: Replace __builtin_expect with
10254         __glibc_unlikely.
10256 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
10258         [BZ #13550]
10259         * sysdeps/generic/bp-sym.h: Remove file.
10260         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
10261         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
10262         <bp-sym.h> and <bp-asm.h>.
10263         (__longjmp): Don't use BP_SYM.
10264         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
10265         and <bp-asm.h>.
10266         (memcpy): Don't use BP_SYM.
10267         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
10268         <bp-sym.h> and <bp-asm.h>.
10269         (memcpy): Don't use BP_SYM.
10270         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
10271         <bp-asm.h>.
10272         (memcpy): Don't use BP_SYM.
10273         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
10274         <bp-asm.h>.
10275         (memset): Don't use BP_SYM.
10276         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10277         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10278         (__bzero): Don't use BP_SYM.
10279         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10280         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10281         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
10282         <bp-sym.h> and <bp-asm.h>.
10283         (memcmp): Don't use BP_SYM.  Remove comment about bounded
10284         pointers.
10285         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
10286         <bp-sym.h> and <bp-asm.h>.
10287         (memcpy): Don't use BP_SYM.
10288         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
10289         <bp-sym.h> and <bp-asm.h>.
10290         (memset): Don't use BP_SYM.
10291         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10292         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10293         (__bzero): Don't use BP_SYM.
10294         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10295         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10296         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
10297         <bp-sym.h> and <bp-asm.h>.
10298         (strncmp): Don't use BP_SYM.  Remove comment about bounded
10299         pointers.
10300         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
10301         <bp-sym.h> and <bp-asm.h>.
10302         (memcpy): Don't use BP_SYM.
10303         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
10304         <bp-sym.h> and <bp-asm.h>.
10305         (memset): Don't use BP_SYM.
10306         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10307         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10308         (__bzero): Don't use BP_SYM.
10309         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10310         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10311         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
10312         <bp-sym.h> and <bp-asm.h>.
10313         (__memchr): Don't use BP_SYM.
10314         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
10315         <bp-sym.h> and <bp-asm.h>.
10316         (memcmp): Don't use BP_SYM.  Remove comment about bounded
10317         pointers.
10318         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
10319         <bp-sym.h> and <bp-asm.h>.
10320         (memcpy): Don't use BP_SYM.
10321         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
10322         <bp-sym.h> and <bp-asm.h>.
10323         (__mempcpy): Don't use BP_SYM.
10324         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
10325         <bp-sym.h> and <bp-asm.h>.
10326         (__memrchr): Don't use BP_SYM.
10327         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
10328         <bp-sym.h> and <bp-asm.h>.
10329         (memset): Don't use BP_SYM.
10330         (__bzero): Likewise.
10331         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
10332         <bp-sym.h> and <bp-asm.h>.
10333         (__rawmemchr): Don't use BP_SYM.
10334         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
10335         <bp-sym.h> and <bp-asm.h>.
10336         (__STRCMP): Don't use BP_SYM.
10337         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
10338         <bp-sym.h> and <bp-asm.h>.
10339         (strchr): Don't use BP_SYM.
10340         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
10341         <bp-sym.h> and <bp-asm.h>.
10342         (__strchrnul): Don't use BP_SYM.
10343         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
10344         <bp-sym.h> and <bp-asm.h>.
10345         (strlen): Don't use BP_SYM.
10346         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
10347         <bp-sym.h> and <bp-asm.h>.
10348         (strncmp): Don't use BP_SYM.  Remove comment about bounded
10349         pointers.
10350         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
10351         <bp-sym.h> and <bp-asm.h>.
10352         (__strnlen): Don't use BP_SYM.
10353         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
10354         <bp-sym.h> and <bp-asm.h>.
10355         (__GI__setjmp): Don't use BP_SYM.
10356         (_setjmp): Likewise.
10357         (__sigsetjmp): Likewise.
10358         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
10359         (L(start_addresses)): Don't use BP_SYM.
10360         (_start): Likewise.
10361         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
10362         <bp-asm.h>.
10363         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
10364         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
10365         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10366         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10367         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
10368         <bp-asm.h>.
10369         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
10370         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
10371         about bounded pointers.
10372         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10373         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10374         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
10375         <bp-asm.h>.
10376         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
10377         about bounded pointers.  Remove GKM FIXME comments.
10378         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10379         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
10380         <bp-asm.h>.
10381         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
10382         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
10383         Remove GKM FIXME comments.
10384         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10385         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10386         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
10387         <bp-asm.h>.
10388         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
10389         about bounded pointers.  Remove GKM FIXME comment.
10390         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
10391         and <bp-asm.h>.
10392         (strncmp): Don't use BP_SYM.  Remove comment about bounded
10393         pointers.
10394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
10395         <bp-sym.h> and <bp-asm.h>.
10396         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10397         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
10398         <bp-sym.h> and <bp-asm.h>.
10399         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
10400         comment.
10402 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
10404         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
10405         call free(NULL).
10407 2013-03-05  David S. Miller  <davem@davemloft.net>
10409         * po/es.po: Update from translation team.
10411 2013-03-05  Andreas Jaeger  <aj@suse.de>
10413         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
10414         <bits/mman-linux.h>.
10415         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10416         is fine.
10417         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
10418         <bits/mman-linux.h> to end of file.
10419         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10420         is fine.
10421         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
10422         <bits/mman-linux.h> to end of file.
10423         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
10424         is fine.
10425         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
10426         <bits/mman-linux.h> to end of file.
10428         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
10429         (MCL_CURRENT, MCL_FUTURE): Define here.
10431 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10433         [BZ #15232]
10434         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
10435         attribute_hidden.
10436         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
10438 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
10440         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
10441         fourth parameter needed for rt_sigprocmask syscall.
10442         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
10443         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
10444         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
10445         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
10446         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
10447         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
10449 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
10451         [BZ #13550]
10452         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
10453         comment about bounded pointers.
10454         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
10455         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
10457 2013-03-04  Andreas Jaeger  <aj@suse.de>
10459         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
10460         common definitions.
10462         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
10463         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
10464         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
10465         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
10466         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
10467         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
10469 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
10471         [BZ #15055]
10472         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
10473         __ieee754_sqrl instead of __sqrl.
10475 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
10477         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
10478         * sysdeps/powerpc/fpu_control.h: ... here.
10479         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
10480         * sysdeps/powerpc/bits/fenvinline.h: ... here.
10481         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
10482         * sysdeps/powerpc/bits/mathinline.h: ... here.
10484 2013-03-01  Roland McGrath  <roland@hack.frob.com>
10486         * elf/dl-hwcaps.c (_dl_important_hwcaps):
10487         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
10488         to just [NEED_DL_SYSINFO_DSO].
10489         * elf/dl-support.c: Likewise.
10490         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
10491         * elf/rtld.c (dl_main): Likewise.
10492         * elf/setup-vdso.h (setup_vdso): Likewise.
10493         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
10494         * sysdeps/unix/sysv/linux/dl-sysdep.c
10495         (_dl_discover_osversion): Likewise.
10497 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
10499         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
10500         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10502 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
10504         * NEWS: Mention libm performance improvements and non-x86 PI
10505         futex support.
10507         * csu/libc-start.c (__pthread_initialize_minimal): Change
10508         function arguments.
10509         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
10511 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
10513         [BZ #13550]
10514         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
10515         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
10516         <bp-sym.h> and <bp-asm.h>.
10517         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10518         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
10519         and <bp-asm.h>.
10520         (memcpy): Don't use BP_SYM.
10521         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
10522         <bp-asm.h>.
10523         (__mpn_add_n): Don't use BP_SYM.
10524         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
10525         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
10526         and <bp-asm.h>.
10527         (__mpn_addmul_1): Don't use BP_SYM.
10528         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10529         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
10530         <bp-sym.h>.
10531         (_setjmp): Don't use BP_SYM.
10532         (__novmx_setjmp): Likewise.
10533         (__GI__setjmp): Likewise.
10534         (__vmx_setjmp): Likewise.
10535         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
10536         <bp-sym.h>.
10537         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
10538         (__bzero): Don't use BP_SYM.
10539         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
10540         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
10541         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
10542         <bp-sym.h> and <bp-asm.h>.
10543         (memcpy): Don't use BP_SYM.
10544         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
10545         <bp-sym.h> and <bp-asm.h>.
10546         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10547         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
10548         <bp-sym.h> and <bp-asm.h>.
10549         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
10550         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
10551         <bp-asm.h>.
10552         (__mpn_lshift): Don't use BP_SYM.
10553         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10554         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
10555         <bp-asm.h>.
10556         (memset): Don't use BP_SYM.
10557         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
10558         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
10559         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
10560         <bp-asm.h>.
10561         (__mpn_mul_1): Don't use BP_SYM.
10562         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10563         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
10564         <bp-sym.h> and <bp-asm.h>.
10565         (memcmp): Don't use BP_SYM.
10566         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
10567         <bp-sym.h> and <bp-asm.h>.
10568         (memcpy): Don't use BP_SYM.
10569         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
10570         <bp-sym.h> and <bp-asm.h>.
10571         (memset): Don't use BP_SYM.
10572         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
10573         <bp-sym.h> and <bp-asm.h>.
10574         (strncmp): Don't use BP_SYM.
10575         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
10576         <bp-sym.h> and <bp-asm.h>.
10577         (memcpy): Don't use BP_SYM.
10578         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
10579         <bp-sym.h> and <bp-asm.h>.
10580         (memset): Don't use BP_SYM.
10581         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
10582         <bp-sym.h> and <bp-asm.h>.
10583         (__memchr): Don't use BP_SYM.
10584         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
10585         <bp-sym.h> and <bp-asm.h>.
10586         (memcmp): Don't use BP_SYM.
10587         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
10588         <bp-sym.h> and <bp-asm.h>.
10589         (memcpy): Don't use BP_SYM.
10590         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
10591         <bp-sym.h> and <bp-asm.h>.
10592         (__mempcpy): Don't use BP_SYM.
10593         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
10594         <bp-sym.h> and <bp-asm.h>.
10595         (__memrchr): Don't use BP_SYM.
10596         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
10597         <bp-sym.h> and <bp-asm.h>.
10598         (memset): Don't use BP_SYM.
10599         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
10600         <bp-sym.h> and <bp-asm.h>.
10601         (__rawmemchr): Don't use BP_SYM.
10602         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
10603         <bp-sym.h> and <bp-asm.h>.
10604         (__STRCMP): Don't use BP_SYM.
10605         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
10606         <bp-sym.h> and <bp-asm.h>.
10607         (strchr): Don't use BP_SYM.
10608         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
10609         <bp-sym.h> and <bp-asm.h>.
10610         (__strchrnul): Don't use BP_SYM.
10611         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
10612         <bp-sym.h> and <bp-asm.h>.
10613         (strlen): Don't use BP_SYM.
10614         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
10615         <bp-sym.h> and <bp-asm.h>.
10616         (strncmp): Don't use BP_SYM.
10617         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
10618         <bp-sym.h> and <bp-asm.h>.
10619         (__strnlen): Don't use BP_SYM.
10620         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
10621         <bp-asm.h>.
10622         (__mpn_rshift): Don't use BP_SYM.
10623         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
10624         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
10625         <bp-sym.h> and <bp-asm.h>.
10626         (__sigsetjmp): Don't use BP_SYM.
10627         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
10628         (L(start_addresses)): Don't use BP_SYM.
10629         (_start): Likewise.
10630         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
10631         <bp-asm.h>.
10632         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
10633         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10634         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10635         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
10636         <bp-asm.h>.
10637         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
10638         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
10639         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
10640         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
10641         <bp-asm.h>.
10642         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
10643         comments.
10644         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
10645         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
10646         <bp-asm.h>.
10647         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
10648         FIXME comments.
10649         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
10650         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
10651         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
10652         <bp-asm.h>.
10653         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
10654         comment.
10655         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
10656         and <bp-asm.h>.
10657         (strncmp): Don't use BP_SYM,
10658         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
10659         <bp-asm.h>.
10660         (__mpn_sub_n): Don't use BP_SYM.
10661         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
10662         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
10663         and <bp-asm.h>.
10664         (__mpn_submul_1): Don't use BP_SYM.
10665         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
10666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
10667         <bp-sym.h> and <bp-asm.h>.
10668         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
10669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
10670         <bp-sym.h> and <bp-asm.h>.
10671         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
10672         comment.
10674 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
10676         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
10677         Use ZK to minimize writes to Z.
10678         (sub_magnitudes): Simplify code a bit.
10679         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
10680         Use ZK to minimize writes to Z.
10681         (sub_magnitudes): Simplify code a bit.
10683 2013-02-27  Roland McGrath  <roland@hack.frob.com>
10685         * csu/gmon-start.c: Add special exception to license text.
10687 2013-02-27  Richard Henderson  <rth@redhat.com>
10689         * scripts/config.guess: Update from config.git.
10690         * scripts/config.sub: Likewise.
10692 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
10694         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
10696         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
10698         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
10700         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
10702         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
10704 2013-02-26  Roland McGrath  <roland@hack.frob.com>
10706         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
10707         [$(build-shared = yes].
10709 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10711         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
10712         (__mul): Reduce iterations for calculating mantissa.
10714         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
10715         MPTWO.
10716         (__mpranred): Likewise.
10718         [BZ #15160]
10719         * malloc/memusagestat.c (main): Draw graphs for heap and stack
10720         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
10722 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
10724         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
10725         Define __attribute__.
10727 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
10729         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
10730         unused.
10731         * posix/regex_internal.h (__attribute): Remove.
10732         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
10733         (re_string_context_at): Likewise.
10734         (bitset_not): Use __attribute__ and mark function as possibly
10735         unused.
10736         (bitset_merge): Likewise.
10737         (bitset_mask): Likewise.
10738         (re_string_char_size_at): Likewise.
10739         (re_string_wchar_at): Likewise.
10740         (re_string_elem_size_at): Likewise.
10742 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
10744         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
10745         code.
10746         (cc32): Likewise.
10748         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
10749         (__acr): Likewise.
10750         (__cpy): Likewise.
10751         (norm): Likewise.
10752         (denorm): Likewise.
10753         (__dbl_mp): Likewise.
10754         (add_magnitudes): Likewise.
10755         (sub_magnitudes): Likewise.
10756         (__mul): Likewise.
10757         (__inv): Likewise.
10759         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
10760         style.
10762         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
10763         style.
10765         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
10766         code.
10768         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
10769         up changes with default code.
10770         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
10771         Likewise.
10773 2013-02-24  Allan McRae  <allan@archlinux.org>
10775         * manual/socket.texi (The Internet Namespace): Order menu items
10776         to match that in the file.
10778         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
10779         node listing of the info page menu.
10781 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
10783         [BZ #13550]
10784         * sysdeps/i386/bp-asm.h: Remove file.
10785         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
10786         (PARMS): Do not use macros from bp-asm.h.
10787         (S1): Likewise.
10788         (S2): Likewise.
10789         (SIZE): Likewise.
10790         (__mpn_add_n): Do not use BP_SYM
10791         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
10792         "bp-asm.h".
10793         (PARMS): Do not use macros from bp-asm.h.
10794         (S1): Likewise.
10795         (SIZE): Likewise.
10796         (__mpn_addmul_1): Do not use BP_SYM
10797         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
10798         "bp-asm.h".
10799         (PARMS): Do not use macros from bp-asm.h.
10800         (SIGMSK): Likewise.
10801         (_setjmp): Likewise.  Do not use BP_SYM.
10802         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
10803         "bp-asm.h".
10804         (PARMS): Do not use macros from bp-asm.h.
10805         (SIGMSK): Likewise.
10806         (setjmp): Likewise.  Do not use BP_SYM.
10807         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
10808         "bp-asm.h".
10809         (PARMS): Do not use macros from bp-asm.h.
10810         (__frexp): Do not use BP_SYM.
10811         (frexp): Likewise.
10812         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
10813         "bp-asm.h".
10814         (PARMS): Do not use macros from bp-asm.h.
10815         (__frexpf): Do not use BP_SYM.
10816         (frexpf): Likewise.
10817         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
10818         "bp-asm.h".
10819         (PARMS): Do not use macros from bp-asm.h.
10820         (__frexpl): Do not use BP_SYM.
10821         (frexpl): Likewise.
10822         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
10823         "bp-asm.h".
10824         (PARMS): Do not use macros from bp-asm.h.
10825         (__remquo): Do not use BP_SYM.
10826         (remquo): Likewise.
10827         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
10828         "bp-asm.h".
10829         (PARMS): Do not use macros from bp-asm.h.
10830         (__remquof): Do not use BP_SYM.
10831         (remquof): Likewise.
10832         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
10833         "bp-asm.h".
10834         (PARMS): Do not use macros from bp-asm.h.
10835         (__remquol): Do not use BP_SYM.
10836         (remquol): Likewise.
10837         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
10838         "bp-asm.h".
10839         (PARMS): Do not use macros from bp-asm.h.
10840         (DEST): Likewise.
10841         (SRC): Likewise.
10842         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
10843         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
10844         "bp-asm.h".
10845         (PARMS): Do not use macros from bp-asm.h.
10846         (strlen): Do not use BP_SYM.
10847         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
10848         "bp-asm.h".
10849         (PARMS): Do not use macros from bp-asm.h.
10850         (S1): Likewise.
10851         (S2): Likewise.
10852         (SIZE): Likewise.
10853         (__mpn_add_n): Do not use BP_SYM.
10854         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
10855         "bp-asm.h".
10856         (PARMS): Do not use macros from bp-asm.h.
10857         (S1): Likewise.
10858         (SIZE): Likewise.
10859         (__mpn_addmul_1): Do not use BP_SYM.
10860         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
10861         weak_alias.
10862         (bzero): Likewise.
10863         * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
10864         "bp-asm.h".
10865         (PARMS): Do not use macros from bp-asm.h.
10866         (S): Likewise.
10867         (SIZE): Likewise.
10868         (__mpn_lshift): Do not use BP_SYM.
10869         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
10870         "bp-asm.h".
10871         (PARMS): Do not use macros from bp-asm.h.
10872         (DEST): Likewise.
10873         (SRC): Likewise.
10874         (LEN): Likewise.
10875         (memcpy): Likewise.  Do not use BP_SYM.
10876         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
10877         libc_hidden_def and weak_alias.
10878         (mempcpy): Do not use BP_SYM in weak_alias.
10879         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
10880         "bp-asm.h".
10881         (PARMS): Do not use macros from bp-asm.h.
10882         (DEST): Likewise.
10883         (LEN): Likewise.
10884         [!BZERO_P] (CHR): Likewise.
10885         (memset): Likewise.  Do not use BP_SYM.
10886         * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
10887         "bp-asm.h".
10888         (PARMS): Do not use macros from bp-asm.h.
10889         (S1): Likewise.
10890         (SIZE): Likewise.
10891         (__mpn_mul_1): Do not use BP_SYM.
10892         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
10893         "bp-asm.h".
10894         (PARMS): Do not use macros from bp-asm.h.
10895         (S): Likewise.
10896         (SIZE): Likewise.
10897         (__mpn_rshift): Do not use BP_SYM.
10898         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
10899         "bp-asm.h".
10900         (PARMS): Do not use macros from bp-asm.h.
10901         (STR): Likewise.
10902         (CHR): Likewise.
10903         (strchr): Likewise.  Do not use BP_SYM.
10904         (index): Do not use BP_SYM in weak_alias.
10905         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
10906         "bp-asm.h".
10907         (PARMS): Do not use macros from bp-asm.h.
10908         (DEST): Likewise.
10909         (SRC): Likewise.
10910         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
10911         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
10912         "bp-asm.h".
10913         (PARMS): Do not use macros from bp-asm.h.
10914         (strlen): Do not use BP_SYM.
10915         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
10916         "bp-asm.h".
10917         (PARMS): Do not use macros from bp-asm.h.
10918         (S1): Likewise.
10919         (S2): Likewise.
10920         (SIZE): Likewise.
10921         (__mpn_sub_n): Do not use BP_SYM.
10922         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
10923         "bp-asm.h".
10924         (PARMS): Do not use macros from bp-asm.h.
10925         (S1): Likewise.
10926         (SIZE): Likewise.
10927         (__mpn_submul_1): Do not use BP_SYM.
10928         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
10929         "bp-asm.h".
10930         (PARMS): Do not use macros from bp-asm.h.
10931         (S1): Likewise.
10932         (S2): Likewise.
10933         (SIZE): Likewise.
10934         (__mpn_add_n): Do not use BP_SYM.
10935         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
10936         weak_alias.
10937         (bzero): Likewise.
10938         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
10939         "bp-asm.h".
10940         (PARMS): Do not use macros from bp-asm.h.
10941         (BLK2): Likewise.
10942         (LEN): Likewise.
10943         (memcmp): Do not use BP_SYM.
10944         (bcmp): Do not use BP_SYM in weak_alias.
10945         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
10946         "bp-asm.h".
10947         (PARMS): Do not use macros from bp-asm.h.
10948         (DEST): Likewise.
10949         (SRC): Likewise.
10950         (LEN): Likewise.
10951         (memcpy): Likewise.  Do not use BP_SYM.
10952         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
10953         "bp-asm.h".
10954         (PARMS): Do not use macros from bp-asm.h.
10955         (DEST): Likewise.
10956         (SRC): Likewise.
10957         (LEN): Likewise.
10958         (memmove): Likewise.  Do not use BP_SYM.
10959         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
10960         "bp-asm.h".
10961         (PARMS): Do not use macros from bp-asm.h.
10962         (DEST): Likewise.
10963         (SRC): Likewise.
10964         (LEN): Likewise.
10965         (__mempcpy): Likewise.  Do not use BP_SYM.
10966         (mempcpy): Do not use BP_SYM in weak_alias.
10967         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
10968         "bp-asm.h".
10969         (PARMS): Do not use macros from bp-asm.h.
10970         (DEST): Likewise.
10971         (LEN): Likewise.
10972         [!BZERO_P] (CHR): Likewise.
10973         (memset): Likewise.  Do not use BP_SYM.
10974         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
10975         "bp-asm.h".
10976         (PARMS): Do not use macros from bp-asm.h.
10977         (STR2): Likewise.
10978         (strcmp): Do not use BP_SYM.
10979         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
10980         "bp-asm.h".
10981         (PARMS): Do not use macros from bp-asm.h.
10982         (STR): Likewise.
10983         (DELIM): Likewise.
10984         [USE_AS_STRTOK_R] (SAVE): Likewise.
10985         (FUNCTION): Likewise.  Do not use BP_SYM.
10986         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
10987         aliases.
10988         (strtok_r): Likewise.
10989         (__GI___strtok_r): Likewise.
10990         * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
10991         (PARMS): Do not use macros from bp-asm.h.
10992         (S): Likewise.
10993         (SIZE): Likewise.
10994         (__mpn_lshift): Do not use BP_SYM.
10995         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
10996         (PARMS): Do not use macros from bp-asm.h.
10997         (STR): Likewise.
10998         (CHR): Likewise.
10999         (__memchr): Do not use BP_SYM.
11000         (memchr): Do not use BP_SYM in weak_alias.
11001         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11002         (PARMS): Do not use macros from bp-asm.h.
11003         (BLK2): Likewise.
11004         (LEN): Likewise.
11005         (memcmp): Do not use BP_SYM.
11006         (bcmp): Do not use BP_SYM in weak_alias.
11007         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
11008         (PARMS): Do not use macros from bp-asm.h.
11009         (S1): Likewise.
11010         (SIZE): Likewise.
11011         (__mpn_mul_1): Do not use BP_SYM.
11012         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
11013         "bp-asm.h".
11014         (PARMS): Do not use macros from bp-asm.h.
11015         (STR): Likewise.
11016         (CHR): Likewise.
11017         (__rawmemchr): Do not use BP_SYM.
11018         (rawmemchr): Do not use BP_SYM in weak_alias.
11019         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
11020         (PARMS): Do not use macros from bp-asm.h.
11021         (S): Likewise.
11022         (SIZE): Likewise.
11023         (__mpn_rshift): Do not use BP_SYM.
11024         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
11025         (PARMS): Do not use macros from bp-asm.h.
11026         (SIGMSK): Likewise.
11027         (__sigsetjmp): Likewise.  Do not use BP_SYM.
11028         * sysdeps/i386/start.S: Do not include "bp-sym.h".
11029         (_start): Do not use BP_SYM.
11030         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
11031         (PARMS): Do not use macros from bp-asm.h.
11032         (DEST): Likewise.
11033         (SRC): Likewise.
11034         (__stpcpy): Likewise.  Do not use BP_SYM.
11035         (stpcpy): Do not use BP_SYM in weak_alias.
11036         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
11037         "bp-asm.h".
11038         (PARMS): Do not use macros from bp-asm.h.
11039         (DEST): Likewise.
11040         (SRC): Likewise.
11041         (LEN): Likewise.
11042         (__stpncpy): Likewise.  Do not use BP_SYM.
11043         (stpncpy): Do not use BP_SYM in weak_alias.
11044         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
11045         (PARMS): Do not use macros from bp-asm.h.
11046         (STR): Likewise.
11047         (CHR): Likewise.
11048         (strchr): Likewise.  Do not use BP_SYM.
11049         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
11050         "bp-asm.h".
11051         (PARMS): Do not use macros from bp-asm.h.
11052         (STR): Likewise.
11053         (CHR): Likewise.
11054         (__strchrnul): Likewise.  Do not use BP_SYM.
11055         (strchrnul): Do not use BP_SYM in weak_alias.
11056         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
11057         "bp-asm.h".
11058         (PARMS): Do not use macros from bp-asm.h.
11059         (STOP): Likewise.
11060         (strcspn): Do not use BP_SYM.
11061         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
11062         "bp-asm.h".
11063         (PARMS): Do not use macros from bp-asm.h.
11064         (STR): Likewise.
11065         (STOP): Likewise.
11066         (strpbrk): Likewise.  Do not use BP_SYM.
11067         * sysdeps/i386/strrchr.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         (strrchr): Likewise.  Do not use BP_SYM.
11073         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
11074         (PARMS): Do not use macros from bp-asm.h.
11075         (SKIP): Likewise.
11076         (strspn): Do not use BP_SYM.
11077         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
11078         (PARMS): Do not use macros from bp-asm.h.
11079         (STR): Likewise.
11080         (DELIM): Likewise.
11081         (SAVE): Likewise.
11082         (FUNCTION): Likewise.  Do not use BP_SYM.
11083         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
11084         aliases.
11085         (strtok_r): Likewise.
11086         (__GI___strtok_r): Likewise.
11087         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
11088         (PARMS): Do not use macros from bp-asm.h.
11089         (S1): Likewise.
11090         (S2): Likewise.
11091         (SIZE): Likewise.
11092         (__mpn_sub_n): Do not use BP_SYM.
11093         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
11094         "bp-asm.h".
11095         (PARMS): Do not use macros from bp-asm.h.
11096         (S1): Likewise.
11097         (SIZE): Likewise.
11098         (__mpn_submul_1): Do not use BP_SYM.
11099         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
11100         <bp-sym.h>.
11101         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
11102         and <bp-asm.h>.
11103         (PARMS): Do not use macros from bp-asm.h.
11104         (FLAGS): Likewise.
11105         (PTID): Likewise.
11106         (TLS): Likewise.
11107         (CTID): Likewise.
11108         (__clone): Do not use BP_SYM.
11109         (clone): Do not use BP_SYM in weak_alias.
11110         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
11111         and <bp-asm.h>.
11112         (PARMS): Do not use macros from bp-asm.h.
11113         (LEN): Likewise.
11114         (__mmap64): Do not use BP_SYM.
11115         (mmap64): Do not use BP_SYM in weak_alias.
11116         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
11117         <bp-sym.h> and <bp-asm.h>.
11118         (PARMS): Do not use macros from bp-asm.h.
11119         (__posix_fadvise64_l64): Do not use BP_SYM.
11120         * sysdeps/unix/sysv/linux/i386/semtimedop.S
11121         (PARMS): Do not use macros from bp-asm.h.
11122         (NSOPS): Likewise.
11123         (semtimedop): Do not use BP_SYM.
11124         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
11125         and <bp-asm.h>.
11127 2013-02-21  Allan McRae  <allan@archlinux.org>
11129         * manual/message.texi (Charset conversion in gettext):
11130         Move @end statement to beginning of line.
11132 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11134         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
11135         static.
11136         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
11137         Likewise.
11139         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
11140         (denorm): Likewise.
11141         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
11142         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
11144 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11146         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
11147         tail-call to the resolved function if pltexit isn't needed.
11149 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
11151         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
11152         or Y being zero as being unlikely.
11153         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
11154         Likewise.
11156 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
11158         * manual/nss.texi (System Databases and Name Service Switch):
11159         Remove frobnicate @pxref.
11161 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
11163         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11164         __attribute__ ((unused)) to __attribute__ ((__unused__)).
11166 2013-02-20  Petr Machata  <pmachata@redhat.com>
11168         * elf/elf.h (R_ARM_TARGET1): New macro.
11169         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
11170         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
11171         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
11172         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
11173         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
11174         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
11175         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
11176         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
11177         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
11178         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
11179         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
11180         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
11181         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
11182         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
11183         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
11184         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
11185         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
11186         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
11187         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
11188         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
11189         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
11190         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
11191         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
11192         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
11193         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
11194         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
11195         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
11196         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
11197         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
11198         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
11199         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
11200         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
11201         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
11202         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
11203         (R_ARM_THM_GOT_BREL12): Likewise.
11204         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
11205         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
11206         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
11207         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
11208         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
11209         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
11210         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
11211         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
11212         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
11214 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
11216         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
11217         __attribute_used__ to __attribute__ ((unused)).
11219 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
11221         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
11222         powerpc mpa.c.
11223         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
11224         comment formatting.
11225         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
11227 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
11229         [BZ #13550]
11230         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
11231         Remove macro.
11232         (ENTER): Remove both macro definitions.
11233         (LEAVE): Likewise.
11234         (CHECK_BOUNDS_LOW): Likewise.
11235         (CHECK_BOUNDS_HIGH): Likewise.
11236         (CHECK_BOUNDS_BOTH): Likewise.
11237         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
11238         (RETURN_BOUNDED_POINTER): Likewise.
11239         (RETURN_NULL_BOUNDED_POINTER): Likewise.
11240         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
11241         (POP_ERRNO_LOCATION_RETURN): Likewise.
11242         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
11243         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11244         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
11245         macros.
11246         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11247         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
11248         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
11249         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
11250         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
11251         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
11252         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
11253         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
11254         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
11255         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
11256         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
11257         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
11258         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11259         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
11260         removed macros.
11261         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11262         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
11263         macros.
11264         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11265         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
11266         * sysdeps/i386/i586/memset.S (memset): Likewise.
11267         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
11268         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11269         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
11270         macros.
11271         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11272         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
11273         Change uses of L(2) to L(out).
11274         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
11275         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
11276         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
11277         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11278         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
11279         removed macros.
11280         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11281         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
11282         macros.
11283         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11284         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
11285         (RETURN): Do not use macro LEAVE.
11286         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
11287         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
11288         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
11289         * sysdeps/i386/i686/memset.S (memset): Likewise.
11290         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
11291         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
11292         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
11293         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
11294         Likewise.
11295         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11296         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
11297         L(1_2) and L(1_3) into L(1).
11298         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11299         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
11300         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11301         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
11302         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
11303         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
11304         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
11305         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11306         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
11307         macros.
11308         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
11309         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
11310         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
11311         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
11312         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
11313         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
11314         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
11315         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
11316         * sysdeps/i386/strcspn.S (strcspn): Likewise.
11317         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
11318         * sysdeps/i386/strrchr.S (strrchr): Likewise.
11319         * sysdeps/i386/strspn.S (strspn): Likewise.
11320         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
11321         conditional code.
11322         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
11323         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
11324         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
11325         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
11326         L(1_3) into L(1_1).
11327         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
11328         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
11329         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
11330         macros.
11331         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
11333 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
11335         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
11336         macro.
11338 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
11340         * math/atest-exp.c (exp_mpn): Remove ROUND.
11341         * math/atest-exp2.c (exp_mpn): Likewise.
11342         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
11344         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
11345         * stdlib/tst-tls-atexit-lib.c: Likewise.
11346         * stdlib/tst-tls-atexit.c: Likewise.
11348 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
11350         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
11351         and __attribute_alloc_size__.
11353 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
11355         * include/programs/xmalloc.h: Change __attribute_alloc_size to
11356         __attribute_alloc_size__.
11357         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
11358         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
11360 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
11362         * include/programs/xmalloc.h: New file.
11363         * catgets/gencat.c: Include it.
11364         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
11365         * elf/pldd.c: Likewise.
11366         * iconv/iconv_charmap.c: Likewise.
11367         * iconv/iconvconfig.c: Likewise.
11368         * iconv/strtab.c: Likewise.
11369         * locale/programs/locale.c: Likewise.
11370         * locale/programs/localedef.h: Likewise.
11371         * locale/programs/simple-hash.c: Likewise.
11372         * nscd/nscd.h: Likewise.
11373         * nss/makedb.c: Likewise.
11374         * sysdeps/generic/ldconfig.h: Likewise.
11376 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
11378         * Versions.def: Add GLIBC_2.18.
11379         * include/link.h (struct link_map): New member l_tls_dtor_count.
11380         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
11381         (__call_tls_dtors): Likewise.
11382         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
11383         __cxa_thread_atexit_impl.
11384         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
11385         Likewise.
11386         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
11387         Likewise.
11388         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
11389         Likewise.
11390         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
11391         Likewise.
11392         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
11393         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
11394         Likewise.
11395         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
11396         Likewise.
11397         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
11398         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
11399         Likewise.
11400         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
11401         (tests): Add test case tst-tls-atexit.
11402         (modules-names): Add shared library for tst-tls-atexit.
11403         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
11404         (GLIBC_PRIVATE): Add __call_tls_dtors.
11405         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
11406         for libstdc++.
11407         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
11408         * stdlib/tst-tls-atexit.c: New test case.
11409         * stdlib/tst-tls-atexit-lib.c: New test case.
11411         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
11413         * elf/Versions (ld): Add _dl_find_dso_for_object.
11414         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
11415         * elf/dl-open.c (_dl_find_dso_for_object): New function.
11416         (dl_open_worker): Use _dl_find_dso_for_object.
11417         * elf/dl-sym.c (do_sym): Likewise.
11418         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
11420 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
11422         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
11423         Syntactic changes only.
11424         (_dl_runtime_profile): Do a tail-call to the resolved function.
11426 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
11428         [BZ #13550]
11429         * sysdeps/x86_64/bp-asm.h: Remove file.
11430         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
11431         <bp-sym.h> and <bp-asm.h>.
11432         (__clone): Do not use BP_SYM.
11433         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
11434         <bp-sym.h> and <bp-asm.h>.
11435         * sysdeps/unix/x86_64/sysdep.S: Likewise.
11436         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
11437         "bp-asm.h".
11438         (_setjmp): Do not use BP_SYM.
11439         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
11440         "bp-asm.h".
11441         (setjmp): Do not use BP_SYM.
11442         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
11443         libc_hidden_def.
11444         (mempcpy): Do not use BP_SYM in weak_alias.
11445         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
11446         "bp-asm.h".
11447         (strchr): Do not use BP_SYM.
11448         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
11449         "bp-asm.h".
11450         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
11451         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
11452         (_start): Do not use BP_SYM.
11453         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
11454         "bp-asm.h".
11455         (strcat): Do not use BP_SYM.
11456         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
11457         "bp-asm.h".
11458         (STRCMP): Do not use BP_SYM.
11459         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
11460         "bp-asm.h".
11461         (STRCPY): Do not use BP_SYM.
11462         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
11463         "bp-asm.h".
11464         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
11465         "bp-asm.h".
11466         (FUNCTION): Do not use BP_SYM.
11467         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
11468         weak_alias.
11469         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
11471 2013-02-17  Andreas Jaeger  <aj@suse.de>
11473         * time/Versions: Sort entries.
11474         * string/Versions: Likewise.
11475         * resolv/Versions: Likewise.
11476         * posix/Versions: Likewise.
11477         * iconv/Versions: Likewise.
11478         * elf/Versions: Likewise.
11479         * wcsmbs/Versions: Likewise.
11481 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
11483         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
11484         loop termination condition.
11486         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
11487         variable to calculate EZ.
11488         (__sqr): Likewise.
11490         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
11491         the lower precision input.
11493 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
11495         [BZ #13550]
11496         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
11497         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
11498         (run-via-rtld-prefix): Do not handle %-bp tests.
11499         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
11500         (all-object-suffixes): Remove .ob.
11501         (bppfx): Remove variable.
11502         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
11503         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
11504         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
11505         [$(build-bounded) = yes] (libtype.ob): Likewise.
11506         * Makerules (elide-routines.ob): Remove variable.
11507         (do-tests-clean): Do not handle *-bp.out.
11508         (common-mostlyclean): Do not handle *-bp and *-bp.out.
11509         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
11510         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
11511         (tests): Do not include $(tests-bp.out).
11512         (xtests): Do not include $(xtests-bp.out).
11513         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
11514         [$(build-bounded) = yes] ($(addprefix
11515         $(objpfx),$(binaries-bounded))): Remove rule.
11516         ($(objpfx)%-bp.out): Remove rule.
11517         * config.make.in (build-bounded): Remove variable.
11518         * crypt/Makefile [$(build-bounded) = yes]
11519         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
11520         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
11521         append to variable.
11522         [$(build-bounded) = yes] (install-lib): Likewise.
11523         [$(build-bounded) = yes] (generated): Likewise.
11524         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
11525         Remove rule.
11526         * intl/Makefile [$(build-bounded) = yes]
11527         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
11528         * math/Makefile [$(build-bounded) = yes]
11529         ($(tests:%=$(objpfx)%-bp): Likewise.
11530         * misc/Makefile [$(build-bounded) = yes]
11531         ($(objpfx)tst-tsearch-bp): Likewise.
11532         * nptl/Makeconfig (bounded-thread-library): Remove variable.
11533         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
11534         Remove dependency.
11535         * string/Makefile (o-objects.ob): Remove variable.
11536         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
11537         (CFLAGS-.ob): Remove variable.
11538         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
11539         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
11540         both definitions of variable.
11541         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
11542         (ASFLAGS-.ob): Remove variable.
11544 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
11546         [BZ #13550]
11547         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
11548         Remove __BOUNDED_POINTERS__ from condition.
11549         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
11550         * string/bits/string2.h [!__NO_STRING_INLINES &&
11551         !__BOUNDED_POINTERS__]: Likewise.
11552         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
11553         Likewise.
11554         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
11555         Remove conditional code.
11556         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
11557         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
11558         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
11559         condition.
11561         [BZ #13550]
11562         * csu/libc-start.c: Do not include <bp-sym.h>.
11563         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
11564         * elf/dl-open.c: Do not include <bp-sym.h>.
11565         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
11566         * math/fegetenv.c: Do not include <bp-sym.h>.
11567         (fegetenv): Do not use BP_SYM in versioned symbols.
11568         * nptl/sysdeps/pthread/bits/libc-lockP.h
11569         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
11570         <bp-sym.h>.
11571         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11572         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
11573         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11574         (__pthread_mutex_destroy): Likewise.
11575         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11576         (__pthread_mutex_lock): Likewise.
11577         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11578         (__pthread_mutex_trylock): Likewise.
11579         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11580         (__pthread_mutex_unlock): Likewise.
11581         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11582         (__pthread_mutexattr_init): Likewise.
11583         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11584         (__pthread_mutexattr_destroy): Likewise.
11585         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11586         (__pthread_mutexattr_settype): Likewise.
11587         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11588         (__pthread_rwlock_init): Likewise.
11589         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11590         (__pthread_rwlock_destroy): Likewise.
11591         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11592         (__pthread_rwlock_rdlock): Likewise.
11593         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11594         (__pthread_rwlock_tryrdlock): Likewise.
11595         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11596         (__pthread_rwlock_wrlock): Likewise.
11597         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11598         (__pthread_rwlock_trywrlock): Likewise.
11599         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11600         (__pthread_rwlock_unlock): Likewise.
11601         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11602         (__pthread_key_create): Likewise.
11603         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11604         (__pthread_setspecific): Likewise.
11605         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11606         (__pthread_getspecific): Likewise.
11607         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
11608         Likewise.
11609         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11610         (_pthread_cleanup_push_defer): Likewise.
11611         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11612         (_pthread_cleanup_pop_restore): Likewise.
11613         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
11614         (pthread_setcancelstate): Likewise.
11615         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
11616         <bp-sym.h>.
11617         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
11618         (memchr): Do not use BP_SYM in weak_alias.
11619         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
11620         (fegetenv): Do not use BP_SYM in versioned symbols.
11621         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
11622         (fesetenv): Do not use BP_SYM in versioned symbols.
11623         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11624         (feupdateenv): Do not use BP_SYM in versioned symbols.
11625         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11626         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11627         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
11628         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
11629         (open64): Do not use BP_SYM in weak_alias.
11630         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
11631         (fegetenv): Do not use BP_SYM in versioned symbols.
11632         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
11633         (fesetenv): Do not use BP_SYM in versioned symbols.
11634         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
11635         (feupdateenv): Do not use BP_SYM in versioned symbols.
11636         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
11637         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
11638         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
11639         (feraiseexcept): Do not use BP_SYM in versioned symbols.
11640         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
11641         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
11642         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
11643         <bp-sym.h>.
11644         (__libc_start_main): Do not use BP_SYM.
11646 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
11648         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
11649         redundant return line.
11650         (norm): Likewise.
11651         (denorm): Likewise.
11652         (dbl_mp): Likewise.
11653         (sub_magnitudes): Likewise.
11654         (__add): Likewise.
11655         (__sub): Likewise.
11656         (__mul): Likewise.
11657         (__inv): Likewise.
11658         (__dvd): Likewise.
11659         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
11660         (norm): Likewise.
11661         (denorm): Likewise.
11662         (dbl_mp): Likewise.
11663         (sub_magnitudes): Likewise.
11664         (__add): Likewise.
11665         (__sub): Likewise.
11666         (__mul): Likewise.
11667         (__inv): Likewise.
11668         (__dvd): Likewise.
11670         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
11671         instead of __mul.
11672         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
11673         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
11674         (cc32): Likewise.
11676         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
11677         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
11678         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
11679         of __mul for squares.
11680         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
11681         function
11682         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
11683         Likewise.
11684         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
11685         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
11687 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
11689         [BZ #13550]
11690         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
11691         code.
11692         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
11693         prototype or function definition.  Rename ubp_* variables and
11694         parameters.  Remove argv definitions conditional on
11695         [__BOUNDED_POINTERS__].
11696         * debug/backtrace.c (__backtrace): Do not use __unbounded.
11697         * elf/dl-runtime.c (_dl_fixup): Likewise.
11698         * include/set-hooks.h (RUN_HOOK): Likewise.
11699         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
11700         definition.
11701         * string/strcpy.c (strcpy): Do not use __unbounded.
11702         * sysdeps/generic/frame.h (struct layout): Likewise.
11703         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
11704         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
11705         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
11706         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
11707         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
11708         (__backtrace): Likewise.
11709         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
11710         use __ptrvalue.
11711         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
11712         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
11713         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
11714         Likewise.
11715         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
11716         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
11717         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
11718         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
11719         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
11720         Do not use __unbounded.
11721         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
11722         Rename __unboundedrlimits parameter to rlimits in prototype.
11723         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
11724         Do not use __unbounded.
11725         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
11726         not use __ptrvalue.
11727         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
11728         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
11729         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
11730         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
11731         __ptrvalue or __unbounded.
11732         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
11733         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
11734         use __unbounded.
11735         (__new_msgctl): Do not use __ptrvalue.
11736         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
11737         __unbounded.
11738         (__libc_msgrcv): Do not use __ptrvalue.
11739         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
11740         startup_info): Do not use __unbounded.
11741         (__libc_start_main): Likewise.  Rename ubp_* variables and
11742         parameters.  Remove argv definitions conditional on
11743         [__BOUNDED_POINTERS__].
11744         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
11745         __ptrvalue.
11746         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
11747         use __unbounded.
11748         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
11749         or __ptrvalue.
11750         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
11751         use __unbounded.
11752         (__new_shmctl): Do not use __ptrvalue.
11753         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
11754         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
11755         Likewise.
11756         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
11757         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
11758         (__libc_sigaction): Likewise.
11759         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
11760         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
11761         Likewise.
11762         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
11764 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
11766         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
11768         * string/mempcpy.c: Implement by calling memcpy.
11770 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
11772         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
11774         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
11775         evaluation.
11777         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
11778         values in the mantissa.
11780         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
11781         minimize writes to Z.
11782         (sub_magnitudes): Simplify code a bit.
11784 2013-02-12  Roland McGrath  <roland@hack.frob.com>
11786         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
11787         from the message.  The linker prefixes all warnings with that already.
11789 2013-02-12  Andreas Schwab  <schwab@suse.de>
11791         [BZ #15078]
11792         * posix/regexec.c (extend_buffers): Add parameter min_len.
11793         (check_matching): Pass minimum needed length.
11794         (clean_state_log_if_needed): Likewise.
11795         (get_subexp): Likewise.
11796         * posix/Makefile (tests): Add bug-regex34.
11797         (bug-regex34-ENV): Define.
11798         * posix/bug-regex34.c: New file.
11800         [BZ #11561]
11801         * posix/regcomp.c (parse_bracket_exp): When looking up collating
11802         elements compare against the byte sequence of it, not its name.
11803         * posix/Makefile (tests): Add bug-regex35.
11804         (bug-regex35-ENV): Define.
11805         * posix/bug-regex35.c: New file.
11807 2013-02-11  Tom de Vries  <tom@codesourcery.com>
11809         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
11810         comment.
11811         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
11812         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
11813         (CHECK_EOL): Add undef.
11815 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
11817         * bits/stdlib-bsearch.h: New file.
11818         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
11819         * stdlib/stdlib.h: Likewise.
11821 2013-02-11  Roland McGrath  <roland@hack.frob.com>
11823         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
11824         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
11825         declaration.
11826         * manual/search.texi (Array Search Function): Add missing const in
11827         lfind prototype.
11828         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
11829         declaration to use rlim_t.
11830         (Basic Scheduling Functions): Remove erroneous const from
11831         sched_getparam prototype.  Remove erroneous * from
11832         sched_get_priority_max and sched_get_priority_min prototypes.
11833         (Resource Usage): Fix summary @comment on vtimes to refer to
11834         sys/vtimes.h rather than vtimes.h.
11835         Add missing *s in vtimes prototype.
11836         (Limits on Resources): Fix ulimit prototype to return long int.
11837         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
11838         prototypes to use long int rather than double.
11839         (BSD Random): Fix initstate and setstate to use char *, not void *.
11840         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
11841         prototype to make second argument 'struct aiocb64 *const[]'.
11842         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
11843         (Status of AIO Operations): Remove erroneous const in aio_return and
11844         aio_return64 prototypes.
11845         (Synchronizing I/O): Fix sync prototype to return void.
11846         * manual/startup.texi (Suboptions): Remove an erroneous const in
11847         getsubopt prototype.
11848         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
11849         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
11850         use size_t rather than int.
11851         (Scanning All Users): Likewise for getpwent_r.
11852         (Setting Groups): Add missing const to setgroups prototype.
11853         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
11854         * manual/socket.texi (Host Names): Fix gethostbyaddr and
11855         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
11856         'const void *' rather than 'const char *'.
11857         (Host Address Functions): Likewise for inet_ntop.
11858         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
11859         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
11860         ssize_t for return value.
11861         (Sending Data): Likewise for send, sendto, sendmsg.
11862         (Socket Option Functions): Add a missing const in setsockopt prototype.
11863         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
11864         use wchar_t for the argument.
11865         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
11866         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
11867         take no arguments.
11868         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
11869         double/float/long double for second argument.
11870         Fix return types of significand, significandf, significandl.
11871         * manual/filesys.texi (Setting Permissions): Use mode_t for second
11872         argument in fchmod prototype.
11873         (File Owner): Use uid_t and gid_t in fchown prototype.
11874         (File Times): Add const to utimes, futimes, and lutimes prototypes.
11875         (Making Special Files): Use mode_t and dev_t in mknod prototype.
11876         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
11877         use 'const struct dirent **' as argument types to CMP function pointer
11878         argument.
11879         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
11880         (File Times): Fix summary magic @comment for struct utimbuf and utime
11881         to refer to utime.h, not time.h.
11882         * manual/string.texi (Argz Functions): Add missing const in
11883         argz_extract and argz_next prototypes.
11884         (Finding Tokens in a String): Likewise for basename.
11885         (String/Array Comparison): Fix typo in wcscasecmp prototype.
11886         (Copying and Concatenation): Fix typo in wmemmove prototype.
11887         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
11888         (Signal Stack): Remove erroneous const in sigstack prototype.
11889         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
11890         prototype.
11891         (Simple Calendar Time): Likewise for stime.
11892         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
11893         prototype.
11894         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
11895         say sys/sysctl.h instead.
11896         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
11897         and vsyslog prototypes.
11899 2013-02-11  Tom de Vries  <tom@codesourcery.com>
11901         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
11902         Remove.
11904 2013-02-11  Roland McGrath  <roland@hack.frob.com>
11906         * misc/sys/mman.h: Fix typo in mremap comment.
11908 2013-02-08  Roland McGrath  <roland@hack.frob.com>
11910         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
11911         the '\0' terminator.
11913 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
11915         [BZ #13550]
11916         * debug/segfault.c: Don't include <bp-checks.h>.
11917         * sysdeps/generic/bp-checks.h: Remove file.
11918         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
11919         (__GETDENTS): Don't use CHECK_N.
11920         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
11921         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
11922         (__getgroups): Don't use CHECK_N.
11923         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
11924         (setgroups): Don't use CHECK_N.
11925         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
11926         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
11927         (__libc_msgrcv): Don't use CHECK_N.
11928         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
11929         (__libc_msgsnd): Don't use CHECK_N.
11930         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
11931         <bp-checks.h>.
11932         (__libc_pread): Don't use CHECK_N.
11933         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
11934         include <bp-checks.h>.
11935         (__libc_pread64): Don't use CHECK_N.
11936         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
11937         include <bp-checks.h>.
11938         (__libc_pwrite): Don't use CHECK_N.
11939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
11940         include <bp-checks.h>.
11941         (__libc_pwrite64): Don't use CHECK_N.
11942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
11943         <bp-checks.h>.
11944         (__libc_pread): Don't use CHECK_N.
11945         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
11946         include <bp-checks.h>.
11947         (__libc_pread64): Don't use CHECK_N.
11948         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
11949         include <bp-checks.h>.
11950         (__libc_pwrite): Don't use CHECK_N.
11951         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
11952         include <bp-checks.h>.
11953         (__libc_pwrite64): Don't use CHECK_N.
11954         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
11955         (do_pread): Don't use CHECK_N.
11956         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
11957         (do_pread64): Don't use CHECK_N.
11958         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
11959         (do_pwrite): Don't use CHECK_N.
11960         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
11961         (do_pwrite64): Don't use CHECK_N.
11962         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
11963         (__libc_readv): Don't use CHECK_N.
11964         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
11965         (semop): Don't use CHECK_N.
11966         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
11967         <bp-checks.h>.
11968         (semtimedop): Don't use CHECK_N.
11969         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
11970         (__libc_pread): Don't use CHECK_N.
11971         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
11972         <bp-checks.h>.
11973         (__libc_pread64): Don't use CHECK_N.
11974         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
11975         <bp-checks.h>.
11976         (__libc_pwrite): Don't use CHECK_N.
11977         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
11978         <bp-checks.h>.
11979         (__libc_pwrite64): Don't use CHECK_N.
11980         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
11981         <bp-checks.h>.
11982         (__libc_msgrcv): Don't use CHECK_N.
11983         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
11984         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
11985         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
11986         (__libc_writev): Don't use CHECK_N.
11988 2013-02-08  Roland McGrath  <roland@hack.frob.com>
11990         * string/strcpy.c: Removed unused variable.
11992         * Makeconfig (+sysdep-includes): Define with := rather than =.
11993         Use an existing include/ subdir of each sysdeps dir before it.
11995 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
11997         * nscd/connection.c (register_traced_file): Comment function.
11998         [HAVE_INOTIFY] (union __inev): Define.
11999         [HAVE_INOTIFY] (inotify_check_files): New function.
12000         [HAVE_INOTIFY] (clear_db_cache): Likewise.
12001         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
12002         clear_db_cache.
12003         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
12005 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
12007         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
12008         loaded if not already and that a failure is permanent.
12010 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
12012         [BZ #15006]
12013         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
12014         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
12016 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
12018         [BZ #13550]
12019         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
12020         (CHECK_1_NULL_OK): Likewise.
12021         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
12022         (__fxstat): Do not use CHECK_1.
12023         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
12024         <bp-checks.h>.
12025         (___fxstat64): Do not use CHECK_1.
12026         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
12027         <bp-checks.h>.
12028         (__fxstatat): Do not use CHECK_1.
12029         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
12030         <bp-checks.h>.
12031         (__fxstatat64): Do not use CHECK_1.
12032         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
12033         <bp-checks.h>.
12034         (__fxstat): Do not use CHECK_1.
12035         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
12036         <bp-checks.h>.
12037         (__fxstatat): Do not use CHECK_1.
12038         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
12039         <bp-checks.h>.
12040         (__getresgid): Do not use CHECK_1.
12041         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
12042         <bp-checks.h>.
12043         (__getresuid): Do not use CHECK_1.
12044         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
12045         <bp-checks.h>.
12046         (__lxstat): Do not use CHECK_1.
12047         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
12048         <bp-checks.h>.
12049         (__old_msgctl): Do not use CHECK_1.
12050         (__new_msgctl): Likewise.
12051         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
12052         <bp-checks.h>.
12053         (__new_setrlimit): Do not use CHECK_1.
12054         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
12055         <bp-checks.h>.
12056         (__old_shmctl): Do not use CHECK_1.
12057         (__new_shmctl): Likewise.
12058         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
12059         <bp-checks.h>.
12060         (__xstat): Do not use CHECK_1.
12061         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
12062         (__lxstat): Do not use CHECK_1.
12063         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
12064         <bp-checks.h>.
12065         (___lxstat64): Do not use CHECK_1.
12066         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
12067         (__old_msgctl): Do not use CHECK_1.
12068         (__new_msgctl): Likewise.
12069         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
12070         <bp-checks.h>.
12071         (__gettimeofday): Do not use CHECK_1.
12072         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
12073         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
12074         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
12075         <bp-checks.h>.
12076         (__gettimeofday): Do not use CHECK_1.
12077         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
12078         (__old_shmctl): Do not use CHECK_1_NULL_OK.
12079         (__new_shmctl): Do not use CHECK_1.
12080         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
12081         <bp-checks.h>.
12082         (do_sigtimedwait): Do not use CHECK_1.
12083         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
12084         <bp-checks.h>.
12085         (do_sigwaitinfo): Do not use CHECK_1.
12086         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
12087         <bp-checks.h>.
12088         (msgctl): Do not use CHECK_1.
12089         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
12090         <bp-checks.h>.
12091         (shmctl): Do not use CHECK_1.
12092         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
12093         (ustat): Do not use CHECK_1.
12094         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
12095         <bp-checks.h>.
12096         (__fxstat): Do not use CHECK_1.
12097         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
12098         <bp-checks.h>.
12099         (__fxstatat): Do not use CHECK_1.
12100         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
12101         <bp-checks.h>.
12102         (__lxstat): Do not use CHECK_1.
12103         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
12104         <bp-checks.h>.
12105         (__xstat): Do not use CHECK_1.
12106         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
12107         (__xstat): Do not use CHECK_1.
12108         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
12109         (___xstat64): Do not use CHECK_1.
12111         [BZ #13550]
12112         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
12113         definitions.
12114         (CHECK_BOUNDS_HIGH): Likewise.
12115         * string/strcpy.c: Do not include <bp-checks.h>.
12116         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
12118 2013-02-07  Roland McGrath  <roland@hack.frob.com>
12120         * nscd/nscd-client.h (__nscd_drop_map_ref):
12121         Add __attribute__ ((unused)).
12122         * nis/nss-nisplus.h (niserr2nss): Likewise.
12124         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
12125         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
12127         * csu/libc-tls.c (init_static_tls, init_slotinfo):
12128         Remove inline keyword.
12129         * include/rounding-mode.h (round_away): Likewise.
12130         * libio/wfileops.c (adjust_wide_data): Likewise.
12131         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
12132         (__m128i_strloadu_tolower): Likewise.
12133         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
12134         (__m128i_strloadu_tolower): Likewise.
12135         * time/mktime.c (ydhms_diff): Likewise.
12136         * locale/elem-hash.h (elem_hash): Likewise.
12137         * locale/setlocale.c (setdata): Likewise.
12138         * posix/regex_internal.h (re_string_char_size_at): Likewise.
12139         (re_string_wchar_at): Likewise.
12140         (bitset_not, bitset_merge, bitset_mask): Likewise.
12141         [!(__GNUC__ > 3)] (inline): Remove macro.
12142         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
12143         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
12144         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
12145         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
12146         * string/memcmp.c (memcmp_bytes): Likewise.
12147         * locale/programs/locarchive.c (compute_hashval): Likewise.
12148         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
12149         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
12150         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
12151         * nss/getent.c (print_rpc, print_protocols): Likewise.
12152         (print_passwd, print_group, print_aliases): Likewise.
12153         * nis/nss-nisplus.h (niserr2nss): Likewise.
12154         * nscd/connections.c (restart_p): Likewise.
12155         Change return type to bool.
12157 2013-02-05  Roland McGrath  <roland@hack.frob.com>
12159         * Makeconfig (all-Depend-files): Add existing
12160         $(sorted-subdirs:=/Depend) files.
12161         (all-subdirs): Remove nss.
12162         * sysdeps/unix/inet/Subdirs: Add it here instead.
12163         * hesiod/Depend: New file.
12165         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
12166         instead of calling alloca.
12168         * io/lseek.c (__lseek): Rename to __libc_lseek.
12169         Define __lseek as an alias.
12171         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
12173 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
12175         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
12176         else clause and remove check for non-standard endianness.
12178 2013-02-04  David S. Miller  <davem@davemloft.net>
12180         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12182 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
12184         [BZ #13550]
12185         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
12186         (__ubp_memchr): Remove prototype.
12187         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
12188         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12189         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
12190         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
12191         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
12192         Remove alias.
12193         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
12194         (__ubp_memchr): Likewise.
12195         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
12196         (__ubp_memchr): Likewise.
12197         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
12198         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
12199         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
12200         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
12201         CHECK_STRING.
12202         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
12203         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
12204         (__getcwd): Do not use CHECK_STRING.
12205         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
12206         <bp-checks.h>.
12207         (__real_chown): Do not use CHECK_STRING.
12208         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
12209         <bp-checks.h>.
12210         (fchownat): Do not use CHECK_STRING.
12211         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
12212         CHECK_STRING.
12213         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
12214         <bp-checks.h>.
12215         (__lchown): Do not use CHECK_STRING.
12216         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
12217         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
12218         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
12219         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
12220         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
12221         include <bp-checks.h>.
12222         (truncate64): Do not use CHECK_STRING.
12223         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
12224         <bp-checks.h>.
12225         (__real_chown): Do not use CHECK_STRING.
12226         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
12227         <bp-checks.h>.
12228         (__lchown): Do not use CHECK_STRING.
12229         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
12230         <bp-checks.h>.
12231         (__chown): Do not use CHECK_STRING.
12232         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
12233         <bp-checks.h>.
12234         (truncate64): Do not use CHECK_STRING.
12235         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
12236         Likewise.
12237         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
12238         (__xmknod): Do not use CHECK_STRING.
12239         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
12240         <bp-checks.h>.
12241         (__xmknodat): Do not use CHECK_STRING.
12242         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
12243         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
12245 2013-02-04  Andreas Schwab  <schwab@suse.de>
12247         [BZ #14142]
12248         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
12249         * include/netdb.h: Likewise for h_errno.
12250         * elf/tst-stackguard1.c: Include <tls.h>.
12252 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
12254         * elf/link.h (struct link_map): Extend the l_addr comment.
12255         * include/link.h (struct link_map): Likewise.
12257 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
12259         [BZ #13550]
12260         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
12261         (BOUNDED_1): Remove macro.
12262         * debug/backtrace.c: Don't include <bp-checks.h>.
12263         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
12264         (__backtrace): Likewise.
12265         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
12266         <bp-checks.h>.
12267         (__backtrace): Don't use BOUNDED_1.
12268         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
12269         <bp-checks.h>.
12270         (__backtrace): Don't use BOUNDED_1.
12271         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
12272         (__backtrace): Don't use BOUNDED_1.
12273         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
12274         (shmat): Don't use BOUNDED_N.
12276 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
12278         [BZ #13550]
12279         * sysdeps/generic/bp-start.h: Remove file.
12280         * csu/libc-start.c: Don't include <bp-start.h>.
12281         (LIBC_START_MAIN): Set up __environ directly instead of using
12282         INIT_ARGV_and_ENVIRON.
12283         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
12284         <bp-start.h>.
12286         [BZ #13550]
12287         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
12288         definitions.
12289         (CHECK_FCNTL): Likewise.
12290         (CHECK_N_PAGES): Likewise.
12292         [BZ #13550]
12293         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
12294         definitions.
12295         (CHECK_SIGSET_NULL_OK): Likewise.
12296         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
12297         <bp-checks.h>.
12298         (sigpending): Don't use CHECK_SIGSET.
12299         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
12300         <bp-checks.h>.
12301         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12302         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
12303         <bp-checks.h>.
12304         (do_sigsuspend): Don't use CHECK_SIGSET.
12305         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
12306         use CHECK_SIGSET.
12307         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
12308         (do_sigwait): Don't use CHECK_SIGSET.
12309         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
12310         use CHECK_SIGSET.
12311         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
12312         include <bp-checks.h>.
12313         (sigpending): Don't use CHECK_SIGSET.
12314         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
12315         include <bp-checks.h>.
12316         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12317         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
12318         <bp-checks.h>.
12319         (sigpending): Don't use CHECK_SIGSET.
12320         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
12321         <bp-checks.h>.
12322         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
12324         [BZ #13550]
12325         * sysdeps/generic/bp-semctl.h: Remove file.
12326         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
12327         <bp-checks.h> and <bp-semctl.h>.
12328         (__old_semctl): Don't use CHECK_SEMCTL.
12329         (__new_semctl): Likewise.
12330         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
12331         and <bp-semctl.h>.
12332         (__old_semctl): Don't use CHECK_SEMCTL.
12333         (__new_semctl): Likewise.
12334         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
12335         <bp-checks.h> and <bp-semctl.h>.
12336         (__old_semctl): Don't use CHECK_SEMCTL.
12337         (__new_semctl): Likewise.
12338         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
12339         <bp-checks.h> and <bp-semctl.h>.
12340         (semctl): Don't use CHECK_SEMCTL.
12342         [BZ #13550]
12343         * Makerules (elide-bp-thunks): Remove variable.
12344         (elide-routines.oS): Don't use $(elide-bp-thunks).
12345         (elide-routines.os): Likewise.
12346         (elide-routines.o): Likewise.
12347         (elide-routines.op): Likewise.
12348         (elide-routines.og): Likewise.
12349         (objects): Don't use $(bp-thunks).
12350         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
12351         include.
12352         (common-generated): Do not add s-proto-bp.d.
12353         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
12354         (int): Likewise.
12355         (typ): Likewise.
12356         Do not generate makefile rules for bounded-pointer thunks.
12357         * sysdeps/generic/bp-thunks.h: Remove file.
12358         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
12359         * sysdeps/unix/s-proto-bp.S: Likewise.
12361         [BZ #15062]
12362         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
12363         parts of result separately when argument is not close to line from
12364         -i to i and one part of argument is small.
12365         * math/k_casinhf.c (__kernel_casinhf): Likewise.
12366         * math/k_casinhl.c (__kernel_casinhl): Likewise.
12367         * math/libm-test.inc (cacos_test): Add more tests.
12368         (casin_test): Likewise.
12369         (casinh_test): Likewise.
12370         * sysdeps/i386/fpu/libm-test-ulps: Update.
12371         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12373 2013-01-31  David S. Miller  <davem@davemloft.net>
12375         * po/de.po: Update from translation team.
12377 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
12379         * time/tzfile.c: Include stdint.h for SIZE_MAX.
12381 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
12383         * configure.in (_AC_PROG_CC_C89): New definition.
12384         * configure: Regenerate.
12386         * configure.in (AC_PROG_CPP): New definition.
12387         * configure: Regenerate.
12389 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
12391         * debug/tst-backtrace.h: New file.
12392         * debug/tst-backtrace2.c: Include tst-backtrace.h.
12393         (ret): Remove variable.
12394         (x): Likewise.
12395         (FAIL): Remove macro.
12396         (NO_INLINE): Likewise.
12397         (fn1): Use match function instead of strstr.
12398         * debug/tst-backtrace3.c: Include tst-backtrace.h.
12399         (ret): Remove variable.
12400         (x): Likewise.
12401         (FAIL): Remove macro.
12402         (NO_INLINE): Likewise.
12403         (fn): Use match function instead of strstr.
12404         * debug/tst-backtrace4.c: Include tst-backtrace.h.
12405         (ret): Remove variable.
12406         (x): Likewise.
12407         (FAIL): Remove macro.
12408         (NO_INLINE): Likewise.
12409         (handle_signal): Use match function instead of strstr.
12410         * debug/tst-backtrace5.c: Include tst-backtrace.h.
12411         (ret): Remove variable.
12412         (x): Likewise.
12413         (FAIL): Remove macro.
12414         (NO_INLINE): Likewise.
12415         (handle_signal): Use match function instead of strstr.
12417 2013-01-23  Roland McGrath  <roland@hack.frob.com>
12419         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
12421 2013-01-23  David S. Miller  <davem@davemloft.net>
12423         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
12424         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
12425         argument of CAS if possible.
12426         * sysdeps/sparc/sparc64/bits/atomic.h
12427         (__arch_compare_and_exchange_val_32_acq): Likewise.
12428         (__arch_compare_and_exchange_val_64_acq): Likewise.
12430 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
12432         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
12433         * sysdeps/posix/ulimit.c: ... this.
12434         Include <limits.h>.
12435         * sysdeps/unix/bsd/ulimit.c: Remove file.
12437 2013-01-23  Adam Conrad  <adconrad@0c3.net>
12439         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
12440         (LDFLAGS-tst-array5): Likewise.
12442 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
12444         [BZ #15036]
12445         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
12446         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
12447         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
12448         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
12450 2013-01-21  David S. Miller  <davem@davemloft.net>
12452         * sysdeps/sparc/backtrace.c: New file.
12453         * sysdeps/sparc/sparc32/backtrace.h: New file.
12454         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
12455         * sysdeps/sparc/sparc64/backtrace.h: New file.
12456         * sysdeps/sparc/sparc64/backtrace.c: Delete.
12457         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
12458         -funwind-tables.
12460 2013-01-21  Andreas Schwab  <schwab@suse.de>
12462         [BZ #15020]
12463         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
12464         closed its stdout.
12466 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
12468         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
12469         "mpa2.h".
12470         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12472 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
12473             Mark Mitchell  <mark@codesourcery.com>
12474             Tom de Vries  <tom@codesourcery.com>
12475             Paul Pluzhnikov  <ppluzhnikov@google.com>
12477         * debug/tst-backtrace2.c: New file.
12478         * debug/tst-backtrace3.c: Likewise.
12479         * debug/tst-backtrace4.c: Likewise.
12480         * debug/tst-backtrace5.c: Likewise.
12481         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
12482         (CFLAGS-tst-backtrace3.c): Likewise.
12483         (CFLAGS-tst-backtrace4.c): Likewise.
12484         (CFLAGS-tst-backtrace5.c): Likewise.
12485         (LDFLAGS-tst-backtrace2): Likewise.
12486         (LDFLAGS-tst-backtrace3): Likewise.
12487         (LDFLAGS-tst-backtrace4): Likewise.
12488         (LDFLAGS-tst-backtrace5): Likewise.
12489         (tests): Add new tests tst-backtrace2, tst-backtrace3,
12490         tst-backtrace4 and tst-backtrace5.
12492 2013-01-18  Anton Blanchard  <anton@samba.org>
12493             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
12495         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
12496         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
12497         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
12498         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
12499         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12500         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
12501         "+r" and remove output regs list as redundant.  Add explicit inline
12502         asm to specify register of return val to work around compiler codegen
12503         bug.  Remove (int) cast on return value.  Add return type parameter to
12504         use in macro so that this macro does not truncate return value for
12505         64-bit values.
12506         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
12507         pass to INTERNAL_VSYSCALL_NCS.
12508         (INLINE_VSYSCALL): Add 'long int' as return type to
12509         INTERNAL_VSYSCALL_NCS macro invocation.
12510         (INTERNAL_VSYSCALL): Add 'long int' as return type to
12511         INTERNAL_VSYSCALL_NCS macro invocation.
12512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
12514 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
12516         [BZ #14496]
12517         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
12518         Fix application of SIMD FP exception mask.
12520         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
12521         mp_no from a power of two.
12522         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
12523         __mpexp_twomm1.  Use __pow_mp.
12525         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
12526         multiplication.
12528 2013-01-17  David S. Miller  <davem@davemloft.net>
12530         * sysdeps/sparc/fpu/libm-test-ulps: Update.
12532 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
12534         [BZ #15023]
12535         * include/complex.h: Condition contents on [!_COMPLEX_H].
12536         (__kernel_casinhf): New prototype.
12537         (__kernel_casinh): Likewise.
12538         (__kernel_casinhl): Likewise.
12539         * math/Makefile (libm_calls): Add k_casinh.
12540         * math/k_casinh.c: New file.
12541         * math/k_casinhf.c: Likewise.
12542         * math/k_casinhl.c: Likewise.
12543         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
12544         finite nonzero arguments.
12545         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
12546         finite nonzero arguments.
12547         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
12548         finite nonzero arguments.
12549         * math/s_casinh.c: Do not include <float.h>.
12550         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
12551         * math/s_casinhf.c: Do not include <float.h>.
12552         (__casinhf): Move code for finite nonzero arguments to
12553         k_casinhf.c.
12554         * math/s_casinhl.c: Do not include <float.h>.
12555         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
12556         redefine.
12557         (__casinhl): Move code for finite nonzero arguments to
12558         k_casinhl.c.
12559         * math/libm-test.inc (cacos_test): Add more tests.
12560         * sysdeps/i386/fpu/libm-test-ulps: Update.
12561         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
12563 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
12565         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
12566         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
12567         [!HAVE_MREMAP]: Remove [defined linux] case.
12568         * malloc/arena.c: Do not include <malloc-sysdep.h>.
12570 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
12572         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
12574 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
12576         * elf/elf.h (R_386_SIZE32): New relocation.
12577         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
12578         R_386_SIZE32.
12579         (elf_machine_rela): Likewise.
12580         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
12581         R_X86_64_SIZE64 and R_X86_64_SIZE32.
12583 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
12585         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
12586         (FP_FAST_FMA): Do not define.
12587         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
12588         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
12589         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
12590         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
12591         !_SOFT_FLOAT]: Likewise.
12592         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
12593         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
12594         value.
12595         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
12596         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
12597         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
12598         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
12599         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
12600         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
12601         file.
12603 2013-01-16  Andreas Schwab  <schwab@suse.de>
12605         [BZ #14327]
12606         * include/stdlib.h (__mktemp): Add declaration.
12607         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
12608         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
12610 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
12612         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
12613         definitions.
12614         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
12615         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
12616         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
12617         definitions here.
12618         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
12619         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
12620         definitions.
12621         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
12622         and ONE.
12623         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
12624         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
12625         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
12626         definitions.
12627         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
12628         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
12629         definitions.
12630         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
12632         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
12634 2013-01-15  David S. Miller  <davem@davemloft.net>
12636         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12637         trunc{,f} to libm-sysdep_routes.
12638         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12639         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
12640         file.
12641         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
12642         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
12643         file.
12644         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
12645         file.
12646         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
12647         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
12648         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
12649         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
12650         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
12651         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
12652         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
12653         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
12655         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12656         nearbyint{,f} to libm-sysdep_routes.
12657         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12658         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
12659         New file.
12660         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
12661         file.
12662         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
12663         New file.
12664         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
12665         file.
12666         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
12667         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
12668         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
12669         file.
12670         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
12671         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
12672         file.
12673         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
12674         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
12675         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
12677         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
12678         libc_feholdexcept and libc_fesetenv.
12680 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
12682         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
12684 2013-01-14  David S. Miller  <davem@davemloft.net>
12686         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
12687         (SPARC_ASM_VIS2_IFUNC): Likewise.
12688         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
12689         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
12690         use of 'siam' instruction.
12691         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
12692         Likewise.
12693         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
12694         Likewise.
12695         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
12696         Likewise.
12697         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
12698         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
12699         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
12700         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
12701         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
12702         file.
12703         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
12704         file.
12705         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
12706         file.
12707         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
12708         file.
12709         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
12710         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
12711         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
12712         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
12713         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
12714         new VIS2 routines.
12715         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
12716         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
12717         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
12718         Likewise.
12719         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
12720         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
12721         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
12722         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
12723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
12724         routines to libm-sysdep_routines.
12725         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
12727         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
12728         fdim/fdimf to libm-sysdep_routines.
12729         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
12730         file.
12731         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
12732         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
12733         file.
12734         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
12735         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
12736         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
12737         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
12738         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
12739         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
12740         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
12742 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
12744         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
12745         to optimize copies.
12747         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
12748         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
12749         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
12751         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
12752         local variable MPTWO.
12753         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
12754         Likewise.
12756 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
12758         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
12759         GLOB_NOESCAPE.
12761 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
12763         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
12765 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
12767         * manual/pattern.texi (glob_t): Document gl_flags.
12768         (glob64_t): Likewise.
12770 2013-01-11  David S. Miller  <davem@davemloft.net>
12772         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
12773         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
12774         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
12775         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
12776         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
12777         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
12778         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
12779         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
12780         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
12781         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
12782         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
12783         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
12784         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
12786         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12787         sparc V9 rather than using V8 code.
12788         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12789         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12791         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
12792         Move to...
12793         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
12794         Here.
12796 2013-01-11  Roland McGrath  <roland@hack.frob.com>
12798         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
12799         not in the main loop.
12800         * configure: Regenerated.
12802 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
12804         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
12805         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
12806         to just #else.
12807         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
12808         [!__GLIBC_HAVE_LONG_LONG] case.
12809         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
12810         condition to just #else.
12811         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
12812         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
12813         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
12814         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
12815         unconditional.
12816         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
12817         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12818         #elif condition to just #else.
12819         * sysdeps/unix/sysv/linux/sys/sysmacros.h
12820         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
12821         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
12822         #elif condition to just #else.
12824 2013-01-11  Steve Ellcey  <sellcey@mips.com>
12826         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
12827         (EF_MIPS_ARCH_64): Fix value.
12828         (EF_MIPS_ARCH_32R2): New.
12829         (EF_MIPS_ARCH_64R2): New.
12831 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
12833         * Makeconfig (+link-pie-before-libc): New.
12834         (+link-pie-after-libc): Likewise.
12835         (+link-pie-tests): Likewise.
12836         (+link-pie): Rewritten.
12837         (link-before-libc): Remove $(config-LDFLAGS).
12838         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
12839         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
12840         (config-LDFLAGS): Renamed to ...
12841         (rtld-LDFLAGS): This.
12842         (rtld-tests-LDFLAGS): New macro.
12843         (link-libc-rpath-link): Likewise.
12844         (link-libc-tests-rpath-link): Likewise.
12845         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
12846         (link-libc): Prepand $(link-libc-rpath-link).
12847         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
12848         (test-program-prefix): New macro.
12849         (test-via-rtld-prefix): Likewise.
12850         (test-program-cmd): Likewise.
12851         (host-test-program-cmd): Likewise.
12852         * Makefile ($(common-objpfx)testrun.sh): Replace
12853         $(run-program-prefix) with $(test-program-prefix).
12854         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
12855         $(rtld-LDFLAGS).
12856         ($(common-objpfx)shlib.lds): Likewise.
12857         (build-module-helper): Likewise.
12858         ($(common-objpfx)format.lds): Likewise.
12859         * Rules (binaries-pie-tests): New.
12860         (binaries-pie-notests): Likewise.
12861         (binaries-pie): Rewritten.
12862         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
12863         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
12864         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
12865         (make-test-out): Replace $(host-built-program-cmd) with
12866         $(host-test-program-cmd).
12867         * config.make.in (build-hardcoded-path-in-tests): New variable.
12868         * configure.in (--enable-hardcoded-path-in-tests): New configure
12869         option.
12870         (hardcoded_path_in_tests): New AC_SUBST.
12871         * configure: Regenerated.
12872         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
12873         $(built-program-cmd) with $(test-program-cmd).
12874         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
12875         (test_program_cmd): This.
12876         * elf/Makefile ($(objpfx)order.out): Run test with
12877         $(test-program-prefix).
12878         ($(objpfx)order2.out): Likewise.
12879         ($(objpfx)tst-initorder.out): Likewise.
12880         ($(objpfx)tst-initorder2.out): Likewise.
12881         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
12882         $(test-program-cmd).
12883         ($(objpfx)tst-array1-static.out): Likewise.
12884         ($(objpfx)tst-array2.out): Likewise.
12885         ($(objpfx)tst-array3.out): Likewise.
12886         ($(objpfx)tst-array4.out): Likewise.
12887         ($(objpfx)tst-array5.out): Likewise.
12888         ($(objpfx)tst-array5-static.out): Likewise.
12889         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
12890         $(test-program-cmd).
12891         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
12892         $(run-program-prefix) with $(test-program-prefix).
12893         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
12894         (test_program_prefix): This.
12895         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
12896         $(run-program-prefix) with $(test-program-prefix).
12897         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
12898         (test_program_prefix): This.
12899         * iconvdata/tst-tables.sh: Likewise.
12900         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
12901         $(run-program-prefix) with $(test-program-prefix).
12902         ($(objpfx)tst-translit.out): Likewise.
12903         ($(objpfx)tst-gettext2.out): Likewise.
12904         ($(objpfx)tst-gettext4.out): Likewise.
12905         ($(objpfx)tst-gettext6.out): Likewise.
12906         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
12907         (test_program_prefix): This.
12908         * intl/tst-gettext2.sh: Likewise.
12909         * intl/tst-gettext4.sh  Likewise.
12910         * intl/tst-gettext6.sh: Likewise.
12911         * intl/tst-translit.sh: Likewise.
12912         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
12913         with $(test-program-cmd).
12914         * libio/Makefile ($(objpfx)test-freopen.out): Replace
12915         $(run-program-prefix) with $(test-program-prefix).
12916         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
12917         (test_program_prefix): This.
12918         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
12919         $(run-program-prefix) with $(test-program-prefix).
12920         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
12921         (test_program_prefix): This.
12922         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
12923         * posix/Makefile ($(objpfx)globtest.out): Replace
12924         $(run-via-rtld-prefix) and $(test-wrapper) with
12925         $(test-program-prefix) and $(test-via-rtld-prefix).
12926         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
12927         $(test-program-prefix).
12928         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
12929         $(host-test-program-cmd).
12930         (tst-spawn-ARGS): Likewise.
12931         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
12932         $(test-program-prefix).
12933         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
12934         (test_via_rtld_prefix): This.
12935         (test_wrapper): Renamed to ...
12936         (test_program_prefix): This.
12937         (run_program_prefix): Replaced by test_program_prefix.
12938         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
12939         (test_program_prefix): This.
12940         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
12941         with $(host-test-program-cmd).
12942         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
12943         $(run-program-prefix) with $(test-program-prefix).
12944         ($(objpfx)tst-printf.out): Likewise.
12945         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
12946         $(test-program-cmd).
12947         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
12948         (test_program_prefix): This.
12949         * stdio-common/tst-unbputc.sh: Likewise.
12950         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
12951         $(run-program-prefix) with $(test-program-prefix).
12952         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
12953         (test_program_prefix): This.
12954         * string/Makefile ($(objpfx)tst-svc.out):  Replace
12955         $(built-program-cmd) with $(test-program-cmd).
12957 2013-01-11  Andreas Jaeger  <aj@suse.de>
12959         [BZ #15003]
12960         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
12961         value. Sync with Linux 3.7.
12963 2013-01-10  David S. Miller  <davem@davemloft.net>
12965         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
12966         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12967         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12969 2013-01-10  Roland McGrath  <roland@hack.frob.com>
12971         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
12972         never set.
12973         * configure: Regenerated.
12975 2013-01-10  David S. Miller  <davem@davemloft.net>
12977         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
12978         sparc V9 rather than using V8 code.
12979         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
12980         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
12982 2013-01-10  Roland McGrath  <roland@hack.frob.com>
12984         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
12985         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
12986         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
12987         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
12988         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
12989         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
12990         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
12991         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
12992         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
12993         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
12994         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
12995         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
12996         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
12997         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
12998         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
12999         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
13000         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
13001         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
13002         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
13003         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
13004         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
13005         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
13006         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
13007         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
13008         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
13009         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
13010         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
13012 2013-01-10  David S. Miller  <davem@davemloft.net>
13014         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13016 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
13018         * posix/Makefile (tests-static): New variable.
13019         (tests): Add $(tests-static).
13020         (tst-exec-static-ARGS): New variable.
13021         (tst-spawn-static-ARGS): Likewise.
13022         * posix/tst-exec-static.c: New file.
13023         * posix/tst-spawn-static.c: Likewise.
13024         * posix/tst-exec.c: Support run directly.
13025         * posix/tst-spawn.c: Likewise.
13027 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
13029         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
13030         long.
13031         * math/bits/mathcalls.h (llrint): Likewise.
13032         (llround): Likewise.
13033         * stdlib/stdlib.h (struct drand48_data): Likewise.
13034         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
13035         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
13036         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
13037         Likewise.
13038         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
13039         Likewise.
13040         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
13041         (elf_greg_t): Likewise.
13042         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
13043         (__jmp_buf): Likewise.
13044         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
13045         definitions.
13046         (llrint): Likewise, for all definitions.
13047         (llrintl): Likewise.
13049         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
13050         Remove [__GNUC__] condition.
13051         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
13052         condition to just [__USE_ISOC99].
13053         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
13055 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
13057         [BZ #14200]
13058         * sysdeps/unix/sysv/linux/x86/bits/environments.h
13059         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
13060         defined.
13061         (_POSIX_V6_ILP32_OFF32): Likewise.
13062         (_XBS5_ILP32_OFF32): Likewise.
13063         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
13064         (__ILP32_OFFBIG_LDFLAGS): Likewise.
13066 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
13068         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
13070         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
13071         doubles __mpexp_twomm1.  Adjust usage.
13072         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
13073         Remove.
13075 2013-01-10  Andreas Schwab  <schwab@suse.de>
13077         [BZ #14964]
13078         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
13079         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
13081 2013-01-09  David S. Miller  <davem@davemloft.net>
13083         [BZ #15003]
13084         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS,
13085         TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT,
13086         TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS,
13087         TCP_FASTOPEN): Define.
13088         (tcp_repair_opt): New structure.
13089         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
13090         enum values.
13091         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE,
13092         TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN,
13093         TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
13094         (tcp_cookie_transactions): New structure.
13096 2013-01-09  Anton Blanchard  <anton@samba.org>
13098         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
13099         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
13100         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
13101         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
13103 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
13105         * include/features.h (__USE_ANSI): Remove.
13107 2013-01-09  Roland McGrath  <roland@hack.frob.com>
13109         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
13111         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
13113 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
13115         * sysdeps/s390/fpu/libm-test-ulps: Update.
13117         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13119         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
13120         (__acr): Likewise.
13121         (__cpy): Likewise.
13122         (norm): Likewise.
13123         (denorm): Likewise.
13124         (__mp_dbl): Likewise.
13125         (__dbl_mp): Likewise.
13126         (add_magnitudes): Likewise.
13127         (sub_magnitudes): Likewise.
13128         (__add): Likewise.
13129         (__sub): Likewise.
13130         (__mul): Likewise.
13131         (__inv): Likewise.
13132         (__dvd): Likewise.
13133         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
13134         (__acr): Likewise.
13135         (__cpy): Likewise.
13136         (norm): Likewise.
13137         (denorm): Likewise.
13138         (__mp_dbl): Likewise.
13139         (__dbl_mp): Likewise.
13140         (add_magnitudes): Likewise.
13141         (sub_magnitudes): Likewise.
13142         (__add): Likewise.
13143         (__sub): Likewise.
13144         (__mul): Likewise.
13145         (__inv): Likewise.
13146         (__dvd): Likewise.
13147         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
13148         (__acr): Likewise.
13149         (__cpy): Likewise.
13150         (norm): Likewise.
13151         (denorm): Likewise.
13152         (__mp_dbl): Likewise.
13153         (__dbl_mp): Likewise.
13154         (add_magnitudes): Likewise.
13155         (sub_magnitudes): Likewise.
13156         (__add): Likewise.
13157         (__sub): Likewise.
13158         (__mul): Likewise.
13159         (__inv): Likewise.
13160         (__dvd): Likewise.
13162 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
13164         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
13165         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
13166         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
13167         2 && __USE_EXTERN_INLINES]: Likewise.
13169 2013-01-08  Andreas Jaeger  <aj@suse.de>
13171         [BZ# 14985]
13172         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
13173         Remove.
13174         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13175         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
13177 2013-01-07  Anton Blanchard  <anton@samba.org>
13179         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
13180         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
13181         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
13182         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
13183         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
13184         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
13185         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
13186         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13187         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13188         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13189         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
13190         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
13191         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
13192         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
13193         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
13194         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
13195         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
13196         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
13197         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
13198         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
13199         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
13200         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
13201         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
13202         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
13203         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
13204         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
13205         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
13206         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
13207         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
13208         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
13209         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
13210         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13211         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13212         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
13213         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
13214         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
13215         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
13216         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
13217         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
13218         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
13219         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
13220         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
13221         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
13223 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
13225         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
13226         (__MALLOC_PMT): Likewise.
13227         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
13228         [__GNUC__], only on [_LIBC].
13229         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13230         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
13231         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
13232         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
13233         forward declaration.
13234         (realloc_hook_ini): Likewise.
13235         (memalign_hook_ini): Likewise.
13236         (__libc_memalign): Do not use __MALLOC_PMT in variable
13237         declaration.
13238         (__libc_valloc): Likewise.
13239         (__libc_pvalloc): Likewise.
13240         (__libc_calloc): Likewise.
13241         (__posix_memalign): Likewise.
13243         [BZ #14996]
13244         * math/s_casinh.c: Include <float.h>.
13245         (__casinh): Do not do computation with squaring and square root
13246         for large arguments.
13247         * math/s_casinhf.c: Include <float.h>.
13248         (__casinhf): Do not do computation with squaring and square root
13249         for large arguments.
13250         * math/s_casinhl.c: Include <float.h>.
13251         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
13252         (__casinhl): Do not do computation with squaring and square root
13253         for large arguments.
13254         * math/libm-test.inc (casin_test): Add more tests.
13255         (casinh_test): Likewise.
13256         * sysdeps/i386/fpu/libm-test-ulps: Update.
13257         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13259 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
13261         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
13262         (__x86_64_raw_data_cache_size): Likewise.
13263         (__x86_64_data_cache_size_half): Likewise.
13264         (__x86_64_raw_data_cache_size_half): Likewise.
13265         (__x86_64_shared_cache_size): Likewise.
13266         (__x86_64_raw_shared_cache_size): Likewise.
13267         (__x86_64_shared_cache_size_half): Likewise.
13268         (__x86_64_raw_shared_cache_size_half): Likewise.
13269         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
13270         to ...
13271         (__x86_data_cache_size): This.
13272         (__x86_64_raw_data_cache_size): Renamed to ...
13273         (__x86_raw_data_cache_size): This.
13274         (__x86_64_data_cache_size_half): Renamed to ...
13275         (__x86_data_cache_size_half): This.
13276         (__x86_64_raw_data_cache_size_half): Renamed to ...
13277         (__x86_raw_data_cache_size_half): This.
13278         (__x86_64_shared_cache_size): Renamed to ...
13279         (__x86_shared_cache_size): This.
13280         (__x86_64_raw_shared_cache_size): Renamed to ...
13281         (__x86_raw_shared_cache_size): This.
13282         (__x86_64_shared_cache_size_half): Renamed to ...
13283         (__x86_shared_cache_size_half): This.
13284         (__x86_64_raw_shared_cache_size_half): Renamed to ...
13285         (__x86_raw_shared_cache_size_half): This.
13286         * sysdeps/x86_64/memcpy.S: Updated.
13287         * sysdeps/x86_64/memset.S: Likewise.
13288         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
13289         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
13290         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
13292 2013-01-04  David S. Miller  <davem@davemloft.net>
13294         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13296 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
13298         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
13299         1 to avoid redefinition warning.
13300         (__USE_GNU): Don't define.
13301         (init_signaling_nan): Protoize.
13303         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
13305 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13307         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
13308         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
13309         (__cpymn): Likewise.
13310         (norm): Remove commented code.
13311         (denorm): Likewise.
13312         (__mp_dbl): Likewise.
13313         (__inv): Likewise.
13314         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
13315         (__cpymn): Likewise.
13316         (norm): Remove commented code.
13317         (denorm): Likewise.
13318         (__mp_dbl): Likewise.
13319         (__inv): Likewise.
13321         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
13322         mp_no value for 1.0 and 2.0.
13323         (norm): Use RADIXI instead of radixi.d.
13324         (denorm): Likewise.
13325         (__mul): Use 0.0 instead of zero.d.
13326         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
13327         mp_no value for 1.0 and 2.0.
13328         (norm): Use RADIXI instead of radixi.d.
13329         (denorm): Likewise.
13330         (__mul): Use 0.0 instead of zero.d.
13332 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
13334         [BZ #14994]
13335         * math/s_casinh.c (__casinh): Reduce finite argument to first
13336         quadrant then set signs of results at the end.
13337         * math/s_casinhf.c (__casinhf): Likewise.
13338         * math/s_casinhl.c (__casinhl): Likewise.
13339         * math/libm-test.inc (casin_test): Add more tests.
13340         (casinh_test): Likewise.
13341         * sysdeps/i386/fpu/libm-test-ulps: Update.
13342         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13344 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
13346         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
13348         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
13350         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
13351         declarations.
13352         (denorm): Likewise.
13353         (__mp_dbl): Likewise.
13354         (__inv): Likewise.
13356         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
13357         and adjust the header comment.
13359         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
13360         variable name from declaration.
13362 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
13364         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
13365         Initialize COMMON_CPUID_INDEX_7 element.
13366         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
13367         (CPUID_RTM): Likewise.
13368         (HAS_RTM): Likewise.
13369         (COMMON_CPUID_INDEX_7): New enum.
13371 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
13373         [BZ #14981]
13374         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
13375         size is zero, record memory as freed.
13377 2013-01-03  Andreas Jaeger  <aj@suse.de>
13379         * po/ia.po: Add new Interlingua translation.
13381 2012-01-03  Allan McRae  <allan@archlinux.org>
13383         * locale/programs/localedef.c: Fix description of '--posix' flag.
13385 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
13387         * NEWS: Update dates in second copyright notice.
13388         * README: Update copyright dates in example.
13389         * manual/libc.texinfo: Update copyright dates.
13390         * scripts/test-installation.pl: Update copyright date in --version
13391         output.
13393         * hurd/ctty-input.c: Fix copyright notice formatting.
13394         * hurd/ctty-output.c: Likewise.
13395         * hurd/dtable.c: Likewise.
13396         * hurd/hurd-raise.c: Likewise.
13397         * hurd/hurdprio.c: Likewise.
13398         * hurd/msgportdemux.c: Likewise.
13399         * misc/sys/file.h: Likewise.
13400         * misc/sys/ioctl.h: Likewise.
13401         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
13402         * sysdeps/mach/hurd/chdir.c: Likewise.
13403         * sysdeps/mach/hurd/fchdir.c: Likewise.
13404         * sysdeps/mach/hurd/rename.c: Likewise.
13405         * sysdeps/mach/hurd/rmdir.c: Likewise.
13406         * sysdeps/mach/hurd/seekdir.c: Likewise.
13407         * sysdeps/mach/hurd/setsid.c: Likewise.
13408         * sysdeps/posix/wait3.c: Likewise.
13410         * All files with FSF copyright notices: Update copyright dates
13411         using scripts/update-copyrights.
13412         * intl/plural.c: Regenerated.
13413         * locale/programs/charmap-kw.h: Likewise.
13414         * locale/programs/locfile-kw.h: Likewise.
13416 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
13418         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
13419         four values.
13421         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
13422         calculation loop and add branch prediction.
13424         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
13425         check access beyond bounds of m1np.
13427         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13428         MPTWO.
13429         (__inv): Remove local variable MPTWO to use the global
13430         constant.
13431         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
13432         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13433         variable MPTWO.
13434         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
13435         MP3HALFS static const.
13437 2013-01-01  David S. Miller  <davem@davemloft.net>
13439         * po/ca.po: Update from translation team.
13441 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
13443         * scripts/update-copyrights: New file.
13444         * Makeconfig: Reformat copyright notice.
13445         * ctype/ctype.h: Likewise.
13446         * debug/swprintf_chk.c: Likewise.
13447         * elf/dl-cache.c: Likewise.
13448         * elf/dl-debug.c: Likewise.
13449         * elf/dl-object.c: Likewise.
13450         * grp/initgroups.c: Likewise.
13451         * hurd/Makefile: Likewise.
13452         * hurd/hurd/signal.h: Likewise.
13453         * hurd/hurdfault.c: Likewise.
13454         * hurd/hurdioctl.c: Likewise.
13455         * hurd/hurdlookup.c: Likewise.
13456         * hurd/intr-msg.c: Likewise.
13457         * iconv/gconv_open.c: Likewise.
13458         * libio/swprintf.c: Likewise.
13459         * locale/lc-ctype.c: Likewise.
13460         * locale/nl_langinfo.c: Likewise.
13461         * mach/Machrules: Likewise.
13462         * mach/Makefile: Likewise.
13463         * malloc/obstack.h: Likewise.
13464         * manual/Makefile: Likewise.
13465         * manual/tsort.awk: Likewise.
13466         * misc/bits/stab.def: Likewise.
13467         * nis/nis_print_group_entry.c: Likewise.
13468         * nis/nis_table.c: Likewise.
13469         * nis/nss_compat/compat-pwd.c: Likewise.
13470         * nis/nss_compat/compat-spwd.c: Likewise.
13471         * po/Makefile: Likewise.
13472         * posix/fnmatch.c: Likewise.
13473         * posix/regex.h: Likewise.
13474         * resolv/Makefile: Likewise.
13475         * resolv/nss_dns/dns-network.c: Likewise.
13476         * resolv/res_hconf.c: Likewise.
13477         * scripts/gen-sorted.awk: Likewise.
13478         * soft-fp/soft-fp.h: Likewise.
13479         * stdio-common/printf.h: Likewise.
13480         * stdlib/monetary.h: Likewise.
13481         * stdlib/random.c: Likewise.
13482         * stdlib/random_r.c: Likewise.
13483         * sysdeps/generic/Makefile: Likewise.
13484         * sysdeps/gnu/Makefile: Likewise.
13485         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
13486         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
13487         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
13488         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
13489         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
13490         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
13491         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
13492         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
13493         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
13494         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
13495         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
13496         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
13497         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
13498         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
13499         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
13500         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
13501         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
13502         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
13503         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
13504         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
13505         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
13506         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
13507         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
13508         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
13509         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
13510         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
13511         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
13512         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
13513         * sysdeps/mach/hurd/errnos.awk: Likewise.
13514         * sysdeps/mach/hurd/fork.c: Likewise.
13515         * sysdeps/mach/hurd/getcwd.c: Likewise.
13516         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
13517         * sysdeps/mach/hurd/mmap.c: Likewise.
13518         * sysdeps/mach/hurd/utimes.c: Likewise.
13519         * sysdeps/mach/hurd/xmknod.c: Likewise.
13520         * sysdeps/posix/profil.c: Likewise.
13521         * sysdeps/posix/readdir_r.c: Likewise.
13522         * sysdeps/powerpc/bits/mathdef.h: Likewise.
13523         * sysdeps/powerpc/bits/setjmp.h: Likewise.
13524         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
13525         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
13526         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
13527         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
13528         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
13529         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
13530         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
13531         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
13532         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
13533         * sysdeps/pthread/lio_listio.c: Likewise.
13534         * sysdeps/sparc/dl-procinfo.h: Likewise.
13535         * sysdeps/unix/i386/sysdep.S: Likewise.
13536         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
13537         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
13538         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
13539         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
13540         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
13541         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
13542         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
13543         * sysdeps/unix/sysv/linux/speed.c: Likewise.
13544         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
13545         * sysdeps/wordsize-32/divdi3.c: Likewise.
13546         * time/sys/time.h: Likewise.
13547         * wcsmbs/Makefile: Likewise.
13549 2013-01-01  David S. Miller  <davem@davemloft.net>
13551         * po/fr.po: Update from translation team.
13553         * catgets/gencat.c: Update copyright year.
13554         * csu/version.c: Likewise.
13555         * debug/catchsegv.sh: Likewise.
13556         * debug/pcprofiledump.c: Likewise.
13557         * debug/xtrace.sh: Likewise.
13558         * elf/ldconfig.c: Likewise.
13559         * elf/ldd.bash.in: Likewise.
13560         * elf/pldd.c: Likewise.
13561         * elf/sotruss.ksh: Likewise.
13562         * elf/sprof.c: Likewise.
13563         * iconv/iconv_prog.c: Likewise.
13564         * iconv/iconvconfig.c: Likewise.
13565         * locale/programs/locale.c: Likewise.
13566         * locale/programs/localedef.c: Likewise.
13567         * login/programs/pt_chown.c: Likewise.
13568         * malloc/memusage.sh: Likewise.
13569         * malloc/memusagestat.c: Likewise.
13570         * malloc/mtrace.pl: Likewise.
13571         * nscd/nscd.c: Likewise.
13572         * nss/getent.c: Likewise.
13573         * nss/makedb.c: Likewise.
13574         * posix/getconf.c: Likewise.
13576 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
13578         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
13579         numbers.
13581 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
13583         * math/bits/mathcalls.h (modf): Use __nonnull.
13585 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
13587         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
13588         (split): Use macro CN instead of the bare value.
13589         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
13590         could be used.
13591         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
13592         instead of the bare value.
13593         (power1): Likewise.
13595 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13597         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
13598         __ATAN_TWOM.
13599         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13601         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
13602         their values.
13603         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
13604         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
13605         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
13606         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
13608 2012-12-28  Andreas Jaeger  <aj@suse.de>
13610         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
13611         values are from Linux 3.7.
13613         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
13614         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
13616 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
13618         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
13619         TRUE case.
13621         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
13622         (norm): Likewise.
13623         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
13624         variables with preprocessor constants.
13625         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
13626         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
13627         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
13629 2012-12-27  Bruno Haible  <bruno@clisp.org>
13631         [BZ #14317]
13632         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
13633         only if needed.
13635 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
13637         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
13638         and use variable directly.
13639         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
13641         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
13642         MPONE.
13643         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
13644         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
13645         variable MPONE.
13646         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
13647         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
13648         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
13649         include directive.  Remove local variable MPONE.
13650         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
13651         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
13652         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
13654 2012-12-25  David S. Miller  <davem@davemloft.net>
13656         * version.h (RELEASE): Set to "development".
13657         (VERSION): Set to "2.17.90".
13658         * NEWS: Add 2.18 section.
13660 2012-12-21  David S. Miller  <davem@davemloft.net>
13662         * po/hr.po: Update from translation team.
13664 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
13666         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
13668 2012-12-19  Steve Ellcey  <sellcey@mips.com>
13670         * NEWS:  Mention new memcpy for MIPS.
13672 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
13674         * manual/contrib.texi (Contributors): Spelling correction.
13676 2012-12-15  David S. Miller  <davem@davemloft.net>
13678         * po/ru.po: Update from translation team.
13680 2012-12-13  David S. Miller  <davem@davemloft.net>
13682         * NEWS: Mention IFUNC testsuite enhancements.
13684         * po/pl.po: Update from translation team.
13685         * po/bg.po: Likewise.
13687         * manual/contrib.texi (Contributors): Update entries for Hongjiu
13688         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
13690 2012-12-11  David S. Miller  <davem@davemloft.net>
13692         * po/sv.po: Update from translation team.
13694         * po/vi.po: Update from translation team.
13696         * po/cs.po: Update from translation team.
13698         * po/de.po: Update from translation team.
13699         * po/eo.po: Likewise.
13700         * po/nl.po: Likewise.
13702 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
13704         [BZ #14246]
13705         * manual/argp.texi (Argp Helper Functions): Move node to follow
13706         Argp Parsing State.
13708         [BZ #14872]
13709         * manual/conf.texi (Limits on File System Capacity): Mention if
13710         terminating null is included in the max size.
13712 2012-12-10  Andreas Jaeger  <aj@suse.de>
13714         * po/cs.po: Update from translation team.
13716 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
13718         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
13719         void pointer and cast to uintptr_t.
13720         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
13721         path.
13722         * sysdeps/s390/s390-64/memcpy.S: Likewise.
13723         * sysdeps/s390/s390-64/memset.S: Likewise.
13725 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
13727         [BZ #14833]
13728         * menual/message.texi (Message Translation): Fix typos.
13729         (Helper programs for gettext): Likewise.
13731 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
13733         [BZ #14898]
13734         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
13735         Change to -1.
13737 2012-12-07  David S. Miller  <davem@davemloft.net>
13739         * po/libc.pot: Update.
13741 2012-12-07  Richard Henderson  <rth@redhat.com>
13743         [BZ #10114]
13744         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
13745         normal/normal case to before the switch.
13746         (_FP_DIV): Likewise.
13748 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
13749             Mike Frysinger  <vapier@gentoo.org>
13751         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
13752         check for __NR_fadvise64_64.
13754 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
13756         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
13757         0, not just to plain "0" as a statement.
13758         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
13759         with cw.
13761 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
13763         * NEWS: Use sourceware.org in Bugzilla URL.
13765 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
13767         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
13768         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13770         * stdio-common/tst-put-error.c (do_test): Add newline to the
13771         padded test to ensure flush.
13773 2012-12-05  Jeff Law  <law@redhat.com>
13775         * sunrpc/etc.rpc (fedfs_admin): Add entry.
13777 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
13779         * README: Don't refer to ports add-on as distributed separately.
13780         Mention AArch64 in list of systems supported in the ports add-on.
13782         * LICENSES: Add more non-FSF copyright and license notices.
13784         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
13785         ((unused)).
13787         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
13789         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
13790         10000 as width of padded output.
13792 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
13794         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
13796         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
13797         variable LX with __attribute__ ((unused)).
13798         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
13799         Likewise.
13800         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
13801         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
13802         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
13803         with __attribute__ ((unused)).
13805 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
13807         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
13809 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
13811         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
13812         (CFLAGS-nldbl-acos.c): New variable.
13813         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
13814         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
13815         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
13816         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
13817         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
13818         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
13819         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
13820         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
13821         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
13822         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
13823         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
13824         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
13825         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
13826         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
13827         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
13828         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
13829         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
13830         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
13831         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
13832         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
13833         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
13834         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
13835         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
13836         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
13837         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
13838         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
13839         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
13840         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
13841         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
13842         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
13843         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
13844         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
13845         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
13846         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
13847         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
13848         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
13849         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
13850         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
13851         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
13852         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
13853         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
13854         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
13855         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
13856         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
13857         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
13858         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
13859         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
13860         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
13861         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
13862         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
13863         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
13864         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
13865         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
13866         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
13867         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
13868         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
13869         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
13870         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
13871         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
13872         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
13873         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
13874         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
13875         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
13876         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
13877         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
13878         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
13879         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
13880         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
13881         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
13882         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
13883         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
13884         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
13885         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
13886         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
13887         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
13888         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
13889         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
13890         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
13891         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
13892         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
13893         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
13894         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
13895         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
13896         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
13897         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
13898         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
13899         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
13900         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
13901         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
13902         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
13903         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
13904         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
13905         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
13906         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
13907         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
13908         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
13909         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
13911         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
13912         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
13914         [BZ #14914]
13915         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
13916         whole low double instead of just low 47 bits when splitting values
13917         into two parts.
13919 2012-12-03  Allan McRae  <allan@archlinux.org>
13921         * manual/stdio.texi (Predefined Printf Handlers): Remove
13922         @hsep and @vsep usage.
13924 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
13926         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
13927         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
13929 2012-12-03  Jeff Law  <law@redhat.com>
13931         * time/sys/time.h (settimeofday): Do not mark TV argument
13932         as __nonnull.
13934 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
13936         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
13937         when currently writing and seek to current position when not.
13938         * libio/Makefile (tests): Remove bug-fclose1.
13939         * libio/bug-fclose1.c: Delete.
13941 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
13943         * manual/arith.texi (feenableexcept): Fix typo.
13944         (fedisableexcept): Likewise.
13946 2012-11-30  Roland McGrath  <roland@hack.frob.com>
13948         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
13949         second, differently-typed declaration, rather than a cast.
13951 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
13953         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
13954         * include/rpc/svc.h: ... here.
13956 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
13958         [BZ #13013]
13959         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
13960         depending n and resplen2 to catch cases where answer
13961         equals answerp2.
13963 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
13965         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
13966         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
13968 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
13970         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
13972 2012-11-29  Roland McGrath  <roland@hack.frob.com>
13974         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
13976 2012-11-28  Jeff Law  <law@redhat.com>
13978         [BZ #13761]
13979         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
13980         dataset_temporary.  Track alloca usage into alloca_used.
13981         If dataset is large allocate and release it via malloc/free.
13983 2012-06-04  Florian Weimer  <fweimer@redhat.com>
13985         [BZ #14197]
13986         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
13988 2012-11-28  David S. Miller  <davem@davemloft.net>
13990         * sysdeps/sparc/fpu/libm-test-ulps: Update.
13992 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
13994         [BZ #14803]
13995         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
13996         of pi/2 rounded to nearest to 64 bits.
13997         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
13998         nearest to 64 bits.
13999         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
14000         bits.
14002 2012-11-28  Jeff Law <law@redhat.com>
14003             Martin Osvald <mosvald@redhat.com>
14005         [BZ #14889]
14006         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
14007         * sunrpc/svc.c: Include time.h.
14008         (__svc_accept_failed): New function.
14009         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
14010         any reason other than EINTR, call __svc_accept_failed.
14011         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
14012         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
14014 2012-11-28  Andreas Schwab  <schwab@suse.de>
14016         * scripts/abilist.awk: Also handle indirect functions in .opd
14017         section.
14019 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
14021         [BZ #13881]
14022         * sysdeps/x86/fpu/powl_helper.c: New file.
14023         * sysdeps/x86/fpu/Makefile: Likewise.
14024         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
14025         (p3): New object.
14026         (__ieee754_powl): Use __powl_helper for finite arguments except
14027         integer exponents below 8.
14028         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
14029         (p3): New object.
14030         (__ieee754_powl): Use __powl_helper for finite arguments except
14031         integer exponents below 8.
14032         * math/libm-test.inc (pow_test): Add more tests and enable some
14033         previously disabled tests.
14034         * sysdeps/i386/fpu/libm-test-ulps: Update.
14035         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
14037 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
14038             Carlos O'Donell  <carlos_odonell@mentor.com>
14040         * nss/makedb.c (is_prime): Assert that input is odd and greater
14041         than 4.  Note that fact in a comment too.
14042         (next_prime): Add 4 to input.
14044 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
14046         [BZ #11741]
14047         * libio/Makefile (tests): Add test case tst-fwrite-error.
14048         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
14049         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
14050         * libio/tst-fwrite-error.c: New test case.
14052 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
14054         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
14055         before casting to void *.
14056         * include/libc-internal.h (__pointer_type): New macro.
14057         (__integer_if_pointer_type_sub): Likewise.
14058         (__integer_if_pointer_type): Likewise.
14059         (cast_to_integer): Likewise.
14060         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
14061         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
14062         before casting to atomic64_t.
14063         (atomic_exchange_acq): Likewise.
14064         (__arch_exchange_and_add_body): Likewise.
14065         (__arch_add_body): Likewise.
14066         (atomic_add_negative): Likewise.
14067         (atomic_add_zero): Likewise.
14069 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
14071         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
14072         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
14073         (add_fdes): Likewise.
14074         (linear_search_fdes): Likewise.
14075         (binary_search_unencoded_fdes): Likewise.
14077 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
14079         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
14081 2012-11-24  Adam Conrad  <adconrad@0c3.net>
14083         * configure.in: Autodetect C++ header directories.
14084         * configure: Regenerated.
14086 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
14088         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
14090 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
14092         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
14094 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
14096         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
14097         LDBL_MANT_DIG == 106]: Disable some tests.
14098         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14099         Likewise.
14100         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
14101         Likewise.
14103         [BZ #14871]
14104         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
14105         input for small inputs.  Return +/- pi/2 for large inputs.
14106         * math/libm-test.inc (atan_test): Add more tests.
14108         * sysdeps/generic/unwind-dw2-fde-glibc.c
14109         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
14110         __attribute__ ((unused)).
14112         [BZ #14645]
14113         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
14114         x * y if x and y are nonzero and z is zero.
14116         [BZ #14811]
14117         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
14118         nonzero exponents with absolute value below 0x1p-117 to +/-
14119         0x1p-117.
14121         [BZ #14869]
14122         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
14123         up arguments below 2**-450, not just those below 2**-500.
14124         * math/libm-test.inc (hypot_test): Add another test.
14126         [BZ #14868]
14127         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
14128         Return a+b for ratio over 2**120, not 2**60.
14129         * math/libm-test.inc (hypot_test): Add another test.
14131         * math/libm-test.inc (clog_test): Use
14132         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
14133         (clog10_test): Likewise.
14135         [BZ #6778]
14136         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
14138 2012-11-22  Andreas Schwab  <schwab@suse.de>
14140         * sysdeps/i386/fpu/libm-test-ulps: Update.
14142 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
14144         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
14145         printf output with newline.
14147 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
14149         [BZ #14865]
14150         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
14151         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
14152         -z nodlopen, -z initfirst and -z execstack support.
14153         * configure: Regenerated.
14155         * elf/elf.h (DF_1_NODIRECT): New macro.
14156         (DF_1_IGNMULDEF): Likewise.
14157         (DF_1_NOKSYMS): Likewise.
14158         (DF_1_NOHDR): Likewise.
14159         (DF_1_EDITED): Likewise.
14160         (DF_1_NORELOC): Likewise.
14161         (DF_1_SYMINTPOSE): Likewise.
14162         (DF_1_GLOBAUDIT): Likewise.
14163         (DF_1_SINGLETON): Likewise.
14164         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
14165         DT_1_SUPPORTED_MASK bits.
14166         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
14168 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
14170         * sysdeps/unix/make-syscalls.sh: Document prefixes.
14172 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
14174         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
14175         macro.
14177         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
14178         (sendmmsg): Move declarations...
14179         * socket/sys/socket.h: ... here.
14180         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
14181         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
14182         include it from...
14183         * socket/recvmmsg.c: ... this new file.
14184         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
14185         (sendmmsg): Rename to __sendmmsg, create weak alias and make
14186         definition of __sendmmsg hidden.
14187         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
14188         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
14189         Move ENOSYS stub into and include it from...
14190         * socket/sendmmsg.c: ... this new file.
14191         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
14192         (sysdep_routines): Move recvmmsg and sendmmsg...
14193         * socket/Makefile (routines): ... here.
14194         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
14195         (GLIBC_PRIVATE): Add __sendmmsg.
14196         * include/sys/socket.h (__sendmmsg): Add declarations.
14197         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
14198         sendmmsg.
14200 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
14202         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
14203         variable I1 with __attribute__ ((unused)).
14204         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
14206 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
14208         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
14209         DUMMY variables with __attribute__ ((unused)).
14211         * bits/byteswap.h: Include <bits/types.h>.
14212         (__bswap_64): Use __uint64_t instead of unsigned long long int.
14214 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
14216         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
14217         string_t.  Do not manually set errno.
14218         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
14219         length with __strnlen.  Make sure to both set errno and return it on
14220         failure.
14222 2012-11-19  David S. Miller  <davem@davemloft.net>
14224         With help from Joseph Myers.
14225         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
14226         very large arguments properly.
14227         * math/libm-test.inc (atan_test): New tests.
14228         (atan2_test): New tests.
14229         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14230         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14232 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
14234         [BZ #14856]
14235         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
14236         Define to 3.
14238         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
14239         [POSIX] (EADDRNOTAVAIL): Likewise.
14240         [POSIX] (EAFNOSUPPORT): Likewise.
14241         [POSIX] (EALREADY): Likewise.
14242         [POSIX] (ECONNABORTED): Likewise.
14243         [POSIX] (ECONNREFUSED): Likewise.
14244         [POSIX] (ECONNRESET): Likewise.
14245         [POSIX] (EDESTADDRREQ): Likewise.
14246         [POSIX] (EDQUOT): Likewise.
14247         [POSIX] (EHOSTUNREACH): Likewise.
14248         [POSIX] (EIDRM): Likewise.
14249         [POSIX] (EISCONN): Likewise.
14250         [POSIX] (ELOOP): Likewise.
14251         [POSIX] (EMULTIHOP): Likewise.
14252         [POSIX] (ENETDOWN): Likewise.
14253         [POSIX] (ENETUNREACH): Likewise.
14254         [POSIX] (ENOBUFS): Likewise.
14255         [POSIX] (ENODATA): Likewise.
14256         [POSIX] (ENOLINK): Likewise.
14257         [POSIX] (ENOMSG): Likewise.
14258         [POSIX] (ENOPROTOOPT): Likewise.
14259         [POSIX] (ENOSR): Likewise.
14260         [POSIX] (ENOSTR): Likewise.
14261         [POSIX] (ENOTCONN): Likewise.
14262         [POSIX] (ENOTSOCK): Likewise.
14263         [POSIX] (EOPNOTSUPP): Likewise.
14264         [POSIX] (EOVERFLOW): Likewise.
14265         [POSIX] (EPROTO): Likewise.
14266         [POSIX] (EPROTONOSUPPORT): Likewise.
14267         [POSIX] (EPROTOTYPE): Likewise.
14268         [POSIX] (ESTALE): Likewise.
14269         [POSIX] (ETIME): Likewise.
14270         [POSIX] (ETXTBSY): Likewise.
14271         [POSIX] (EWOULDBLOCK): Likewise.
14272         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
14273         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
14274         [POSIX] (SEEK_CUR): Likewise.
14275         [POSIX] (SEEK_END): Likewise.
14276         [POSIX || UNIX98] (mode_t): Do not require.
14277         [POSIX] (off_t): Likewise.
14278         [POSIX] (pid_t): Likewise.
14279         [POSIX] (sys/stat.h): Do not allow header.
14280         [POSIX] (unistd.h): Likewise.
14281         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
14282         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
14283         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
14284         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
14285         require.
14286         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
14287         sigevent): Specify elements.
14288         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
14289         entry.
14290         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
14291         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
14293         * conform/data/cpio.h-data [POSIX]: Disable whole file.
14294         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
14295         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
14296         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
14297         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
14298         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
14299         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
14300         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
14301         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
14302         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
14303         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
14304         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
14305         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
14306         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
14307         Likewise.
14308         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
14309         Likewise.
14310         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
14311         Likewise.
14312         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
14313         Likewise.
14314         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
14315         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
14316         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
14317         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
14318         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
14319         Specify lower bound on value.
14320         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
14321         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
14322         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
14323         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
14324         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
14325         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise
14326         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
14327         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
14328         value.
14329         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
14330         as optional.
14331         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
14332         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
14333         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
14334         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
14335         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
14336         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
14337         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
14338         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
14339         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
14340         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
14341         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
14342         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
14343         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
14344         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
14345         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
14346         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
14347         entry.
14348         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
14349         optional.
14350         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
14351         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
14352         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
14353         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
14354         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
14355         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
14356         Likewise.
14357         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
14358         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
14359         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
14360         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
14361         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
14362         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
14363         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
14364         as optional.
14365         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
14366         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
14367         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
14368         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
14369         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
14370         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
14371         specify as optional.
14372         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
14373         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
14374         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
14375         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
14376         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
14377         [XPG3] (NL_LANGMAX): Likewise.
14378         [POSIX || XPG3] (NL_MSGMAX): Likewise.
14379         [POSIX || XPG3] (NL_NMAX): Likewise.
14380         [POSIX || XPG3] (NL_SETMAX): Likewise.
14381         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
14382         [XPG3] (NZERO): Likewise.
14383         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
14384         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
14385         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
14386         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
14387         (REG_ERANGE): Expect.
14388         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
14389         optional-constant.
14390         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
14391         Use (void) in prototype.
14392         [POSIX] (*_t): Allow.
14393         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
14394         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
14395         (WRDE_BADVAL): Expect.
14397         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
14398         expect.
14399         [XPG3 || XPG4] (O_RSYNC): Likewise.
14400         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
14401         Likewise.
14402         [XPG3 || XPG4] (pthread_sigmask): Likewise.
14403         [XPG3 || XPG4] (sigqueue): Likewise.
14404         [XPG3 || XPG4] (sigtimedwait): Likewise.
14405         [XPG3 || XPG4] (sigwaitinfo): Likewise.
14406         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
14407         [XPG3 || XPG4] (vsnprintf): Likewise.
14408         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
14409         Likewise.
14410         [XPG3 || XPG4] (blksize_t): Likewise.
14411         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
14412         Likewise.
14413         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
14414         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
14415         [XPG3 || XPG4] (struct itimerspec): Likewise.
14416         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
14417         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
14418         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
14419         [XPG3 || XPG4] (clockid_t): Likewise.
14420         [XPG3 || XPG4] (timer_t): Likewise.
14421         [XPG3 || XPG4] (clock_getres): Likewise.
14422         [XPG3 || XPG4] (clock_gettime): Likewise.
14423         [XPG3 || XPG4] (clock_settime): Likewise.
14424         [XPG3 || XPG4] (nanosleep): Likewise.
14425         [XPG3 || XPG4] (timer_create): Likewise.
14426         [XPG3 || XPG4] (timer_delete): Likewise.
14427         [XPG3 || XPG4] (timer_gettime): Likewise.
14428         [XPG3 || XPG4] (timer_getoverrun): Likewise.
14429         [XPG3 || XPG4] (timer_settime): Likewise.
14430         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
14431         [XPG3 || XPG4] (getlogin_r): Likewise.
14432         [XPG3 || XPG4] (pread): Likewise.
14433         [XPG3 || XPG4] (pthread_atfork): Likewise.
14434         [XPG3 || XPG4] (pwrite): Likewise.
14436         [BZ #14835]
14437         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
14438         <bits/siginfo.h>.
14440 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
14442         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
14443         finalizing MALLSTREAM.
14445         * sysdeps/mach/hurd/syncfs.c: New file.
14447 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
14449         [BZ #14719]
14450         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
14451         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
14452         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
14453         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
14454         (_nss_dns_gethostbyname4_r): Likewise.
14455         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
14456         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
14458 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
14460         [BZ #13763]
14461         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
14463 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
14465         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
14466         * elf/cache.c (print_entry): Print ",AArch64" for
14467         FLAG_AARCH64_LIB64
14469         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
14470         * elf/cache.c (print_entry): Print ",hard-float" for
14471         FLAG_ARM_LIBHF.
14473 2012-11-18  David S. Miller  <davem@davemloft.net>
14475         With help from Joseph Myers.
14476         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
14477         cutoff to 2**-13.
14478         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
14479         cutoff to 2**-25.
14480         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
14481         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
14482         small.
14483         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
14484         * math/libm-test.inc (y0_test): New tests.
14485         (y1_test): New tests.
14486         * sysdeps/i386/fpu/libm-test-ulps: Update.
14487         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
14488         * sysdeps/sparc/fpu/libm-test-ulps: Update.
14490 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
14492         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
14493         64-bit targets.
14494         * configure: Regenerated.
14496 2012-11-17  David S. Miller  <davem@davemloft.net>
14498         [BZ #14811]
14499         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
14500         nonzero exponents with absolute value below 0x1p-128 to +/-
14501         0x1p-128.
14503 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
14505         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
14507         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
14509         * posix/getconf-speclist.c: New file.
14510         * posix/posix-envs.def: Likewise.
14511         * posix/confstr.c (START_ENV_GROUP): New macro.
14512         (END_ENV_GROUP): Likewise.
14513         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14514         (KNOWN_PRESENT_ENV_STRING): Likewise.
14515         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14516         (UNKNOWN_ENVIRONMENT): Likewise.
14517         (confstr): Include posix-envs.def instead of handling
14518         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
14519         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
14520         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
14521         (END_ENV_GROUP): Likewise.
14522         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
14523         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
14524         (UNKNOWN_ENVIRONMENT): Likewise.
14525         (__sysconf): Include posix-envs.def instead of handling associated
14526         cases directly here.
14527         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
14528         preprocessing getconf-speclist.c rather than running getconf or
14529         generating empty file.
14531 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
14533         * scripts/check-local-headers.sh: Ignore 'mach' headers.
14535 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
14537         [BZ #14672]
14538         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
14540 2012-11-16  David S. Miller  <davem@davemloft.net>
14542         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
14543         smaller than LDBL_EPSILON/2.0L, just return xm1.
14545 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
14547         * elf/tst-array1.c (init): Set constructor priority to 1000.
14548         (fini): Set destructor priority to 1000.
14549         * elf/tst-array2dep.c: Likewise.
14551 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14553         [BZ #11741]
14554         * libio/fileops.c (_IO_new_file_write): Correctly return error.
14555         (_IO_new_file_xsputn): Also return EOF if none of the input
14556         data was written when overflow failed.
14557         * libio/iopadn.c (_IO_padn): Likewise.
14558         * libio/iowpadn.c (_IO_wpadn): Likewise.
14559         * stdio-common/tst-put-error.c: Add copyright notice.
14560         (do_test): Add case for printing padded string.
14561         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
14562         _IO_padn returned error.
14563         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
14564         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
14565         return EOF.
14567 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
14569         * libio/libioP.h: Add comment note that the references to C++
14570         bits are now obsolete.
14572 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14574         * math/libm-test.inc (check_complex): Use asprintf.
14576 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
14578         * debug/pcprofiledump.c (print_version): Update copyright year.
14579         * malloc/memusagestat.c (print_version): Likewise.
14581 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
14583         [BZ #14831]
14584         * elf/Makefile (tests): Add tst-audit8.
14585         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
14586         ($(objpfx)tst-audit8.out): New target.
14587         (tst-audit8-ENV): New variable.
14588         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
14589         audit if l_reloc_result is NULL.
14590         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
14591         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
14592         * elf/tst-audit8.c: New file.
14594 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14596         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
14597         * misc/Makefile (CFLAGS-select.c): Define.
14598         * posix/Makefile (CFLAGS-pause.c): Define.
14600 2012-11-13  David S. Miller  <davem@davemloft.net>
14602         * crypt/Makefile: Move test targets after toplevel Rules
14603         inclusion.  Grab any necessary sysdep routines when linking.
14604         * crypt/md5.c (md5_process_block): Remove define, we will always
14605         name it __md5_process_block.
14606         (md5_finish_ctx): Update md5_process_block call.
14607         (md5_stream): Likewise.
14608         (md5_process_bytes): Likewise.
14609         (md5_process_block): Rename to __md5_process_block and move to ...
14610         * crypt/md5-block.c: ... here.
14611         * crypt/sha256.c (sha256_process_block): Move to ...
14612         * crypt/sha256-block.c: ... here.
14613         * crypt/sha512.c (sha512_process_block): Move to ...
14614         * crypt/sha512-block.c: ... here.
14615         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
14616         path.
14617         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
14618         * sysdeps/sparc/sparc64/multiarch/Makefile
14619         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
14620         crypt subdir.
14621         (localedef-aux): Add md5 crypto assembler when in locale subdir.
14622         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
14623         multiarch changes.
14624         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
14625         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
14626         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
14627         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
14628         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
14629         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
14630         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
14631         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
14632         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
14633         file.
14634         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
14635         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
14636         file.
14637         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
14639 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
14641         * timezone/tzselect.ksh: Update from tzcode git revision
14642         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
14643         * timezone/zdump.c: Likewise.
14644         * timezone/zic.c: Likewise.
14645         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
14646         in TZVERSION setting, not $(PKGVERSION).
14647         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
14648         REPORT_BUGS_TO settings.
14650         [BZ #14838]
14651         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
14652         macro.
14654 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14656         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
14657         detection to immediately after _FP_ROUND().
14658         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
14659         bits are 0.
14661 2012-11-11  David S. Miller  <davem@davemloft.net>
14663         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
14664         inttypes.h
14665         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
14666         __close rather than their public counterparts.
14668 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
14670         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
14671         file.
14672         [UNIX98] (sem_timedwait): Do not expect.
14673         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
14674         [XPG4 || UNIX98] (sockatmark): Do not expect.
14675         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
14676         (clock_getcpuclockid): Do not expect.
14677         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
14678         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
14679         Do not expect.
14680         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
14681         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
14682         [UNIX98] (vwscanf): Likewise.
14683         [UNIX98] (vswscanf): Likewise.
14685 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
14687         * timezone/version.h: Remove file.
14688         * timezone/README: Do not refer to version.h.
14689         * timezone/Makefile ($(objpfx)zic.o): New dependency on
14690         $(objpfx)version.h.
14691         ($(objpfx)zdump.o): Likewise.
14692         ($(objpfx)version.h): New target.
14694         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
14695         2012i.
14696         * timezone/README: Don't mention modification to tzselect.ksh.
14697         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
14698         work on unmodified tzselect.ksh.  Substitute version numbers in
14699         tzselect.ksh.
14701         * Makefile (format-me): Remove.
14702         (INSTALL): Adjust indentation.  Use commands directly instead of
14703         using $(format-me).
14705         * aclocal.m4 (ACX_PKGVERSION): New macro.
14706         (ACX_BUGURL): Likewise.
14707         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
14708         (PKGVERSION): New AC_DEFINE_UNQUOTED.
14709         (REPORT_BUGS_TO): Likewise.
14710         * configure: Regenerated.
14711         * config.h.in (PKGVERSION): New macro.
14712         (REPORT_BUGS_TO): Likewise.
14713         * config.make.in (PKGVERSION): New variable.
14714         (PKGVERSION_TEXI): Likewise.
14715         (REPORT_BUGS_TO): Likewise.
14716         (REPORT_BUGS_TEXI): Likewise.
14717         * Makefile (format-me): Use -I$(common-objpfx)manual.
14718         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
14719         ($(common-objpfx)manual/%): New target.
14720         (manual/%): Remove target.
14721         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
14722         (print_version): Use PKGVERSION.
14723         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
14724         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
14725         and REPORT_BUGS_TO.
14726         ($(objpfx)xtrace): Likewise.
14727         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
14728         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
14729         (print_version): Use PKGVERSION.
14730         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
14731         (do_version): Use PKGVERSION.
14732         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
14733         REPORT_BUGS_TO.
14734         (common-ldd-rewrite): Likewise.
14735         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
14736         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
14737         (print_version): Use PKGVERSION.
14738         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
14739         * elf/pldd.c (argp_program_bug_address): Remove variable.
14740         (more_help): New function.
14741         (argp): Use more_help.
14742         (print_version): Use PKGVERSION.
14743         * elf/sln.c (main): Use PKGVERSION.
14744         (usage): Use REPORT_BUGS_TO.
14745         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
14746         (top level): Use PKGVERSION.
14747         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
14748         (print_version): Use PKGVERSION.
14749         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
14750         (print_version): Use PKGVERSION.
14751         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
14752         (print_version): Use PKGVERSION.
14753         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
14754         (print_version): Use PKGVERSION.
14755         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
14756         (print_version): Use PKGVERSION.
14757         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
14758         (print_version): Use PKGVERSION.
14759         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
14760         and BUGURL.
14761         ($(objpfx)memusage): Likewise.
14762         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
14763         (do_version): Use PKGVERSION.
14764         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
14765         (print_version): Use PKGVERSION.
14766         * malloc/mtrace.pl ($PACKAGE): Remove variable.
14767         ($PKGVERSION): New variable.
14768         ($REPORT_BUGS_TO): Likewise.
14769         (usage): Use $REPORT_BUGS_TO.
14770         (top level): Use $PKGVERSION.
14771         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
14772         ($(objpfx)pkgvers.texi): New rule.
14773         ($(objpfx)stamp-pkgvers): Likewise.
14774         * manual/install.texi: Include pkgvers.texi.
14775         (--with-pkgversion): Document new configure option.
14776         (--with-bugurl): Likewise.
14777         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
14778         than necessarily for this particular distribution.  Use
14779         REPORT_BUGS_TO for where to report bugs.
14780         * INSTALL: Regenerated.
14781         * manual/libc.texinfo: Include pkgvers.texi.
14782         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
14783         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
14784         (print_version): Use PKGVERSION.
14785         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
14786         (print_version): Use PKGVERSION.
14787         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
14788         (print_version): Use PKGVERSION.
14789         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
14790         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
14791         macro.
14792         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
14793         (print_version): Use PKGVERSION.
14794         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
14795         (print_version): Use PKGVERSION.
14796         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
14797         and PKGVERSION.
14799         * timezone/checktab.awk: Update from tzcode 2012i.
14800         * timezone/ialloc.c: Likewise.
14801         * timezone/private.h: Likewise.
14802         * timezone/scheck.c: Likewise.
14803         * timezone/tzfile.h: Likewise.
14804         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
14805         (TZVERSION): Hardcode tzcode version number.
14806         * timezone/zdump.c: Update from tzcode 2012i.
14807         * timezone/zic.c: Likewise.
14808         * timezone/version.h: New file.
14809         * timezone/README: Describe version.h.  Update upstream location.
14811         [BZ #14824]
14812         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
14813         (mktemp): Enable declaration.
14814         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
14815         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
14816         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
14817         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
14818         Likewise.
14819         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
14820         Likewise.
14821         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
14822         Likewise.
14823         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
14824         Likewise.
14825         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
14826         Likewise.
14827         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
14828         Likewise.
14830         [BZ #14821]
14831         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
14832         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
14833         for copies of such integer values.
14834         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
14835         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
14837 2012-11-09  Andreas Jaeger  <aj@suse.de>
14839         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
14840         definitions and declarations that are provided by
14841         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
14843 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
14845         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
14846         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
14847         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
14848         definition.
14850 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
14852         * elf/elf.h: Update comment before AArch64 relocations.
14854 2012-11-07  David S. Miller  <davem@davemloft.net>
14856         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
14857         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
14858         (__start_context): Declare.
14859         (__makecontext_ret): Delete.
14860         (__makecontext): Hook up __start_context instead of
14861         __makecontext_ret.
14862         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
14863         (sysdep_routines): Add __start_context when in stdlib.
14865 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
14867         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
14868         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
14869         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
14870         hardcoded "nm".
14871         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
14872         (READELF): New variable.  Use it instead of hardcoded "readelf".
14874 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
14876         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
14877         * sysdeps/x86/Makefile: Here.
14878         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
14879         * sysdeps/x86/tst-xmmymm.sh: This.
14881 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
14883         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
14884         expectations.
14885         [UNIX98] (pthread_barrier_t): Do not expect.
14886         [UNIX98] (pthread_barrierattr_t): Likewise.
14887         [UNIX98] (pthread_spinlock_t): Likewise.
14888         [UNIX98] (pthread_barrier_destroy): Likewise.
14889         [UNIX98] (pthread_barrier_init): Likewise.
14890         [UNIX98] (pthread_barrier_wait): Likewise.
14891         [UNIX98] (pthread_barrierattr_destroy): Likewise.
14892         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
14893         [UNIX98] (pthread_barrierattr_init): Likewise.
14894         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
14895         [UNIX98] (pthread_getcpuclockid): Likewise.
14896         [UNIX98] (pthread_mutex_timedlock): Likewise.
14897         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
14898         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
14899         [UNIX98] (pthread_sigmask): Likewise.
14900         [UNIX98] (pthread_spin_destroy): Likewise.
14901         [UNIX98] (pthread_spin_init): Likewise.
14902         [UNIX98] (pthread_spin_lock): Likewise.
14903         [UNIX98] (pthread_spin_trylock): Likewise.
14904         [UNIX98] (pthread_spin_unlock): Likewise.
14905         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
14906         Do not expect.
14907         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
14908         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
14909         [XPG3 || XPG4] (pthread_cond_t): Likewise.
14910         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
14911         [XPG3 || XPG4] (pthread_key_t): Likewise.
14912         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
14913         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
14914         [XPG3 || XPG4] (pthread_once_t): Likewise.
14915         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
14916         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
14917         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
14918         [XPG3 || XPG4] (pthread_t): Likewise.
14920         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
14921         not expect.
14922         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
14924         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
14925         Change function return type to int.
14927         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
14928         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
14929         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
14930         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
14931         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
14932         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
14933         [!POSIX] (posix_madvise): Likewise.
14934         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
14935         && !UNIX98].
14936         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
14937         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
14938         (mode_t): Likewise.
14939         (posix_mem_offset): Likewise.
14940         (posix_typed_mem_get_info): Likewise.
14941         (posix_typed_mem_open): Likewise.
14943         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
14944         Change condition to [XOPEN2K8].
14946         * conform/conformtest.pl: Preprocess allow-header data with -x c
14947         instead of from stdin.
14948         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
14949         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
14950         [C99-based standards] (cerfc): Likewise.
14951         [C99-based standards] (cexp2): Likewise.
14952         [C99-based standards] (cexpm1): Likewise.
14953         [C99-based standards] (clog10): Likewise.
14954         [C99-based standards] (clog1p): Likewise.
14955         [C99-based standards] (clog2): Likewise.
14956         [C99-based standards] (clgamma): Likewise.
14957         [C99-based standards] (ctgamma): Likewise.
14958         [C99-based standards] (cerff): Likewise.
14959         [C99-based standards] (cerfcf): Likewise.
14960         [C99-based standards] (cexp2f): Likewise.
14961         [C99-based standards] (cexpm1f): Likewise.
14962         [C99-based standards] (clog10f): Likewise.
14963         [C99-based standards] (clog1pf): Likewise.
14964         [C99-based standards] (clog2f): Likewise.
14965         [C99-based standards] (clgammaf): Likewise.
14966         [C99-based standards] (ctgammaf): Likewise.
14967         [C99-based standards] (cerfl): Likewise.
14968         [C99-based standards] (cerfcl): Likewise.
14969         [C99-based standards] (cexp2l): Likewise.
14970         [C99-based standards] (cexpm1l): Likewise.
14971         [C99-based standards] (clog10l): Likewise.
14972         [C99-based standards] (clog1pl): Likewise.
14973         [C99-based standards] (clog2l): Likewise.
14974         [C99-based standards] (clgammal): Likewise.
14975         [C99-based standards] (ctgammal): Likewise.
14976         * conform/data/inttypes.h-data [C99-based standards]: Include
14977         stdint.h-data.  Remove all expectations for stdint.h contents.
14978         [C99-based standards] (PRI*): Do not allow.
14979         [C99-based standards] (SCN*): Likewise.
14980         [C99-based standards] (*_t): Likewise.
14981         [C99-based-standards] (PRId8): Expect macro.
14982         [C99-based-standards] (PRIi8): Likewise.
14983         [C99-based-standards] (PRIo8): Likewise.
14984         [C99-based-standards] (PRIu8): Likewise.
14985         [C99-based-standards] (PRIx8): Likewise.
14986         [C99-based-standards] (PRIX8): Likewise.
14987         [C99-based-standards] (SCNd8): Likewise.
14988         [C99-based-standards] (SCNi8): Likewise.
14989         [C99-based-standards] (SCNo8): Likewise.
14990         [C99-based-standards] (SCNu8): Likewise.
14991         [C99-based-standards] (SCNx8): Likewise.
14992         [C99-based-standards] (PRIdLEAST8): Likewise.
14993         [C99-based-standards] (PRIiLEAST8): Likewise.
14994         [C99-based-standards] (PRIoLEAST8): Likewise.
14995         [C99-based-standards] (PRIuLEAST8): Likewise.
14996         [C99-based-standards] (PRIxLEAST8): Likewise.
14997         [C99-based-standards] (PRIXLEAST8): Likewise.
14998         [C99-based-standards] (SCNdLEAST8): Likewise.
14999         [C99-based-standards] (SCNiLEAST8): Likewise.
15000         [C99-based-standards] (SCNoLEAST8): Likewise.
15001         [C99-based-standards] (SCNuLEAST8): Likewise.
15002         [C99-based-standards] (SCNxLEAST8): Likewise.
15003         [C99-based-standards] (PRIdFAST8): Likewise.
15004         [C99-based-standards] (PRIiFAST8): Likewise.
15005         [C99-based-standards] (PRIoFAST8): Likewise.
15006         [C99-based-standards] (PRIuFAST8): Likewise.
15007         [C99-based-standards] (PRIxFAST8): Likewise.
15008         [C99-based-standards] (PRIXFAST8): Likewise.
15009         [C99-based-standards] (SCNdFAST8): Likewise.
15010         [C99-based-standards] (SCNiFAST8): Likewise.
15011         [C99-based-standards] (SCNoFAST8): Likewise.
15012         [C99-based-standards] (SCNuFAST8): Likewise.
15013         [C99-based-standards] (SCNxFAST8): Likewise.
15014         [C99-based-standards] (PRId16): Likewise.
15015         [C99-based-standards] (PRIi16): Likewise.
15016         [C99-based-standards] (PRIo16): Likewise.
15017         [C99-based-standards] (PRIu16): Likewise.
15018         [C99-based-standards] (PRIx16): Likewise.
15019         [C99-based-standards] (PRIX16): Likewise.
15020         [C99-based-standards] (SCNd16): Likewise.
15021         [C99-based-standards] (SCNi16): Likewise.
15022         [C99-based-standards] (SCNo16): Likewise.
15023         [C99-based-standards] (SCNu16): Likewise.
15024         [C99-based-standards] (SCNx16): Likewise.
15025         [C99-based-standards] (PRIdLEAST16): Likewise.
15026         [C99-based-standards] (PRIiLEAST16): Likewise.
15027         [C99-based-standards] (PRIoLEAST16): Likewise.
15028         [C99-based-standards] (PRIuLEAST16): Likewise.
15029         [C99-based-standards] (PRIxLEAST16): Likewise.
15030         [C99-based-standards] (PRIXLEAST16): Likewise.
15031         [C99-based-standards] (SCNdLEAST16): Likewise.
15032         [C99-based-standards] (SCNiLEAST16): Likewise.
15033         [C99-based-standards] (SCNoLEAST16): Likewise.
15034         [C99-based-standards] (SCNuLEAST16): Likewise.
15035         [C99-based-standards] (SCNxLEAST16): Likewise.
15036         [C99-based-standards] (PRIdFAST16): Likewise.
15037         [C99-based-standards] (PRIiFAST16): Likewise.
15038         [C99-based-standards] (PRIoFAST16): Likewise.
15039         [C99-based-standards] (PRIuFAST16): Likewise.
15040         [C99-based-standards] (PRIxFAST16): Likewise.
15041         [C99-based-standards] (PRIXFAST16): Likewise.
15042         [C99-based-standards] (SCNdFAST16): Likewise.
15043         [C99-based-standards] (SCNiFAST16): Likewise.
15044         [C99-based-standards] (SCNoFAST16): Likewise.
15045         [C99-based-standards] (SCNuFAST16): Likewise.
15046         [C99-based-standards] (SCNxFAST16): Likewise.
15047         [C99-based-standards] (PRId32): Likewise.
15048         [C99-based-standards] (PRIi32): Likewise.
15049         [C99-based-standards] (PRIo32): Likewise.
15050         [C99-based-standards] (PRIu32): Likewise.
15051         [C99-based-standards] (PRIx32): Likewise.
15052         [C99-based-standards] (PRIX32): Likewise.
15053         [C99-based-standards] (SCNd32): Likewise.
15054         [C99-based-standards] (SCNi32): Likewise.
15055         [C99-based-standards] (SCNo32): Likewise.
15056         [C99-based-standards] (SCNu32): Likewise.
15057         [C99-based-standards] (SCNx32): Likewise.
15058         [C99-based-standards] (PRIdLEAST32): Likewise.
15059         [C99-based-standards] (PRIiLEAST32): Likewise.
15060         [C99-based-standards] (PRIoLEAST32): Likewise.
15061         [C99-based-standards] (PRIuLEAST32): Likewise.
15062         [C99-based-standards] (PRIxLEAST32): Likewise.
15063         [C99-based-standards] (PRIXLEAST32): Likewise.
15064         [C99-based-standards] (SCNdLEAST32): Likewise.
15065         [C99-based-standards] (SCNiLEAST32): Likewise.
15066         [C99-based-standards] (SCNoLEAST32): Likewise.
15067         [C99-based-standards] (SCNuLEAST32): Likewise.
15068         [C99-based-standards] (SCNxLEAST32): Likewise.
15069         [C99-based-standards] (PRIdFAST32): Likewise.
15070         [C99-based-standards] (PRIiFAST32): Likewise.
15071         [C99-based-standards] (PRIoFAST32): Likewise.
15072         [C99-based-standards] (PRIuFAST32): Likewise.
15073         [C99-based-standards] (PRIxFAST32): Likewise.
15074         [C99-based-standards] (PRIXFAST32): Likewise.
15075         [C99-based-standards] (SCNdFAST32): Likewise.
15076         [C99-based-standards] (SCNiFAST32): Likewise.
15077         [C99-based-standards] (SCNoFAST32): Likewise.
15078         [C99-based-standards] (SCNuFAST32): Likewise.
15079         [C99-based-standards] (SCNxFAST32): Likewise.
15080         [C99-based-standards] (PRId64): Likewise.
15081         [C99-based-standards] (PRIi64): Likewise.
15082         [C99-based-standards] (PRIo64): Likewise.
15083         [C99-based-standards] (PRIu64): Likewise.
15084         [C99-based-standards] (PRIx64): Likewise.
15085         [C99-based-standards] (PRIX64): Likewise.
15086         [C99-based-standards] (SCNd64): Likewise.
15087         [C99-based-standards] (SCNi64): Likewise.
15088         [C99-based-standards] (SCNo64): Likewise.
15089         [C99-based-standards] (SCNu64): Likewise.
15090         [C99-based-standards] (SCNx64): Likewise.
15091         [C99-based-standards] (PRIdLEAST64): Likewise.
15092         [C99-based-standards] (PRIiLEAST64): Likewise.
15093         [C99-based-standards] (PRIoLEAST64): Likewise.
15094         [C99-based-standards] (PRIuLEAST64): Likewise.
15095         [C99-based-standards] (PRIxLEAST64): Likewise.
15096         [C99-based-standards] (PRIXLEAST64): Likewise.
15097         [C99-based-standards] (SCNdLEAST64): Likewise.
15098         [C99-based-standards] (SCNiLEAST64): Likewise.
15099         [C99-based-standards] (SCNoLEAST64): Likewise.
15100         [C99-based-standards] (SCNuLEAST64): Likewise.
15101         [C99-based-standards] (SCNxLEAST64): Likewise.
15102         [C99-based-standards] (PRIdFAST64): Likewise.
15103         [C99-based-standards] (PRIiFAST64): Likewise.
15104         [C99-based-standards] (PRIoFAST64): Likewise.
15105         [C99-based-standards] (PRIuFAST64): Likewise.
15106         [C99-based-standards] (PRIxFAST64): Likewise.
15107         [C99-based-standards] (PRIXFAST64): Likewise.
15108         [C99-based-standards] (SCNdFAST64): Likewise.
15109         [C99-based-standards] (SCNiFAST64): Likewise.
15110         [C99-based-standards] (SCNoFAST64): Likewise.
15111         [C99-based-standards] (SCNuFAST64): Likewise.
15112         [C99-based-standards] (SCNxFAST64): Likewise.
15113         [C99-based-standards] (PRIdMAX): Likewise.
15114         [C99-based-standards] (PRIiMAX): Likewise.
15115         [C99-based-standards] (PRIoMAX): Likewise.
15116         [C99-based-standards] (PRIuMAX): Likewise.
15117         [C99-based-standards] (PRIxMAX): Likewise.
15118         [C99-based-standards] (PRIXMAX): Likewise.
15119         [C99-based-standards] (SCNdMAX): Likewise.
15120         [C99-based-standards] (SCNiMAX): Likewise.
15121         [C99-based-standards] (SCNoMAX): Likewise.
15122         [C99-based-standards] (SCNuMAX): Likewise.
15123         [C99-based-standards] (SCNxMAX): Likewise.
15124         [C99-based-standards] (PRIdPTR): Likewise.
15125         [C99-based-standards] (PRIiPTR): Likewise.
15126         [C99-based-standards] (PRIoPTR): Likewise.
15127         [C99-based-standards] (PRIuPTR): Likewise.
15128         [C99-based-standards] (PRIxPTR): Likewise.
15129         [C99-based-standards] (PRIXPTR): Likewise.
15130         [C99-based-standards] (SCNdPTR): Likewise.
15131         [C99-based-standards] (SCNiPTR): Likewise.
15132         [C99-based-standards] (SCNoPTR): Likewise.
15133         [C99-based-standards] (SCNuPTR): Likewise.
15134         [C99-based-standards] (SCNxPTR): Likewise.
15135         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
15136         allow.
15137         * conform/data/stdint.h-data: Update comments to clarify
15138         requirements.
15139         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
15140         type.
15141         [C99-based standards] (INT8_MAX): Likewise.
15142         [C99-based standards] (INT16_MIN): Likewise.
15143         [C99-based standards] (INT16_MAX): Likewise.
15144         [C99-based standards] (INT32_MIN): Likewise.
15145         [C99-based standards] (INT32_MAX): Likewise.
15146         [C99-based standards] (INT64_MIN): Likewise.
15147         [C99-based standards] (INT64_MAX): Likewise.
15148         [C99-based standards] (UINT8_MAX): Likewise.
15149         [C99-based standards] (UINT16_MAX): Likewise.
15150         [C99-based standards] (UINT32_MAX): Likewise.
15151         [C99-based standards] (UINT64_MAX): Likewise.
15152         [C99-based standards] (INT_LEAST8_MIN): Likewise.
15153         [C99-based standards] (INT_LEAST8_MAX): Likewise.
15154         [C99-based standards] (INT_LEAST16_MIN): Likewise.
15155         [C99-based standards] (INT_LEAST16_MAX): Likewise.
15156         [C99-based standards] (INT_LEAST32_MIN): Likewise.
15157         [C99-based standards] (INT_LEAST32_MAX): Likewise.
15158         [C99-based standards] (INT_LEAST64_MIN): Likewise.
15159         [C99-based standards] (INT_LEAST64_MAX): Likewise.
15160         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
15161         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
15162         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
15163         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
15164         [C99-based standards] (INT_FAST8_MIN): Likewise.
15165         [C99-based standards] (INT_FAST8_MAX): Likewise.
15166         [C99-based standards] (INT_FAST16_MIN): Likewise.
15167         [C99-based standards] (INT_FAST16_MAX): Likewise.
15168         [C99-based standards] (INT_FAST32_MIN): Likewise.
15169         [C99-based standards] (INT_FAST32_MAX): Likewise.
15170         [C99-based standards] (INT_FAST64_MIN): Likewise.
15171         [C99-based standards] (INT_FAST64_MAX): Likewise.
15172         [C99-based standards] (UINT_FAST8_MAX): Likewise.
15173         [C99-based standards] (UINT_FAST16_MAX): Likewise.
15174         [C99-based standards] (UINT_FAST32_MAX): Likewise.
15175         [C99-based standards] (UINT_FAST64_MAX): Likewise.
15176         [C99-based standards] (INTPTR_MIN): Likewise.
15177         [C99-based standards] (INTPTR_MAX): Likewise.
15178         [C99-based standards] (UINTPTR_MAX): Likewise.
15179         [C99-based standards] (INTMAX_MIN): Likewise.
15180         [C99-based standards] (INTMAX_MAX): Likewise.
15181         [C99-based standards] (UINTMAX_MAX): Likewise.
15182         [C99-based standards] (PTRDIFF_MIN): Likewise.
15183         [C99-based standards] (PTRDIFF_MAX): Likewise.
15184         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
15185         [C99-based standards] (SIZE_MAX): Likewise.
15186         [C99-based standards] (WCHAR_MAX): Likewise.
15187         [C99-based standards] (WINT_MAX): Likewise.
15188         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
15189         constraint on value.
15190         [C99-based standards] (WCHAR_MIN): Likewise.
15191         [C99-based standards] (WINT_MIN): Likewise.
15192         [C99-based standards] (*_t): Allow.
15193         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
15194         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
15195         Include math.h-data and complex.h-data.  Remove all expectations
15196         of math.h and complex.h contents.
15197         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
15198         at end of line.
15199         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
15200         (struct tm): Expect tag.
15201         [C99-based-standards] (wcstof): Expect function.
15202         [C99-based-standards] (wcstold): Likewise.
15203         [C99-based-standards] (wcstoll): Likewise.
15204         [C99-based-standards] (wcstoull): Likewise.
15205         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
15206         macro-int-constant.  Specify type.
15207         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
15208         constraint on value.
15209         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15210         Specify type.
15211         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
15212         Specify value.
15213         [ISO C standards]: Do not allow headers.
15214         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
15215         wcs[abcdefghijklmnopqrstuvwxyz]*.
15216         [ISO C standards] (*_t): Do not allow.
15217         * conform/data/wctype.h-data [C99-based standards] (iswblank):
15218         Expect function.
15219         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
15220         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
15221         Specify type.
15222         [ISO C standards]: Do not allow headers.
15223         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
15224         is[abcdefghijklmnopqrstuvwxyz]*.
15225         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
15226         to[abcdefghijklmnopqrstuvwxyz]*.
15227         [ISO C standards] (*_t): Do not allow.
15228         * conform/data/stdalign.h-data: New file.
15229         * conform/data/stdbool.h-data: Likewise.
15230         * conform/data/stdnoreturn.h-data: Likewise.
15232 2012-11-07  Roland McGrath  <roland@hack.frob.com>
15234         [BZ #14815]
15235         * manual/filesys.texi (Directory Entries): Typo fix.
15236         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
15238 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
15240         * elf/elf.h (EM_AARCH64): New macro.
15241         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
15242         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
15243         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
15244         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
15245         (R_AARCH64_TLSDESC): Likewise.
15246         (NT_ARM_TLS): Likewise.
15247         (NT_ARM_HW_BREAK): Likewise.
15248         (NT_ARM_HW_WATCH): Likewise.
15250 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15252         [BZ #14811]
15253         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
15254         (__ieee754_powl): Saturate nonzero exponents with absolute value
15255         below 0x1p-79 to +/- 0x1p-79.
15256         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
15257         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
15258         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
15259         nonzero exponents with absolute value below 0x1p-32 to +/-
15260         0x1p-32.
15261         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
15262         (__ieee754_powl): Saturate nonzero exponents with absolute value
15263         below 0x1p-79 to +/- 0x1p-79.
15264         * math/libm-test.inc (pow_test): Add more tests.
15266 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
15268         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
15269         _dl_s390_cap_flags with kernel. Increase string length.
15270         (_dl_s390_platforms): Add z196 and zEC12.
15272 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
15274         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
15275         Change XOPEN21K to XOPEN2K.
15277 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
15279         * string/memmove.c: Use memcpy when possible.
15281 2012-11-06  Andreas Jaeger  <aj@suse.de>
15283         * po/eo.po: Update from translation team.
15285 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
15287         [BZ #14793]
15288         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
15289         exponent and small x and y exponents, scale x or y up.  Increase
15290         by 2 the exponent used in scaling up.
15291         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15292         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15293         * math/libm-test.inc (fma_test): Add more tests.
15294         (fma_test_towardzero): Likewise.
15295         (fma_test_downward): Likewise.
15296         (fma_test_upward): Likewise.
15298 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
15300         [BZ #14805]
15301         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
15302         fenv_t *.
15304         [BZ #14801]
15305         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
15306         namespace for names of struct fields.
15307         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
15308         fenv_t fields.
15309         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
15310         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
15312 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
15314         [BZ #3665]
15315         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
15317 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
15319         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
15320         PTR_DEMANGLE.
15322         [BZ #5246]
15323         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
15324         PTR_DEMANGLE.
15326 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
15328         [BZ #14797]
15329         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
15330         definitely overflow as x * y not x * y + z.
15331         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15332         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15333         * math/libm-test.inc (fma_test): Add more tests.
15334         (fma_test_towardzero): Likewise.
15335         (fma_test_downward): Likewise.
15336         (fma_test_upward): Likewise.
15338 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
15340         [BZ #157]
15342         * include/stub-tag.h: Remove file.
15343         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
15344         '#include' of it.
15345         * manual/maint.texi (Porting): Don't reference it.
15346         * Makerules ($(objpfx)stubs): Likewise.
15347         * dirent/closedir.c: Don't include <stub-tag.h>.
15348         * dirent/dirfd.c: Likewise.
15349         * dirent/fdopendir.c: Likewise.
15350         * dirent/getdents.c: Likewise.
15351         * dirent/getdents64.c: Likewise.
15352         * dirent/opendir.c: Likewise.
15353         * dirent/readdir.c: Likewise.
15354         * dirent/readdir64.c: Likewise.
15355         * dirent/readdir64_r.c: Likewise.
15356         * dirent/readdir_r.c: Likewise.
15357         * dirent/rewinddir.c: Likewise.
15358         * dirent/seekdir.c: Likewise.
15359         * dirent/telldir.c: Likewise.
15360         * gmon/profil.c: Likewise.
15361         * grp/setgroups.c: Likewise.
15362         * inet/if_index.c: Likewise.
15363         * io/access.c: Likewise.
15364         * io/chdir.c: Likewise.
15365         * io/chmod.c: Likewise.
15366         * io/chown.c: Likewise.
15367         * io/close.c: Likewise.
15368         * io/dup.c: Likewise.
15369         * io/dup2.c: Likewise.
15370         * io/dup3.c: Likewise.
15371         * io/euidaccess.c: Likewise.
15372         * io/faccessat.c: Likewise.
15373         * io/fchdir.c: Likewise.
15374         * io/fchmod.c: Likewise.
15375         * io/fchmodat.c: Likewise.
15376         * io/fchown.c: Likewise.
15377         * io/fchownat.c: Likewise.
15378         * io/fcntl.c: Likewise.
15379         * io/flock.c: Likewise.
15380         * io/fstatfs.c: Likewise.
15381         * io/fstatfs64.c: Likewise.
15382         * io/fstatvfs.c: Likewise.
15383         * io/fstatvfs64.c: Likewise.
15384         * io/futimens.c: Likewise.
15385         * io/fxstat.c: Likewise.
15386         * io/fxstat64.c: Likewise.
15387         * io/fxstatat.c: Likewise.
15388         * io/fxstatat64.c: Likewise.
15389         * io/getcwd.c: Likewise.
15390         * io/isatty.c: Likewise.
15391         * io/lchmod.c: Likewise.
15392         * io/lchown.c: Likewise.
15393         * io/link.c: Likewise.
15394         * io/linkat.c: Likewise.
15395         * io/lseek.c: Likewise.
15396         * io/lseek64.c: Likewise.
15397         * io/lxstat64.c: Likewise.
15398         * io/mkdir.c: Likewise.
15399         * io/mkdirat.c: Likewise.
15400         * io/mkfifo.c: Likewise.
15401         * io/mkfifoat.c: Likewise.
15402         * io/open.c: Likewise.
15403         * io/open64.c: Likewise.
15404         * io/openat.c: Likewise.
15405         * io/openat64.c: Likewise.
15406         * io/pipe.c: Likewise.
15407         * io/pipe2.c: Likewise.
15408         * io/poll.c: Likewise.
15409         * io/posix_fadvise.c: Likewise.
15410         * io/posix_fadvise64.c: Likewise.
15411         * io/posix_fallocate.c: Likewise.
15412         * io/posix_fallocate64.c: Likewise.
15413         * io/read.c: Likewise.
15414         * io/readlink.c: Likewise.
15415         * io/readlinkat.c: Likewise.
15416         * io/rmdir.c: Likewise.
15417         * io/sendfile.c: Likewise.
15418         * io/sendfile64.c: Likewise.
15419         * io/statfs.c: Likewise.
15420         * io/statfs64.c: Likewise.
15421         * io/statvfs.c: Likewise.
15422         * io/statvfs64.c: Likewise.
15423         * io/symlink.c: Likewise.
15424         * io/symlinkat.c: Likewise.
15425         * io/ttyname.c: Likewise.
15426         * io/ttyname_r.c: Likewise.
15427         * io/umask.c: Likewise.
15428         * io/unlink.c: Likewise.
15429         * io/unlinkat.c: Likewise.
15430         * io/utime.c: Likewise.
15431         * io/utimensat.c: Likewise.
15432         * io/write.c: Likewise.
15433         * io/xmknod.c: Likewise.
15434         * io/xmknodat.c: Likewise.
15435         * io/xstat.c: Likewise.
15436         * io/xstat64.c: Likewise.
15437         * login/getpt.c: Likewise.
15438         * login/grantpt.c: Likewise.
15439         * login/unlockpt.c: Likewise.
15440         * math/e_acoshl.c: Likewise.
15441         * math/e_acosl.c: Likewise.
15442         * math/e_asinl.c: Likewise.
15443         * math/e_atan2l.c: Likewise.
15444         * math/e_atanhl.c: Likewise.
15445         * math/e_coshl.c: Likewise.
15446         * math/e_expl.c: Likewise.
15447         * math/e_fmodl.c: Likewise.
15448         * math/e_gammal_r.c: Likewise.
15449         * math/e_hypotl.c: Likewise.
15450         * math/e_j0l.c: Likewise.
15451         * math/e_j1l.c: Likewise.
15452         * math/e_jnl.c: Likewise.
15453         * math/e_lgammal_r.c: Likewise.
15454         * math/e_log10l.c: Likewise.
15455         * math/e_log2l.c: Likewise.
15456         * math/e_logl.c: Likewise.
15457         * math/e_powl.c: Likewise.
15458         * math/e_rem_pio2l.c: Likewise.
15459         * math/e_sinhl.c: Likewise.
15460         * math/e_sqrtl.c: Likewise.
15461         * math/fclrexcpt.c: Likewise.
15462         * math/fedisblxcpt.c: Likewise.
15463         * math/feenablxcpt.c: Likewise.
15464         * math/fegetenv.c: Likewise.
15465         * math/fegetexcept.c: Likewise.
15466         * math/fegetround.c: Likewise.
15467         * math/feholdexcpt.c: Likewise.
15468         * math/fesetenv.c: Likewise.
15469         * math/fesetround.c: Likewise.
15470         * math/feupdateenv.c: Likewise.
15471         * math/fgetexcptflg.c: Likewise.
15472         * math/fraiseexcpt.c: Likewise.
15473         * math/fsetexcptflg.c: Likewise.
15474         * math/ftestexcept.c: Likewise.
15475         * math/k_cosl.c: Likewise.
15476         * math/k_rem_pio2l.c: Likewise.
15477         * math/k_sinl.c: Likewise.
15478         * math/k_tanl.c: Likewise.
15479         * math/s_asinhl.c: Likewise.
15480         * math/s_atanl.c: Likewise.
15481         * math/s_cbrtl.c: Likewise.
15482         * math/s_erfl.c: Likewise.
15483         * math/s_expm1l.c: Likewise.
15484         * math/s_log1pl.c: Likewise.
15485         * math/s_tanhl.c: Likewise.
15486         * misc/acct.c: Likewise.
15487         * misc/brk.c: Likewise.
15488         * misc/chflags.c: Likewise.
15489         * misc/chroot.c: Likewise.
15490         * misc/fchflags.c: Likewise.
15491         * misc/fgetxattr.c: Likewise.
15492         * misc/flistxattr.c: Likewise.
15493         * misc/fremovexattr.c: Likewise.
15494         * misc/fsetxattr.c: Likewise.
15495         * misc/fsync.c: Likewise.
15496         * misc/ftruncate.c: Likewise.
15497         * misc/futimes.c: Likewise.
15498         * misc/futimesat.c: Likewise.
15499         * misc/getdomain.c: Likewise.
15500         * misc/getdtsz.c: Likewise.
15501         * misc/gethostid.c: Likewise.
15502         * misc/gethostname.c: Likewise.
15503         * misc/getloadavg.c: Likewise.
15504         * misc/getpagesize.c: Likewise.
15505         * misc/getsysstats.c: Likewise.
15506         * misc/getxattr.c: Likewise.
15507         * misc/gtty.c: Likewise.
15508         * misc/ioctl.c: Likewise.
15509         * misc/lgetxattr.c: Likewise.
15510         * misc/listxattr.c: Likewise.
15511         * misc/llistxattr.c: Likewise.
15512         * misc/lremovexattr.c: Likewise.
15513         * misc/lsetxattr.c: Likewise.
15514         * misc/lutimes.c: Likewise.
15515         * misc/madvise.c: Likewise.
15516         * misc/mincore.c: Likewise.
15517         * misc/mlock.c: Likewise.
15518         * misc/mlockall.c: Likewise.
15519         * misc/mmap.c: Likewise.
15520         * misc/mprotect.c: Likewise.
15521         * misc/msync.c: Likewise.
15522         * misc/munlock.c: Likewise.
15523         * misc/munlockall.c: Likewise.
15524         * misc/munmap.c: Likewise.
15525         * misc/preadv.c: Likewise.
15526         * misc/preadv64.c: Likewise.
15527         * misc/ptrace.c: Likewise.
15528         * misc/pwritev.c: Likewise.
15529         * misc/pwritev64.c: Likewise.
15530         * misc/readv.c: Likewise.
15531         * misc/reboot.c: Likewise.
15532         * misc/remap_file_pages.c: Likewise.
15533         * misc/removexattr.c: Likewise.
15534         * misc/revoke.c: Likewise.
15535         * misc/select.c: Likewise.
15536         * misc/setdomain.c: Likewise.
15537         * misc/setegid.c: Likewise.
15538         * misc/seteuid.c: Likewise.
15539         * misc/sethostid.c: Likewise.
15540         * misc/sethostname.c: Likewise.
15541         * misc/setregid.c: Likewise.
15542         * misc/setreuid.c: Likewise.
15543         * misc/setxattr.c: Likewise.
15544         * misc/sstk.c: Likewise.
15545         * misc/stty.c: Likewise.
15546         * misc/swapoff.c: Likewise.
15547         * misc/swapon.c: Likewise.
15548         * misc/sync.c: Likewise.
15549         * misc/syncfs.c: Likewise.
15550         * misc/syscall.c: Likewise.
15551         * misc/truncate.c: Likewise.
15552         * misc/ualarm.c: Likewise.
15553         * misc/usleep.c: Likewise.
15554         * misc/ustat.c: Likewise.
15555         * misc/utimes.c: Likewise.
15556         * misc/vhangup.c: Likewise.
15557         * misc/writev.c: Likewise.
15558         * posix/_exit.c: Likewise.
15559         * posix/alarm.c: Likewise.
15560         * posix/execve.c: Likewise.
15561         * posix/fexecve.c: Likewise.
15562         * posix/fork.c: Likewise.
15563         * posix/fpathconf.c: Likewise.
15564         * posix/getaddrinfo.c: Likewise.
15565         * posix/getegid.c: Likewise.
15566         * posix/geteuid.c: Likewise.
15567         * posix/getgid.c: Likewise.
15568         * posix/getgroups.c: Likewise.
15569         * posix/getlogin.c: Likewise.
15570         * posix/getlogin_r.c: Likewise.
15571         * posix/getpgid.c: Likewise.
15572         * posix/getpid.c: Likewise.
15573         * posix/getppid.c: Likewise.
15574         * posix/getresgid.c: Likewise.
15575         * posix/getresuid.c: Likewise.
15576         * posix/getsid.c: Likewise.
15577         * posix/getuid.c: Likewise.
15578         * posix/glob64.c: Likewise.
15579         * posix/nanosleep.c: Likewise.
15580         * posix/pathconf.c: Likewise.
15581         * posix/pause.c: Likewise.
15582         * posix/posix_madvise.c: Likewise.
15583         * posix/pread.c: Likewise.
15584         * posix/pread64.c: Likewise.
15585         * posix/pwrite.c: Likewise.
15586         * posix/pwrite64.c: Likewise.
15587         * posix/sched_getaffinity.c: Likewise.
15588         * posix/sched_getp.c: Likewise.
15589         * posix/sched_gets.c: Likewise.
15590         * posix/sched_primax.c: Likewise.
15591         * posix/sched_primin.c: Likewise.
15592         * posix/sched_rr_gi.c: Likewise.
15593         * posix/sched_setaffinity.c: Likewise.
15594         * posix/sched_setp.c: Likewise.
15595         * posix/sched_sets.c: Likewise.
15596         * posix/sched_yield.c: Likewise.
15597         * posix/setgid.c: Likewise.
15598         * posix/setlogin.c: Likewise.
15599         * posix/setpgid.c: Likewise.
15600         * posix/setresgid.c: Likewise.
15601         * posix/setresuid.c: Likewise.
15602         * posix/setsid.c: Likewise.
15603         * posix/setuid.c: Likewise.
15604         * posix/sleep.c: Likewise.
15605         * posix/spawni.c: Likewise.
15606         * posix/sysconf.c: Likewise.
15607         * posix/times.c: Likewise.
15608         * posix/wait.c: Likewise.
15609         * posix/wait3.c: Likewise.
15610         * posix/wait4.c: Likewise.
15611         * posix/waitpid.c: Likewise.
15612         * resolv/gai_sigqueue.c: Likewise.
15613         * resource/getpriority.c: Likewise.
15614         * resource/getrlimit.c: Likewise.
15615         * resource/getrusage.c: Likewise.
15616         * resource/nice.c: Likewise.
15617         * resource/setpriority.c: Likewise.
15618         * resource/setrlimit.c: Likewise.
15619         * resource/ulimit.c: Likewise.
15620         * rt/aio_cancel.c: Likewise.
15621         * rt/aio_fsync.c: Likewise.
15622         * rt/aio_read.c: Likewise.
15623         * rt/aio_sigqueue.c: Likewise.
15624         * rt/aio_suspend.c: Likewise.
15625         * rt/aio_write.c: Likewise.
15626         * rt/clock_getres.c: Likewise.
15627         * rt/clock_gettime.c: Likewise.
15628         * rt/clock_nanosleep.c: Likewise.
15629         * rt/clock_settime.c: Likewise.
15630         * rt/lio_listio.c: Likewise.
15631         * rt/mq_close.c: Likewise.
15632         * rt/mq_getattr.c: Likewise.
15633         * rt/mq_notify.c: Likewise.
15634         * rt/mq_open.c: Likewise.
15635         * rt/mq_receive.c: Likewise.
15636         * rt/mq_send.c: Likewise.
15637         * rt/mq_setattr.c: Likewise.
15638         * rt/mq_timedreceive.c: Likewise.
15639         * rt/mq_timedsend.c: Likewise.
15640         * rt/mq_unlink.c: Likewise.
15641         * rt/shm_open.c: Likewise.
15642         * rt/shm_unlink.c: Likewise.
15643         * rt/timer_create.c: Likewise.
15644         * rt/timer_delete.c: Likewise.
15645         * rt/timer_getoverr.c: Likewise.
15646         * rt/timer_gettime.c: Likewise.
15647         * rt/timer_settime.c: Likewise.
15648         * setjmp/__longjmp.c: Likewise.
15649         * setjmp/setjmp.c: Likewise.
15650         * signal/kill.c: Likewise.
15651         * signal/killpg.c: Likewise.
15652         * signal/raise.c: Likewise.
15653         * signal/sigaction.c: Likewise.
15654         * signal/sigaltstack.c: Likewise.
15655         * signal/sigblock.c: Likewise.
15656         * signal/sigignore.c: Likewise.
15657         * signal/sigintr.c: Likewise.
15658         * signal/signal.c: Likewise.
15659         * signal/sigpause.c: Likewise.
15660         * signal/sigpending.c: Likewise.
15661         * signal/sigqueue.c: Likewise.
15662         * signal/sigreturn.c: Likewise.
15663         * signal/sigset.c: Likewise.
15664         * signal/sigsetmask.c: Likewise.
15665         * signal/sigstack.c: Likewise.
15666         * signal/sigsuspend.c: Likewise.
15667         * signal/sigtimedwait.c: Likewise.
15668         * signal/sigvec.c: Likewise.
15669         * signal/sigwait.c: Likewise.
15670         * signal/sigwaitinfo.c: Likewise.
15671         * signal/sysv_signal.c: Likewise.
15672         * socket/accept.c: Likewise.
15673         * socket/accept4.c: Likewise.
15674         * socket/bind.c: Likewise.
15675         * socket/connect.c: Likewise.
15676         * socket/getpeername.c: Likewise.
15677         * socket/getsockname.c: Likewise.
15678         * socket/getsockopt.c: Likewise.
15679         * socket/isfdtype.c: Likewise.
15680         * socket/listen.c: Likewise.
15681         * socket/recv.c: Likewise.
15682         * socket/recvfrom.c: Likewise.
15683         * socket/recvmsg.c: Likewise.
15684         * socket/send.c: Likewise.
15685         * socket/sendmsg.c: Likewise.
15686         * socket/sendto.c: Likewise.
15687         * socket/setsockopt.c: Likewise.
15688         * socket/shutdown.c: Likewise.
15689         * socket/sockatmark.c: Likewise.
15690         * socket/socket.c: Likewise.
15691         * socket/socketpair.c: Likewise.
15692         * stdio-common/ctermid.c: Likewise.
15693         * stdio-common/cuserid.c: Likewise.
15694         * stdio-common/remove.c: Likewise.
15695         * stdio-common/rename.c: Likewise.
15696         * stdio-common/renameat.c: Likewise.
15697         * stdio-common/tempname.c: Likewise.
15698         * stdlib/getcontext.c: Likewise.
15699         * stdlib/makecontext.c: Likewise.
15700         * stdlib/setcontext.c: Likewise.
15701         * stdlib/swapcontext.c: Likewise.
15702         * stdlib/system.c: Likewise.
15703         * streams/fattach.c: Likewise.
15704         * streams/fdetach.c: Likewise.
15705         * streams/getmsg.c: Likewise.
15706         * streams/getpmsg.c: Likewise.
15707         * streams/putmsg.c: Likewise.
15708         * streams/putpmsg.c: Likewise.
15709         * sysdeps/unix/bsd/getpt.c: Likewise.
15710         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
15711         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
15712         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
15713         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
15714         Likewise.
15715         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
15716         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
15717         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
15718         * sysvipc/msgctl.c: Likewise.
15719         * sysvipc/msgget.c: Likewise.
15720         * sysvipc/msgrcv.c: Likewise.
15721         * sysvipc/msgsnd.c: Likewise.
15722         * sysvipc/semctl.c: Likewise.
15723         * sysvipc/semget.c: Likewise.
15724         * sysvipc/semop.c: Likewise.
15725         * sysvipc/semtimedop.c: Likewise.
15726         * sysvipc/shmat.c: Likewise.
15727         * sysvipc/shmctl.c: Likewise.
15728         * sysvipc/shmdt.c: Likewise.
15729         * sysvipc/shmget.c: Likewise.
15730         * termios/tcdrain.c: Likewise.
15731         * termios/tcflow.c: Likewise.
15732         * termios/tcflush.c: Likewise.
15733         * termios/tcgetattr.c: Likewise.
15734         * termios/tcgetpgrp.c: Likewise.
15735         * termios/tcsendbrk.c: Likewise.
15736         * termios/tcsetattr.c: Likewise.
15737         * termios/tcsetpgrp.c: Likewise.
15738         * time/adjtime.c: Likewise.
15739         * time/clock.c: Likewise.
15740         * time/getitimer.c: Likewise.
15741         * time/gettimeofday.c: Likewise.
15742         * time/setitimer.c: Likewise.
15743         * time/settimeofday.c: Likewise.
15744         * time/stime.c: Likewise.
15745         * time/time.c: Likewise.
15747 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
15749         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
15750         /usr/old/bin.
15752         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
15753         instead of spaces.
15754         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
15756 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
15758         [BZ #14796]
15759         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
15760         FE_TONEAREST before applying Dekker multiplication and Knuth
15761         addition.  Clear inexact exceptions and check for exact zero
15762         results afterwards.
15763         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15764         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
15765         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15766         * math/libm-test.inc (fma_test): Add more tests.
15767         (fma_test_towardzero): Likewise.
15768         (fma_test_downward): Likewise.
15769         (fma_test_upward): Likewise.
15770         * sysdeps/generic/math_private.h (default_libc_fesetround): New
15771         function.
15772         (libc_fesetround): New macro.
15773         (libc_fesetroundf): Likewise.
15774         (libc_fesetroundl): Likewise.
15775         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
15776         function.
15777         (libc_fesetround_387): Likewise.
15778         (libc_fesetroundf): New macro.
15779         (libc_fesetround): Likewise.
15780         (libc_fesetroundl): Likewise.
15781         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
15782         function.
15783         (libc_fesetroundf): New macro.
15784         (libc_fesetround): Likewise.
15785         (libc_fesetroundl): Likewise.
15786         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
15787         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
15788         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
15789         libm_hidden_ver.
15790         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
15791         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
15792         libm_hidden_def.
15793         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
15794         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
15795         libm_hidden_ver.
15796         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
15797         libm_hidden_def.
15799         [BZ #3439]
15800         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
15801         integer constant usable in #if and use that to give value to enum
15802         constant.
15803         (FE_DIVBYZERO): Likewise.
15804         (FE_UNDERFLOW): Likewise.
15805         (FE_OVERFLOW): Likewise.
15806         (FE_INVALID): Likewise.
15807         (FE_INVALID_SNAN): Likewise.
15808         (FE_INVALID_ISI): Likewise.
15809         (FE_INVALID_IDI): Likewise.
15810         (FE_INVALID_ZDZ): Likewise.
15811         (FE_INVALID_IMZ): Likewise.
15812         (FE_INVALID_COMPARE): Likewise.
15813         (FE_INVALID_SOFTWARE): Likewise.
15814         (FE_INVALID_SQRT): Likewise.
15815         (FE_INVALID_INTEGER_CONVERSION): Likewise.
15816         (FE_TONEAREST): Likewise.
15817         (FE_TOWARDZERO): Likewise.
15818         (FE_UPWARD): Likewise.
15819         (FE_DOWNWARD): Likewise.
15820         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
15821         (FE_DIVBYZERO): Likewise.
15822         (FE_OVERFLOW): Likewise.
15823         (FE_UNDERFLOW): Likewise.
15824         (FE_INEXACT): Likewise.
15825         (FE_TONEAREST): Likewise.
15826         (FE_DOWNWARD): Likewise.
15827         (FE_UPWARD): Likewise.
15828         (FE_TOWARDZERO): Likewise.
15829         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
15830         (FE_UNDERFLOW): Likewise.
15831         (FE_OVERFLOW): Likewise.
15832         (FE_DIVBYZERO): Likewise.
15833         (FE_INVALID): Likewise.
15834         (FE_TONEAREST): Likewise.
15835         (FE_TOWARDZERO): Likewise.
15836         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
15837         (FE_OVERFLOW): Likewise.
15838         (FE_UNDERFLOW): Likewise.
15839         (FE_DIVBYZERO): Likewise.
15840         (FE_INEXACT): Likewise.
15841         (FE_TONEAREST): Likewise.
15842         (FE_TOWARDZERO): Likewise.
15843         (FE_UPWARD): Likewise.
15844         (FE_DOWNWARD): Likewise.
15845         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
15846         (FE_DIVBYZERO): Likewise.
15847         (FE_OVERFLOW): Likewise.
15848         (FE_UNDERFLOW): Likewise.
15849         (FE_INEXACT): Likewise.
15850         (FE_TONEAREST): Likewise.
15851         (FE_DOWNWARD): Likewise.
15852         (FE_UPWARD): Likewise.
15853         (FE_TOWARDZERO): Likewise.
15855 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
15857         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
15859 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
15861         * scripts/cross-test-ssh.sh (command): Use newlines to separate
15862         commands.  Quote $PWD.
15863         (blacklist_exports): Don't use remove_newlines.  Replace "declare
15864         -x" by "export".
15865         (remove_newlines): Remove.
15867 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
15869         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
15870         * stdlib/stdlib.h (atof): Moved to ...
15871         * include/bits/stdlib-float.h: Here.  New file.
15872         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
15873         * stdlib/bits/stdlib-float.h: New file.
15874         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
15875         -mno-sse -mno-mmx.
15876         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
15877         <xmmintrin.h>.
15879 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
15881         * conform/conformtest.pl (@headers): Add fenv.h.
15882         * conform/data/fenv.h-data: New file.
15883         * include/fenv.h [_ISOMAC]: Disable all contents of file except
15884         include of <math/fenv.h>.
15886         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
15887         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
15888         && !UNIX98].  Enables tests for XOPEN2K8.
15889         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
15890         POSIX2008]: Likewise.
15892         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
15893         (struct rusage): Do not expect type or its members.
15895         [BZ #3439]
15896         * math/math.h (FP_NAN): Define macro to integer constant usable in
15897         #if and use that to give value to enum constant.
15898         (FP_INFINITE): Likewise.
15899         (FP_ZERO): Likewise.
15900         (FP_SUBNORMAL): Likewise.
15901         (FP_NORMAL): Likewise.
15903 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
15905         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
15906         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
15907         arguments.
15909 2012-11-02  Roland McGrath  <roland@hack.frob.com>
15911         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
15912         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
15913         autoconf-time if not.
15914         * configure.in: Remove AC_PREREQ.
15916 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15918         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
15919         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
15920         of the internal implementation.
15922 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
15924         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
15925         except include of <misc/sys/syslog.h>.
15927 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
15929         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
15930         function returns with a NULL context exit with zero.
15932 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
15934         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
15936 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
15938         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
15939         (run_program_cmd): This.
15940         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
15941         (tst_langinfo): New variable.  Use it.
15943 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
15945         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
15946         floating point opcodes.
15948 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
15950         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
15951         variable.
15953         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
15955         * sysdeps/mach/hurd/powerpc: Remove directory.
15956         * sysdeps/mach/powerpc: Likewise.
15958 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
15960         * scripts/check-local-headers.sh: Ignore c++ headers.
15962 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
15964         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
15965         __libc_cleanup_region_start argument.
15967 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
15969         [BZ #14784]
15970         [BZ #14785]
15971         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
15972         x * y using scaling, not as x * y + z.
15973         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
15974         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
15975         * math/libm-test.inc (fma_test): Add more tests.
15976         (fma_test_towardzero): Likewise.
15977         (fma_test_downward): Likewise.
15978         (fma_test_upward): Likewise.
15980 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
15982         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
15984 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
15986         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
15987         New variable.
15989 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
15991         * rt/tst-shm.c (worker): Correct checking for mmap failure.
15993 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
15995         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
15996         Fix sort order.
15997         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
15998         Likewise.
16000 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16002         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16003         Fix the order of the list for glibc 2.17.
16004         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16005         Likewise.
16007 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
16009         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16011 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
16013         [BZ #14610]
16014         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
16015         for low part of x being zero before using __atanl (y).
16016         * math/libm-test.inc (atan2_test): Add another test.
16018         * manual/install.texi (Configuring and compiling): Document
16019         general use of test-wrapper and test-wrapper-env.
16020         * INSTALL: Regenerated.
16022         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
16023         (__fma): Do not extract and scale down low bits on after-rounding
16024         systems when result rounded to normal precision would have normal
16025         exponent.
16026         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
16027         (__fmal): Do not extract and scale down low bits on after-rounding
16028         systems when result rounded to normal precision would have normal
16029         exponent.
16030         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
16031         (__fmal): Do not extract and scale down low bits on after-rounding
16032         systems when result rounded to normal precision would have normal
16033         exponent.
16034         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
16035         macro.
16036         (fma_test): Add more tests.
16037         (fma_test_towardzero): Likewise.
16038         (fma_test_downward): Likewise.
16039         (fma_test_upward): Likewise.
16041 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
16043         * sysdeps/i386/tininess.h: Renamed to ...
16044         * sysdeps/x86/tininess.h: This.
16045         * sysdeps/x86_64/tininess.h: Removed.
16047 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
16049         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
16050         input.  Use $(build-program-cmd).
16051         ($(objpfx)tst-array1-static.out): Likewise.
16052         ($(objpfx)tst-array2.out): Likewise.
16053         ($(objpfx)tst-array3.out): Likewise.
16054         ($(objpfx)tst-array4.out): Likewise.
16055         ($(objpfx)tst-array5.out): Likewise.
16056         ($(objpfx)tst-array5-static.out): Likewise.
16058 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
16060         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
16061         if defined.
16063         * nss/nsswitch.h (nss_interface_function): Provide new
16064         macro for use with NSS functions.
16065         * grp/initgroups.c: Use new macro.
16066         * nss/getXXbyYY.c: Likewise.
16067         * nss/getXXbyYY_r.c: Likewise.
16068         * nss/getXXent.c: Likewise.
16069         * nss/getXXent_r.c: Likewise.
16070         * sysdeps/posix/getaddrinfo.c: Likewise.
16072 2012-10-30  Andreas Jaeger  <aj@suse.de>
16074         * po/ru.po: Update Russion translation from translation project.
16076 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
16078         [BZ #14152]
16079         [BZ #14783]
16080         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
16081         result and shift together with sticky bit instead of replicating
16082         round-to-nearest rounding.
16083         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
16084         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
16085         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
16086         missing underflow exceptions.
16087         (fma_test_towardzero): Add more tests.
16088         (fma_test_downward): Likewise.
16089         (fma_test_upward): Likewise.
16091         [BZ #14047]
16092         * sysdeps/generic/tininess.h: New file.
16093         * sysdeps/i386/tininess.h: Likewise.
16094         * sysdeps/sh/tininess.h: Likewise.
16095         * sysdeps/x86_64/tininess.h: Likewise.
16096         * stdlib/tst-strtod-underflow.c: Likewise.
16097         * stdlib/tst-tininess.c: Likewise.
16098         * stdlib/strtod_l.c: Include <tininess.h>.
16099         (round_and_return): Do not set errno for exact underflow cases.
16100         Force an underflow exception when setting errno for underflow.
16101         Determine underflow based on rounding to normal precision if
16102         TININESS_AFTER_ROUNDING.
16103         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
16104         ERANGE for exact underflow cases.
16105         * stdlib/Makefile (tests): Add tst-tininess and
16106         tst-strtod-underflow.
16107         ($(objpfx)tst-tininess): Use $(link-libm).
16108         ($(objpfx)tst-strtod-underflow): Likewise.
16110 2012-10-30  Andreas Jaeger  <aj@suse.de>
16112         [BZ#14767]
16113         * elf/Makefile (tests): Remove conditional for have-initfini-array
16114         since this is now always required and the variable does not exist
16115         anymore.
16116         (tests-static): Likewise.
16117         (modules-names): Likewise.
16119         * po/eo.po: Add Esperanto translation from translation project.
16121         * elf/tst-array1.c (fini_array): Make writeable so that it can be
16122         merged with constructor/destructor.
16123         (init_array): Likewise.
16124         * elf/tst-array2dep.c (fini_array): Likewise.
16125         (init_array): Likewise.
16127 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
16129         * manual/message.texi: Delete @cartouche tags.
16131 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
16133         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
16134         EOPNOTSUPP.
16135         * sysdeps/mach/hurd/fsync.c: Likewise.
16137         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
16138         [_POSIX_REALTIME_SIGNALS]: Change condition to
16139         [_POSIX_REALTIME_SIGNALS > 0].
16141 2012-10-27  Andreas Jaeger  <aj@suse.de>
16143         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
16144         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
16145         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
16146         [__WORDSIZE != 64]: Likewise.
16148 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
16150         *  iconvdata/tst-table.sh: Remove ${SHELL}.
16151         *  iconvdata/tst-tables.sh: Likewise.
16153 2012-10-25  David S. Miller  <davem@davemloft.net>
16155         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16156         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
16157         of strtoull.
16159         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
16160         ifunc-impl-list.c
16161         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
16162         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
16163         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
16164         file.
16166 2012-10-25  Roland McGrath  <roland@hack.frob.com>
16168         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16169         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
16170         __getdirentries.
16172 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
16173             Jim Blandy  <jimb@codesourcery.com>
16175         * scripts/cross-test-ssh.sh: New file.
16176         * manual/install.texi (Configuring and compiling): Document use of
16177         cross-test-ssh.sh.
16178         * INSTALL: Regenerated.
16180 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
16182         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
16183         EOPNOTSUPP.
16185 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
16187         * Makeconfig (run-program-prefix): Fix comment.
16189 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
16190             Jim Blandy  <jimb@codesourcery.com>
16192         * Makeconfig (test-wrapper): New variable,
16193         (test-wrapper-env): Likewise.
16194         [$(cross-compiling) = yes && $(test-wrapper) != ""]
16195         (run-built-tests): Define to yes.
16196         (run-program-prefix): Use $(test-wrapper).
16197         (built-program-cmd): Likewise.
16198         * Rules (make-test-out): Use $(test-wrapper-env) and
16199         $(host-built-program-cmd).
16200         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
16201         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
16202         tst-pathopt.sh.
16203         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
16204         $(test-wrapper-env) to tst-rtld-load-self.sh.
16205         ($(objpfx)order2.out): Use $(test-wrapper).
16206         ($(objpfx)tst-initorder.out): Likewise.
16207         ($(objpfx)tst-initorder2.out): Likewise.
16208         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
16209         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
16210         (test_wrapper_env): New variable.  Use it to run ld.so.
16211         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
16212         Use it to run ld.so.
16213         (test_wrapper_env): Likewise.
16214         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
16215         $(test-wrapper) to run-iconv-test.sh.
16216         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
16217         (ICONV): Use $test_wrapper.
16218         * posix/Makefile ($(objpfx)globtest.out): Pass
16219         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
16220         globtest.sh, not $(run-program-prefix).
16221         * posix/globtest.sh (run_via_rtld_prefix): New variable.
16222         (test_wrapper): Likewise.
16223         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
16224         set together with run_via_rtld_prefix.
16225         (run_program_prefix): Define in terms of test_wrapper and
16226         run_via_rtld_prefix.
16228 2012-10-24  Roland McGrath  <roland@hack.frob.com>
16230         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
16231         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
16232         Targets removed.
16234         [BZ #14743]
16235         * include/time.h: Remove librt_hidden_proto (clock_gettime).
16236         Declare __clock_getres, __clock_gettime, __clock_settime,
16237         __clock_nanosleep, and __clock_getcpuclockid.
16238         * rt/clock_gettime.c: Define __clock_gettime as an alias.
16239         Remove librt_hidden_def (clock_gettime).
16240         * sysdeps/unix/clock_gettime.c: Likewise.
16241         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
16242         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
16243         * rt/clock_getres.c: Define __clock_getres as an alias.
16244         * sysdeps/posix/clock_getres.c: Likewise.
16245         * rt/clock_settime.c: Define __clock_settime as an alias.
16246         * sysdeps/unix/clock_settime.c: Likewise.
16247         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
16248         * sysdeps/unix/clock_nanosleep.c: Likewise.
16249         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
16250         * rt/clock-compat.c: New file.
16251         * rt/Makefile (librt-routines): Add clock-compat and move
16252         $(clock-routines) to ...
16253         (routines): ... here, new variable.
16254         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
16255         Don't add get_clockfreq here.
16256         * rt/Versions (libc: GLIBC_2.17): New version set.
16257         Add clock_* symbols here.
16258         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
16259         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
16260         (GLIBC_2.17): Add clock_* symbols.
16261         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
16262         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
16263         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
16264         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
16265         Likewise.
16266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
16267         Likewise.
16268         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
16269         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
16270         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
16271         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
16272         * NEWS: Mention the move.
16274         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
16275         Use __open, __read, __close rather than their public counterparts.
16276         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
16277         (__get_clockfreq_via_cpuinfo): Likewise.
16278         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
16279         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
16281         * config.h.in (HAVE_IFUNC): New #undef.
16282         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
16283         was successful.
16284         * configure: Regenerated.
16286 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
16288         * configure.in: Move READELF check to start of file.
16289         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
16290         libc_cv_asm_gnu_indirect_function in the process.
16291         * configure: Regenerated.
16293 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
16295         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
16296         send the output to /dev/null.
16297         (libc_cv_cc_with_libunwind): Likewise.
16298         (libc_cv_as_noexecstack): Likewise.
16299         * configure: Regenerate.
16301 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
16303         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
16305         * posix/globtest.sh (TMPDIR): Do not set.
16306         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
16307         (testout): Likewise.
16309 2012-10-24  Andreas Jaeger  <aj@suse.de>
16311         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
16312         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
16313         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
16314         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
16315         posix_fadvise64, posix_fallocate64.
16317         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
16318         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
16319         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
16320         Likewise.
16321         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
16322         Likewise.
16323         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
16325         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
16326         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
16327         <bits/fcntl-linux.h>.
16328         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
16330         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
16331         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
16332         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
16333         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
16334         [__WORDSIZE != 64]: Likewise.
16336 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
16338         * Makeconfig (run-built-tests): New variable.
16339         * Rules [$(cross-compiling) = yes]: Change condition to
16340         [$(run-built-tests) = no].
16341         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
16342         to [$(run-built-tests) = yes].
16343         * elf/Makefile [$(cross-compiling) = no]: Likewise
16344         * grp/Makefile [$(cross-compiling) = no]: Likewise.
16345         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
16346         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
16347         * intl/Makefile [$(cross-compiling) = no]: Likewise.
16348         * io/Makefile [$(cross-compiling) = no]: Likewise.
16349         * libio/Makefile [$(cross-compiling) = no]: Likewise.
16350         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
16351         * misc/Makefile [$(cross-compiling) = no]: Likewise.
16352         * posix/Makefile [$(cross-compiling) = no]: Likewise.
16353         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
16354         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
16355         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
16356         * string/Makefile [$(cross-compiling) = no]: Likewise.
16358         * posix/Makefile ($(objpfx)globtest.out): Pass
16359         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
16360         $(rtld-installed-name).
16361         * posix/globtest.sh (elf_objpfx): Remove variable.
16362         (rtld_installed_name): Likewise.
16363         (library_path): Likewise.
16364         (run_program_prefix): New variable.  Use for running globtest
16365         binary.
16367 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
16368             Joseph Myers  <joseph@codesourcery.com>
16370         * Makeconfig (host-built-program-cmd): New variable.
16371         * elf/Makefile (tst-stackguard1-ARGS): Use
16372         $(host-built-program-cmd).
16373         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
16374         (tst-spawn-ARGS): Likewise.
16375         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
16377 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
16378             Jim Blandy  <jimb@codesourcery.com>
16380         * Makeconfig (run-via-rtld-prefix): New variable.
16381         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
16382         (built-program-cmd): Likewise.
16384 2012-10-22  Andreas Jaeger  <aj@suse.de>
16386         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
16387         __O_RSYNC if it exists, otherwise to O_SYNC.
16389 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
16390             Joseph Myers  <joseph@codesourcery.com>
16392         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
16393         /dev/null.
16394         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
16395         from /dev/null
16396         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
16397         /dev/null.
16399 2012-10-22  Andreas Jaeger  <aj@suse.de>
16401         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
16402         Define always.
16403         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
16405         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
16406         bits/fcntl-linux.h.
16408         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
16409         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
16411         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
16412         to __O_LARGEFILE.
16413         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
16414         to __O_LARGEFILE.
16416 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
16417             Joseph Myers  <joseph@codesourcery.com>
16419         * config.make.in (NM): New variable.
16421 2012-10-21  Andreas Jaeger  <aj@suse.de>
16423         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
16424         definitions and declarations that are provided by
16425         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
16427 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
16429         [BZ #14683]
16430         * elf/Makefile (tests-static): Add tst-leaks1-static.
16431         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
16432         ($(objpfx)tst-leaks1-static): New rule.
16433         ($(objpfx)tst-leaks1-static-mem): Likewise.
16434         (tst-leaks1-static-ENV): New macro.
16435         * elf/dl-open.c (dl_open_worker): Check the main application
16436         only if SHARED is defined.
16437         * elf/tst-leaks1-static.c: New file.
16439 2012-10-20  Andreas Jaeger  <aj@suse.de>
16441         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
16442         generic values for Linux.
16443         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
16444         and declarations that are provided by <bits/fcntl-linux.h> and
16445         include <bits/fcntl-linux.h>.
16446         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
16447         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
16449 2012-10-20  Roland McGrath  <roland@hack.frob.com>
16451         * io/fcntl.h: Move include of <bits/types.h> to the top and
16452         include it unconditionally.
16454 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
16456         * wcsmbs/Makefile (tests-ifunc): New variable.
16457         (tests): Add $(tests-ifunc).
16458         * wcsmbs/test-wcschr-ifunc.c: New file.
16459         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
16460         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
16461         * wcsmbs/test-wcslen-ifunc.c: Likewise.
16462         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
16463         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
16465         * string/Makefile (tests-ifunc): New variable.
16466         (tests): Add $(tests-ifunc).
16467         * string/test-memccpy.c (TEST_NAME): New macro.
16468         * string/test-memchr.c (TEST_NAME): Likewise.
16469         * string/test-memcmp.c (TEST_NAME): Likewise.
16470         * string/test-memcpy.c (TEST_NAME): Likewise.
16471         * string/test-memmem.c (TEST_NAME): Likewise.
16472         * string/test-memmove.c (TEST_NAME): Likewise.
16473         * string/test-memset.c (TEST_NAME): Likewise.
16474         * string/test-rawmemchr.c (TEST_NAME): Likewise.
16475         * string/test-stpcpy.c (TEST_NAME): Likewise.
16476         * string/test-stpncpy.c (TEST_NAME): Likewise.
16477         * string/test-strcasecmp.c (TEST_NAME): Likewise.
16478         * string/test-strcasestr.c (TEST_NAME): Likewise.
16479         * string/test-strcat.c (TEST_NAME): Likewise.
16480         * string/test-strchr.c (TEST_NAME): Likewise.
16481         * string/test-strcmp.c(TEST_NAME): Likewise.
16482         * string/test-strcpy.c (TEST_NAME): Likewise.
16483         * string/test-strcspn.c (TEST_NAME): Likewise.
16484         * string/test-strlen.c (TEST_NAME): Likewise.
16485         * string/test-strncasecmp.c (TEST_NAME): Likewise.
16486         * string/test-strncmp.c (TEST_NAME): Likewise.
16487         * string/test-strncpy.c (TEST_NAME): Likewise.
16488         * string/test-strnlen.c (TEST_NAME): Likewise.
16489         * string/test-strpbrk.c (TEST_NAME): Likewise.
16490         * string/test-strrchr.c (TEST_NAME): Likewise.
16491         * string/test-strspn.c (TEST_NAME): Likewise.
16492         * string/test-strstr.c (TEST_NAME): Likewise.
16493         * string/test-bcopy-ifunc.c: New file.
16494         * string/test-bzero-ifunc.c: Likewise.
16495         * string/test-memccpy-ifunc.c: Likewise.
16496         * string/test-memchr-ifunc.c: Likewise.
16497         * string/test-memcmp-ifunc.c: Likewise.
16498         * string/test-memcpy-ifunc.c: Likewise.
16499         * string/test-memmem-ifunc.c: Likewise.
16500         * string/test-memmove-ifunc.c: Likewise.
16501         * string/test-mempcpy-ifunc.c: Likewise.
16502         * string/test-memset-ifunc.c: Likewise.
16503         * string/test-rawmemchr-ifunc.c: Likewise.
16504         * string/test-stpcpy-ifunc.c: Likewise.
16505         * string/test-stpncpy-ifunc.c: Likewise.
16506         * string/test-strcasecmp-ifunc.c: Likewise.
16507         * string/test-strcasestr-ifunc.c: Likewise.
16508         * string/test-strcat-ifunc.c: Likewise.
16509         * string/test-strchr-ifunc.c: Likewise.
16510         * string/test-strchrnul-ifunc.c: Likewise.
16511         * string/test-strcmp-ifunc.c: Likewise.
16512         * string/test-strcpy-ifunc.c: Likewise.
16513         * string/test-strcspn-ifunc.c: Likewise.
16514         * string/test-strlen-ifunc.c: Likewise.
16515         * string/test-strncasecmp-ifunc.c: Likewise.
16516         * string/test-strncat-ifunc.c: Likewise.
16517         * string/test-strncmp-ifunc.c: Likewise.
16518         * string/test-strncpy-ifunc.c: Likewise.
16519         * string/test-strnlen-ifunc.c: Likewise.
16520         * string/test-strpbrk-ifunc.c: Likewise.
16521         * string/test-strrchr-ifunc.c: Likewise.
16522         * string/test-strspn-ifunc.c: Likewise.
16523         * string/test-strstr-ifunc.c: Likewise.
16525         * debug/Makefile (tests-ifunc): New variable.
16526         (tests): Add $(tests-ifunc).
16527         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
16528         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
16529         * debug/test-stpcpy_chk-ifunc.c: New file.
16530         * debug/test-strcpy_chk-ifunc.c: Likewise.
16532 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
16534         [BZ #13601]
16535         * elf/dl-load.c (open_verify): Retry read if the entire ELF
16536         header is not read in.
16538 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
16540         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
16541         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
16542         directly.  Pass built executable to script as
16543         $(built-program-cmd).
16544         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
16545         $testprogram without using LD_LIBRARY_PATH and $ldso.
16547         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
16548         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
16549         $(rtld-installed-name).
16550         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
16551         (rtld_installed_name): Likewise.
16552         (library_path): Likewise.
16553         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
16554         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
16555         $(run-program-prefix) to tst-tables.sh.
16556         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
16557         it to run tst-table-from and tst-table-to.
16558         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
16559         Pass it to tst-table.sh.
16560         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
16561         $(run-program-prefix) to tst-gettext.sh.
16562         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
16563         tst-translit.sh.
16564         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
16565         tst-gettext2.sh.
16566         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
16567         to run tst-gettext.
16568         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
16569         to run tst-gettext2.
16570         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
16571         to run tst-translit.
16572         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
16573         $(run-program-prefix) to tst-mtrace.sh.
16574         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
16575         to run tst-mtrace.
16576         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
16577         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
16578         $(rtld-installed-name).
16579         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
16580         (rtld_installed_name): Likewise.
16581         (run_program_prefix): New variable.  Use it to run wordexp-test.
16583         * Makeconfig (ARCH): Remove all definitions.
16584         (machine): Likewise.
16585         [ARCH]: Remove conditional code.
16586         [!objdir]: Give error.
16587         [!objdir] (objpfx): Remove.
16588         [!objdir] (common-objpfx): Likewise.
16589         [!objdir] (common-objdir): Likewise.
16590         * configure.in (config_makefile): Remove.  Hardcode Makefile in
16591         AC_CONFIG_FILES call.
16592         * configure: Regenerated.
16594         [BZ #13888]
16595         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
16596         or TMPDIR.
16597         (testout): Likewise.
16599         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
16600         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
16601         $(rtld-installed-name).
16602         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
16603         (rtld_installed_name): Likwise.
16604         (runit): Remove function.
16605         (run_getconf): New variable,  Use it for running getconf binary.
16607 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
16609         [BZ #14716]
16610         * string/test-memmem.c (check_result): New function.
16611         (do_one_test): Use it.
16612         (check1): New function.
16613         (test_main): Use it.
16615 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
16617         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
16619 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
16621         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
16622         (_G_LSEEK64): Likewise.
16623         (_G_MMAP64): Likewise.
16624         (_G_FSTAT64): Likewise.
16625         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
16626         (_G_LSEEK64): Likewise.
16627         (_G_MMAP64): Likewise.
16628         (_G_FSTAT64): Likewise.
16629         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
16630         unconditional.  Call __mmap64 directly.
16631         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
16632         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
16633         __lseek64 directly.
16634         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
16635         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
16636         __mmap64 directly.
16637         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
16638         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
16639         __lseek64 directly.
16640         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
16641         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
16642         __lseek64 directly.
16643         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
16644         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
16645         __lseek64 directly.
16646         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
16647         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
16648         __fxstat64 directly.
16649         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
16650         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
16651         unconditional.
16652         (freopen64) [!_G_OPEN64]: Remove conditional code.
16653         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
16654         unconditional.
16655         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
16656         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
16657         unconditional.
16658         (ftello64) [!_G_LSEEK64]: Remove conditional code.
16659         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
16660         unconditional.
16661         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16662         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
16663         unconditional.
16664         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
16665         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
16666         unconditional.
16667         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16668         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
16669         unconditional.
16670         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
16671         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
16672         unconditional.
16673         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
16675 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
16677         [BZ #12140]
16678         * manual/memory.texi (Malloc Tunable Parameters): Add note
16679         about free list pointers overwriting some perturb bytes.
16680         Wording suggested by Roland McGrath.
16682 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
16684         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
16685         (lgamma_test): Likewise.
16686         (tgamma_test): Likewise.
16688 2012-10-16  Florian Weimer  <fweimer@redhat.com>
16690         [BZ #14700]
16691         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
16692         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
16694 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
16696         * NEWS: Mention BZ #14716.
16697         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
16698         when removing AVAILABLE1_USES_J macro.
16700 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
16702         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
16703         (__bswap_64): __uint64_t for unsigned 64-bit int.
16705 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
16707         * include/string.h (memmem): Declare libc hidden alias.
16708         * string/memmem.c (memmem): Define libc hidden alias.
16709         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
16710         __read, __close instead of open, read, close.
16712 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
16714         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
16715         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
16716         global and hidden.
16717         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
16718         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
16719         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
16720         Likewise.
16721         (__rawmemchr_sse2): Likewise.
16722         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
16723         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
16724         (__strchr_sse2): Likewise.
16725         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
16726         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
16727         (__strcasecmp_sse2): Likewise.
16728         (__strncasecmp_sse2): Likewise.
16729         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
16730         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
16731         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
16732         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
16733         (__strrchr_sse2): Likewise.
16734         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
16735         ifunc-impl-list.c.
16736         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16737         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16738         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
16739         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
16740         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16741         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16742         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16743         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16744         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
16745         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
16746         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
16747         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
16748         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
16749         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
16750         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
16751         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
16752         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
16753         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
16754         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
16755         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
16756         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
16757         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
16758         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
16759         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
16760         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
16761         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
16762         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
16763         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
16764         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
16765         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
16767         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
16768         global and hidden.
16769         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
16770         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
16771         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
16772         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
16773         Likewise.
16774         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
16775         Likewise.
16776         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
16777         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
16778         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
16779         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
16780         ifunc-impl-list.c.
16781         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
16782         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
16783         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
16784         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
16785         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
16786         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
16787         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
16788         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
16789         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
16790         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
16791         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
16792         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
16793         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
16794         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
16795         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
16796         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
16797         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
16798         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
16799         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
16800         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
16801         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
16802         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
16803         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
16804         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
16805         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
16806         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
16807         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
16808         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
16809         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
16810         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
16811         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
16812         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
16813         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
16814         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
16815         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
16816         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
16817         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
16818         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
16819         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
16820         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
16821         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
16823         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
16824         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
16825         * include/ifunc-impl-list.h: New file.
16826         * misc/ifunc-impl-list.c: Likewise.
16827         * misc/Makefile (routines): Add ifunc-impl-list.
16828         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
16829         * string/test-string.h: Include <ifunc-impl-list.h>.
16830         [TEST_IFUNC && TEST_NAME] (func_list, func_count, impl_count,
16831         impl_array): New variables.
16832         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
16833         are defined.
16834         (test_init): Call __libc_ifunc_impl_list to initialize
16835         func_list if TEST_IFUNC and TEST_NAME are defined.
16837         * string/Makefile (strop-tests): Add bcopy and bzero.
16838         * string/test-bcopy.c: New file.
16839         * string/test-bzero.c: Likewise.
16840         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
16841         defined.
16842         * string/test-memset.c: Support bzero test if TEST_BZERO is
16843         defined.
16844         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
16845         __libc_memmove.
16846         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
16847         __libc_memset.
16848         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
16849         of memset.
16851 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
16853         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
16854         * configure: Regenerated.
16856         * Makeconfig (+link-static-before-libc): Don't include
16857         $(link-static-libc).
16859         * libio/libio.h (_IO_pos_t): Remove.
16861 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
16863         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
16864         McGrath.
16866 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
16868         * crypt/crypt-entry.c: Include fips-private.h.
16869         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
16870         * crypt/md5c-test.c (main): Tolerate disabled MD5.
16871         * sysdeps/unix/sysv/linux/fips-private.h: New file.
16872         * sysdeps/generic/fips-private.h: New file, dummy fallback.
16874 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
16876         * crypt/crypt-private.h: Include stdbool.h.
16877         (_ufc_setup_salt_r): Return bool.
16878         * crypt/crypt-entry.c: Include errno.h.
16879         (__crypt_r): Return NULL with EINVAL for bad salt.
16880         * crypt/crypt_util.c (bad_for_salt): New.
16881         (_ufc_setup_salt_r): Check that salt is long enough and within
16882         the specified alphabet.
16883         * crypt/badsalttest.c: New file.
16884         * crypt/Makefile (tests): Add it.
16885         ($(objpfx)badsalttest): New.
16887 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
16889         * NEWS: Add entry for BZ #14602.
16891 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
16893         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
16894         type-generic.
16895         * math/libm-test.inc: Update comment listing what functions and
16896         macros are tested.
16897         (isgreater_test): New function.
16898         (isgreaterequal_test): Likewise.
16899         (isless_test): Likewise.
16900         (islessequal_test): Likewise.
16901         (islessgreater_test): Likewise.
16902         (isunordered_test): Likewise.
16903         (main): Call the new functions.
16905 2012-10-09  Roland McGrath  <roland@hack.frob.com>
16907         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
16908         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
16909         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
16910         * sysdeps/i386/configure: Regenerated.
16911         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
16912         * sysdeps/mach/configure: Regenerated.
16913         * sysdeps/mach/hurd/configure: Regenerated.
16914         * sysdeps/powerpc/configure: Regenerated.
16915         * sysdeps/powerpc/powerpc32/configure: Regenerated.
16916         * sysdeps/powerpc/powerpc64/configure: Regenerated.
16917         * sysdeps/s390/s390-32/configure: Regenerated.
16918         * sysdeps/s390/s390-64/configure: Regenerated.
16919         * sysdeps/sh/configure: Regenerated.
16920         * sysdeps/sparc/configure: Regenerated.
16921         * sysdeps/unix/sysv/linux/configure: Regenerated.
16922         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
16923         * sysdeps/x86_64/configure: Regenerated.
16925         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
16926         defined.  Don't check if MAP is NULL.
16928 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
16930         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
16931         (_G_stat64): Likewise.
16932         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
16933         (_G_stat64): Likewise.
16934         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
16935         instead of struct _G_stat64.
16936         * libio/fileops.c (mmap_remap_check): Likewise.
16937         (decide_maybe_mmap): Likewise.
16938         (_IO_new_file_seekoff): Likewise.
16939         (_IO_file_stat): Likewise.
16940         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
16941         _G_off64_t.
16942         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
16943         instead of struct _G_stat64.
16944         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
16946 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
16948         [BZ #14602]
16949         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16950         Replace with ...
16951         (CHECK_EOL): New macro.
16952         (two_way_short_needle): Check beginning of haystack for EOL.  Use
16953         CHECK_EOL.
16954         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16955         Replace with CHECK_EOL.
16956         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
16957         Replace with CHECK_EOL.
16959 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
16961         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
16962         type-generic.
16963         * math/libm-test.inc: Update comment listing what functions and
16964         macros are tested.
16965         (finite_test): New function.
16966         (isinf_test): Likewise.
16967         (isnan_test): Likewise.
16968         (fpclassify_test): Test subnormal input.
16969         (isfinite_test): Likewise.
16970         (isnormal_test): Likewise.
16971         (main): Call the new functions.
16973 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
16975         [BZ #14660]
16976         * Makerules (%.dynsym): Force C locale when running
16977         $(OBJDUMP) --dynamic-syms.
16979 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
16981         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
16982         <stdint.h>.
16984 2012-10-06  David S. Miller  <davem@davemloft.net>
16986         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
16987         upper 32-bits of the length value in %o2 since we use branch-on-register
16988         tests which consider the entire 64-bit register.
16990 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
16992         * string/test-strstr.c (check2): Add a test for page boundary.
16994 2012-10-05  David S. Miller  <davem@davemloft.net>
16996         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
16997         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
16998         file.
16999         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17000         sysdep_routines.
17001         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17002         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
17003         and bzero when HWCAP_SPARC_CRYPTO is present.
17005 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
17007         [BZ #14602]
17008         * string/test-strstr.c (check2): New function.
17009         (test_main): Call check2.
17011         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
17012         and bug-strchr1.
17013         * string/bug-strcasestr1.c (do_test): Moved to ...
17014         * string/test-strcasestr.c (check1): Here.  New function.
17015         (do_one_test): Break out result checking code into ...
17016         (check_result): This.  New function.
17017         (do_one_test): Call check_result.
17018         (test_main): Call check1.
17019         * string/bug-strchr1.c (do_test): Moved to ...
17020         * string/test-strchr.c (check1): Here.  New function.
17021         (do_one_test): Break out result checking code into ...
17022         (check_result): This.  New function.
17023         (do_one_test): Call check_result.
17024         (test_main): Call check1.
17025         * string/bug-strstr1.c (main): Moved to ...
17026         * string/test-strstr.c (check1): Here.  New function.
17027         (do_one_test): Break out result checking code into ...
17028         (check_result): This.  New function.
17029         (do_one_test): Call check_result.
17030         (test_main): Call check1.
17031         * string/bug-strcasestr1.c: Removed.
17032         * string/bug-strchr1.c: Likewise.
17033         * string/bug-strstr1.c: Likewise.
17035         * elf/Makefile (dl-routines): Add hwcaps.
17036         * elf/dl-support.c (_dl_important_hwcaps): Removed.
17037         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
17038         (_dl_important_hwcaps): Moved to ...
17039         * elf/dl-hwcaps.c: Here.  New file.
17040         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
17042         [BZ #14557]
17043         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
17044         if IS_IN_rtld isn't defined.
17046         * elf/dl-support.c (_dl_sysinfo_map): New.
17047         Include "get-dynamic-info.h" and "setup-vdso.h".
17048         (_dl_non_dynamic_init): Call setup_vdso.
17049         * elf/dynamic-link.h: Don't include <assert.h>.
17050         (elf_get_dynamic_info): Moved to ...
17051         * elf/get-dynamic-info.h: Here.  New file.
17052         * elf/dynamic-link.h: Include "get-dynamic-info.h".
17053         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
17054         * elf/setup-vdso.h: Here.  New file.
17055         * elf/rtld.c: Include "setup-vdso.h".
17056         (dl_main): Call setup_vdso.
17058 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
17060         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
17061         creal in comment listing functions tested.  List finite, isinf,
17062         isnan, isless, islessequal, isgreater, isgreaterequal,
17063         islessgreater, isunordered, lgamma_r and pow10 as functions and
17064         macros not tested.  Mention which functions not tested are aliases
17065         for other functions.  Fix typo.  Note that signs of NaNs are not
17066         tested.
17068         * scripts/config.guess: Update from config.git.
17069         * scripts/config.sub: Likewise.
17071 2012-10-04  Roland McGrath  <roland@hack.frob.com>
17073         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
17074         * misc/madvise.c (madvise): Renamed to __madvise.
17075         Make madvise a weak alias.
17076         * include/sys/mman.h: Declare __madvise.
17077         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
17078         * sysdeps/unix/syscalls.list
17079         (madvise): Make __madvise the strong name, and madvise a weak alias.
17080         * sysdeps/unix/sysv/linux/syscalls.list
17081         (madvise, mmap): Remove redundant entries.
17082         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
17083         * malloc/malloc.c (mtrim): Likewise.
17084         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
17086 2012-10-03  Roland McGrath  <roland@hack.frob.com>
17088         * sysdeps/mach/hurd/dl-cache.c: File removed.
17089         * config.h.in (USE_LDCONFIG): New #undef.
17090         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
17091         * configure: Regenerated.
17092         * elf/Makefile (dl-routines): Add dl-cache only under
17093         [$(use-ldconfig) = yes].
17094         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
17095         cache on [USE_LDCONFIG].
17096         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
17097         [USE_LDCONFIG].
17098         * elf/rtld.c (dl_main): Likewise.
17100 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
17102         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
17103         _SC_LEVEL4_CACHE_LINESIZE.
17105 2012-10-03  Roland McGrath  <roland@hack.frob.com>
17107         * sysdeps/unix/bsd/confstr.h: File removed.
17109 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
17111         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
17112         sys/sdt-config.h.
17114 2012-10-02  Roland McGrath  <roland@hack.frob.com>
17116         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
17117         Make 'mapoff' field ElfW(Off) rather than off_t.
17119 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
17121         * nscd/Makefile: Remove nscd-cflags and all its users.
17122         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
17123         (CFLAGS-nonlib): Add compiler flags for nscd modules.
17125         [BZ #10631]
17126         * malloc.c (malloc_printerr): Clarify error message.
17128 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
17130         [BZ #14648]
17131         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
17132         Set bit_FMA_Usable if FMA is supported.
17133         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
17134         macro.
17135         (bit_FMA4_Usable): Updated.
17136         (index_FMA_Usable): New macro.
17137         (CPUID_FMA): Likewise
17138         (HAS_FMA): Defined with bit_FMA_Usable.
17140 2012-10-01  Roland McGrath  <roland@hack.frob.com>
17142         * bits/types.h (__swblk_t): Type removed.
17143         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
17144         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
17145         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
17146         (__SWBLK_T_TYPE): Likewise.
17147         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
17148         (__SWBLK_T_TYPE): Likewise.
17149         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
17150         (__SWBLK_T_TYPE): Likewise.
17151         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
17152         (__SWBLK_T_TYPE): Likewise.
17154 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
17155             Honza Horak <hhorak@redhat.com>
17157         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
17158         (xdr_mapname): Use YPMAXMAP as maxsize.
17159         (xdr_peername): Use YPMAXPEER as maxsize.
17160         (xdr_keydat): Use YPAXRECORD as maxsize.
17161         (xdr_valdat): Use YPMAXRECORD as maxsize.
17163 2012-10-01  Roland McGrath  <roland@hack.frob.com>
17165         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
17167         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
17168         * csu/init-first.c: ... here.
17169         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
17170         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
17171         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
17172         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
17173         * sysdeps/i386/init-first.c: File removed.
17174         * sysdeps/sh/init-first.c: File removed.
17176 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
17178         [BZ #14645]
17179         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
17180         if x * y might underflow to zero and z is zero.
17181         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
17182         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17183         * math/libm-test.inc (min_subnorm_value): New variable.
17184         (fma_test): Add more tests.
17185         (fma_test_towardzero): Likewise.
17186         (fma_test_downward): Likewise
17187         (fma_test_upward): Likewise.
17188         (initialize): Set min_subnorm_value.
17190 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
17192         [BZ #14638]
17193         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
17194         0 + 0.
17195         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
17196         mode for addition resulting in exact zero.
17197         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
17198         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
17199         exact 0 + 0.
17200         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
17201         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
17202         * math/libm-test.inc (fma_test): Add more tests.
17203         (fma_test_towardzero): New function.
17204         (fma_test_downward): Likewise.
17205         (fma_test_upward): Likewise.
17206         (main): Call the new functions.
17208 2012-09-28  David S. Miller  <davem@davemloft.net>
17210         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
17212 2012-09-28  Roland McGrath  <roland@hack.frob.com>
17214         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
17215         instead of SIGALRM.
17217         * sysdeps/gnu/_G_config.h: Moved to ...
17218         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
17219         * sysdeps/mach/hurd/_G_config.h: Moved to ...
17220         * sysdeps/generic/_G_config.h: ... here.
17222         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
17224         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
17226         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
17227         Conditionalize target on [libnss_test1.so-version].
17229         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
17231         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
17232         (elfobjdir): Move out of conditionals.
17234         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
17235         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
17236         (__nss_lookup_function): Conditionalize label remove_from_tree on
17237         [!DO_STATIC_NSS || SHARED], matching its only use.
17239 2012-09-28  David S. Miller  <davem@davemloft.net>
17241         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
17242         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
17243         file.
17244         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
17245         sysdep_routines.
17246         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
17247         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
17248         when HWCAP_SPARC_CRYPTO is present.
17250 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
17252         * io/tst-mknodat.c: Create a FIFO instead of a socket.
17254 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
17256         [BZ #6530]
17257         * stdio-common/vfprintf.c (process_string_arg): Revert
17258         2000-07-22 change.
17260 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
17262         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
17263         for testcase.
17264         * stdio-common/tst-sprintf.c: Include <locale.h>
17265         (main): Test sprintf's handling of incomplete multibyte
17266         characters.
17268 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
17270         * elf/dl-runtime.c (VERSYMIDX): Removed.
17271         * elf/dl-version.c (VERSYMIDX): Likewise.
17272         * elf/do-rel.h (VERSYMIDX): Likewise.
17273         (VALIDX): Likewise.
17274         * elf/dynamic-link.h (VERSYMIDX): Likewise.
17275         * elf/rtld.c (VALIDX): Likewise.
17276         (ADDRIDX): Likewise.
17277         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
17278         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
17279         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
17280         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
17281         (VALIDX): Likewise.
17282         (ADDRIDX): Likewise.
17284 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
17286         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
17288 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
17290         [BZ #11438]
17291         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
17292         to global scope.
17293         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
17294         addresses are in the same scope as 192.0.2/24.
17295         * posix/gai.conf: Document new scope table defaults.
17297 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17299         [BZ #5298]
17300         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
17301         for ftell.  Compute offsets from write pointers instead.
17302         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
17304 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
17306         [BZ #14543]
17307         * libio/Makefile (tests): New test case tst-fseek.
17308         * libio/tst-fseek.c: New test case to verify that fseek/ftell
17309         combination works in wide mode.
17310         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
17311         state when the external buffer state changes.
17313 2012-09-27  David S. Miller  <davem@davemloft.net>
17315         [BZ #14376]
17316         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
17317         pass reloc->r_addend in as the 'high' argument to
17318         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
17320         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17322 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
17324         * rt/tst-aio2.c: Include <pthread.h>.
17325         * rt/tst-aio3.c: Likewise.
17327 2012-09-27  Steve Ellcey  <sellcey@mips.com>
17329         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
17331 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
17333         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
17334         contents on [SHARED].
17336 2012-09-26  Marek Polacek  <polacek@redhat.com>
17338         [BZ #14530]
17339         [BZ #13741]
17340         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
17341         for C++ and GCC <4.3 as well as for non GCC compilers.
17343 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
17345         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17347 2012-09-25  Roland McGrath  <roland@hack.frob.com>
17349         * Makefile.in (all, install): Declare with .PHONY.
17350         Reported by Michael Hope <michael.hope@linaro.org>.
17352 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17354         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
17355         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
17356         system header.
17357         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
17358         Likewise.
17359         (sydep_routines): Add the new and the internal functions.
17360         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
17361         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
17362         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
17363         (GLIBC_2.17): Add the new function.
17364         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
17365         (GLIBC_2.17): Likewise.
17366         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
17367         (GLIBC_2.17): Likewise.
17368         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
17369         (GLIBC_2.17): Likewise.
17370         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
17372 2012-09-25  Alan Modra  <amodra@gmail.com>
17374         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
17375         Add release barrier before setting once_control to say
17376         initialisation is done.  Add hints on lwarx.  Use macro in
17377         place of isync.
17378         (clear_once_control): Add release barrier.
17380 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
17382         [BZ #13629]
17383         * math/s_clog.c (__clog): Handle more values close to |z| = 1
17384         specially.
17385         * math/s_clog10.c (__clog10): Likewise.
17386         * math/s_clog10f.c (__clog10f): Likewise.
17387         * math/s_clog10l.c (__clog10l): Likewise.
17388         * math/s_clogf.c (__clogf): Likewise.
17389         * math/s_clogl.c (__clogl): Likewise.
17390         * math/Makefile (libm-calls): Add x2y2m1.
17391         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
17392         (__x2y2m1): Likewise.
17393         (__x2y2m1l): Likewise.
17394         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
17395         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
17396         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
17397         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
17398         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
17399         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
17400         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
17401         * sysdeps/i386/fpu/libm-test-ulps: Update.
17402         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
17404         [BZ #14621]
17405         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
17406         int as type of variable DEPTH.
17407         (glob): Use size_t instead of int as type of variables NEWCOUNT
17408         and OLD_PATHC.
17410 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17412         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17413         Add s_sincosf-sse2.
17414         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
17415         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
17416         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
17417         macros for using routine as __sincosf_ia32.
17418         Use macro for function declaration and weak_alias.
17419         * sysdeps/i386/fpu/libm-test-ulps: Update.
17421         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
17422         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17424         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
17425         subnormal argument.
17426         * math/s_cexpf.c (__cexpf): Likewise.
17427         * math/s_csinf.c (__csinf): Likewise.
17428         * math/s_csinhf.c (__csinhf): Likewise.
17429         * math/s_ctanf.c (__ctanf): Likewise.
17430         * math/s_ctanhf.c (__ctanhf): Likewise.
17431         * math/s_ccosh.c (__ccoshf): Likewise.
17432         * math/s_cexp.c (__cexpl): Likewise.
17433         * math/s_csin.c (__csin): Likewise.
17434         * math/s_csinh.c (__csinh): Likewise.
17435         * math/s_ctan.c (__ctan): Likewise.
17436         * math/s_ctanh.c (ctanh): Likewise.
17437         * math/s_ccoshl.c (__ccoshl): Likewise.
17438         * math/s_cexpl.c (__cexpl): Likewise.
17439         * math/s_csinl.c (__csinl): Likewise.
17440         * math/s_csinhl.c (__csinhl): Likewise.
17441         * math/s_ctanl.c (__ctanl): Likewise.
17442         * math/s_ctanhl.c (__ctanhl): Likewise.
17444 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
17446         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
17447         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
17448         (_IO_off_t): Define to __off_t, not _G_off_t.
17449         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
17450         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
17451         (_IO_wint_t): Define to wint_t, not _G_wint_t.
17452         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
17453         type of __dummy and __dummy2 fields.
17454         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
17455         (_G_ssize_t): Likewise.
17456         (_G_off_t): Likewise.
17457         (_G_pid_t): Likewise.
17458         (_G_uid_t): Likewise.
17459         (_G_wchar_t): Likewise.
17460         (_G_wint_t): Likewise.
17461         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
17462         (_G_ssize_t): Likewise.
17463         (_G_off_t): Likewise.
17464         (_G_pid_t): Likewise.
17465         (_G_uid_t): Likewise.
17466         (_G_wchar_t): Likewise.
17467         (_G_wint_t): Likewise.
17468         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
17469         (_G_ssize_t): Likewise.
17470         (_G_off_t): Likewise.
17471         (_G_pid_t): Likewise.
17472         (_G_uid_t): Likewise.
17473         (_G_wchar_t): Likewise.
17474         (_G_wint_t): Likewise.
17476 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17478         * malloc/arena.c: Include malloc-sysdep.h.
17479         (shrink_heap): Use check_may_shrink_heap to decide if madvise
17480         is sufficient to shrink the heap or an unmap is needed.
17481         * sysdeps/generic/malloc-sysdep.h: New file.  Define
17482         new function check_may_shrink_heap.
17483         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
17484         new function check_may_shrink_heap.
17486 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
17488         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
17489         comments.
17491 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
17493         * catgets/test-gencat.sh: Add "set -e".
17494         * elf/tst-pathopt.sh: Likewise.
17495         * grp/tst_fgetgrent.sh: Likewise.
17496         * iconvdata/run-iconv-test.sh: Likewise.
17497         * intl/tst-gettext.sh: Likewise.
17498         * intl/tst-gettext2.sh: Likewise.
17499         * intl/tst-gettext4.sh: Likewise.
17500         * intl/tst-gettext6.sh: Likewise.
17501         * intl/tst-translit.sh: Likewise.
17502         * io/ftwtest-sh: Likewise.
17503         * libio/test-freopen.sh: Likewise.
17504         * malloc/tst-mtrace.sh: Likewise.
17505         * posix/globtest.sh: Likewise.
17506         * posix/tst-getconf.sh: Likewise.
17507         * posix/wordexp-tst.sh: Likewise.
17508         * stdio-common/tst-printf.sh: Likewise.
17509         * stdio-common/tst-unbputc.sh: Likewise.
17510         * stdlib/tst-fmtmsg.sh: Likewise.
17511         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17512         * catgets/Makefile: Do not specify -e option when running
17513         testsuite shell scripts.
17514         * elf/Makefile: Likewise.
17515         * grp/Makefile: Likewise.
17516         * iconvdata/Makefile: Likewise.
17517         * intl/Makefile: Likewise.
17518         * io/Makefile: Likewise.
17519         * libio/Makefile: Likewise.
17520         * malloc/Makefile: Likewise.
17521         * posix/Makefile: Likewise.
17522         * stdio-common/Makefile: Likewise.
17523         * stdlib/Makefile: Likewise.
17524         * sysdeps/x86_64/Makefile: Likewise.
17526         * io/ftwtest-sh: Add copyright header.
17527         * posix/globtest.sh: Likewise.
17528         * posix/tst-getconf.sh: Likewise.
17529         * posix/wordexp-tst.sh: Likewise.
17530         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
17532 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
17534         [BZ #13679]
17535         * Makeconfig (+link): Defined as $(+link-static) if
17536         $(build-shared) isn't yes.
17537         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
17538         isn't yes.
17539         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
17541         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
17543         [BZ #14562]
17544         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
17545         new chunk size with MALLOC_ALIGN_MASK.
17547 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
17549         [BZ #5044]
17550         * stdio-common/printf_fphex.c: Include <stdbool.h> and
17551         <rounding-mode.h>.
17552         (__printf_fphex): Determine rounding using get_rounding_mode and
17553         round_away.
17554         * stdio-common/tst-printf-round.c (struct hex_test): New
17555         structure.
17556         (hex_tests): New variable.
17557         (test_hex_in_one_mode): New function.
17558         (do_test): Also run tests for hex float output.
17560 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
17562         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17563         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17564         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
17565         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
17566         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
17567         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
17568         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17569         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
17571 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
17573         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
17574         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
17575         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
17576         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
17578 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
17580         [BZ #14579]
17581         * elf/rtld.c (dl_main): Limit the check for self loading to normal
17582         mode only.
17583         * elf/tst-rtld-load-self.sh: New test.
17584         * elf/Makefile: Run it.
17586 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
17588         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
17589         (tst-writev-ENV): Remove.
17590         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
17592 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
17594         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
17596 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
17598         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
17599         unconditional.
17600         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
17601         Likewise.
17602         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
17603         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
17604         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
17605         Likewise.
17607 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
17609         [BZ #14587]
17610         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
17611         * config.make.in (have-cpp-asm-debuginfo): Removed.
17612         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
17613         * configure: Regenerated.
17615 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
17617         [BZ #5044]
17618         * stdio-common/printf_fp.c: Include <stdbool.h> and
17619         <rounding-mode.h>.
17620         (___printf_fp): Determine rounding using get_rounding_mode and
17621         round_away.
17622         * stdio-common/tst-printf-round.c: New file.
17623         * stdio-common/Makefile (tests): Add tst-printf-round.
17624         (link-libm): New variable.
17625         ($(objpfx)tst-printf-round): Depend in $(link-libm).
17627 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
17629         [BZ #14576]
17630         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
17631         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
17632         Likewise.
17633         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
17634         Likewise.
17636 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
17638         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
17639         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17640         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17641         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
17643 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
17645         [BZ #14518]
17646         * include/rounding-mode.h: New file.
17647         * sysdeps/generic/get-rounding-mode.h: Likewise.
17648         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
17649         * stdlib/strtod_l.c: Include <rounding-mode.h>.
17650         (MAX_VALUE): New macro.
17651         (MIN_VALUE): Likewise.
17652         (overflow_value): New function.
17653         (underflow_value): Likewise.
17654         (round_and_return): Use overflow_value and underflow_value to
17655         determine return values in overflow and underflow cases.  Use
17656         round_away to determine rounding depending on rounding mode.
17657         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
17658         determine return values in overflow and underflow cases.
17659         * stdlib/tst-strtod-round.c: Include <fenv.h>.
17660         (struct test_results): New structure.
17661         (struct test): Use struct test_results to store expected results
17662         for all rounding modes.
17663         (TEST): Include expected results for all rounding modes.
17664         (test_in_one_mode): New function.
17665         (do_test): Use test_in_one_mode to compute and check results.
17666         Check results for all rounding modes.
17667         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
17668         $(link-libm).
17670 2012-12-09  Allan McRae  <allan@archlinux.org>
17672         * sysdeps/i386/fpu/libm-test-ulps: Update
17674 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
17676         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
17677         (_G_int32_t): Likewise.
17678         (_G_uint16_t): Likewise.
17679         (_G_uint32_t): Likewise.
17680         (_G_HAVE_BOOL): Likewise.
17681         (_G_HAVE_ATEXIT): Likewise.
17682         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17683         (_G_HAVE_IO_FILE_OPEN): Likewise.
17684         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
17685         (_G_int32_t): Likewise.
17686         (_G_uint16_t): Likewise.
17687         (_G_uint32_t): Likewise.
17688         (_G_HAVE_BOOL): Likewise.
17689         (_G_HAVE_ATEXIT): Likewise.
17690         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17691         (_G_HAVE_IO_FILE_OPEN): Likewise.
17692         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
17693         (_G_int32_t): Likewise.
17694         (_G_uint16_t): Likewise.
17695         (_G_uint32_t): Likewise.
17696         (_G_HAVE_BOOL): Likewise.
17697         (_G_HAVE_ATEXIT): Likewise.
17698         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
17699         (_G_HAVE_IO_FILE_OPEN): Likewise.
17701 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
17703         * csu/libc-tls.c: Update copyright years.
17705 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
17707         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
17708         [!_G_USING_THUNKS]: Remove conditional code.
17709         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
17710         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
17712         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
17713         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
17714         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17715         (_G_VTABLE_LABEL_PREFIX): Likewise.
17716         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17717         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17718         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17719         (_G_VTABLE_LABEL_PREFIX): Likewise.
17720         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17721         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
17722         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
17723         (_G_VTABLE_LABEL_PREFIX): Likewise.
17724         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
17726 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
17728         * libio/Makefile: Include ../Makeconfig before tests.
17729         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
17730         only if $(build-shared) is yes.
17732         * iconv/gconv_db.c: Update copyright years.
17734 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17736         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
17737         unwind info if defined PIC. Fix special cases description.
17738         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
17740         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
17741         DP_HI_MASK entry.
17742         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
17744 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
17746         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
17748         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
17749         is NULL.
17751         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
17752         (LDLIBS-tst-chk4): This.
17753         (LDFLAGS-tst-chk5): Renamed to ...
17754         (LDLIBS-tst-chk5): This.
17755         (LDFLAGS-tst-chk6): Renamed to ...
17756         (LDLIBS-tst-chk6): This.
17757         (LDFLAGS-tst-lfschk4): Renamed to ...
17758         (LDLIBS-tst-lfschk4): This.
17759         (LDFLAGS-tst-lfschk5): Renamed to ...
17760         (LDLIBS-tst-lfschk5): This.
17761         (LDFLAGS-tst-lfschk6): Renamed to ...
17762         (LDLIBS-tst-lfschk6): This.
17764         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
17765         on $(common-objpfx)soversions.mk.
17767 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
17769         [BZ #10014]
17770         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
17771         example host name.
17773 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
17775         * malloc/arena.c (arena_get_retry): New function that gets
17776         another arena for the caller to try its request on.
17777         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
17778         current arena cannot fulfill the request.
17779         (__libc_memalign): Likewise.
17780         (__libc_memalign): Likewise.
17781         (__libc_pvalloc): Likewise.
17782         (__libc_calloc): Likewise.
17784 2012-09-05  John Tobey  <john.tobey@gmail.com>
17786         [BZ #13542]
17787         * manual/arith.texi (Operations on Complex): Fix description
17788         of carg branch cut.
17790 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
17792         [BZ #10014]
17793         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
17794         host name.
17796         [BZ #10038]
17797         * manual/memory.texi (Memory): Make order of menu items match
17798         order of sections.
17800 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
17802         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
17803         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
17804         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
17806 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
17808         * csu/libc-tls.c (static_dtv): Renamed to ...
17809         (_dl_static_dtv): This.  Make it global.
17810         (_dl_initial_dtv): Removed.
17811         (__libc_setup_tls): Updated.
17812         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
17813         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
17814         DL_INITIAL_DTV.
17816 2012-09-06  Petr Machata  <pmachata@redhat.com>
17818         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
17819         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
17820         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
17821         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
17823 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
17825         [BZ #14545]
17826         * csu/libc-tls.c (_dl_initial_dtv): New variable.
17827         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
17828         freeing dtv[-1].
17830 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
17832         [BZ #14544]
17833         * Makeconfig (link-static-before-libc): Replace $(+prector)
17834         with $(+prectorT).
17835         (link-static-after-libc): Replace $(+postctor) with
17836         $(+postctorT).
17837         (link-bounded): Replace $(+prector)/$(+postctor) with
17838         $(+prectorT)/$(+postctorT).
17839         (+prectorT): New macro.
17840         (+postctorT): Likewise.
17842 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
17844         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
17845         (round_str): Handle values above the maximum for IBM long double
17846         as inexact.
17847         * stdlib/tst-strtod-round.c (tests): Regenerated.
17849 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17851         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
17852         assembler flag.
17853         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
17854         zarch_nohighgprs around the zarch optimized routines.
17855         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
17856         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
17857         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
17858         for zarch.
17860 2012-09-05  David S. Miller  <davem@davemloft.net>
17862         * sysdeps/sparc/fpu/libm-test-ulps: Update.
17864         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE,
17865         HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
17866         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
17867         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
17868         entries.
17870 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
17872         * malloc/arena.c: Fold copyright years.
17873         * malloc/mcheck.c, malloc/memusage.c: Likewise.
17875 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
17877         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
17879 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
17881         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
17883 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
17885         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
17886         change internal state upon failure.
17888 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
17890         * malloc/mcheck.c (mcheck_check_all): Fix typo.
17891         * malloc/memusage.c (mmap): Likewise.
17892         (mmap64, mremap): Likewise.  Adjust name in comment.
17894 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17896         * libio/fileops.c: Fix typos in comments.
17897         * libio/oldfileops.c: Likewise.
17898         * libio/wfileops.c: Likewise.
17900 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
17902         [BZ #1349]
17903         * malloc/Makefile (tests): Add tst-malloc-usable test case.
17904         (tst-malloc-usable-ENV): Set environment for test case.
17905         * malloc/hooks.c (malloc_check_get_size): New function to get
17906         requested size.
17907         * malloc/malloc.c (musable): Use malloc_check_get_size.
17908         * malloc/tst-malloc-usable.c: New test case.
17910 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
17912         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
17914 2012-09-05  Allan McRae  <allan@archlinux.org>
17916         [BZ #13966]
17917         * configure.in (CXX_SYSINCLUDES): Use compiler output to
17918         determine header location.
17919         * configure: Regenerated.
17921 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
17923         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
17924         float format.
17925         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
17926         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
17927         format.
17928         (test): Regenerate.
17930 2012-09-04  David S. Miller  <davem@davemloft.net>
17932         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
17933         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
17934         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
17936 2012-09-04  Florian Weimer  <fweimer@redhat.com>
17938         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
17939         failures.
17941         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
17943 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
17945         [BZ #9914]
17946         * libio/iogetdelim.c: Include <limits.h>.
17947         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
17948         + len + 1 would overflow.
17950 2012-09-03  Andreas Jaeger  <aj@suse.de>
17952         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17953         * sysdeps/i386/fpu/libm-test-ulps: Update.
17955 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
17957         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
17958         Add s_sinf-sse2, s_conf-sse2.
17960         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
17961         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
17962         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
17963         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
17965         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
17966         for using routine as __sinf_ia32.
17967         Use macro for function declaration and weak_alias.
17968         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
17969         for using routine as __cosf_ia32.
17970         Use macro for function declaration and weak_alias.
17972         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
17973         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
17975         * sysdeps/x86_64/fpu/s_sinf.S: New file.
17976         * sysdeps/x86_64/fpu/s_cosf.S: New file.
17977         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17979         * math/libm-test.inc (cos_test): Add more test cases.
17980         (sin_test): Likewise.
17981         (sincos_test): Likewise.
17983 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
17985         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
17986         (IFUNC_RESOLVE): Make pointers to the specialized implementations
17987         hidden.
17988         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
17990 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
17992         [BZ #14538]
17993         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
17994         first element of the GOT.
17995         (elf_machine_load_address): Return the difference between
17996         the runtime address of _DYNAMIC and elf_machine_dynamic ().
17998 2012-09-01  Allan McRae  <allan@archlinux.org>
18000         [BZ #13412]
18001         * configure.in (AWK): Require gawk version 3.0 or later.
18002         * configure: Regenerated.
18004 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
18006         * sysdeps/unix/sysv/linux/kernel-features.h
18007         (__ASSUME_POSIX_CPU_TIMERS): Remove.
18008         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18009         [__NR_clock_getres]: Make code unconditional.
18010         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
18011         (clock_getcpuclockid): Remove code left unreachable by removal of
18012         conditionals.
18013         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
18014         code unconditional.
18015         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18016         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18017         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
18018         Make code unconditional.
18019         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
18020         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18021         * sysdeps/unix/sysv/linux/clock_settime.c
18022         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
18023         conditional code.
18024         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
18025         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
18027 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
18029         [BZ #14476]
18030         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
18031         scripts/test-installation.pl.
18033         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
18034         and $ld_so_version if it is set.
18036 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
18038         [BZ #14516]
18039         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
18040         failure if reading from procfs failed.
18041         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
18043 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
18045         * sysdeps/unix/sysv/linux/kernel-features.h
18046         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
18047         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18048         Remove conditional code.
18049         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18050         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
18051         Remove conditional code.
18052         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18053         * sysdeps/unix/sysv/linux/i386/fxstat.c
18054         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18055         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18056         * sysdeps/unix/sysv/linux/i386/fxstatat.c
18057         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18058         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18059         * sysdeps/unix/sysv/linux/i386/lxstat.c
18060         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
18061         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18062         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
18063         Remove conditional code.
18064         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18065         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
18066         Remove conditional code.
18067         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18068         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
18069         <kernel-features.h>.
18070         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
18071         Remove.
18072         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
18073         Remove conditional code.
18074         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
18075         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
18076         Remove conditional.
18078 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
18080         [BZ #5400]
18081         * NEWS: Add fixed bug number.
18083 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
18085         [BZ #14519]
18086         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
18087         underflowing exponent in case of negative sign.
18088         * stdlib/tst-strtod-round-data: Add more tests.
18089         * stdlib/tst-strtod-round.c (tests): Regenerated.
18091         [BZ #3479]
18092         * stdlib/strtod_l.c (NDIG): Remove.
18093         (HEXNDIG): Likewise.
18094         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
18095         smallest representable value.
18096         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
18097         lie within an exact representation of 1/2 ulp of the result.
18098         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
18099         unconditionally.
18100         (TENS_P9_IDX): Define unconditionally.
18101         (TENS_P9_SIZE): Likewise.
18102         (TENS_P10_IDX): Likewise.
18103         (TENS_P10_SIZE): Likewise.
18104         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
18105         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
18106         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
18107         entries for 10^2^13 and 10^2^14.
18108         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
18109         (TENS_P13_IDX): Define.
18110         (TENS_P13_SIZE): Likewise.
18111         (TENS_P14_IDX): Likewise.
18112         (TENS_P14_SIZE): Likewise.
18113         (_fpioconst_pow10): Change array size to
18114         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
18115         unconditional.
18116         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
18117         1024]: Add entries for 10^2^13 and 10^2^14.
18118         [LAST_POW10 > _LAST_POW10]: Remove #error.
18119         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
18120         (_fpioconst_pow10): Change array size to
18121         FPIOCONST_POW10_ARRAY_SIZE.
18122         * stdlib/gen-fpioconst.c: New file.
18123         * stdlib/gen-tst-strtod-round.c: Likewise.
18124         * stdlib/tst-strtod-round-data: Likewise.
18125         * stdlib/tst-strtod-round.c: Likewise.
18126         * stdlib/Makefile (tests): Add tst-strtod-round.
18128         [BZ #14459]
18129         * stdlib/strtod_l.c: Include <stdint.h>.
18130         (NDEBUG): Do not define.
18131         (round_and_return): Change EXPONENT parameter to type intmax_t.
18132         Rearrange calculations to avoid internal overflow possibilities.
18133         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
18134         Rearrange calculations to avoid internal overflow possibilities.
18135         Assert that number fits inside MPNSIZE limbs.
18136         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
18137         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
18138         calculations and add assertions to avoid internal overflow
18139         possibilities.  Add casts to avoid signed/unsigned operations.
18140         * stdlib/tst-strtod-overflow.c: New file.
18141         * stdlib/Makefile (tests): Add tst-strtod-overflow.
18143 2012-08-25  Marek Polacek  <polacek@redhat.com>
18145         * time/time.h: Fix some typos in comments.
18147 2012-08-23  Roland McGrath  <roland@hack.frob.com>
18149         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
18150         * posix/tst-rfc3484-2.c: Likewise.
18151         * posix/tst-rfc3484-3.c: Likewise.
18153 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
18155         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
18156         (EF_ARM_ABI_FLOAT_HARD): Likewise.
18158 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
18160         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
18161         #include of fxstatat64.c.
18163 2012-08-22  Roland McGrath  <roland@hack.frob.com>
18165         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
18166         * shadow/getspent_r.c: Likewise.
18167         * shadow/getspnam.c: Likewise.
18168         * shadow/getspnam_r.c: Likewise.
18169         * gshadow/getsgent.c: Likewise.
18170         * gshadow/getsgent_r.c: Likewise.
18171         * gshadow/getsgnam.c: Likewise.
18172         * gshadow/getsgnam_r.c: Likewise.
18173         * inet/getnetbyad.c: Likewise.
18174         * inet/getnetbyad_r.c: Likewise.
18175         * inet/getnetbynm.c: Likewise.
18176         * inet/getnetbynm_r.c: Likewise.
18177         * inet/getnetent.c: Likewise.
18178         * inet/getnetent_r.c: Likewise.
18179         * inet/getproto.c: Likewise.
18180         * inet/getproto_r.c: Likewise.
18181         * inet/getprtent.c: Likewise.
18182         * inet/getprtent_r.c: Likewise.
18183         * inet/getprtname.c: Likewise.
18184         * inet/getprtname_r.c: Likewise.
18185         * inet/getrpcbyname.c: Likewise.
18186         * inet/getrpcbyname_r.c: Likewise.
18187         * inet/getrpcbynumber.c: Likewise.
18188         * inet/getrpcbynumber_r.c: Likewise.
18189         * inet/getrpcent.c: Likewise.
18190         * inet/getrpcent_r.c: Likewise.
18191         * inet/getaliasent.c: Likewise.
18192         * inet/getaliasent_r.c: Likewise.
18193         * inet/getaliasname.c: Likewise.
18194         * inet/getaliasname_r.c: Likewise.
18195         * nscd/getgrgid_r.c: Likewise.
18196         * nscd/getgrnam_r.c: Likewise.
18197         * nscd/gethstbyad_r.c: Likewise.
18198         * nscd/gethstbynm3_r.c: Likewise.
18199         * nscd/getpwnam_r.c: Likewise.
18200         * nscd/getpwuid_r.c: Likewise.
18201         * nscd/getsrvbynm_r.c: Likewise.
18202         * nscd/getsrvbypt_r.c: Likewise.
18203         * nscd/gai.c: Likewise.
18205         * configure.in (build_nscd): New substituted variable, set
18206         by --disable-build-nscd and defaults to $use_nscd.
18207         * configure: Regenerated.
18208         * config.make.in (build-nscd): New substituted variable.
18209         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
18210         Change conditional to require [$(build-nscd) = yes] as well.
18211         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
18213         [BZ# 13696]
18214         * configure.in (use_nscd): New substituted variable, set by
18215         --disable-nscd.  If enabled, define USE_NSCD.
18216         * configure: Regenerated.
18217         * config.h.in: Add USE_NSCD.
18218         * config.make.in (use-nscd): New substituted variable.
18219         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
18220         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
18221         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
18222         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
18223         (CFLAGS-getgrnam_r.c): Likewise.
18224         (CFLAGS-initgroups.c): Likewise.
18225         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
18226         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
18227         Variables removed.
18228         * inet/getnetgrent_r.c
18229         (nscd_setnetgrent): New function, broken out of ...
18230         (setnetgrent): ... here.  Call it.
18231         (innetgr): Conditionalize nscd bits on [USE_NSCD].
18232         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
18233         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
18234         * nscd/Makefile (routines, aux): Move definitions after include of
18235         Makeconfig.  Conditionalize on [$(use-nscd) != no].
18236         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
18237         Conditionalize on [USE_NSCD].
18238         (is_nscd, nscd_init_cb): Likewise.
18239         (nss_load_library): Conditionalize init callback on [USE_NSCD].
18240         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
18241         * nss/nss_db/db-init.c: Likewise.
18242         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
18243         [USE_NSCD].
18244         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
18245         (make_request): Use it.
18246         (cache_valid_p): New function.
18247         (__check_pf): Use it.
18248         * NEWS: Add item for --disable-nscd.
18250 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
18252         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
18253         to support sed >= 4.2.1-20-ga9bf076.
18254         * configure: Regenerated.
18256 2012-08-22  Roland McGrath  <roland@hack.frob.com>
18258         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
18259         Conditionalize whole body on [IREL].
18261 2012-08-22  Jeff Law <law@redhat.com>
18263         [BZ #14505]
18264         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
18265         if the family is PF_UNSPEC.
18267 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
18269         * Makerules (lib-version): Rename from V.
18270         (install-lib-nosubdir): Change V to lib-version.
18272 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
18274         [BZ #14252]
18275         * powerpc32/power6/wcschr.c: New file.
18276         * powerpc32/power6/wcscpy.c: New file.
18277         * powerpc32/power6/wcsrchr.c: New file.
18278         * powerpc64/power6/wcschr.c: New file.
18279         * powerpc64/power6/wcscpy.c: New file.
18280         * powerpc64/power6/wcsrchr.c: New file.
18282 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
18284         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
18285         (two_way_short_needle): Use it.
18286         * string/strstr.c (AVAILABLE1_USES_J): Define.
18287         * string/strcasestr.c: Likewise.
18289         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
18290         array references.
18291         * string/strcasestr.c (TOLOWER): Make side-effect safe.
18293         [BZ #11607]
18294         * NEWS: Add an entry.
18295         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
18296         define their defaults.
18297         (two_way_short_needle): Detect end-of-string on-the-fly.
18298         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
18299         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
18300         * string/bug-strcasestr1.c: New test.
18301         * string/Makefile: Run it.
18303 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
18305         [BZ #11607]
18306         * string/str-two-way.h (two_way_short_needle): Optimize matching of
18307         the first character.
18309 2012-08-21  Roland McGrath  <roland@hack.frob.com>
18311         * csu/elf-init.c (__libc_csu_irel): Function removed.
18312         * csu/libc-start.c (apply_irel): New function.
18313         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
18315 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
18317         * sysdeps/unix/sysv/linux/kernel-features.h
18318         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
18319         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
18320         <kernel-features.h>.
18321         [__NR_fadvise64_64]: Make code unconditional.
18322         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
18323         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18324         !__NR_fadvise64_64)]: Likewise.
18325         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
18326         !__NR_fadvise64_64))]: Likewise.
18327         [__NR_fadvise64]: Make code unconditional.
18328         [!__NR_fadvise64]: Remove conditional code.
18329         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
18330         <kernel-features.h>.
18331         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18332         unconditional.
18333         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18334         conditional code.
18335         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
18336         not include <kernel-features.h>.
18337         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18338         unconditional.
18339         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18340         conditional code.
18341         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
18342         include <kernel-features.h>.
18343         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
18344         unconditional.
18345         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
18346         conditional code.
18348 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
18350         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
18351         slight instruction rearrangements per scrollpipe analysis.
18352         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
18354 2012-08-20  Roland McGrath  <roland@hack.frob.com>
18356         * manual/syslog.texi (syslog; vsyslog, closelog):
18357         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
18358         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
18360         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
18361         DSOCAPS to match condition on defining it.
18363 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
18365         * sysdeps/unix/sysv/linux/kernel-features.h
18366         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
18367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
18368         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18369         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18370         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
18371         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18372         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
18374         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
18375         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
18377         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
18378         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
18380         * sysdeps/unix/sysv/linux/kernel-features.h
18381         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
18382         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
18383         unconditional.
18384         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18385         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
18386         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18387         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18388         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
18389         Make code unconditional.
18390         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18391         (__mmap64) [!__NR_mmap2]: Likewise.
18392         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
18393         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
18394         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18395         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
18396         [__NR_mmap2]: Make code unconditional.
18397         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
18398         (__mmap64) [!__NR_mmap2]: Likewise.
18400 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
18402         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
18404 2012-08-18  Andreas Jaeger  <aj@suse.de>
18406         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
18408 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
18410         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
18411         * include/unistd.h (__have_sock_cloexec): Likewise.
18412         (__have_pipe2): Likewise.
18413         (__have_dup3): Likewise.
18415 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
18417         [BZ #9685]
18418         * include/unistd.h (__have_pipe2): Change define into an extern int.
18419         (__have_dup3): Likewise.
18420         * socket/have_sock_cloexec.c: Include fcntl.h.
18421         (__have_pipe2): New variable.
18422         (__have_dup3): Likewise.
18424 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
18426         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
18428 2012-08-17  Marek Polacek  <polacek@redhat.com>
18430         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
18431         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
18433 2012-08-17  Roland McGrath  <roland@hack.frob.com>
18435         * configure.in: Add AC_SUBST for sysheaders.
18436         * configure: Regenerated.
18437         * config.make.in (sysheaders): New substituted variable.
18439         * sysdeps/unix/mkfifo.c: Moved ...
18440         * sysdeps/posix/mkfifo.c: ... here.
18441         * sysdeps/unix/mkfifoat.c: Moved ...
18442         * sysdeps/posix/mkfifoat.c: ... here.
18444         * sysdeps/unix/utime.c: Moved ...
18445         * sysdeps/posix/utime.c: ... here.
18447         * sysdeps/unix/time.c: Moved ...
18448         * sysdeps/posix/time.c: ... here.
18449         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
18450         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
18452         * sysdeps/unix/nice.c: Moved ...
18453         * sysdeps/posix/nice.c: ... here.
18455         * sysdeps/unix/alarm.c: Moved ...
18456         * sysdeps/posix/alarm.c: ... here.
18458         * intl/Makefile ($(codeset_mo)): Depend on the input file.
18460 2012-08-17  Jeff Law <law@redhat.com>
18462         * intl/Makefile (codeset_mo): New variable.
18463         ($(codeset_mo)): New target.
18464         (tst-codeset.out): Depend on that.  Remove explicit rule.
18465         (tst-gettext3.out, tst-gettext5.out): Likewise.
18466         (LOCPATH-ENV, tst-codeset-ENV): New variables.
18467         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
18468         * intl/tst-codeset.sh: Remove.
18469         * intl/tst-gettext3.sh: Likewise.
18470         * intl/tst-gettext5.sh: Likewise.
18472 2012-08-17  Roland McGrath  <roland@hack.frob.com>
18474         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
18475         * sysdeps/unix/syscalls.list: ... here.
18477         * sysdeps/posix/getaddrinfo.c
18478         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
18479         (gaiconf_init, gaiconf_reload): Use them.
18480         [!_STATBUF_ST_NSEC]
18481         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
18482         Define using time_t rather than struct timespec.
18484         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
18485         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
18486         Macros removed.
18487         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
18488         [!NO_THREADS].
18489         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
18490         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
18491         Likewise.
18493         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
18494         __libc_cleanup_push argument.
18496         * bits/param.h: New file.
18497         * misc/sys/param.h: New file.
18498         * include/sys/param.h: New file.
18499         * misc/Makefile (headers): Add bits/param.h.
18500         * sysdeps/generic/sys/param.h: File removed.
18501         * sysdeps/unix/sysv/linux/bits/param.h: New file.
18502         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
18503         * sysdeps/mach/hurd/bits/param.h: New file.
18504         * sysdeps/mach/hurd/sys/param.h: File removed.
18506         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
18507         last change.
18509         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
18510         [_IO_MTSAFE_IO].
18511         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
18512         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
18513         New macros.
18515         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
18516         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
18517         rather than -D_IO_MTSAFE_IO conditionally.
18518         * stdio-common/Makefile (CPPFLAGS): Likewise.
18519         * wcsmbs/Makefile (CPPFLAGS): Likewise.
18520         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
18521         Use $(libio-mtsafe).
18522         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
18523         of -D_IO_MTSAFE_IO.
18524         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
18525         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
18526         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
18527         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
18528         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
18529         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
18530         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
18531         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
18532         (CFLAGS-fread_u_chk.c): Likewise.
18533         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
18534         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
18535         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
18536         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
18537         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
18538         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
18539         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
18540         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
18541         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
18543         * libio/Makefile: Test [$(libc-reentrant) = yes]
18544         instead of [$(filter %REENTRANT, $(defines)) nonempty].
18546         * Makeconfig
18547         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
18548         * sysdeps/pthread/configure: File removed.
18549         * sysdeps/pthread/Makeconfig: New file.
18550         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
18551         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
18553 2012-08-16  Gary Benson  <gbenson@redhat.com>
18555         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
18556         unmapping the first object in a namespace.
18558 2012-08-16  Roland McGrath  <roland@hack.frob.com>
18560         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
18561         (__internal_setnetgrent): ... this.  Add internal_function to
18562         definition.  Add libc_hidden_def.
18563         (setnetgrent): Update caller.
18564         (internal_endnetgrent): Renamed to ...
18565         (__internal_endnetgrent): ... this.  Add internal_function to
18566         definition.  Add libc_hidden_def.
18567         (endnetgrent): Update caller.
18568         (internal_getnetgrent_r): Renamed to ...
18569         (__internal_getnetgrent_r): ... this.  Add internal_function to
18570         definition.  Add libc_hidden_def.
18571         (__getnetgrent_r): Update caller.
18572         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
18574 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
18576         * stdlib/longlong.h: Update from GCC.
18578 2012-08-16  Roland McGrath  <roland@hack.frob.com>
18580         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
18581         on _QL, which is set by umul_ppmm but never used.
18582         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
18583         variables, which are set by GMP macros but never used.
18584         * stdio-common/_itowa.c (_itowa): Likewise.
18585         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
18586         * stdlib/mod_1.c (mpn_mod_1): Likewise.
18588 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
18590         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
18591         struct La_sh_regs is not constant.
18592         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
18593         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
18594         and struct La_sparc64_regs are not constant.
18596 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
18598         * sysdeps/unix/sysv/linux/kernel-features.h
18599         (__ASSUME_POSIX_TIMERS): Remove.
18600         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
18601         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18602         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
18603         Make code unconditional.
18604         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18605         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
18606         Make code unconditional.
18607         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18608         * sysdeps/unix/sysv/linux/clock_nanosleep.c
18609         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
18610         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18611         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
18612         Make code unconditional.
18613         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
18614         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
18615         (__libc_missing_posix_timers): Remove.
18617 2012-08-15  Roland McGrath  <roland@hack.frob.com>
18619         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
18620         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
18622         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
18624         * elf/dl-sym.c: Include <stdlib.h>.
18626         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
18627         constants, which avoids warnings in 32-bit builds.
18629         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
18630         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
18632         * misc/lseek.c: File moved to ...
18633         * io/lseek.c: ... here.
18635         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
18637         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
18638         shifting LEN more than 31 bits at once.
18640 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
18642         [BZ #14195]
18643         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
18644         segmentation fault for a case of two empty input strings.
18645         * string/test-strncasecmp.c (check1): Renamed to...
18646         (bz12205): ...this.
18647         (bz14195): Add new testcase for two empty input strings and N > 0.
18648         (test_main): Call new testcase, adapt for renamed function.
18650 2012-08-15  Andreas Jaeger  <aj@suse.de>
18652         [BZ #14090]
18653         * crypt/md5test2.c: New test, based on test supplied by Serge
18654         Belyshev <belyshev@depni.sinp.msu.ru>.
18655         * crypt/Makefile (xtests): Add md5test-giant..
18656         * crypt/Makefile ($(objpfx)md5test-giant): Add.
18658 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
18660         [BZ #14090]
18661         * crypt/md5.c (md5_process_block): Don't assume the buffer
18662         length is less than 2**32.
18663         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
18664         length is less than 2**64.
18666 2012-08-15  Roland McGrath  <roland@hack.frob.com>
18668         * string/str-two-way.h: Include <sys/param.h>.
18669         (MAX): Macro removed.
18671         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
18672         Move #define and #undef of memmove to just before and after
18673         including <string.h>.
18675         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
18676         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
18677         and after including <string.h>.  Move declarations of
18678         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
18679         to before #include "string/memmove.c".
18681         * include/dirent.h: Declare __getdirentries.
18683         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
18684         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
18686 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
18688         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
18689         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
18690         * sysdeps/i386/configure: Regenerated.
18691         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
18692         STABS_CURRENT_FILE, and STABS_FUN.
18693         (END): Remove call to STABS_FUN_END.
18694         (STABS_CURRENT_FILE1): Delete.
18695         (STABS_CURRENT_FILE): Likewise.
18696         (STABS_FUN): Likewise.
18697         (STABS_FUN_END): Likewise.
18698         (STABS_FUN2): Likewise.
18699         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
18700         * sysdeps/x86_64/configure: Regenerated.
18702 2012-08-14  Roland McGrath  <roland@hack.frob.com>
18704         * elf/dl-open.c: Include <atomic.h>.
18705         * elf/dl-lookup.c: Likewise.
18707 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
18709         * sysdeps/unix/sysv/linux/kernel-features.h
18710         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
18711         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
18712         unconditionally.
18713         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
18714         unconditionally.
18715         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
18716         condition on __ASSUME_CLONE_THREAD_FLAGS.
18718 2012-08-14  Andreas Jaeger  <aj@suse.de>
18720         * sysdeps/i386/fpu/libm-test-ulps: Update.
18722 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
18724         * include/atomic.h (atomic_exchange_and_add): Split into ...
18725         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
18726         New atomic macros.
18728 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
18730         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
18732 2012-08-13  Jeff Law <law@redhat.com>
18734         * manual/stdio.texi (snprintf): Clarify handling of the trailing
18735         null byte in the output string.
18737 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
18739         * sysdeps/unix/sysv/linux/kernel-features.h
18740         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
18741         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
18742         (__ASSUME_ARG_MAX_STACK_BASED): Define.
18743         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
18744         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
18745         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
18746         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
18748 2012-08-09  Jeff Law <law@redhat.com>
18750         [BZ #13939]
18751         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
18752         When avoid_arena is set, don't retry in the that arena.  Pick the
18753         next one, whatever it might be.
18754         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
18755         (arena_lock): Pass in new parameter to arena_get2.
18756         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
18757         arena_get2.
18758         (__libc_malloc): Unify retrying after main arena failure with
18759         __libc_memalign version.
18760         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
18762 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
18764         [BZ #14166]
18765         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
18766         to __redirect_strstr.
18767         (__strstr_sse42): Use typeof __redirect_strstr.
18768         (__strstr_ia32): Likewise.
18769         (__libc_strstr): New prototype.
18770         (strstr): Renamed to ...
18771         (__libc_strstr): This.
18772         (strstr): New strong alias of __libc_strstr.
18773         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
18774         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
18775         __redirect_time.
18776         Include <time.h>.
18777         (__libc_time): New prototype.
18778         (time_ifunc): Replace time with __libc_time.
18779         (time): New strong alias and hidden definition of __libc_time.
18780         (__GI_time): Remove strong alias.
18781         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
18782         Include <stddef.h>.
18783         (memmove): Redefined to __redirect_memmove.
18784         (__memmove_sse2): Use typeof __redirect_memmove.
18785         (__memmove_ssse3): Likewise.
18786         (__memmove_ssse3_back): Likewise.
18787         (__libc_memmove): New prototype.
18788         (memmove): Renamed to ...
18789         (__libc_memmove): This.
18790         (memmove): New strong alias of __libc_memmove.
18792 2012-08-08  Mark Salter  <msalter@redhat.com>
18794         * elf/elf.h
18795         (R_MN10300_TLS_GD): Define.
18796         (R_MN10300_TLS_LD): Likewise.
18797         (R_MN10300_TLS_LDO): Likewise.
18798         (R_MN10300_TLS_GOTIE): Likewise.
18799         (R_MN10300_TLS_IE): Likewise.
18800         (R_MN10300_TLS_LE): Likewise.
18801         (R_MN10300_TLS_DTPMOD): Likewise.
18802         (R_MN10300_TLS_DTPOFF): Likewise.
18803         (R_MN10300_TLS_TPOFF): Likewise.
18804         (R_MN10300_SYM_DIFF): Likewise.
18805         (R_MN10300_ALIGN): Likewise.
18806         (R_MN10300_NUM): Update.
18808 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
18810         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
18811         Remove.
18813 2012-08-08  Roland McGrath  <roland@hack.frob.com>
18815         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
18817         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
18818         sysdeps/unix -> sysdeps/posix move.
18819         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
18821 2012-08-07      Allan McRae     <allan@archlinux.org>
18823         [BZ #14303]
18824         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
18825         (SUNOS_CPP): Likewise.
18826         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
18827         not found.
18828         (open_input): Call CPP using execvp.
18830 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
18832         * sysdeps/unix/sysv/linux/kernel-features.h
18833         (__ASSUME_PROT_GROWSUPDOWN): Remove.
18834         (__ASSUME_NO_CLONE_DETACHED): Likewise.
18835         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18836         (__ASSUME_WAITID_SYSCALL): Likewise.
18837         * sysdeps/unix/sysv/linux/dl-execstack.c
18838         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
18839         code unconditional.
18840         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
18841         conditional code.
18842         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
18843         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
18844         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
18845         code.
18846         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
18847         unconditional.
18848         [__ASSUME_WAITID_SYSCALL]: Likewise.
18849         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
18851 2012-08-07  Roland McGrath  <roland@hack.frob.com>
18853         * sysdeps/unix/closedir.c: Renamed to ...
18854         * sysdeps/posix/closedir.c: ... here.
18855         * sysdeps/unix/dirfd.c: Renamed to ...
18856         * sysdeps/posix/dirfd.c: ... here.
18857         * sysdeps/unix/dirstream.h: Renamed to ...
18858         * sysdeps/posix/dirstream.h: ... here.
18859         * sysdeps/unix/fdopendir.c: Renamed to ...
18860         * sysdeps/posix/fdopendir.c: ... here.
18861         * sysdeps/unix/opendir.c: Renamed to ...
18862         * sysdeps/posix/opendir.c: ... here.
18863         * sysdeps/unix/readdir.c: Renamed to ...
18864         * sysdeps/posix/readdir.c: ... here.
18865         * sysdeps/unix/readdir_r.c: Renamed to ...
18866         * sysdeps/posix/readdir_r.c: ... here.
18867         * sysdeps/unix/rewinddir.c: Renamed to ...
18868         * sysdeps/posix/rewinddir.c: ... here.
18869         * sysdeps/unix/seekdir.c: Renamed to ...
18870         * sysdeps/posix/seekdir.c: ... here.
18871         * sysdeps/unix/telldir.c: Renamed to ...
18872         * sysdeps/posix/telldir.c: ... here.
18873         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
18874         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
18875         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
18876         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
18878         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
18879         * bits/fcntl.h: ... here.
18881         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
18882         not 0.
18883         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
18884         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
18885         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
18886         (struct flock): Move l_start, l_len to the beginning.
18887         Use __pid_t for l_pid.
18888         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
18889         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
18890         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
18891         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
18892         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
18893         [__USE_LARGEFILE64] (struct flock64): New type.
18894         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
18896         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
18897         * bits/dirent.h: ... here.
18899         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
18900         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
18902 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
18904         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
18905         Change from 2.6.0 to 2.6.16.
18906         * sysdeps/unix/sysv/linux/configure: Regenerated.
18907         * sysdeps/unix/sysv/linux/kernel-features.h
18908         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
18909         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
18910         version.
18911         (__ASSUME_UTIMES): Likewise.
18912         (__ASSUME_CLONE_STOPPED): Remove.
18913         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
18914         architectures, not kernel version.
18915         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
18916         (__ASSUME_NO_CLONE_DETACHED): Likewise.
18917         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
18918         (__ASSUME_WAITID_SYSCALL): Likewise.
18919         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
18920         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
18921         * README: State 2.6.16 as minimum Linux kernel version.  Do not
18922         refer to older versions.
18924 2012-08-06  Roland McGrath  <roland@hack.frob.com>
18926         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
18927         Define alphasort64 as an alias.
18928         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
18929         Define versionsort64 as an alias.
18930         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
18931         Define scandir64 as an alias.
18932         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
18933         Define scandirat64 as an alias.
18934         * dirent/alphasort64.c (alphasort64):
18935         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
18936         * dirent/versionsort64.c: Likewise.
18937         * dirent/scandir64.c: Likewise.
18938         * dirent/scandirat64.c: Likewise.
18939         * sysdeps/wordsize-64/alphasort.c: File removed.
18940         * sysdeps/wordsize-64/alphasort64.c: File removed.
18941         * sysdeps/wordsize-64/scandir.c: File removed.
18942         * sysdeps/wordsize-64/scandir64.c: File removed.
18943         * sysdeps/wordsize-64/scandirat.c: File removed.
18944         * sysdeps/wordsize-64/scandirat64.c: File removed.
18945         * sysdeps/wordsize-64/versionsort.c: File removed.
18946         * sysdeps/wordsize-64/versionsort64.c: File removed.
18947         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
18948         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
18949         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
18950         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
18951         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
18952         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
18953         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
18954         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
18956         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
18957         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
18958         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
18959         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
18960         [defined __arch64__ || defined __sparcv9]
18961         (__INO_T_MATCHES_INO64_T): New macro.
18962         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
18963         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
18964         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
18965         * sysdeps/unix/sysv/linux/bits/dirent.h
18966         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
18967         (_DIRENT_MATCHES_DIRENT64): New macro.
18969         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
18970         Define lockf64 as an alias.
18971         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
18972         Define fseeko64 as an alias.
18973         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
18974         Define ftello64 as an alias.
18975         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
18976         Define _IO_fgetpos64 and fgetpos64 as aliases.
18977         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
18978         Define _IO_fsetpos64 and fsetpos64 as aliases.
18979         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
18980         Conditionalize body on this.
18981         * libio/fseeko64.c: Likewise.
18982         * libio/ftello64.c: Likewise.
18983         * libio/iofgetpos64.c: Likewise.
18984         * libio/iofsetpos64.c: Likewise.
18985         * sysdeps/wordsize-64/lockf.c: File removed.
18986         * sysdeps/wordsize-64/lockf64.c: File removed.
18987         * sysdeps/wordsize-64/fseeko.c: File removed.
18988         * sysdeps/wordsize-64/fseeko64.c: File removed.
18989         * sysdeps/wordsize-64/ftello.c: File removed.
18990         * sysdeps/wordsize-64/ftello64.c: File removed.
18991         * sysdeps/wordsize-64/iofgetpos.c: File removed.
18992         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
18993         * sysdeps/wordsize-64/iofsetpos.c: File removed.
18994         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
18995         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
18996         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
18997         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
18998         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
18999         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
19000         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
19001         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
19002         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
19003         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
19004         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
19006         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19007         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
19008         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
19009         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
19010         [defined __arch64__ || defined __sparcv9]
19011         (__OFF_T_MATCHES_OFF64_T): New macro.
19012         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
19013         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
19014         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
19015         (__OFF_T_MATCHES_OFF64_T): New macro.
19017 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
19019         * stdlib/secure-getenv.c (__secure_getenv): Replace
19020         GLIBC_2_16 with GLIBC_2_17.
19022 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
19024         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
19025         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
19027 2012-08-03  David S. Miller  <davem@davemloft.net>
19029         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19031 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
19033         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
19034         Remove.
19035         (__ASSUME_CORRECT_SI_PID): Likewise.
19036         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
19037         (__ASSUME_TMPFS_NAME): Likewise.
19038         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
19039         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
19040         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
19041         (HAVE_AUX_SECURE): Make definition unconditional.
19042         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
19043         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
19045 2012-08-03  Roland McGrath  <roland@hack.frob.com>
19047         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
19048         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
19049         * sysdeps/mach/hurd/eloop-threshold.h: New file.
19050         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
19051         __eloop_threshold instead of SYMLOOP_MAX.
19053         * sysdeps/generic/eloop-threshold.h: New file.
19054         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
19055         of MAXSYMLINKS.
19056         * elf/chroot_canon.c (chroot_canon): Likewise.
19058 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
19060         [BZ #13717]
19061         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19062         Change to 2.6.0 everywhere.
19063         * sysdeps/unix/sysv/linux/configure: Regenerated.
19064         * sysdeps/unix/sysv/linux/kernel-features.h
19065         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
19066         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
19067         kernel versions.
19068         (__ASSUME_POSIX_TIMERS): Define unconditionally.
19069         (__ASSUME_FUTEX_REQUEUE): Remove.
19070         (__ASSUME_STATFS64): Define unconditionally.
19071         (__ASSUME_AT_SECURE): Likewise.
19072         (__ASSUME_CORRECT_SI_PID): Likewise.
19073         (__ASSUME_TGKILL): Define without depending on kernel version for
19074         i386.
19075         (__ASSUME_UTIMES): Likewise.
19076         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
19077         kernel version.
19078         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
19079         (__ASSUME_TMPFS_NAME): Likewise.
19080         * README: Update reference to Linux kernel versions.
19082 2012-08-02  Marek Polacek  <polacek@redhat.com>
19084         [BZ# 14150]
19085         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
19086         libc_cv_asm_type_prefix with %.
19087         * configure: Regenerated.
19088         * include/libc-symbols.h: Remove comment about
19089         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19090         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
19091         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
19092         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
19093         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
19094         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
19095         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
19096         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
19097         * elf/tst-unique2mod1.c: Likewise.
19098         * elf/tst-unique1mod2.c: Likewise.
19099         * elf/tst-unique1mod1.c: Likewise.
19100         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
19101         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
19102         Replace ASM_TYPE_DIRECTIVE with .type.
19103         * sysdeps/s390/s390-64/sysdep.h: Likewise.
19104         * sysdeps/i386/sysdep.h: Likewise.
19105         * sysdeps/x86_64/sysdep.h: Likewise.
19106         * sysdeps/sh/sysdep.h: Likewise.
19107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19108         Do not define ASM_TYPE_DIRECTIVE.
19109         * sysdeps/powerpc/sysdep.h: Likewise.
19110         * sysdeps/powerpc/powerpc32/sysdep.h:
19111         Replace ASM_TYPE_DIRECTIVE with .type.
19112         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
19113         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
19114         * sysdeps/i386/fpu/e_powf.S: Likewise.
19115         * sysdeps/i386/fpu/e_expl.S: Likewise.
19116         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
19117         * sysdeps/i386/fpu/e_acosh.S: Likewise.
19118         * sysdeps/i386/fpu/e_pow.S: Likewise.
19119         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
19120         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
19121         * sysdeps/i386/fpu/s_expm1.S: Likewise.
19122         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
19123         * sysdeps/i386/fpu/e_log2.S: Likewise.
19124         * sysdeps/i386/fpu/e_log2l.S: Likewise.
19125         * sysdeps/i386/fpu/e_scalb.S: Likewise.
19126         * sysdeps/i386/fpu/e_powl.S: Likewise.
19127         * sysdeps/i386/fpu/e_log10f.S: Likewise.
19128         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
19129         * sysdeps/i386/fpu/e_logl.S: Likewise.
19130         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
19131         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
19132         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
19133         * sysdeps/i386/fpu/e_log2f.S: Likewise.
19134         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
19135         * sysdeps/i386/fpu/e_log.S: Likewise.
19136         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
19137         * sysdeps/i386/fpu/e_logf.S: Likewise.
19138         * sysdeps/i386/fpu/e_log10l.S: Likewise.
19139         * sysdeps/i386/fpu/e_atanh.S: Likewise.
19140         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
19141         * sysdeps/i386/fpu/e_log10.S: Likewise.
19142         * sysdeps/i386/fpu/s_frexp.S: Likewise.
19143         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
19144         * sysdeps/i386/fpu/s_asinh.S: Likewise.
19145         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
19146         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
19147         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
19148         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
19149         * sysdeps/i386/i686/strtok.S: Likewise.
19150         * sysdeps/i386/i386-mcount.S: Likewise.
19151         * sysdeps/i386/strtok.S: Likewise.
19152         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
19153         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
19154         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
19155         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
19156         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
19157         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
19158         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
19159         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
19160         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
19161         * sysdeps/x86_64/_mcount.S: Likewise.
19162         * sysdeps/x86_64/strtok.S: Likewise.
19163         * sysdeps/sh/_mcount.S: Likewise.
19165 2012-08-01  Roland McGrath  <roland@hack.frob.com>
19167         * libio/iofopen.c: Include <fcntl.h>.
19168         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
19169         (_IO_fopen64, fopen64): Define as aliases.
19170         * libio/iofopen64.c: Include <fcntl.h>.
19171         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
19172         Conditionalize body on this.
19173         * sysdeps/wordsize-64/iofopen.c: File removed.
19174         * sysdeps/wordsize-64/iofopen64.c: File removed.
19176 2012-08-01  Marek Polacek  <polacek@redhat.com>
19178         * libc/Makeconfig: Use elf in place of binfmt-subdir.
19179         Use dlfcn directly instead of a variable.
19180         (binfmt-subdir): Do not define.
19181         (dlfcn): Likewise.
19183 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
19185         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
19186         Remove all definitions.
19187         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
19188         <kernel-features.h>.
19189         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19190         (miss_F_GETOWN_EX): Remove all definitions.
19191         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
19192         macro definition.
19193         [!__ASSUME_FCNTL64]: Remove conditional code.
19194         [__ASSUME_FCNTL64]: Make code unconditional.
19195         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
19196         <kernel-features.h>.
19197         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
19198         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
19199         (lockf64) [__NR_fcntl64]: Make code unconditional.
19200         (lockf64) [__ASSUME_FCNTL64]: Likewise.
19202         * sysdeps/unix/sysv/linux/kernel-features.h
19203         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
19204         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
19205         Make code unconditional.
19206         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19207         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19208         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
19209         [__NR_vfork]: Make code unconditional.
19210         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19211         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19212         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
19213         [__NR_vfork]: Make code unconditional.
19214         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
19215         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
19217 2012-08-01  Roland McGrath  <roland@hack.frob.com>
19219         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
19220         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
19222         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19223         Define mkstemp64 as an alias.
19224         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19225         Define mkstemps64 as an alias.
19226         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19227         Define mkostemp64 as an alias.
19228         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
19229         Define mkostemps64 as an alias.
19230         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
19231         Conditionalize body on this.
19232         * misc/mkostemp64.c: Likewise.
19233         * misc/mkostemps64.c: Likewise.
19234         * misc/mkstemps64.c: Likewise.
19235         * sysdeps/wordsize-64/mkstemp64.c: File removed.
19236         * sysdeps/wordsize-64/mkostemp64.c: File removed.
19237         * sysdeps/wordsize-64/mkostemp.c: File removed.
19238         * sysdeps/wordsize-64/mkstemp.c: File removed.
19239         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
19240         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
19241         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
19242         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
19244         [BZ #14138]
19245         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
19246         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
19247         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
19248         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
19250         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
19251         compat_symbol macros from <shlib-compat.h> rather than the underlying
19252         default_symbol_version and symbol_version macros, so that DEFAULT
19253         lines in shlib-versions are respected.
19254         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
19256 2012-08-01  Florian Weimer  <fweimer@redhat.com>
19258         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
19259         Declare with warn_unused_result.
19260         (setgid, setregid, setegid, setresgid): Likewise.
19261         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
19262         Likewise.
19263         * WUR-REPORT: Remove set*id functions.
19265 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
19267         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
19269 2012-07-31  Roland McGrath  <roland@hack.frob.com>
19271         [BZ #10191]
19272         * include/sys/socket.h (__libc_accept, __libc_accept4):
19273         Add attribute_hidden.
19274         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
19276         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
19277         use of PTR_MANGLE.
19278         * inet/getnetgrent_r.c (setup): Likewise.
19280         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
19282 2012-07-31  David S. Miller  <davem@davemloft.net>
19284         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19286 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
19288         [BZ #13629]
19289         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
19290         value between 1.0 and 2.0 and smaller part has absolute value less
19291         than 1.0.
19292         * math/s_clog10.c (__clog10): Likewise.
19293         * math/s_clog10f.c (__clog10f): Likewise.
19294         * math/s_clog10l.c (__clog10l): Likewise.
19295         * math/s_clogf.c (__clogf): Likewise.
19296         * math/s_clogl.c (__clogl): Likewise.
19297         * math/libm-test.inc (clog_test): Add more tests.
19298         (clog10_test): Likewise.
19299         * sysdeps/i386/fpu/libm-test-ulps: Update.
19300         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19302 2012-07-31  Florian Weimer  <fweimer@redhat.com>
19304         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
19305         Exit with zero in case no suitable GID is found, and write a
19306         message to standard error.
19308 2012-07-30  Roland McGrath  <roland@hack.frob.com>
19310         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
19311         rather than to 1.
19312         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
19313         (MAXPATHLEN): Removed.
19314         (NOGROUP, NODEV): New macros.
19315         (setbit, clrbit, isset, isclr): New macros.
19316         (howmany, roundup, powerof2): New macros.
19317         (DEV_BSIZE): New macro.
19319         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
19320         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
19322         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
19323         definition on [!__NO_LONG_DOUBLE_MATH].
19325         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
19326         PTR_MANGLE and PTR_DEMANGLE.
19328         * socket/accept4.c (accept4): Rename to __libc_accept4.
19329         Define accept4 as a weak alias.
19331         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
19332         on [_DIRENT_HAVE_D_TYPE].
19333         * io/ftw.c (ftw_dir): Likewise.
19335         * io/xmknod.c (__xmknod): Don't check PATH for being null.
19337         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
19339         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
19340         Use the BSD numbers rather than the arbitrary ones we had.
19341         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
19342         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
19343         (SIGXCPU, SIGXFSZ): New macros.
19344         (_NSIG): Now 32.
19346         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
19347         initializer on [_LIBC_REENTRANT].
19349         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
19350         definitions inside [_POSIX_MAPPED_FILES].
19352         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
19354         * dirent/opendir.c: Include <fcntl.h>.
19356         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
19357         (__libc_getspecific): Likewise.
19358         (__libc_key_create): Likewise.
19360         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
19361         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
19362         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
19363         (tmpfile64): Define as alias.
19364         * sysdeps/wordsize-64/tmpfile.c: File removed.
19365         * sysdeps/wordsize-64/tmpfile64.c: File removed.
19366         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
19367         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
19369         * stdio-common/vfscanf.c: Include <stdbool.h>.
19370         * nss/makedb.c: Likewise.
19371         * stdio-common/_i18n_number.h: Likewise.
19372         * argp/argp-help.c: Likewise.
19373         * posix/wordexp.c: Likewise.
19374         * sysdeps/posix/spawni.c: Likewise.
19375         * nss/nss_files/files-initgroups.c: Likewise.
19376         * stdio-common/reg-modifier.c: Include <stdlib.h>.
19377         * nss/nss_files/files-initgroups.c: Likewise.
19378         * nss/nss_db/db-netgrp.c: Likewise.
19379         * nss/nss_db/db-initgroups.c: Likewise.
19380         * io/fchmodat.c: Include <sys/stat.h>.
19382         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
19383         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
19385         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
19386         [HAVE_MMAP].
19388         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
19389         Add multiple inclusion protection.
19391 2012-07-27  David S. Miller  <davem@davemloft.net>
19393         * sysdeps/sparc/fpu/libm-test-ulps: Update.
19395 2012-07-27  Gary Benson  <gbenson@redhat.com>
19397         [BZ #14298]
19398         * elf/rtld.c: Include <stap-probe.h>.
19399         (dl_main): Added static probes "init_start" and "init_complete".
19400         * elf/dl-load.c: Include <stap-probe.h>.
19401         (lose): Take new parameter "nsid".
19402         Added static probe "map_failed".
19403         (_dl_map_object_from_fd): Pass namespace id to lose.
19404         Added static probe "map_start".
19405         (open_verify): Pass namespace id to lose.
19406         * elf/dl-open.c: Include <stap-probe.h>.
19407         (dl_open_worker) Added static probes "map_complete", "reloc_start"
19408         and "reloc_complete".
19409         * elf/dl-close.c: Include <stap-probe.h>.
19410         (_dl_close_worker): Added static probes "unmap_start" and
19411         "unmap_complete".
19412         * elf/rtld-debugger-interface.txt: New file documenting the above.
19414 2012-07-26  Roland McGrath  <roland@hack.frob.com>
19416         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
19417         rather than a string variable.
19418         * sunrpc/rpc_main.c (h_output): Likewise.
19419         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
19421 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
19423         * inet/check_native.c: New file.
19425 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
19427         [BZ #13629]
19428         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
19429         if larger part has absolute value 1.0.
19430         * math/s_clog10.c (__clog10): Likewise.
19431         * math/s_clog10f.c (__clog10f): Likewise.
19432         * math/s_clog10l.c (__clog10l): Likewise.
19433         * math/s_clogf.c (__clogf): Likewise.
19434         * math/s_clogl.c (__clogl): Likewise.
19435         * math/libm-test.inc (clog_test): Add more tests.
19436         (clog10_test): Likewise.
19437         * sysdeps/i386/fpu/libm-test-ulps: Update.
19438         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
19440         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
19441         (pltexit): Likewise.
19442         (La_regs): Likewise.
19443         (La_retval): Likewise.
19444         (int_retval): Likewise.
19445         Update #error for removed macros to refer only to definitions in
19446         tst-audit.h.
19447         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
19448         macro.
19449         (pltexit): Likewise.
19450         (La_regs): Likewise.
19451         (La_retval): Likewise.
19452         (int_retval): Likewise.
19453         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
19454         macro.
19455         (pltexit): Likewise.
19456         (La_regs): Likewise.
19457         (La_retval): Likewise.
19458         (int_retval): Likewise.
19459         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
19460         macro.
19461         (pltexit): Likewise.
19462         (La_regs): Likewise.
19463         (La_retval): Likewise.
19464         (int_retval): Likewise.
19465         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
19466         macro.
19467         (pltexit): Likewise.
19468         (La_regs): Likewise.
19469         (La_retval): Likewise.
19470         (int_retval): Likewise.
19471         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
19472         macro.
19473         (pltexit): Likewise.
19474         (La_regs): Likewise.
19475         (La_retval): Likewise.
19476         (int_retval): Likewise.
19477         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
19478         macro.
19479         (pltexit): Likewise.
19480         (La_regs): Likewise.
19481         (La_retval): Likewise.
19482         (int_retval): Likewise.
19483         * sysdeps/generic/tst-audit.h: Update comment to refer only to
19484         macro definitions in tst-audit.h.
19485         * sysdeps/i386/tst-audit.h: New file.
19486         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
19487         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
19488         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
19489         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
19490         * sysdeps/sh/tst-audit.h: Likewise.
19491         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
19492         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
19493         * sysdeps/x86_64/tst-audit.h: Likewise.
19495 2012-07-26  Andreas Jaeger  <aj@suse.de>
19497         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
19498         ptrace.
19500         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
19501         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
19502         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
19503         PTRACE_O_MASK.
19504         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
19505         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
19506         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
19508         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
19509         value.
19511         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
19512         _sigsys.
19513         (si_call_addr, si_syscall, si_arch): Define new macro.
19514         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
19515         _sigsys.
19516         (si_call_addr, si_syscall, si_arch): Define new marcro.
19517         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
19518         _sigsys.
19519         (si_call_addr, si_syscall, si_arch): Define new macro.
19520         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
19521         _sigsys.
19522         (si_call_addr, si_syscall, si_arch): Define new macro.
19524 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
19526         [BZ #13717]
19527         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19528         Change to 2.4.21 where previously 2.4.1.
19529         * sysdeps/unix/sysv/linux/configure: Regenerated.
19530         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
19531         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
19532         Linux kernel version.
19533         (__ASSUME_STD_AUXV): Remove.
19534         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
19535         kernel version.
19536         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
19537         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
19538         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
19539         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
19540         (__ASSUME_NETLINK_SUPPORT): Likewise.
19541         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
19542         (__no_netlink_support): Remove conditional definition.
19543         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
19544         Remove.
19545         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19546         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
19547         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
19548         (if_nameindex_ioctl): Remove.
19549         (if_nameindex_netlink): Do not handle __no_netlink_support.
19550         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19551         code.
19552         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
19553         Remove conditional code.
19554         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
19555         code.
19556         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
19557         unconditional.
19558         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
19559         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
19560         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
19561         Remove.
19562         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
19563         [!__ASSUME_STD_AUXV]: Remove conditional code.
19564         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
19565         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
19566         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
19567         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
19568         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
19569         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19570         code.
19571         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19572         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
19573         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
19574         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19575         conditional code.
19576         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
19577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
19578         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
19579         code.
19580         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
19581         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
19582         conditional code.
19583         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
19584         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19585         code unconditional.
19586         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19587         conditional code.
19588         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19589         unconditional.
19590         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19591         conditional code.
19592         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
19593         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19594         unconditional.
19595         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19596         conditional code.
19597         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
19598         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19599         code unconditional.
19600         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19601         conditional code.
19602         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19603         unconditional.
19604         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19605         conditional code.
19606         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
19607         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
19608         code unconditional.
19609         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19610         conditional code.
19611         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
19612         unconditional.
19613         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
19614         conditional code.
19616 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
19618         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
19619         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
19620         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
19621         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
19622         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
19623         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
19624         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
19625         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
19626         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
19627         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
19628         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
19629         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
19630         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
19631         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
19632         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
19633         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
19634         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
19635         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
19636         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
19637         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
19638         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
19639         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
19640         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
19642 2012-07-25  Florian Weimer  <fweimer@redhat.com>
19644         * Versions.def: Add GLIBC_2.17.
19645         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
19646         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
19647         Introduce __libc_secure_getenv.
19648         * stdlib/Versions (2.17): Add secure_getenv
19649         (GLIBC_PRIVATE): Add __libc_secure_getenv.
19650         * stdlib/secure-getenv.c: Rename __secure_getenv to
19651         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
19652         symbol __secure_getenv for GLIBC_2.0.
19653         * stdlib/tst-secure-getenv.c: New.
19654         * stdlib/Makefile (tests): Add testcase.
19655         * manual/startup.texi (Environment Access): Document
19656         secure_getenv.
19657         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
19658         __libc_secure_getenv.
19659         * inet/ruserpass.c (ruserpass): Likewise.
19660         * malloc/mtrace.c (mtrace): Likewise.
19661         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
19662         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
19663         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
19664         * sysdeps/posix/tempname.c: Likewise.  Evaluate
19665         HAVE_SECURE_GETENV.
19666         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
19667         __secure_getenv to __libc_secure_getenv.
19668         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
19669         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
19670         Likewise.
19671         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
19672         Likewise.
19673         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
19674         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
19675         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
19676         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
19677         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
19678         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
19679         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
19681 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
19683         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
19684         (struct La_i86_retval): Likewise.
19685         (struct La_x86_64_regs): Likewise.
19686         (struct La_x86_64_retval): Likewise.
19687         (struct La_x32_regs): Likewise.
19688         (struct La_x32_retval): Likewise.
19689         (struct La_ppc32_regs): Likewise.
19690         (struct La_ppc32_retval): Likewise.
19691         (struct La_ppc64_regs): Likewise.
19692         (struct La_ppc64_retval): Likewise.
19693         (struct La_sh_regs): Likewise.
19694         (struct La_sh_retval): Likewise.
19695         (struct La_s390_32_regs): Likewise.
19696         (struct La_s390_32_retval): Likewise.
19697         (struct La_s390_64_regs): Likewise.
19698         (struct La_s390_64_retval): Likewise.
19699         (struct La_sparc32_regs): Likewise.
19700         (struct La_sparc32_retval): Likewise.
19701         (struct La_sparc64_regs): Likewise.
19702         (struct La_sparc64_retval): Likewise.
19703         (struct audit_ifaces): Remove architecture-specific pltenter and
19704         pltexit members.
19705         * sysdeps/i386/ldsodefs.h: New file.
19706         * sysdeps/powerpc/ldsodefs.h: Likewise.
19707         * sysdeps/s390/ldsodefs.h: Likewise.
19708         * sysdeps/sh/ldsodefs.h: Likewise.
19709         * sysdeps/sparc/ldsodefs.h: Likewise.
19710         * sysdeps/x86_64/ldsodefs.h: Likewise.
19712 2012-07-25  Marek Polacek  <polacek@redhat.com>
19714         [BZ #6808]
19715         * math/libm-test.inc (yn_test): Add another test.
19716         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
19717         to ERANGE when the result is +-Inf.
19718         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
19719         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
19720         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
19721         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
19723 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
19725         * conform/data/time.h-data (NULL): Use macro-constant.  Require
19726         equal to 0.
19727         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
19728         clock_t.
19729         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
19731 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
19733         * configure.in <sysdeps resolving>: Correct printing
19734         Implies_before.
19735         * configure: Regenerate.
19737 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
19739         * math/w_ilogb.c: Include <limits.h>.
19740         * math/w_ilogbl.c: Likewise.
19742 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
19744         * manual/lang.texi (__va_copy): Document primarily as ISO C99
19745         va_copy.  Document allowing for unavailable va_copy only as
19746         pre-C99 compatibility.
19747         * manual/string.texi (Copying and Concatenation): Use va_copy
19748         instead of __va_copy in concat example.
19750 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
19752         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
19753         (__sendto): Use create_address_port.  Initialize APORT and deallocate
19754         it if not null.
19756         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
19757         with O_NOLINK passed to __file_name_lookup.
19759         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
19760         with O_NOLINK passed to __file_name_lookup.
19762         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
19763         negative N or less than NGIDS.
19765         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
19766         type to string_t.  Set ERANGE as errno and return it if NAME is not big
19767         enough.  Use memcpy instead of strncpy.
19769 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
19771         * elf/Makefile (check-data): Remove.
19772         (localplt.data): New vpath directive.
19773         ($(objpfx)check-localplt.out): Use localplt.data from vpath
19774         instead of $(check-data).
19775         * scripts/data/localplt-generic.data: Move to ...
19776         * sysdeps/generic/localplt.data: ... here.
19777         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
19778         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
19779         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
19780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
19781         ... here.
19782         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
19783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
19784         ... here.
19785         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
19786         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
19787         ... here.
19788         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
19789         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
19790         ... here.
19791         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
19792         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
19793         ... here.
19794         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
19795         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
19796         ... here.
19798 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
19800         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
19801         PPC32 and PPC64 files.
19802         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
19803         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
19805 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19807         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
19808         __makecontext_ret to ...
19809         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
19810         ... here and call exit if uc_link is NULL.  New file.
19811         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
19812         __makecontext_ret.S.
19813         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
19814         __makecontext_ret to ...
19815         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
19816         ... here and call exit if uc_link is NULL.  New file.
19817         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
19818         __makecontext_ret.S.
19820 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19822         * elf/elf.h (R_390_IRELATIVE): New definition.
19823         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
19824         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
19825         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
19826         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
19827         (elf_machine_lazy_rel): Likewise.
19828         * sysdeps/s390/dl-irel.h: New file.
19829         * sysdeps/s390/s390-64/memcpy.S: New asm code.
19830         * sysdeps/s390/s390-64/memset.S: New asm code.
19831         * sysdeps/s390/s390-64/memcmp.S: New asm code.
19832         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
19833         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
19834         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
19835         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
19836         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
19837         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
19838         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
19839         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
19840         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
19841         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
19842         * sysdeps/s390/s390-32/memcpy.S: New asm code.
19843         * sysdeps/s390/s390-32/memset.S: New asm code.
19844         * sysdeps/s390/s390-32/memcmp.S: New asm code.
19846 2012-07-17  Marek Polacek  <polacek@redhat.com>
19848         [BZ #14349]
19849         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
19850         * sysdeps/s390/s390-64/configure.in: Likewise.
19851         * sysdeps/sparc/configure.in: Likewise.
19852         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
19853         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
19854         * sysdeps/i386/configure.in: Likewise.
19855         * sysdeps/x86_64/configure.in: Likewise.
19856         * sysdeps/sh/configure.in: Likewise.
19857         * sysdeps/s390/s390-32/configure: Regenerated.
19858         * sysdeps/s390/s390-64/configure: Likewise.
19859         * sysdeps/x86_64/configure: Likewise.
19860         * sysdeps/sh/configure: Likewise.
19861         * sysdeps/powerpc/powerpc64/configure: Likewise.
19862         * sysdeps/powerpc/powerpc32/configure: Likewise.
19863         * sysdeps/sparc/configure: Likwise.
19864         * sysdeps/i386/configure: Likewise.
19866         * elf/dl-open.c: Comment fixes.
19868 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
19870         * Makefile [CXX] (check-data): Remove.
19871         [CXX] (c++-types.data): New vpath directive.
19872         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
19873         vpath.  Do not allow for C++ type data being missing.
19874         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
19875         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
19876         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
19877         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
19878         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
19879         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
19880         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
19881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
19882         ... here.
19883         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
19884         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
19885         ... here.
19886         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
19887         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
19888         ... here.
19889         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
19890         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
19891         ... here.
19892         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
19893         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
19894         ... here.
19895         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
19896         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
19897         ... here.
19898         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
19899         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
19900         ... here.
19901         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
19902         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
19904         * elf/tls-macros.h (TLS_LE): Move architecture-specific
19905         definitions to architecture-specific files.
19906         (TLS_IE): Likewise.
19907         (TLS_LD): Likewise.
19908         (TLS_GD): Likewise.
19909         * sysdeps/i386/tls-macros.h: New file.
19910         * sysdeps/powerpc/tls-macros.h: Likewise.
19911         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
19912         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
19913         * sysdeps/sh/tls-macros.h: Likewise.
19914         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
19915         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
19916         * sysdeps/x86_64/tls-macros.h: Likewise.
19918 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
19920         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
19921         zero value for regular exit case.
19923         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
19924         (__start_context): Preserve zero value for regular exit case.
19926 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
19927             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
19929         * manual/setjmp.texi (setcontext): Clarify normal process
19930         termination when uc_link is the null pointer.
19931         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
19932         exit call.
19934 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
19936         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
19937         preprocessor.  Test for each exception mask separately.
19939 2012-07-16  Andreas Jaeger  <aj@suse.de>
19941         * po/ru.po: Update from translation team.
19943 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
19945         * conform/data/string.h-data (NULL): Use macro-constant.  Require
19946         equal to 0.
19947         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
19948         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
19949         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
19950         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
19951         [ISO || ISO99 || ISO11] (*_t): Do not allow.
19953 2012-07-13  Andreas Jaeger  <aj@suse.de>
19955         * po/fr.po: Update from translation team.
19957 2012-07-12  Marek Polacek  <polacek@redhat.com>
19959         [BZ #14173]
19960         * math/libm-test.inc (yn_test): Add test for BZ #14173.
19961         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
19962         loop condition.
19964 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
19966         [BZ #13717]
19967         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
19968         Change to 2.4.1 where previously 2.4.0.
19969         * sysdeps/unix/sysv/linux/configure: Regenerated.
19970         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
19971         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
19972         version.
19973         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
19974         (__ASSUME_AT_CLKTCK): Remove.
19975         (__ASSUME_AT_PAGESIZE): Likewise.
19976         (__ASSUME_AT_XID): Likewise.
19977         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
19978         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
19979         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
19980         unconditionally.
19981         (HAVE_AUX_PAGESIZE): Likewise.
19982         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
19983         [__ASSUME_AT_CLKTCK]: Make code unconditional.
19984         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
19986 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
19988         [BZ #14307]
19989         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
19990         the temporary buffer used to invoke __gethostbyname2_r,
19991         __gethostbyaddr_r and gethostbyname4_r to make room for struct
19992         host_data / struct gaih_addrtuple.
19993         * resolv/nss_dns/dns-host.c (global scope): Move definition of
19994         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
19995         header file nss/nsswitch.h.
19996         * nss/nsswitch.h (global scope): Add definition of implementation
19997         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
19998         resolv/nss_dns/dns-host.c).
20000 2012-07-11  Andreas Jaeger  <aj@suse.de>
20002         * po/fr.po: Update from translation team.
20004         * po/sv.po: Update from translation team
20005         * po/fr.po: Another update from translation team.
20007 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20009         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
20010         for subnormals or multiply small sinh result by itself.
20011         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
20012         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
20014 2012-07-11  David S. Miller  <davem@davemloft.net>
20016         * sysdeps/sparc/fpu/libm-test-ulps: Update.
20018 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
20020         [BZ #14347]
20021         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
20022         (INTERNAL_MARK): Shift it here.
20024 2012-07-10  Marek Polacek  <polacek@redhat.com>
20026         [BZ #14151]
20027         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
20028         libc_cv_asm_global_directive with .globl.
20029         * configure: Regenerated.
20030         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
20031         with .globl.
20032         * sysdeps/i386/configure: Regenerated.
20033         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
20034         with .globl.
20035         * sysdeps/x86_64/configure: Regenerated.
20036         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
20037         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
20038         * elf/tst-unique2mod2.c: Likewise.
20039         * elf/tst-unique2mod1.c: Likewise.
20040         * elf/tst-unique1mod2.c: Likewise.
20041         * elf/tst-unique1mod1.c: Likewise.
20042         * sysdeps/s390/s390-32/sysdep.h: Likewise.
20043         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
20044         * sysdeps/s390/s390-64/sysdep.h: Likewise.
20045         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
20046         * sysdeps/mach/sysdep.h: Likewise.
20047         * sysdeps/i386/sysdep.h: Likewise.
20048         * sysdeps/i386/i386-mcount.S: Likewise.
20049         * sysdeps/x86_64/_mcount.S: Likewise.
20050         * sysdeps/x86_64/sysdep.h: Likewise.
20051         * sysdeps/sh/_mcount.S: Likewise.
20052         * sysdeps/sh/sysdep.h: Likewise.
20053         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
20054         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
20055         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
20056         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
20057         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
20058         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
20059         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
20060         * locale/localeinfo.h: Likewise.
20061         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
20062         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
20064 2012-07-09  Roland McGrath  <roland@hack.frob.com>
20066         [BZ #14336]
20067         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
20068         system".
20069         * manual/message.texi (The Uniforum approach): Likewise.
20070         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
20071         (glibc iconv Implementation): Likewise.
20073 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
20075         [BZ #14337]
20076         * math/s_clog.c (__clog): Avoid scaling a value down where that
20077         could result in underflow.
20078         * math/s_clog10.c (__clog10): Likewise.
20079         * math/s_clog10f.c (__clog10f): Likewise.
20080         * math/s_clog10l.c (__clog10l): Likewise.
20081         * math/s_clogf.c (__clogf): Likewise.
20082         * math/s_clogl.c (__clogl): Likewise.
20083         * math/libm-test.inc (clog_test): Add more tests.
20084         (clog10_test): Likewise.
20085         * sysdeps/i386/fpu/libm-test-ulps: Update.
20086         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20088 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
20090         [BZ #14283]
20091         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
20092         by 7 not 8 to examine high bit of fractional part.
20094         [BZ #14042]
20095         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
20096         for call to __mcount_internal.
20097         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
20098         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
20099         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
20101 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
20103         [BZ #14154]
20104         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
20105         approximation for values within 0x1p-13f of an odd multiple of
20106         pi/4.
20107         * math/libm-test.inc (tan_test): Do not allow spurious underflow
20108         exception.  Add more tests.
20109         * sysdeps/i386/fpu/libm-test-ulps: Update.
20111         [BZ #6778]
20112         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
20113         inputs and return -1 for them.  Do not check for +Inf in case not
20114         reachable for +Inf.
20115         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
20116         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
20117         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20118         and return -1 for them.  Do not check for +Inf in case not
20119         reachable for +Inf.
20120         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
20121         define.
20122         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
20123         and return -1 for them.  Do not check for +Inf in case not
20124         reachable for +Inf.
20125         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
20126         spurious underflow.
20127         * sysdeps/i386/fpu/libm-test-ulps: Update.
20128         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20130 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
20132         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
20134 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
20136         [BZ #14157]
20137         [BZ #14331]
20138         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
20139         could result in spurious underflow.  Scale down values above
20140         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
20141         * math/s_csqrtf.c (__csqrtf): Likewise.
20142         * math/s_csqrtl.c (__csqrtl): Likewise.
20143         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
20144         spurious underflow.
20145         * sysdeps/i386/fpu/libm-test-ulps: Update.
20146         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20148 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
20150         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
20151         xopen-msg.sed.
20152         * catgets/xopen-msg.awk: New file.
20153         * catgets/xopen-msg.sed: Removed.
20155         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
20156         po2text.sed.
20157         * intl/po2test.awk: New file.
20158         * intl/po2test.sed: Removed.
20160 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
20162         [BZ #14328]
20163         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
20164         or multiply small sinh result by itself.
20165         * math/s_ctanf.c (__ctanf): Likewise.
20166         * math/s_ctanh.c (__ctanh): Likewise.
20167         * math/s_ctanhf.c (__ctanhf): Likewise.
20168         * math/s_ctanhl.c (__ctanhl): Likewise.
20169         * math/s_ctanl.c (__ctanl): Likewise.
20170         * math/libm-test.inc (ctan_test_tonearest): New function.
20171         (ctan_test_towardzero): Likewise.
20172         (ctan_test_downward): Likewise.
20173         (ctan_test_upward): Likewise.
20174         (ctanh_test_tonearest): Likewise.
20175         (ctanh_test_towardzero): Likewise.
20176         (ctanh_test_downward): Likewise.
20177         (ctanh_test_upward): Likewise.
20178         (main): Call these new functions.
20179         * sysdeps/i386/fpu/libm-test-ulps: Update.
20180         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20182 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
20184         * .gitignore: Delete /ports entry.
20186 2012-07-03  Andreas Jaeger  <aj@suse.de>
20188         * po/bg.po: Update from translation team.
20189         * po/cs.po: Likewise.
20190         * po/de.po: Likewise.
20191         * po/hr.po: Likewise.
20192         * po/nl.pl: Likewise.
20193         * po/pl.po: Likewise.
20194         * po/vi.po: Likewise.
20196 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
20198         * Makeconfig [!+link] (+link-before-libc): New variable.
20199         [!+link] (+link-after-libc): Likewise.
20200         [!+link] (+link-tests): Likewise.
20201         [!+link] (+link): Define in terms of $(+link-before-libc) and
20202         $(+link-after-libc).
20203         [!+link-static] (+link-static-before-libc): New variable.
20204         [!+link-static] (+link-static-after-libc): Likewise.
20205         [!+link-static] (+link-static-tests): Likewise.
20206         [!+link-static] (+link-static): Define in terms of
20207         $(+link-static-before-libc) and $(+link-static-after-libc).
20208         [build-shared] (link-libc-before-gnulib): New variable.
20209         [build-shared] (link-libc-tests): Likewise.
20210         [build-shared] (link-libc): Define in terms of
20211         $(link-libc-before-gnulib).
20212         [!build-shared] (link-libc-tests): New variable.
20213         (link-libc-static-tests): New variable.
20214         [!gnulib] (gnulib-arch): New variable.
20215         [!gnulib] (gnulib-tests): Likewise.
20216         [!gnulib] (static-gnulib-arch): Likewise.
20217         [!gnulib] (static-gnulib-tests): Likewise.
20218         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
20219         Define with "=" instead of ":=".
20220         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
20221         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
20222         * Rules (binaries-all-notests): New variable.
20223         (binaries-all-tests): Likewise.
20224         (binaries-static-notests): Likewise.
20225         (binaries-static-tests): Likewise.
20226         (binaries-all): Define using $(binaries-all-notests) and
20227         $(binaries-all-tests).
20228         (binaries-static): Define using $(binaries-static-notests) and
20229         $(binaries-static-tests).
20230         (binaries-shared-tests): New variable.
20231         (binaries-shared-notests): Likewise.
20232         (binaries-shared): Remove variable.
20233         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
20234         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
20235         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
20236         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
20237         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
20238         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
20239         * elf/Makefile (sln-modules): New variable.
20240         (extra-objs): Add $(sln-modules:=.o).
20241         (ldconfig-modules): Add static-stubs.
20242         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
20243         * elf/static-stubs.c: New file.
20245         [BZ #14283]
20246         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
20247         by 7 not 8 to examine high bit of fractional part.  Use volatile
20248         variables when splitting into final array of floats if
20249         __FLT_EVAL_METHOD__ != 0.
20250         * math/libm-test.inc (cos_test): Add another test.
20251         (sin_test): Likewise.
20252         * sysdeps/i386/fpu/libm-test-ulps: Update.
20254         [BZ #14273]
20255         * math/libm-test.inc (cosh_test): Add more tests.
20257         * version.h (RELEASE): Set to "development".
20258         (VERSION): Set to "2.16.90".
20260 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
20262         * NEWS: Update copyright. Remove last-updated date.
20263         Mention math library bug fixes and timezone data changes.
20264         * README: Mention GNU/Hurd, x32, and HPPA support status.
20266 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
20268         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
20270 2012-06-27  Andreas Jaeger  <aj@suse.de>
20272         * manual/contrib.texi (Contributors): Add Samuel Thibault.
20274 2012-06-25  Andreas Jaeger  <aj@suse.de>
20276         * sysdeps/s390/fpu/libm-test-ulps: Update.
20278 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
20279             Thomas Schwinge  <thomas@codesourcery.com>
20281         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
20282         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
20283         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
20284         fanotify_mark.
20286 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
20288         * sysdeps/mach/start.c: Remove file.
20289         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
20290         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
20291         * sysdeps/sh/init-first.c: Likewise.
20293         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
20294         registers for frame unwinding purposes, add CFI directives.
20295         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20296         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise
20297         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
20298         Likewise.
20300         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
20301         __fortify_fail returning.
20302         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
20304         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
20305         sysdeps/sh/____longjmp_chk.S.
20306         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
20307         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
20308         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
20309         (gen-as-const-headers): Append sigaltstack-offsets.sym.
20311         * sysdeps/sh/abort-instr.h: New file.
20312         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
20313         process in case exit returns.
20315         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
20316         initialize the GOT register before use.
20318         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
20319         calculation of ARGC > 4.
20321         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
20322         meaningful names to some local labels.
20324 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
20325             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20327         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
20328         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
20329         (__arch_compare_and_exchange_val_16_acq): Likewise.
20330         (__arch_compare_and_exchange_val_32_acq): Likewise.
20331         (atomic_exchange_and_add): Fix gUSA sequence.
20332         (atomic_add): Likewise.
20333         (atomic_add_negative): Likewise.
20334         (atomic_add_zero): Likewise.
20335         (atomic_bit_test_set): Likewise.
20337 2012-06-22  Andreas Schwab  <schwab@redhat.com>
20339         [BZ #13579]
20340         * include/link.h (struct link_map): Add l_free_initfini.
20341         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
20342         l_initfini.
20343         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
20344         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
20345         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
20346         set.
20348 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
20350         * configure.in: Use AC_LANG_SOURCE.
20351         * configure: Regenerate.
20353 2012-06-22  Roland McGrath  <roland@hack.frob.com>
20355         * configure.in (libc_cv_localstatedir): New substituted variable.
20356         * configure: Regenerated.
20357         * config.make.in (localstatedir): New variable, substituted from
20358         libc_cv_localstatedir.
20359         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
20360         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
20361         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
20362         * sysdeps/gnu/configure: Regenerated.
20364 2012-06-21  Jeff Law  <law@redhat.com>
20366         [BZ #14277]
20367         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
20368         free.  Simplify list management for _LIBC case.
20370 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
20372         [BZ #14273]
20373         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
20374         Clear sign bit of 64-bit integer value before comparing against
20375         overflow value.
20377         * sysdeps/mach/configure: Regenerated.
20379 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
20381         [BZ #14278]
20382         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
20384 2012-06-21  Jeff Law  <law@redhat.com>
20386         [BZ #13882]
20387         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
20388         uint16_t for elements in the "seen" array to avoid char overflows.
20389         * elf/dl-fini.c (_dl_sort_fini): Likewise.
20390         * elf/dl-open.c (dl_open_worker): Likewise.
20392 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
20394         * scripts/list-sources.sh: Scan PORTS for translations.
20395         * po/libc.pot: Regenerated.
20397 2012-06-21  Andreas Jaeger  <aj@suse.de>
20399         [BZ #12194]
20400         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
20401         warning.
20402         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
20403         * bits/byteswap-16.h (__bswap_16): Likewise.
20404         * bits/byteswap.h (__bswap_constant_16): Likewise.
20406 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
20408         [BZ #14117]
20409         * sysdeps/i386/fpu_control.h: Removed.
20410         * sysdeps/x86_64/fpu_control.h: Moved to ...
20411         * sysdeps/x86/fpu_control.h: Here.
20413         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
20414         (_FPU_SETCW): Likewise.
20416 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
20418         [BZ #14117]
20419         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
20420         * sysdeps/x86/fpu/bits/mathinline.h: This.
20421         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
20423         [BZ #14050]
20424         [BZ #14117]
20425         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
20426         functions if __x86_64__ is defined.
20428 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
20430         * string/endian.h: Add !__ASSEMBLER__ condition for including
20431         conversion interfaces.
20433 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
20435         [BZ #14241]
20436         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
20437         of ABS(x) in calculating zero to negative powers other than odd
20438         integers.
20439         * math/libm-test.inc (pow_test): Add more tests.
20441 2012-06-15  Andreas Jaeger  <aj@suse.de>
20443         * manual/contrib.texi (Contributors): Update entry of Liubov
20444         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
20445         Machado Filho.
20447 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
20449         * string/string.h: Add __wur to GNU version of strerror_r.
20451 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
20453         [BZ #14229]
20454         * string/Makefile (tests): Add tst-strtok_r.
20455         * string/tst-strtok_r.c: New file.
20456         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
20457         RAX_LP/RDX_LP on SAVE_PTR.
20459 2012-06-14  Roland McGrath  <roland@hack.frob.com>
20461         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
20463 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
20465         * libm_test.inc (csqrt_test): Allow more spurious underflow
20466         exceptions.
20467         (j0_test): Likewise.
20468         (j1_test): Likewise.
20469         (y0_test): Likewise.
20470         (y1_test): Likewise.
20472 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
20474         * po/Makefile (libc.pot): Use UTF-8 charset.
20476 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
20478         [BZ #14210]
20479         Suppress sign-conversion warning from FD_SET.
20480         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
20481         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
20482         not unsigned long int.
20483         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
20485 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
20487         [BZ #14050]
20488         [BZ #14117]
20489         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
20490         __extern_always_inline instead of __extern_inline.
20491         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
20492         (__signbit): Likewise.
20493         (__signbitl): Support C++ namespace.
20494         (lrintf): New inline function.
20495         (lrint): Likewise.
20496         (llrintf): Likewise.
20497         (llrint): Likewise.
20498         (fmaxf): Likewise.
20499         (fmax): Likewise.
20500         (fminf): Likewise.
20501         (fmin): Likewise.
20502         (rint): Likewise.
20503         (rintf): Likewise.
20504         (ceil): Likewise.
20505         (ceilf): Likewise.
20506         (floor): Likewise.
20507         (floorf): Likewise.
20508         (nearbyint): Likewise.
20509         (nearbyintf): Likewise.
20511 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
20513         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
20514         non-default versions.
20516 2012-06-11  Roland McGrath  <roland@hack.frob.com>
20518         [BZ #14218]
20519         * manual/argp.texi (Argp): Reword argp_parse description slightly.
20521 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
20523         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
20524         (FE_UPWARD, FE_DOWNWARD): Don't define.
20525         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
20526         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
20528         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
20529         reading it.
20530         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
20531         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
20533 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
20535         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
20536         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
20537         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
20538         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
20540 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
20542         [BZ #14117]
20543         * sysdeps/i386/fpu/bits/fenv.h: Removed.
20544         * sysdeps/i386/fpu/Implies: New file.
20545         * sysdeps/x86_64/fpu/Implies: Likewise.
20546         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
20547         * sysdeps/x86/fpu/bits/fenv.h: This.
20549         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
20550         __SSE_MATH__.
20552 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
20554         [BZ #14134]
20555         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
20556         character 0xffff that matches the last element of the
20557         conversion table.
20559 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20561         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
20562         fmodl commit.
20564 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20566         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
20567         values higher than 25.6283.
20569 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20571         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
20572         subnormal exponent extraction and add some __builtin_expect.
20573         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
20574         Fix for subnormal mantissa calculation.
20576 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
20578         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
20579         cpu2 is -1 and errno is not ENOSYS.
20581 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
20583         [BZ #14117]
20584         * sysdeps/i386/i486/bits/string.h: Renamed to ...
20585         * sysdeps/x86/bits/string.h: This.
20586         * sysdeps/x86_64/bits/string.h: Removed.
20588         * sysdeps/i386/i486/bits/string.h: Define inline functions only
20589         if not compiling for x86-64, but compiling for >= i486.
20591         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
20592         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
20594         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
20595         New macro from Linux kernel 3.4.0.
20596         (FP_XSTATE_MAGIC2): Likewise.
20597         (FP_XSTATE_MAGIC2_SIZE): Likewise.
20598         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
20599         (struct _fpx_sw_bytes): New struct.
20600         (struct _xsave_hdr): Likewise.
20601         (struct _ymmh_state): Likewise.
20602         (struct _xstate): Likewise.
20604         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
20605         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
20606         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
20607         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
20608         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
20609         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
20611         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
20612         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
20613         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
20614         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
20615         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
20616         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
20618 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20620         [BZ #13743]
20621         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
20622         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
20623         (sysdep_headers): Include sys/platform/ppc.h.
20624         * sysdeps/powerpc/test-gettimebase.c: Test for
20625         __ppc_get_timebase() to catch future ISA opcode/insn changes.
20626         * manual/Makefile (appendices): Include platform.texi.
20627         * manual/contrib.texi (Contributors): Update @node pointers.
20628         * manual/maint.texi (Maintenance): Likewise.
20629         (Platform): New node.
20630         * manual/platform.texi: New file.  Document the new features.
20632 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
20633             Jakub Jelinek  <jakub@redhat.com>
20635         [BZ #14188]
20636         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
20637         where __builtin_expect is unavailable.
20639 2012-06-03  David S. Miller  <davem@davemloft.net>
20641         * stdlib/longlong.h: Updated from GCC.
20643 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
20645         [BZ #14042]
20646         * sysdeps/powerpc/powerpc32/mcount.c: New file.
20647         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
20648         __mcount_internal.
20649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
20650         (GLIBC_2.16): Likewise.
20652 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
20654         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
20656 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
20658         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
20659         (default-abi): New variable.
20660         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
20661         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
20662         variable.
20663         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
20664         Likewise.
20665         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
20666         Likewise.
20667         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
20668         Likewise.
20670         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
20671         definition.  Document in comment.
20673 2012-06-01  David S. Miller  <davem@davemloft.net>
20675         * stdlib/longlong.h: Updated from GCC.
20677 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
20679         [BZ #14117]
20680         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
20681         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
20682         sys/debugreg.h sys/io.h here.
20683         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
20684         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
20685         sys/io.h.
20686         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
20687         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
20688         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
20689         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
20690         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
20691         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
20693         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
20694         Define only if __x86_64__ is defined.
20696 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
20698         [BZ #14048]
20699         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
20700         Use int64_t for variable i.
20701         * math/libm-test.inc (fmod_test): Add more tests.
20703         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
20704         z computation is not scheduled after fetestexcept.
20705         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
20706         Use math_force_eval instead of asm to ensure calculation scheduled
20707         before exception test.
20708         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
20709         Ensure a1 + u.d computation is not scheduled after fetestexcept.
20711 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
20713         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
20714         computation is not scheduled after fetestexcept.
20716 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
20718         [BZ #14117]
20719         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
20720         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
20722 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
20724         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
20725         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
20727 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
20729         [BZ #14117]
20730         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
20731         <bits/wordsize.h>.
20732         (__WCHAR_MIN): Support __WORDSIZE == 64.
20733         (__WCHAR_MAX): Likewise.
20735         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
20736         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
20738         [BZ #14183]
20739         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
20740         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
20742         [BZ #14117]
20743         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
20744         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
20746         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
20747         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
20749         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
20750         Defined to 1 if __x86_64__ isn't defined.
20751         (_STAT_VER_LINUX_OLD): New.
20752         (st_atime): Remove duplicate.
20753         (st_mtime): Likewise.
20754         (st_ctime): Likewise.
20756 2012-05-31  David S. Miller  <davem@davemloft.net>
20758         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
20759         entries.
20761 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
20763         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
20764         gen-libm-test.pl.
20766         [BZ #14132]
20767         * elf/dl-reloc.c: Include <_itoa.h>.
20768         (_dl_reloc_bad_type): Remove use of INTUSE.
20769         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
20770         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
20771         * stdio-common/psiginfo.c (psiginfo): Likewise.
20772         * stdio-common/psignal.c (psignal): Likewise.
20773         * string/strsignal.c (strsignal): Likewise.
20774         * include/signal.h (_sys_siglist): Declare hidden proto.
20775         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
20776         INTVARDEF with libc_hidden_data_def.
20777         * stdio-common/itoa-udigits.c: Likewise.
20778         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
20779         (_itoa_lower_digits_internal): Remove declaration.
20780         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
20781         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
20782         (_sys_sigabbrev_internal): Remove aliases.
20783         (_sys_siglist): Define hidden alias.
20785 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
20787         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
20788         bits/sysctl.h.
20790 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
20792         [BZ #14117]
20793         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
20794         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
20796         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
20797         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
20798         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
20799         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
20800         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
20801         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
20803         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
20804         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
20805         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
20807         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
20808         with __addr.
20809         (insw): Likewise.
20810         (insl): Likewise.
20811         (outsb): Likewise.
20812         (outsw): Likewise.
20813         (outsl): Likewise.
20815         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
20816         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
20817         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
20819         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
20820         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
20821         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
20822         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
20823         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
20824         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
20826         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
20827         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
20829         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
20830         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
20832         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
20833         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
20834         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
20836         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
20837         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
20838         to ...
20839         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
20841         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
20842         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
20843         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
20845         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
20846         for x86-64.
20847         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
20849 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
20851         * math/math.h (M_El): Use two more decimal places.
20852         (M_LOG2El): Likewise.
20853         (M_LOG10El): Likewise.
20854         (M_LN2l): Likewise.
20855         (M_LN10l): Likewise.
20856         (M_PIl): Likewise.
20857         (M_PI_2l): Likewise.
20858         (M_PI_4l): Likewise.
20859         (M_1_PIl): Likewise.
20860         (M_2_PIl): Likewise.
20861         (M_2_SQRTPIl): Likewise.
20862         (M_SQRT2l): Likewise.
20863         (M_SQRT1_2l): Likewise.
20865 2012-05-31  David S. Miller  <davem@davemloft.net>
20867         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
20868         values between float registers.
20869         * sysdeps/sparc/sparc64/memset.S: Likewise.
20870         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
20872 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
20874         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
20875         -D_FORTIFY_SOURCE=1.
20876         (CPPFLAGS-tst-longjmp_chk.c): Define.
20877         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
20878         (CPPFLAGS-tst-longjmp_chk2.c): Define.
20879         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
20880         CFLAGS-tst-wchar-h.c.
20882 2012-05-31  Marek Polacek  <polacek@redhat.com>
20884         [BZ #14132]
20885         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
20886         __endmntent_internal): Remove declaration.
20887         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
20888         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
20889         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
20891 2012-05-30  David S. Miller  <davem@davemloft.net>
20893         * sysdeps/sparc/sparc32/soft-fp/q_util.c
20894         (___Q_simulate_exceptions): Use real FP ops rather than writing
20895         into the %fsr.
20896         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
20897         Likewise.
20899 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
20901         [BZ #14117]
20902         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
20903         * sysdeps/x86/bits/xtitypes.h: This.
20905         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
20906         * sysdeps/x86/bits/wordsize.h: This.
20908         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
20909         * sysdeps/x86/bits/huge_vall.h: This.
20911         * sysdeps/i386/bits/select.h: Removed.
20912         * sysdeps/x86_64/bits/select.h: Renamed to ...
20913         * sysdeps/x86/bits/select.h: This.
20915         * sysdeps/i386/bits/setjmp.h: Removed.
20916         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
20917         * sysdeps/x86/bits/setjmp.h: This.
20919         * sysdeps/i386/bits/mathdef.h: Removed.
20920         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
20921         * sysdeps/x86/bits/mathdef.h: This.
20923 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
20925         [BZ #14132]
20926         * include/sys/socket.h (__connect_internal)
20927         (__libc_sa_len_internal): Remove declaration.
20928         (__connect, __libc_sa_len): Declare hidden_proto.
20929         (SA_LEN): Remove use of INTUSE.
20930         * socket/connect.c: Add libc_hidden_def.
20931         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
20932         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
20933         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
20934         alias.
20935         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
20936         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
20937         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
20938         of adding _internal alias.
20940 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
20942         [BZ #14117]
20943         * sysdeps/i386/bits/link.h: Removed.
20944         * sysdeps/i386/bits/linkmap.h: Likewise.
20945         * sysdeps/x86_64/bits/link.h: Renamed to ...
20946         * sysdeps/x86/bits/link.h: This.
20947         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
20948         * sysdeps/x86/bits/linkmap.h: This.
20950         * sysdeps/i386/bits/endian.h: Removed.
20951         * sysdeps/x86_64/bits/endian.h: Renamed to ...
20952         * sysdeps/x86/bits/endian.h: This.
20954         * sysdeps/i386/bits/byteswap.h: Removed.
20955         * sysdeps/i386/bits/byteswap-16.h: Likewise.
20956         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
20957         * sysdeps/x86/bits/byteswap.h: This.
20958         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
20959         * sysdeps/x86/bits/byteswap-16.h: This.
20960         * sysdeps/i386/Implies: Add x86.
20961         * sysdeps/x86_64/Implies: Likewise.
20963 2012-05-30  David S. Miller  <davem@davemloft.net>
20965         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
20966         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
20967         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
20968         (FP_TRAPPING_EXCEPTIONS): Define.
20969         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
20970         (FP_TRAPPING_EXCEPTIONS): Define.
20971         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
20972         subnormals only when inexact has been signalled or underflow
20973         exceptions are enabled.
20974         (_FP_PACK_CANONICAL): Likewise.
20976 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
20978         [BZ #14183]
20979         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
20980         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
20982 2012-05-30  Richard Henderson  <rth@twiddle.net>
20984         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
20985         with #ifndef NOT_IN_libc.
20987         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
20988         marked to avoid plt entry.
20990 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
20992         [BZ #14112]
20993         * Makeconfig (default-abi): New macro.
20994         (abi-includes): Likewise.
20995         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
20996         $(abi-$(default-abi)-lib-soname) for soname if defined.
20997         ($(common-objpfx)gnu/lib-names.stmp): Generate from
20998         abi-variants.
20999         * Makefile (installed-stubs): Likewise.
21000         * include/stubs-biarch.h: Removed.
21001         * scripts/lib-names.awk: Only handle one library at a time.
21002         * scripts/soversions.awk: Remove WORDSIZE support.
21003         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
21004         entries.
21005         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
21006         Removed.
21007         (syscall-list-default-condition): Likewise.
21008         (syscall-list-default-condition): Likewise.
21009         (syscall-list-includes): Likewise.
21010         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
21011         syscall-list-* with abi-*.  Handle undefined abi-variants.
21012         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
21013         * sysdeps/unix/sysv/linux/i386/Implies: New file.
21014         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
21015         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
21016         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
21017         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
21018         Removed.
21019         (syscall-list-32-options): Likewise.
21020         (syscall-list-32-condition): Likewise.
21021         (syscall-list-64-options): Likewise.
21022         (syscall-list-64-condition): Likewise.
21023         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
21024         macro.
21025         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
21026         Renamed to ...
21027         (abi-*): This.
21028         (abi-64-ld-soname): New macro.
21029         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
21030         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
21031         Renamed to ...
21032         (abi-*): This.
21033         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
21034         * sysdeps/x86_64/x32/shlib-versions: Likewise.
21036 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
21038         * sysdeps/unix/sysv/linux/kernel-features.h
21039         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
21040         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
21041         include <kernel-features.h>.
21042         [!__NR_ftruncate64]: Remove conditional code.
21043         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21044         [__NR_ftruncate64]: Make code unconditional.
21045         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21046         * sysdeps/unix/sysv/linux/truncate64.c: Do not
21047         include <kernel-features.h>.
21048         [!__NR_ftruncate64]: Remove conditional code.
21049         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21050         [__NR_ftruncate64]: Make code unconditional.
21051         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
21053         include <kernel-features.h>.
21054         [!__NR_ftruncate64]: Remove conditional code.
21055         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21056         [__NR_ftruncate64]: Make code unconditional.
21057         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21058         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
21059         include <kernel-features.h>.
21060         [!__NR_ftruncate64]: Remove conditional code.
21061         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21062         [__NR_ftruncate64]: Make code unconditional.
21063         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
21065         * configure.in (libc_cv_fpie): Weaken to a compile test using
21066         LIBC_TRY_CC_OPTION.
21067         * configure: Regenerated.
21069 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
21071         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
21072         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
21073         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
21074         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
21075         Refreshed.
21076         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
21077         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
21078         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
21079         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
21080         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
21081         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
21082         Refreshed.
21084 2012-05-27  David S. Miller  <davem@davemloft.net>
21086         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
21087         (___Q_zero): New.
21088         (__Q_simulate_exceptions): Return void.  Change to simulate
21089         exceptions by writing into the %fsr.
21090         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
21091         (__Qp_handle_exceptions): Likewise.
21092         (numbers): Delete.
21093         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
21094         __Qp_handle_exceptions.
21095         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
21096         __Qp_handle_exceptions.
21097         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21098         as unused and give dummy FP_RND_NEAREST initializer.
21099         (FP_INHIBIT_RESULTS): Define.
21100         (___Q_simulate_exceptions): Update declaration.
21101         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
21102         formatting.
21103         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
21104         as unused and give dummy FP_RND_NEAREST initializer.
21105         (__Qp_handle_exceptions): Update declaration.
21106         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
21107         formatting.
21109 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
21111         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
21112         the temporary FPU control word.
21113         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
21114         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
21115         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
21116         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
21117         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
21118         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
21119         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
21120         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
21121         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
21122         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
21123         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
21125 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
21127         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
21128         fields.
21130 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
21132         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
21133         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
21134         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
21135         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
21136         Likewise.
21137         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
21138         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
21139         Likewise.
21141 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
21143         * po/h.po: Update from translation team.
21145 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
21147         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
21149         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
21150         handling of denormals.
21151         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
21152         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
21153         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
21154         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
21155         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
21156         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
21157         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
21158         Likewise.
21160 2012-05-26  Marek Polacek  <polacek@redhat.com>
21162         [BZ #14152]
21163         * math/libm-test.inc (fma_test): Don't always expect underflow
21164         exception.
21166 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
21168         [BZ #12416]
21169         * elf/tst-execstack.c: Include stackinfo.h.
21170         (do_test): Adjust test case to ensure that pthread_getattr_np
21171         behaviour remains the same after marking stack executable.
21173 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
21175         * sysdeps/unix/sysv/linux/kernel-features.h
21176         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
21177         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
21178         kernel-features.h.
21179         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21180         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21181         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
21182         kernel-features.h.
21183         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
21184         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
21186 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
21188         * configure.in: Define the default includes to being none.
21189         * configure: Regenerated.
21191 2012-05-25  Roland McGrath  <roland@hack.frob.com>
21193         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
21194         * sysdeps/x86_64/setjmp.S: Likewise.
21195         * sysdeps/i386/bsd-setjmp.S: Likewise.
21196         * sysdeps/i386/bsd-_setjmp.S: Likewise.
21197         * sysdeps/i386/setjmp.S: Likewise.
21198         * sysdeps/i386/__longjmp.S: Likewise.
21199         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
21200         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
21202         * include/stap-probe.h: New file.
21203         * configure.in: Handle --enable-systemtap.
21204         * configure: Regenerated.
21205         * config.h.in (USE_STAP_PROBE): New #undef.
21206         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
21207         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
21208         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
21210 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
21212         [BZ #13717]
21213         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
21214         to 2.4.0 where earlier.
21215         * sysdeps/unix/sysv/linux/configure: Regenerated.
21216         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
21217         <kernel-features.h>.
21218         [__ASSUME_32BITUIDS]: Make code unconditional.
21219         [!__ASSUME_32BITUIDS]: Remove conditional code.
21220         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
21221         <kernel-features.h>.
21222         [__ASSUME_32BITUIDS]: Make code unconditional.
21223         [!__ASSUME_32BITUIDS]: Remove conditional code.
21224         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
21225         [__ASSUME_32BITUIDS]: Make code unconditional.
21226         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
21227         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
21228         <kernel-features.h>.
21229         [__ASSUME_32BITUIDS]: Make code unconditional.
21230         [!__ASSUME_32BITUIDS]: Remove conditional code.
21231         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
21232         <kernel-features.h>.
21233         [__ASSUME_32BITUIDS]: Make code unconditional.
21234         [!__ASSUME_32BITUIDS]: Remove conditional code.
21235         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
21236         <kernel-features.h>.
21237         [__ASSUME_32BITUIDS]: Make code unconditional.
21238         [!__ASSUME_32BITUIDS]: Remove conditional code.
21239         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
21240         <kernel-features.h>.
21241         [__ASSUME_32BITUIDS]: Make code unconditional.
21242         [!__ASSUME_32BITUIDS]: Remove conditional code.
21243         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
21244         <kernel-features.h>.
21245         [__ASSUME_32BITUIDS]: Make code unconditional.
21246         [!__ASSUME_32BITUIDS]: Remove conditional code.
21247         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
21248         <kernel-features.h>.
21249         [__ASSUME_32BITUIDS]: Make code unconditional.
21250         [!__ASSUME_32BITUIDS]: Remove conditional code.
21251         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
21252         <kernel-features.h>.
21253         [__ASSUME_32BITUIDS]: Make code unconditional.
21254         [!__ASSUME_32BITUIDS]: Remove conditional code.
21255         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
21256         <kernel-features.h>.
21257         [__ASSUME_32BITUIDS]: Make code unconditional.
21258         [!__ASSUME_32BITUIDS]: Remove conditional code.
21259         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
21260         <kernel-features.h>.
21261         [__ASSUME_32BITUIDS]: Make code unconditional.
21262         [!__ASSUME_32BITUIDS]: Remove conditional code.
21263         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
21264         <kernel-features.h>.
21265         [__ASSUME_32BITUIDS]: Make code unconditional.
21266         [!__ASSUME_32BITUIDS]: Remove conditional code.
21267         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
21268         <kernel-features.h>.
21269         [__NR_setresgid] (__setresgid): Do not declare.
21270         [__ASSUME_32BITUIDS]: Make code unconditional.
21271         [!__ASSUME_32BITUIDS]: Remove conditional code.
21272         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
21273         <kernel-features.h>.
21274         [__NR_setresuid] (__setresuid): Do not declare.
21275         [__ASSUME_32BITUIDS]: Make code unconditional.
21276         [!__ASSUME_32BITUIDS]: Remove conditional code.
21277         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
21278         <kernel-features.h>.
21279         [__ASSUME_32BITUIDS]: Make code unconditional.
21280         [!__ASSUME_32BITUIDS]: Remove conditional code.
21281         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
21282         <kernel-features.h>.
21283         [__ASSUME_32BITUIDS]: Make code unconditional.
21284         [!__ASSUME_32BITUIDS]: Remove conditional code.
21285         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
21286         <kernel-features.h>.
21287         [__ASSUME_32BITUIDS]: Make code unconditional.
21288         [!__ASSUME_32BITUIDS]: Remove conditional code.
21289         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
21290         <kernel-features.h>.
21291         [__ASSUME_32BITUIDS]: Make code unconditional.
21292         [!__ASSUME_32BITUIDS]: Remove conditional code.
21293         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
21294         <kernel-features.h>.
21295         [__ASSUME_32BITUIDS]: Make code unconditional.
21296         [!__ASSUME_32BITUIDS]: Remove conditional code.
21297         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
21298         <kernel-features.h>.
21299         [__ASSUME_32BITUIDS]: Make code unconditional.
21300         [!__ASSUME_32BITUIDS]: Remove conditional code.
21301         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
21302         <kernel-features.h>.
21303         [__ASSUME_32BITUIDS]: Make code unconditional.
21304         [!__ASSUME_32BITUIDS]: Remove conditional code.
21305         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
21306         <kernel-features.h>.
21307         [__ASSUME_32BITUIDS]: Make code unconditional.
21308         [!__ASSUME_32BITUIDS]: Remove conditional code.
21309         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
21310         <kernel-features.h>.
21311         [__ASSUME_32BITUIDS]: Make code unconditional.
21312         [!__ASSUME_32BITUIDS]: Remove conditional code.
21313         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
21314         <kernel-features.h>.
21315         [__ASSUME_32BITUIDS]: Make code unconditional.
21316         [!__ASSUME_32BITUIDS]: Remove conditional code.
21317         * sysdeps/unix/sysv/linux/kernel-features.h
21318         (__ASSUME_SETRESUID_SYSCALL): Remove.
21319         (__ASSUME_SETRESGID_SYSCALL): Likewise.
21320         (__ASSUME_32BITUIDS): Likewise.
21321         (__ASSUME_LDT_WORKS): Likewise.
21322         (__ASSUME_O_DIRECTORY): Likewise.
21323         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
21324         architecture but not kernel version.
21325         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
21326         (__ASSUME_MMAP2_SYSCALL): Likewise.
21327         (__ASSUME_STAT64_SYSCALL): Likewise.
21328         (__ASSUME_IPC64): Likewise.
21329         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
21330         <kernel-features.h>.
21331         [__ASSUME_32BITUIDS]: Make code unconditional.
21332         [!__ASSUME_32BITUIDS]: Remove conditional code.
21333         * sysdeps/unix/sysv/linux/opendir.c: Do not include
21334         <kernel-features.h>.
21335         [__ASSUME_O_DIRECTORY]: Make code unconditional.
21336         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
21337         132096]: Remove conditional code.
21338         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
21339         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
21340         <kernel-features.h>.
21341         [__ASSUME_32BITUIDS]: Make code unconditional.
21342         [!__ASSUME_32BITUIDS]: Remove conditional code.
21343         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
21344         <kernel-features.h>.
21345         [__ASSUME_32BITUIDS]: Make code unconditional.
21346         [!__ASSUME_32BITUIDS]: Remove conditional code.
21347         * sysdeps/unix/sysv/linux/setegid.c: Do not include
21348         <kernel-features.h>.
21349         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
21350         unconditional.
21351         (__setresgid): Do not declare.
21352         [__ASSUME_32BITUIDS]: Make code unconditional.
21353         [!__ASSUME_32BITUIDS]: Remove conditional code.
21354         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
21355         <kernel-features.h>.
21356         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
21357         unconditional.
21358         (__setresuid): Do not declare.
21359         [__ASSUME_32BITUIDS]: Make code unconditional.
21360         [!__ASSUME_32BITUIDS]: Remove conditional code.
21361         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
21362         <kernel-features.h>.
21363         [__ASSUME_32BITUIDS]: Make code unconditional.
21364         [!__ASSUME_32BITUIDS]: Remove conditional code.
21365         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
21366         <kernel-features.h>.
21367         [__ASSUME_32BITUIDS]: Make code unconditional.
21368         [!__ASSUME_32BITUIDS]: Remove conditional code.
21370 2012-05-25  Richard Henderson  <rth@twiddle.net>
21372         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
21373         dl_hwcap to ifunc resolver.
21374         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
21375         elf_ifunc_invoke.
21376         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
21377         dl_hwcap to ifunc resolver.
21378         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
21380 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
21382         [BZ #14153]
21383         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
21384         for |x| <= 2**-26, not 2**-57.
21385         * math/libm-test.inc (acos_test): Do not allow spurious underflow
21386         exception.
21388 2012-05-24  Jeff Law  <law@redhat.com>
21390         * stdio-common/Makefile (tests): Add bug25.
21391         * stdio-common/bug25.c: New test.
21393 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
21395         [BZ #13576]
21396         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
21397         multiple of MALLOC_ALIGNMENT in size.
21398         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
21400 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
21402         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
21403         Require >= 256.
21404         (FILENAME_MAX): Use macro-int-constant.
21405         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
21406         (_IOFBF): Use macro-int-constant.
21407         (_IOLBF): Likewise.
21408         (_IONBF): Likewise.
21409         (SEEK_CUR): Likewise.
21410         (SEEK_END): Likewise.
21411         (SEEK_SET): Likewise.
21412         (TMP_MAX): Likewise.
21413         (EOF): Use macro-int-constant.  Require < 0.
21414         (NULL): Use macro-constant.  Require == 0.
21415         (stdin): Require type to be FILE *.
21416         (stdout): Likewise.
21417         (stderr): Likewise.
21418         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
21419         macro-int-constant.
21420         (EXIT_SUCCESS): Likewise.
21421         (NULL): Use macro-constant.  Require == 0.
21422         (RAND_MAX): Use macro-int-constant.
21423         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
21424         [C99-based standards] (strtof): Require function.
21425         [C99-based standards] (strtold): Likewise.
21426         [C99-based standards] (strtoll): Likewise.
21427         [C99-based standards] (strtoull): Likewise.
21428         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
21429         [ISO || ISO99 || ISO11] (limits.h): Likewise.
21430         [ISO || ISO99 || ISO11] (math.h): Likewise.
21431         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
21432         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
21433         [ISO || ISO99 || ISO11] (*_t): Do not allow.
21435 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
21437         [BZ #14132]
21438         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
21439         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
21440         * intl/dgettext.c (DCGETTEXT): Likewise.
21441         * intl/gettext.c (DCGETTEXT): Likewise.
21442         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
21443         * posix/regex_internal.h (gettext): Likewise.
21444         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
21445         Remove declaration.
21446         * include/argz.h (__argz_count_internal)
21447         (__argz_stringify_internal): Remove declaration.
21448         (__argz_count, __argz_stringify): Declare hidden proto.
21449         * intl/dcgettext.c: Remove use of INTDEF.
21450         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
21451         * string/argz-stringify.c: Likewise.
21452         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21453         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21454         Declare hidden proto.
21455         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
21456         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
21457         Declare hidden proto.
21458         * include/stdio.h (__asprintf_internal): Don't declare.
21459         (__asprintf): Don't define as macro.  Declare hidden proto.
21460         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
21461         (__fsetlocking): Declare hidden proto.
21462         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
21463         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
21464         hidden proto.
21465         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
21466         (_IO_setlinebuf): Remove use of INTUSE.
21467         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
21468         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
21469         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
21470         Remove declaration.
21471         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
21472         (_IO_do_flush): Remove use of INTUSE.
21473         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
21474         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
21475         (_IO_adjust_column, _IO_least_wmarker)
21476         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
21477         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
21478         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
21479         (_IO_default_doallocate, _IO_wdefault_doallocate)
21480         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
21481         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
21482         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
21483         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
21484         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
21485         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
21486         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
21487         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
21488         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
21489         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
21490         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
21491         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
21492         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
21493         proto.
21494         (_IO_flush_all_internal, _IO_adjust_column_internal)
21495         (_IO_default_uflow_internal, _IO_default_finish_internal)
21496         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
21497         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
21498         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
21499         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
21500         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
21501         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
21502         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
21503         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
21504         (_IO_file_close_internal, _IO_file_close_it_internal)
21505         (_IO_file_underflow_internal, _IO_file_overflow_internal)
21506         (_IO_file_init_internal, _IO_file_attach_internal)
21507         (_IO_file_fopen_internal, _IO_file_read_internal)
21508         (_IO_file_sync_internal, _IO_file_seek_internal)
21509         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
21510         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
21511         (_IO_str_underflow_internal, _IO_str_overflow_internal)
21512         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
21513         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
21514         (_IO_list_all_internal, _IO_link_in_internal)
21515         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
21516         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
21517         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
21518         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
21519         (_IO_do_write_internal, _IO_padn_internal)
21520         (_IO_getline_info_internal, _IO_getline_internal)
21521         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
21522         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
21523         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
21524         (_IO_vfscanf_internal, _IO_vfprintf_internal)
21525         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
21526         (_IO_init_internal, _IO_un_link_internal): Don't declare.
21527         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
21528         with libc_hidden_ver, remove use of INTUSE.
21529         * libio/genops.c: Likewise.
21530         * libio/freopen.c: Likewise.
21531         * libio/freopen64.c: Likewise.
21532         * libio/iofclose.c: Likewise.
21533         * libio/iofdopen.c: Likewise.
21534         * libio/iofflush.c: Likewise.
21535         * libio/iofflush_u.c: Likewise.
21536         * libio/iofgets.c: Likewise.
21537         * libio/iofgets_u.c: Likewise.
21538         * libio/iofopen.c: Likewise.
21539         * libio/iofopncook.c: Likewise.
21540         * libio/iofread.c: Likewise.
21541         * libio/iofread_u.c: Likewise.
21542         * libio/ioftell.c: Likewise.
21543         * libio/iofwrite.c: Likewise.
21544         * libio/iogetline.c: Likewise.
21545         * libio/iogets.c: Likewise.
21546         * libio/iogetwline.c: Likewise.
21547         * libio/iopadn.c: Likewise.
21548         * libio/iopopen.c: Likewise.
21549         * libio/ioseekoff.c: Likewise.
21550         * libio/ioseekpos.c: Likewise.
21551         * libio/iosetbuffer.c: Likewise.
21552         * libio/iosetvbuf.c: Likewise.
21553         * libio/ioungetc.c: Likewise.
21554         * libio/ioungetwc.c: Likewise.
21555         * libio/iovdprintf.c: Likewise.
21556         * libio/iovsprintf.c: Likewise.
21557         * libio/iovsscanf.c: Likewise.
21558         * libio/memstream.c: Likewise.
21559         * libio/obprintf.c: Likewise.
21560         * libio/oldfileops.c: Likewise.
21561         * libio/oldiofclose.c: Likewise.
21562         * libio/oldiofdopen.c: Likewise.
21563         * libio/oldiofopen.c: Likewise.
21564         * libio/oldiopopen.c: Likewise.
21565         * libio/oldstdfiles.c: Likewise.
21566         * libio/putc.c: Likewise.
21567         * libio/setbuf.c: Likewise.
21568         * libio/setlinebuf.c: Likewise.
21569         * libio/stdfiles.c: Likewise.
21570         * libio/strops.c: Likewise.
21571         * libio/vasprintf.c: Likewise.
21572         * libio/vscanf.c: Likewise.
21573         * libio/vsnprintf.c: Likewise.
21574         * libio/vswprintf.c: Likewise.
21575         * libio/wfiledoalloc.c: Likewise.
21576         * libio/wfileops.c: Likewise.
21577         * libio/wgenops.c: Likewise.
21578         * libio/wmemstream.c: Likewise.
21579         * libio/wstrops.c: Likewise.
21580         * libio/__fpurge.c: Likewise.
21581         * libio/__fsetlocking.c: Likewise.
21582         * assert/assert.c: Likewise.
21583         * debug/fgets_chk.c: Likewise.
21584         * debug/fgets_u_chk.c: Likewise.
21585         * debug/fread_chk.c: Likewise.
21586         * debug/fread_u_chk.c: Likewise.
21587         * debug/gets_chk.c: Likewise.
21588         * debug/obprintf_chk.c: Likewise.
21589         * debug/vasprintf_chk.c: Likewise.
21590         * debug/vdprintf_chk.c: Likewise.
21591         * debug/vsnprintf_chk.c: Likewise.
21592         * debug/vsprintf_chk.c: Likewise.
21593         * malloc/mtrace.c: Likewise.
21594         * misc/error.c: Likewise.
21595         * misc/syslog.c: Likewise.
21596         * stdio-common/asprintf.c: Likewise.
21597         * stdio-common/fxprintf.c: Likewise.
21598         * stdio-common/getw.c: Likewise.
21599         * stdio-common/isoc99_fscanf.c: Likewise.
21600         * stdio-common/isoc99_scanf.c: Likewise.
21601         * stdio-common/isoc99_vfscanf.c: Likewise.
21602         * stdio-common/isoc99_vscanf.c: Likewise.
21603         * stdio-common/isoc99_vsscanf.c: Likewise.
21604         * stdio-common/printf-prs.c: Likewise.
21605         * stdio-common/printf_fp.c: Likewise.
21606         * stdio-common/printf_fphex.c: Likewise.
21607         * stdio-common/printf_size.c: Likewise.
21608         * stdio-common/putw.c: Likewise.
21609         * stdio-common/scanf.c: Likewise.
21610         * stdio-common/sprintf.c: Likewise.
21611         * stdio-common/tmpfile.c: Likewise.
21612         * stdio-common/vfprintf.c: Likewise.
21613         * stdio-common/vfscanf.c: Likewise.
21614         * stdlib/strfmon_l.c: Likewise.
21615         * sunrpc/openchild.c: Likewise.
21616         * sunrpc/xdr_stdio.c: Likewise.
21617         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
21618         * sysdeps/mach/hurd/tmpfile.c: Likewise.
21620 2012-05-24  Roland McGrath  <roland@hack.frob.com>
21622         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
21624         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
21625         in the third column, to generate for the shared library an IFUNC
21626         that uses _dl_vdso_vsym.
21627         * Makerules (COMPILE.c, compile-stdin.c): New variables.
21628         * Makeconfig (object-suffixes-noshared): New variable.
21630         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
21631         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
21632         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
21633         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
21635         [BZ #14132]
21636         * include/sys/time.h (__gettimeofday): Remove macro.
21637         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
21638         * time/gettimeofday.c (__gettimeofday): Remove #undef.
21639         Remove INTDEF.
21640         (__gettimeofday): Add libc_hidden_def.
21641         (gettimeofday): Add libc_hidden_weak.
21642         * sysdeps/mach/gettimeofday.c: Likewise.
21643         * sysdeps/posix/gettimeofday.c: Likewise.
21644         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
21645         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
21646         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
21647         (__gettimeofday_internal): Remove strong_alias.
21648         (__gettimeofday): Add libc_hidden_def.
21649         (gettimeofday): Add libc_hidden_weak.
21650         * sysdeps/unix/syscalls.list (gettimeofday):
21651         Remove __gettimeofday_internal alias.
21653 2012-05-24  Daniel Jacobowitz  <drow@false.org>
21654             H.J. Lu  <hongjiu.lu@intel.com>
21656         [BZ #12495]
21657         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
21658         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
21659         (largebin_index_32_big): New.
21660         (largebin_index): Use it for 16-byte alignment.
21661         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
21662         correction with front_misalign.
21664 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
21666         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
21667         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
21668         Likewise.
21669         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
21670         Likewise.
21671         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
21672         Likewise.
21673         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
21674         Likewise.
21675         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
21676         Likewise.
21677         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
21678         Likewise.
21679         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
21680         Likewise.
21681         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
21682         Likewise.
21683         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
21684         Likewise.
21685         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
21686         Likewise.
21687         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
21688         Likewise.
21689         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
21690         Likewise.
21692         * scripts/data/c++-types-x32-linux-gnu.data: New file.
21693         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
21695 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
21697         [BZ #10846]
21698         [BZ #14036]
21699         * math/libm-test.inc (exp_test): Add test from bug 14036.
21700         (pow_test): Add test from bug 10846.
21702         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
21703         and other flags.
21704         (special_function): Do not include flags in test name.
21705         (parse_args): Likewise.
21706         * sysdeps/i386/fpu/libm-test-ulps: Update.
21707         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
21708         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
21709         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
21710         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21712         * math/gen-libm-test.pl (%beautify): Add entries for underflow
21713         exceptions.
21714         * math/libm-test.inc ("Philosophy"): Update comment about
21715         exception testing.
21716         (UNDERFLOW_EXCEPTION): New macro.
21717         (UNDERFLOW_EXCEPTION_OK): Likewise.
21718         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
21719         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
21720         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
21721         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
21722         (INVALID_EXCEPTION_OK): Update value.
21723         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
21724         (OVERFLOW_EXCEPTION_OK): Likewise.
21725         (IGNORE_ZERO_INF_SIGN): Likewise.
21726         (test_exceptions): Handle underflow exceptions.
21727         (acos_test): Update for underflow exception expectations.
21728         (cexp_test): Likewise.
21729         (clog_test): Likewise.
21730         (clog10_test): Likewise.
21731         (csqrt_test): Likewise.
21732         (ctan_test): Likewise.
21733         (ctanh_test): Likewise.
21734         (exp_test): Likewise.
21735         (exp10_test): Likewise.
21736         (exp2_test): Likewise.
21737         (expm1_test): Likewise.
21738         (fma_test): Likewise.
21739         (j0_test): Likewise.
21740         (jn_test): Likewise.
21741         (nexttoward_test): Likewise.
21742         (pow_test): Likewise.
21743         (scalbn_test): Likewise.
21744         (scalbln_test): Likewise.
21745         (tan_test): Likewise.
21746         (y1_test): Likewise.
21747         * sysdeps/i386/fpu/libm-test-ulps: Update.
21748         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21750 2012-05-23  David S. Miller  <davem@davemloft.net>
21752         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
21753         (__libc_sigaction): Remove unused local variables.
21755 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
21757         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
21759 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
21761         mktime: avoid signed integer overflow
21762         * time/mktime.c (__mktime_internal): Do not mishandle the case
21763         where diff == INT_MIN.
21765         mktime: simplify computation of average
21766         * time/mktime.c (ranged_convert): Use new time_t_avg function
21767         instead of rolling our own (probably-slower) code.
21769         mktime: do not assume signed right shift propagates sign bit
21770         * time/mktime.c (isdst_differ): New static function.
21771         (__mktime_internal): No need to normalize tm_isdst now.
21772         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
21773         tm_isdst values.
21775         mktime: merge another wrapv change from gnulib
21776         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
21777         from some compilers.
21779         mktime: remove incorrect attempt at unusual arithmetics
21780         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
21781         The code didn't really work on such machines anyway.
21782         (TYPE_MINIMUM): Assume two's complement.
21783         (twos_complement_arithmetic): Verify that long_int and time_t
21784         are two's complement (or unsigned, in the latter case).
21786         mktime: check signed shifts on long_int and time_t, too
21787         * time/mktime.c (SHR): Check that shifts work as desired
21788         on the types long_int and time_t too, as SHR is used on
21789         such types.
21791         mktime: do not assume 'long' is wide enough
21792         * time/mktime.c (verify): Move decl up.
21793         (long_int): New type.
21794         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
21795         to remove assumption in the code that 'long' is wide enough to
21796         store year values.  This assumption is not true on x32 and on
21797         some non-glibc platforms.
21799         mktime: merge wrapv change from gnulib
21800         * time/mktime.c (WRAPV): New macro.
21801         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
21802         (guess_time_tm, __mktime_internal): Do not assume that signed
21803         integer overflow wraps around; modern compilers generate code
21804         where this assumption is no longer valid.
21806 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
21808         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21809         Replace "jmp L(pseudo_end)" with "ret".
21810         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
21811         Likewise.
21813 2012-05-23  Andreas Jaeger  <aj@suse.de>
21815         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
21816         * sysdeps/unix/sysv/linux/poll.c: Remove file.
21818 2012-05-23  Andreas Jaeger  <aj@suse.de>
21819             Maximilian Attems  <max@stro.at>
21821         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
21822         New macros.
21824 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
21826         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
21827         code so that pseudo_end is just ret and the stack pointer is
21828         correct also for static library in error case.
21830 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
21832         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
21833         move to syscalls.list.
21834         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
21835         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
21836         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
21837         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
21839         * manual/install.texi (Running make install): Do not mention Linux
21840         kernel version for which pt_chown is not needed.
21841         (Linux): Do not mention problems with nscd with 2.0 kernels.
21842         * INSTALL: Regenerated.
21844 2012-05-23  Andreas Jaeger  <aj@suse.de>
21846         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
21847         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
21848         macro.
21849         * sysdeps/unix/sysv/linux/s390/bits/mman.h
21850         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21851         * sysdeps/unix/sysv/linux/sh/bits/mman.h
21852         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21853         * sysdeps/unix/sysv/linux/i386/bits/mman.h
21854         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21855         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
21856         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21857         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
21858         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
21859         * sysdeps/unix/sysv/linux/bits/in.h
21860         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
21862 2012-05-22  Roland McGrath  <roland@hack.frob.com>
21864         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
21865         (PREPARE_VERSION): Just use assert instead, it will be elided
21866         under [NDEBUG] anyway.
21868 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
21870         * sysdeps/unix/sysv/linux/Makefile: Include
21871         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
21872         (sysdep_routines): Remove sysctl.
21873         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
21874         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
21875         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
21876         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
21877         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
21879 2012-05-22  Andreas Jaeger  <aj@suse.de>
21881         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
21882         that pseudo_end is just ret and the stack pointer is correct also
21883         for static library in error case.
21885 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
21887         [BZ #14122]
21888         * nss/nsswitch.c (defconfig_entries): New variable.
21889         (__nss_database_lookup): Don't leak defconfig entries.
21890         (nss_parse_service_list): Don't leak on error paths.
21891         (free_database_entries): New function.
21892         (free_defconfig): New function.
21893         (free_mem): Move common code to free_database_entries.
21895 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
21897         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
21898         Add arch_prctl.
21899         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
21901         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
21902         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
21903         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
21904         New macro.
21905         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
21906         (INTERNAL_SYSCALL_TYPES): Likewise.
21907         (LOAD_ARGS_TYPES_[1-6]): Likewise.
21908         (LOAD_REGS_TYPES_[1-6]): Likewise.
21909         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
21910         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
21912 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
21914         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
21915         copysignl for GLIBC_2_0.
21916         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
21917         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
21918         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
21919         logbl for GLIBC_2_0.
21920         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
21921         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
21923 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
21925         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
21926         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
21928         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
21929         Use "neg %eax".
21931         * time/mktime.c: Update copyright years.
21933 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
21935         mktime: merge comment-quoting-style change from gnulib
21936         * time/mktime.c: Quote 'like this' in comments.
21937         The GNU coding standards suggest that we no longer quote `like this',
21938         as "`" and "'" are typically rendered asymmetrically nowadays.
21939         The typical gnulib style is to quote 'like this' when quoting
21940         code, and "like this" when quoting English.
21942         * time/mktime.c (compile-command): Add "-I.".
21944         mktime: merge mktime-internal.h change from gnulib
21945         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
21947         mktime: merge time_r change from gnulib
21948         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
21950         mktime: merge DEBUG change from gnulib
21951         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
21952         case system <time.h> has a #define.
21954         mktime: merge <sys/types.h> change from gnulib
21955         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
21956         since <time.t> is now guaranteed to define time_t.
21958         mktime: merge HAVE_CONFIG_H change from gnulib
21959         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
21961 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
21963         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21964         Use "neg %eax".
21966         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
21967         __rlim_t cast.
21968         (struct rusage): Use anonymous union to pad each field to
21969         __syscall_slong_t.
21971 2012-05-21  David S. Miller  <davem@davemloft.net>
21973         * Makefules (o-iterator): Remove .s cases.
21974         (compile-command.s): Delete.
21975         (COMPILE.s): Delete.
21976         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
21978 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
21980         * configure.in (libc_cv_predef_stack_protector): Only consider
21981         "foobar" and "__stack_chk_fail" lines in libc_undefs.
21982         * configure: Regenerated.
21984 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
21986         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
21987         New macro.  Use R*LP on int and pointer.
21988         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
21989         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
21990         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
21991         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
21993         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
21994         [__WORDSIZE_TIME64_COMPAT32] instead of
21995         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
21996         (struct utmp): Likewise.
21997         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
21998         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
21999         Renamed to ...
22000         (__WORDSIZE_TIME64_COMPAT32): This.
22001         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
22002         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
22003         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
22004         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
22005         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
22006         (__WORDSIZE_TIME64_COMPAT32): New macro.
22008 2012-05-21  Andreas Jaeger  <aj@suse.de>
22010         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
22011         only if [SHARED]. Add prototype for __wcschr_ia32.
22013 2012-05-21  Roland McGrath  <roland@hack.frob.com>
22015         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
22016         of %rbp unmolested in the jmp_buf while mangling the low bits.
22017         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
22018         unmolested high bits of %rbp while demangling the low bits.
22019         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
22021 2012-05-21  Andreas Jaeger  <aj@suse.de>
22023         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
22024         * sunrpc/svc_simple.c: Use it for registerrpc.
22025         * sunrpc/xcrypt.c: Use it for passwd2des.
22027         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
22029 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
22031         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
22032         Don't define if [__SYSCALL_WORDSIZE != 32].
22033         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
22034         New macro.
22036 2012-05-21  Bruno Haible  <bruno@clisp.org>
22037             Andreas Jaeger  <aj@suse.de>
22039         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
22040         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
22041         inptr and inend for must_buffer_ch.
22042         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
22043         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
22044         * stdio-common/Makefile (tests): Remove bug15.
22045         (bug15-ENV): Remove macro.
22046         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
22047         anymore.
22049 2012-05-19  Andreas Jaeger  <aj@suse.de>
22050             Roland McGrath  <roland@hack.frob.com>
22052         * manual/contrib.texi: Completely rewritten. It contains now an
22053         alphabetical list of contributors and their contributions.
22055 2012-05-21  Richard Henderson  <rth@twiddle.net>
22057         * misc/getauxval.c (__getauxval): Use unsigned long int.
22058         * misc/sys/auxv.h: Include <sys/cdefs.h>.
22059         (getauxval): Use unsigned long int.
22061 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
22063         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
22065 2012-05-21  Roland McGrath  <roland@hack.frob.com>
22067         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
22068         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
22069         __alignof__ (long double).
22071 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22073         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22075 2012-05-20  Richard Henderson  <rth@twiddle.net>
22077         * misc/getauxval.c: New file.
22078         * misc/sys/auxv.h: New file.
22079         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
22080         (routines): Add getauxval.
22081         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
22082         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
22083         * elf/dl-sysdep.c (_dl_auxv): Remove.
22084         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
22085         * elf/dl-support.c (_dl_auxv): New variable.
22086         (_dl_aux_init): Initialize it.
22087         * manual/startup.texi (Auxiliary Vector): New node.
22088         * sysdeps/generic/bits/hwcap.h: New file.
22089         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
22090         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
22091         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
22092         * sysdeps/sparc/sysdep.h: ... here.  Include it.
22093         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
22094         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
22095         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
22096         Update.
22097         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
22098         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
22099         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
22100         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
22101         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22102         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
22103         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
22104         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
22106 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22108         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
22110 2012-05-19  David S. Miller  <davem@davemloft.net>
22112         * sysdeps/sparc/fpu/libm-test-ulps: Update.
22114 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
22116         [BZ #14123]
22117         * math/s_ccosh.c: Include <float.h>
22118         (__ccosh): Avoid internal overflow calculating sinh and cosh
22119         values before multiplying by sin and cos values.
22120         * math/s_ccoshf.c: Likewise.
22121         * math/s_ccoshl.c: Likewise.
22122         * math/s_csin.c: Likewise.
22123         * math/s_csinf.c: Likewise.
22124         * math/s_csinl.c: Likewise.
22125         * math/s_csinh.c: Likewise.
22126         * math/s_csinhf.c: Likewise.
22127         * math/s_csinhl.c: Likewise.
22128         * math/libm-test.inc (ccos_test): Add more tests.
22129         (ccosh_test): Likewise.
22130         (csin_test): Likewise.
22131         (csinh_test): Likewise.
22132         * sysdeps/i386/fpu/libm-test-ulps: Update.
22133         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22135 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
22137         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
22138         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
22140         * sysdeps/x86_64/x32/_itoa.h: Add comment.
22142 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
22144         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
22145         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
22146         * sysdeps/powerpc/soft-fp/Versions: Likewise.
22147         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
22148         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
22149         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
22150         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
22151         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
22152         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
22153         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
22154         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
22155         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
22156         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
22157         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
22158         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
22159         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
22160         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
22161         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
22162         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
22163         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
22164         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
22165         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
22166         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
22167         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
22168         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
22169         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
22170         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
22171         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
22172         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
22173         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
22174         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
22176 2012-05-18  Andreas Jaeger  <aj@suse.de>
22178         * csu/.gitignore: Delete.
22180 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
22182         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
22183         (timex): Use __syscall_slong_t.
22185 2012-05-18  Andreas Jaeger  <aj@suse.de>
22186             Carlos O'Donell  <carlos_odonell@mentor.com>
22188         * manual/install.texi (Configuring and compiling): Update
22189         description about files modified in the source directory.
22190         * INSTALL: Regenerated.
22192 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
22194         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
22195         value.  Use "or" to set return value to -1.
22196         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
22197         negate return value.
22199 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
22201         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c,
22202         CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
22203         failure if the compiler has Graphite support disabled.
22204         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
22205         Likewise.
22206         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c,
22207         CFLAGS-memmove.c): Likewise.
22208         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
22209         Likewise.
22211 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
22213         * sysdeps/x86_64/x32/_itoa.h: New file.
22215         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
22216         getdents system call only if kernel and user dirents have the
22217         same d_ino and d_off.
22219         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
22220         LLONG_MAX != LONG_MAX.
22221         (_itoa_word): Use _ITOA_WORD_TYPE on value.
22222         (_fitoa_word): Likewise.
22224         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
22225         years.
22226         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
22227         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
22228         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
22230         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
22231         include <bits/wordsize.h>.  Check __x86_64__ instead of
22232         __WORDSIZE.
22233         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
22234         if __x86_64__ is defined.  Use anonymous union on fpstate.
22236         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
22237         anonymous union.
22239 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
22241         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
22242         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
22243         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
22244         Refer to _rtld_local_ro instead of _rtld_global_ro.
22245         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
22246         Likewise.
22247         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
22248         Likewise.
22249         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
22250         Likewise.
22251         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
22252         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
22253         of _rtld_global, and rtld_progname instead of _dl_argv[0].
22255         * sysdeps/powerpc/powerpc32/dl-machine.c
22256         (__elf_machine_runtime_setup) [PROF]: Don't reference
22257         _dl_prof_resolve.
22259 2012-05-18  Andreas Jaeger  <aj@suse.de>
22261         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
22262         function only available for GCCs before 3.4 since GCC 3.4
22263         introduced a builtin.
22264         (lrint): Likewise.
22265         (llrintf): Likewise.
22266         (llrint): Likewise.
22267         (fmaxf): Likewise.
22268         (fmax): Likewise.
22269         (fminf): Likewise.
22270         (fmin): Likewise.
22271         (rint): Likewise.
22272         (rintf): Likewise.
22273         (nearbyint): Likewise.
22274         (nearbyintf): Likewise.
22275         (ceil): Likewise.
22276         (ceilf): Likewise.
22277         (floor): Likewise.
22278         (floorf): Likewise.
22280 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
22282         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
22283         on both fields and cast pointer to __syscall_ulong_t.
22285         * bits/types.h (__fsword_t): New type.
22286         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
22287         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
22288         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22289         (__FSWORD_T_TYPE): Likewise.
22290         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22291         (__FSWORD_T_TYPE): Likewise.
22292         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22293         (__FSWORD_T_TYPE): Likewise.
22294         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
22295         (__FSWORD_T_TYPE): Likewise.
22296         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
22297         __SWORD_TYPE with __fsword_t.
22298         (statfs64): Likewise.
22300 2012-05-17  David S. Miller  <davem@davemloft.net>
22302         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
22304 2012-05-17  Andreas Jaeger  <aj@suse.de>
22306         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
22307         warning.
22309 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
22311         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
22313 2012-05-17  Andreas Jaeger  <aj@suse.de>
22315         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
22316         when it is used.
22318 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
22320         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
22322 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
22324         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
22325         * sysdeps/x86_64/tst-mallocalign1.c: New file.
22327 2012-05-17  Andreas Jaeger  <aj@suse.de>
22328             Carlos O'Donell  <carlos_odonell@mentor.com>
22330         [BZ #14059]
22331         * sysdeps/x86_64/multiarch/init-arch.h
22332         (bit_YMM_Usable): Rename to...
22333         (bit_AVX_Usable): ... this.
22334         (bit_FMA4_Usable): New macro.
22335         (bit_XMM_state): New macro.
22336         (bit_YMM_state): New macro.
22337         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
22338         [__ASSEMBLER__] (index_AVX_Usable): ... this.
22339         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
22340         (CPUID_OSXSAVE): New macro.
22341         (CPUID_AVX): New macro.
22342         (CPUID_FMA4): New macro.
22343         (index_YMM_Usable): Rename to...
22344         (index_AVX_Usable): ... this.
22345         (HAS_AVX): Use HAS_ARCH_FEATURE.
22346         (HAS_FMA4): Likewise.
22347         (HAS_YMM_USABLE): Remove.
22348         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
22349         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
22350         are present.
22351         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
22352         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
22353         * sysdeps/x86_64/multiarch/Makefile: Likewise.
22354         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
22355         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
22357 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
22359         * math/libm-test.c: Support platforms without multiple rounding modes.
22360         * math/bug-nextafter.c: Support platforms without FP exceptions.
22361         * math/bug-nexttoward.c: Likewise.
22362         * math/test-fenv.c: Likewise.
22363         * math/test-misc.c: Likewise.
22364         * stdlib/bug-getcontext.c: Likewise.
22366 2012-05-17  Andreas Jaeger  <aj@suse.de>
22368         * manual/examples/search.c (critter_cmp): Change signature to
22369         avoid warnings.
22370         * manual/string.texi (Collation Functions): Likewise.
22372 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22374         * bits/types.h: Fold copyright years.
22375         * bits/typesizes.h: Likewise.
22376         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
22377         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
22378         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
22379         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
22380         * time/time.h: Likewise.
22382 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
22384         [BZ #208]
22385         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
22386         in instead of returning them.  Return void.
22387         (__libc_mallinfo): Accumulate over all arenas.
22388         (__malloc_stats): Adjust for change in int_mallinfo interface.
22390 2012-05-16  Roland McGrath  <roland@hack.frob.com>
22392         [BZ #10375]
22393         * configure.in (NM): Add AC_CHECK_TOOL for it.
22394         (libc_extra_cflags): New substituted variable.
22395         Check for -fstack-protector being used implicitly.
22396         * configure: Regenerated.
22397         * config.make.in (config-extra-cflags): New variable,
22398         gets @libc_extra_cflags@.
22399         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
22401         [BZ #10375]
22402         * configure.in: Check for _FORTIFY_SOURCE being predefined.
22403         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
22404         * configure: Regenerated.
22405         * config.make.in (CPPUNDEFS): New substituted variable.
22406         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
22407         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
22408         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
22410 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22412         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
22413         (mq_attr): Use __syscall_slong_t.
22415 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22417         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
22418         Check __x86_64__ instead of __WORDSIZE.
22419         (_STAT_VER_LINUX): Likewise.
22420         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
22421         __syscall_ulong_t and __syscall_slong_t.
22422         (stat64): Likewise.
22424 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22426         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
22428 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22430         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
22432 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22434         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
22435         __syscall_ulong_t.
22437         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
22438         include <bits/wordsize.h>.  Check __x86_64__ instead of
22439         __WORDSIZE.
22440         (greg_t): Use "__extension__ long long int" if __x86_64__ is
22441         defined.
22442         (mcontext_t): Replace "unsigned long" with "unsigned long long".
22444         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
22445         include <bits/wordsize.h>.  Check __x86_64__ instead of
22446         __WORDSIZE.
22447         (user_regs_struct): Use "__extension__ unsigned long long"
22448         instead of "unsigned long" if __x86_64__ is defined.
22449         (user): Likewise.  Pad after pointer field if __ILP32__ is
22450         defined.
22452 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
22454         * configure.in (makeinfo): Require version 4.5 or later.  Allow
22455         versions 5 to 9.
22456         * configure: Regenerated.
22457         * manual/install.texi (texinfo): Increase version requirement to
22458         4.5 or later.
22459         * INSTALL: Regenerated.
22461         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
22463 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
22465         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
22467         * sysdeps/x86_64/x32/ffs.c: New file.
22469         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
22470         __syscall_ulong_t.
22471         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
22472         defined.  Use __syscall_ulong_t.
22473         (shminfo): Use __syscall_ulong_t.
22474         (shm_info): Likewise.
22476         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
22477         __syscall_ulong_t.
22479         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
22480         <bits/wordsize.h>.
22481         (msgqnum_t): Use __syscall_ulong_t.
22482         (msglen_t): Likewise.
22483         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
22484         __syscall_ulong_t.
22486         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
22487         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
22489         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
22491         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
22492         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
22494         * sysvipc/sys/msg.h (msgbuf): Replace long int with
22495         __syscall_slong_t.
22497         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
22498         include <bits/wordsize.h>.  Check __x86_64__ instead of
22499         __WORDSIZE.
22501         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
22502         "unsigned long long int" if __x86_64__ is defined.
22503         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
22505         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
22506         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
22507         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
22509         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
22510         <stdint.h>.
22511         (GET_PC): Cast to uintptr_t first.
22512         (GET_FRAME): Likewise.
22513         (GET_STACK): Likewise.
22515         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
22516         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
22517         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
22518         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
22519         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
22520         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
22521         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
22522         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
22523         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
22524         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
22525         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
22526         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
22527         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
22528         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
22529         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
22530         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
22531         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
22532         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
22533         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
22534         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
22535         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
22536         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
22537         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
22538         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
22539         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
22540         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
22541         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
22542         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
22543         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
22545 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
22547         * Makerules (+depfiles): Also collect depfiles from .oS in
22548         $(extra-objs).
22549         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
22550         .oS, $(libnldbl-routines)).
22552         * Makerules (native-compile-mkdep-flags): Define.
22553         * sunrpc/Makefile (extra-objs): Add $(addprefix
22554         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
22555         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
22556         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
22557         calling $(make-target-directory).
22559 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22561         * bits/types.h (__snseconds_t): Removed.
22562         * time/time.h (struct timespec): Replace __snseconds_t with
22563         __syscall_slong_t.
22564         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
22565         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
22566         Likewise.
22567         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22568         (__SNSECONDS_T_TYPE): Likewise.
22569         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22570         (__SNSECONDS_T_TYPE): Likewise.
22571         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22572         (__SNSECONDS_T_TYPE): Likewise.
22574 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22576         * sysdeps/mach/hurd/bits/typesizes.h
22577         (__SYSCALL_SLONG_TYPE): New macro.
22578         (__SYSCALL_ULONG_TYPE): Likewise.
22580 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22582         * bits/types.h (__syscall_slong_t): New type.
22583         (__syscall_ulong_t): Likewise.
22585         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
22586         (__SYSCALL_ULONG_TYPE): Likewise.
22587         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
22588         (__SYSCALL_SLONG_TYPE): Likewise.
22589         (__SYSCALL_ULONG_TYPE): Likewise.
22590         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
22591         (__SYSCALL_SLONG_TYPE): Likewise.
22592         (__SYSCALL_ULONG_TYPE): Likewise.
22593         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
22594         (__SYSCALL_SLONG_TYPE): Likewise.
22595         (__SYSCALL_ULONG_TYPE): Likewise.
22597 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22599         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
22600         Add sigaltstack-offsets.sym.
22601         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
22602         <sigaltstack-offsets.h>.
22603         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
22604         longjmp_msg pointer.
22605         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
22606         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
22607         signal stack.
22608         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
22610 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
22612         * elf/stackguard-macros.h: Remove file.
22613         * sysdeps/generic/stackguard-macros.h: New file.
22614         * sysdeps/i386/stackguard-macros.h: Likewise.
22615         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
22616         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
22617         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
22618         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
22619         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
22620         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
22621         * sysdeps/x86_64/stackguard-macros.h: Likewise.
22622         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
22623         <elf/stackguard-macros.h>.
22625         [BZ #14109]
22626         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
22627         __aligned__ in attribute.
22628         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
22629         (gregset_t): Likewise.
22631 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22633         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
22634         * sysdeps/x86_64/64/Implies-after: Here.  New file.
22635         * sysdeps/x86_64/x32/Implies-after: New file.
22637 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22639         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
22640         and access return value for _dl_profile_fixup.  Use R10_LP to
22641         load frame size.
22643 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22645         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
22647 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22649         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
22650         * sysdeps/x86_64/x32/sysdep.h: New file.
22652 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22654         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
22655         * sysdeps/x86_64/setjmp.S: Likewise.
22657 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22659         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
22660         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
22661         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
22662         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
22663         remove unused global constant.
22665 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
22667         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
22668         include of <not-cancel.h>.
22670 2012-05-15  Roland McGrath  <roland@hack.frob.com>
22672         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
22674 2012-05-15  Jeff Law  <law@redhat.com>
22675             Andreas Jaeger  <aj@suse.de>
22677         [BZ #13594]
22678         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
22679         out from...
22680         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
22681         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
22682         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
22683         code changing __hst_map_handle.map.
22685 2012-05-15  Roland McGrath  <roland@hack.frob.com>
22687         * configure.in (sysnames): Look for Implies-before and Implies-after
22688         files.
22689         * configure: Regenerated.
22691 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22693         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
22694         8-byte data alignment with LP_SIZE alignment.
22696 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22698         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
22699         into R10_LP.
22701 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22703         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
22705 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22707         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
22708         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
22709         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
22710         Likewise.
22711         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
22713 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22715         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
22716         (stackinfo_sub_sp): Likewise.
22718 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22720         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
22721         RAX_LP.
22723 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22725         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
22726         into R*_LP.
22728 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22730         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
22731         sizes into R*_LP.
22733 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22735         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
22737 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22739         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
22740         into R11_LP and load __x86_64_shared_cache_size_half into
22741         R8_LP.
22743 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
22745         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
22746         R8_LP.
22748 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
22750         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
22751         logb for POWER7.
22752         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
22753         logbf for POWER7.
22754         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
22755         logbl for POWER7.
22756         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
22757         powerpc32/power7/fpu/s_logb.c via #include.
22758         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
22759         powerpc32/power7/fpu/s_logbf.c via #include.
22760         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
22761         powerpc32/power7/fpu/s_logbl.c via #include.
22763 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
22765         * README.libm: Remove file.
22767 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
22769         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
22770         count for x32.  Use R*_LP and omit operand-size suffix.
22772 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
22774         * shlib-versions: Move x86_64-.*-linux.* entries to ...
22775         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
22776         * sysdeps/x86_64/x32/shlib-versions: New file.
22778 2012-05-14  Roland McGrath  <roland@hack.frob.com>
22780         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
22781         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
22782         Use _dl_fatal_printf instead.
22784 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
22786         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
22787         set if not set by the user.  Do not allow for being unset.
22788         * sysdeps/unix/sysv/linux/configure: Regenerated.
22790 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
22792         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
22793         the `q' suffix from lea and replace .quad with ASM_ADDR.
22795 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
22797         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
22798         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
22799         instead of $17.
22800         (PTR_DEMANGLE): Likewise.
22802 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
22804         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
22805         (LP_OP): Likewise.
22806         (ASM_ADDR): Likewise.
22807         (RAX_LP): Likewise.
22808         (RBP_LP): Likewise.
22809         (RBX_LP): Likewise.
22810         (RCX_LP): Likewise.
22811         (RDI_LP): Likewise.
22812         (RSI_LP): Likewise.
22813         (RSP_LP): Likewise.
22814         (R8_LP): Likewise.
22815         (R9_LP): Likewise.
22816         (R10_LP): Likewise.
22817         (R10_LP): Likewise.
22818         (R11_LP): Likewise.
22819         (R12_LP): Likewise.
22820         (R13_LP): Likewise.
22821         (R14_LP): Likewise.
22822         (R15_LP): Likewise.
22824 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
22826         * sysdeps/x86_64/x32/dl-machine.h: New file.
22828 2012-05-14  Andreas Jaeger  <aj@suse.de>
22830         * manual/Makefile (subdir): Remove export of subdir.
22831         (all): Remove target.
22832         (.PHONY): Remove all from list.
22833         (mkinstalldirs): Remove.
22834         (.PHONY): Remove installdirs from list.
22835         ($(inst_infodir)/libc.info): Use make-target-directory.
22836         (installdirs): Remove.
22837         (subdir_%): Remove.
22838         (glibc-targets): Remove.
22839         (lib): Remove.
22840         (stubs): Remove.
22841         ($(objpfx)stubs ../po/manual.pot): Remove.
22842         ($(objpfx)stamp%): Remove.
22843         (make-target-directory): Remove.
22844         (subdir_install): Remove.
22845         (routines): Remove.
22846         (aux): Remove.
22847         (sources): Remove.
22848         (objects): Remove.
22849         (headers): Remove.
22851         [BZ #13750]
22852         * manual/.gitignore: Remove, it's not needed anymore.
22853         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
22854         all files in it.
22855         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
22856         directory.
22857         (texis): Renamed to $(objpfx)texis.
22858         (texis-path): New, contains path to generated files.
22859         (chapters.%): Use texis-path for complete path, add extra argument
22860         libc-texinfo.sh.
22861         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
22862         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
22863         (summary,texi, stamp-summary): Use complete path of
22864         files. Generate files in build dir.
22865         (dir-add.texi): Build in build dir.
22866         (libm-err.texi,stamp-libm-err): Likewise.
22867         (version.texi, stamp-version): Likewise.
22868         (.%c.texi): Likewise.
22869         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
22870         (mostlyclean): Remove target.
22871         (realclean): Remove target.
22872         (generated): Add new variable with contents from mostlyclean and
22873         realclean, remove entries duplicated in common-mostlyclean, add
22874         stamp-libm-err and stamp-version.
22875         (generated-dirs): Add libc directory.
22876         ($(inst_infodir)/libc.info): Install files from build dir.
22878         * manual/install.texi (Configuring and compiling): Adjust since
22879         the info files are not part of the tar ball anymore.
22881 2012-05-14  Andreas Jaeger  <aj@suse.de>
22883         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
22884         variable.
22886 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
22888         [BZ #13717]
22889         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
22890         to 2.2.0 where earlier.
22891         * sysdeps/unix/sysv/linux/configure: Regenerated.
22892         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
22893         Remove conditional code.
22894         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
22895         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
22896         Remove conditional code.
22897         [!__NR_lchown]: Likewise.
22898         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22899         [__NR_lchown]: Likewise.
22900         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
22901         comment referencing __ASSUME_LCHOWN_SYSCALL.
22902         * sysdeps/unix/sysv/linux/i386/sigaction.c
22903         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22904         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22905         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
22906         Remove conditional code.
22907         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
22908         (__protocol_available): Remove #if 0 code.
22909         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
22910         conditional code.
22911         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
22912         * sysdeps/unix/sysv/linux/kernel-features.h
22913         (__ASSUME_GETCWD_SYSCALL): Don't define.
22914         (__ASSUME_REALTIME_SIGNALS): Likewise.
22915         (__ASSUME_PREAD_SYSCALL): Likewise.
22916         (__ASSUME_PWRITE_SYSCALL): Likewise.
22917         (__ASSUME_POLL_SYSCALL): Likewise.
22918         (__ASSUME_LCHOWN_SYSCALL): Likewise.
22919         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
22920         non-SPARC.
22921         (__ASSUME_SIOCGIFNAME): Don't define.
22922         (__ASSUME_MSG_NOSIGNAL): Likewise.
22923         (__ASSUME_SENDFILE): Define unconditionally.
22924         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
22925         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
22926         conditional code.
22927         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
22928         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
22929         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22930         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22931         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
22932         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
22933         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
22934         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
22935         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22936         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22937         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
22938         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22939         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22940         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
22941         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22942         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22943         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
22944         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22945         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22946         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
22947         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22948         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22949         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
22950         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
22951         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
22953         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22954         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22955         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
22956         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22957         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22958         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
22959         Remove conditional code.
22960         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22961         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22962         Remove conditional code.
22963         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22964         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
22965         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
22966         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22967         Remove conditional code.
22968         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22969         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
22970         Remove conditional code.
22971         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22972         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
22973         Remove conditional code.
22974         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22975         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
22976         Remove conditional code.
22977         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
22978         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
22979         Remove conditional code.
22980         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22981         * sysdeps/unix/sysv/linux/sh/pwrite64.c
22982         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
22983         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
22984         * sysdeps/unix/sysv/linux/sigaction.c
22985         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22986         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22987         * sysdeps/unix/sysv/linux/sigpending.c
22988         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22989         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22990         * sysdeps/unix/sysv/linux/sigprocmask.c
22991         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22992         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22993         * sysdeps/unix/sysv/linux/sigsuspend.c
22994         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
22995         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
22996         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
22997         (__libc_missing_rt_sigs): Remove.
22998         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
22999         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
23000         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
23001         Remove conditional code.
23002         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
23003         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
23004         return 1.
23005         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
23006         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
23007         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
23008         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
23010 2012-05-14  Andreas Jaeger  <aj@suse.de>
23012         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
23013         it's not used in glibc.
23014         (__coshm1): Likewise.
23015         (__acosh1p): Likewise.
23016         (__sgn): Likewise.
23018         * manual/string.texi (Copying and Concatenation): Add missing
23019         variable in concat example.
23020         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
23022 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23024         [BZ #14103]
23025         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
23026         __builtin_clzl with __builtin_clzll.
23028 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
23030         [BZ #14104]
23031         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
23032         libc_freeres_ptr.
23034 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
23036         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
23037         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
23038         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
23039         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
23041 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
23043         * NEWS: Update ia64 info.
23045 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
23047         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
23048         used as bcopy.
23050 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
23052         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
23053         * sysdeps/unix/syscalls.list (dup3): Likewise.
23054         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
23055         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
23057 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
23059         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
23060         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
23062 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
23064         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
23065         thread pointer.
23066         (TLS_IE): Use mov/add instead of movq/addq to load thread
23067         pointer.
23068         (TLS_GD_PREFIX): New.
23069         (TLS_GD): Use it.
23071 2012-05-11  David S. Miller  <davem@davemloft.net>
23073         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
23074         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
23075         (_FPU_SETCW): Likewise.
23077 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
23079         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
23080         is 32-byte aligned.
23082 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
23084         [BZ #11837]
23085         * iconvdata/gb18030.c: Update tables.
23086         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
23087         characters specially.
23088         (BODY for TO_LOOP): Add encoding of missing ranges.
23090 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
23092         [BZ #13673]
23093         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
23094         * sysdeps/mach/hurd/dup3.c: Likewise.
23095         * sysdeps/mach/hurd/readlinkat.c: Likewise.
23096         * sysdeps/powerpc/memmove.c:: Likewise.
23098 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
23100         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
23101         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
23103 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
23105         * elf/elf.h (R_X86_64_RELATIVE64): New.
23106         (R_X86_64_NUM): Updated.
23107         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
23108         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
23109         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
23110         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
23111         tst-quad1pie tst-quad2pie
23112         (modules-names): Add tst-quadmod1 tst-quadmod2.
23113         ($(objpfx)tst-quad1): New dependency.
23114         ($(objpfx)tst-quad2): Likewise.
23115         ($(objpfx)tst-quad1pie): Likewise.
23116         ($(objpfx)tst-quad2pie): Likewise.
23117         * sysdeps/x86_64/tst-quad1.c: New file.
23118         * sysdeps/x86_64/tst-quad1pie.c: New file.
23119         * sysdeps/x86_64/tst-quad2.c: Likewise.
23120         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
23121         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
23122         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
23123         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
23124         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
23126 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23128         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
23129         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
23130         * streams/stropts.h (t_scalar_t): Define type.
23132         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
23133         (_PATH_PRESERVE): Set to "/var/lib".
23134         (_PATH_RWHODIR): Set to "/var/spool/rwho".
23136         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
23137         instead of int.
23139         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
23140         if __dir_mkfile succeeded.
23142         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
23143         checking for _hurd_dtablesize.  Unlock it right after having
23144         finished _hurd_dtable allocation.
23146 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23148         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
23149         * sysdeps/mach/hurd/configure: Regenerated.
23150         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
23151         special-casing to...
23152         * sysdeps/gnu/configure.in: ... this new file.
23153         * sysdeps/unix/sysv/linux/configure: Regenerated.
23154         * sysdeps/gnu/configure: New generated file.
23156         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
23157         for Linux: use nsec instead of usec, as well as:
23158         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
23159         members of type struct timespec.
23160         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
23161         New macros.
23162         (struct stat64): Likewise.
23163         (_STATBUF_ST_NSEC): New macro.
23164         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
23166         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
23167         __strtoul_internal rather than strtoul.
23169 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23171         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
23172         and reject them.
23174 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23176         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
23177         which preserves existing values.
23178         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
23180 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23182         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
23183         TIMEOUT values.  Return EINVAL for NFDS values either negative or
23184         greater than FD_SETSIZE.
23186 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23188         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
23189         allocated, call __vm_protect to finish enabling the existing space, and
23190         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
23191         allocate the remainder.
23193 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23195         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
23196         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
23198 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23200         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
23201         sysdeps/mach/hurd/readlink.c.
23203         * posix/tst-sysconf.c (posix_options): Only use
23204         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
23205         _POSIX_SYNCHRONIZED_IO when they are defined
23206         * sysdeps/mach/hurd/bits/posix_opt.h:
23207         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
23208         (_XOPEN_REALTIME): Undefine macro.
23209         (_XOPEN_REALTIME_THREADS): Undefine macro.
23210         (_XOPEN_SHM): Undefine macro.
23211         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
23212         macro to -1.
23213         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
23214         macro to -1.
23215         (_POSIX_ASYNC_IO): Undefine macro.
23216         (_POSIX_PRIORITIZED_IO): Undefine macro.
23217         (_POSIX_SPIN_LOCKS): Define macro to -1.
23219         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
23220         SA_NODEFER, SA_RESETHAND.
23221         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
23222         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
23223         F_DUPFD_CLOEXEC.
23225 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23227         * elf/Makefile (pldd-modules): Define unconditionally.
23229 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23231         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
23233 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23235         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
23236         Return ENOENT when name is empty.
23237         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
23239 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23241         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
23243         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
23245 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23247         Fix mlock in all cases except non-readable pages.
23248         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
23249         instead of VM_PROT_ALL as parameter to __vm_wire function.
23251         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
23252         (__mkdir): When path is `/', just fail with EEXIST.
23253         * sysdeps/mach/hurd/mkdirat.c: Likewise.
23255 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23257         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
23258         <sys/uio.h> (for writev).
23259         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
23260         and <sys/param.h> (for MIN).
23262 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
23264         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
23265         REQUESTED_TIME.  Properly set the remaining time and return EINTR
23266         if interrupted.
23268 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23270         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
23271         Depend on against $(link-rpcuserlibs).
23273 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23275         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
23276         (__libc_stack_end): Do not use attribute_relro.
23277         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
23278         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
23279         to libthread-provided value.
23280         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
23281         attribute_relro.
23283 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23285         [BZ #3748]
23286         * bits/libc-lock.h (__libc_once_get): New macro.
23287         * sysdeps/mach/bits/libc-lock.h: Likewise.
23288         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
23289         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
23290         instead of using implementation details.
23292         * libio/fileops.c: Unconditionally include <kernel-features.h>.
23293         * libio/freopen.c: Likewise.
23294         * libio/freopen64.c: Likewise.
23295         * misc/syslog.c: Likewise.
23296         * nscd/connections.c: Likewise.
23297         * nscd/netgroupcache.c: Likewise.
23298         * sysdeps/posix/getcwd.c: Likewise.
23300 2012-05-10  Roland McGrath  <roland@hack.frob.com>
23302         * math/w_ilogbf.c: Add #include <limits.h>.
23304 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23306         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
23307         path instead of returning without unlocking.
23309         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
23310         immediate-write ioctls.
23311         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
23313 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23315         * sysdeps/mach/hurd/i386/init-first.c (init): Use
23316         __builtin_frame_address instead of making assumptions about the
23317         location of the return address relative to DATA.  Force early load of
23318         the return address.
23319         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
23320         __builtin_frame_address.
23322         dup3 for GNU Hurd.
23323         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
23324         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
23325         implement dup3 and do some further code clean-ups.
23326         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
23327         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
23329 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23331         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
23333         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
23334         HURD_CRITICAL_END around holding _hurd_dtable_lock.
23335         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
23336         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
23337         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
23338         d->port.lock.
23340         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
23341         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
23342         when handler == SIG_ERR, not when handler != SIG_ERR.
23344 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23346         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
23347         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
23348         definitions.
23350         accept4 for GNU Hurd.
23351         * include/sys/socket.h (__libc_accept4): New prototype.
23352         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
23353         to implement __libc_accept4.
23354         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
23355         __libc_accept4.
23356         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
23358         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
23359         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
23360         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
23361         signal-defines.sym.
23363 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23365         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
23367 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
23369         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
23370         assertion on O_CLOEXEC flag.
23371         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
23372         * hurd/intern-fd.c: Likewise.
23373         * hurd/port2fd.c: Likewise.
23375 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
23377         [BZ #3906]
23378         * bits/in.h (IPV6_PKTINFO): Define new macro.
23379         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
23381 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23383         [BZ #13954]
23384         [BZ #13955]
23385         [BZ #13956]
23386         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
23387         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
23388         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
23389         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
23390         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
23391         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
23392         * math/libm-test.inc (logb_test) : Additional logb tests.
23394 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
23395             Andreas Jaeger  <aj@suse.de>
23397         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
23398         * configure: Regenerated.
23399         * config.h.in (LINK_OBSOLETE_RPC): New macro.
23400         * config.make.in (link-obsolete-rpc): New substituted variable.
23401         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
23402         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
23403         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23404         (shared-only-routines): Don't set it under [link-obsolete-rpc],
23405         so that libc.a contains the symbols.
23406         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
23407         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
23408         * sunrpc/auth_none.c: Likewise.
23409         * sunrpc/auth_unix.c: Likewise.
23410         * sunrpc/authdes_prot.c: Likewise.
23411         * sunrpc/authuxprot.c: Likewise.
23412         * sunrpc/clnt_gen.c: Likewise.
23413         * sunrpc/clnt_perr.c: Likewise.
23414         * sunrpc/clnt_raw.c: Likewise.
23415         * sunrpc/clnt_simp.c: Likewise.
23416         * sunrpc/clnt_tcp.c: Likewise.
23417         * sunrpc/clnt_udp.c: Likewise.
23418         * sunrpc/clnt_unix.c: Likewise.
23419         * sunrpc/des_crypt.c: Likewise.
23420         * sunrpc/des_soft.c: Likewise.
23421         * sunrpc/get_myaddr.c: Likewise.
23422         * sunrpc/key_call.c: Likewise.
23423         * sunrpc/key_prot.c: Likewise.
23424         * sunrpc/netname.c: Likewise.
23425         * sunrpc/pm_getmaps.c: Likewise.
23426         * sunrpc/pm_getport.c: Likewise.
23427         * sunrpc/pmap_clnt.c: Likewise.
23428         * sunrpc/pmap_prot.c: Likewise.
23429         * sunrpc/pmap_prot2.c: Likewise.
23430         * sunrpc/pmap_rmt.c: Likewise.
23431         * sunrpc/publickey.c: Likewise.
23432         * sunrpc/rpc_cmsg.c: Likewise.
23433         * sunrpc/rpc_common.c: Likewise.
23434         * sunrpc/rpc_dtable.c: Likewise.
23435         * sunrpc/rpc_prot.c: Likewise.
23436         * sunrpc/rpc_thread.c: Likewise.
23437         * sunrpc/rtime.c: Likewise.
23438         * sunrpc/svc.c: Likewise.
23439         * sunrpc/svc_auth.c: Likewise.
23440         * sunrpc/svc_raw.c: Likewise.
23441         * sunrpc/svc_run.c: Likewise.
23442         * sunrpc/svc_tcp.c: Likewise.
23443         * sunrpc/svc_udp.c: Likewise.
23444         * sunrpc/svc_unix.c: Likewise.
23445         * sunrpc/svcauth_des.c: Likewise.
23446         * sunrpc/xcrypt.c: Likewise.
23447         * sunrpc/xdr.c: Likewise.
23448         * sunrpc/xdr_array.c: Likewise.
23449         * sunrpc/xdr_float.c: Likewise.
23450         * sunrpc/xdr_intXX_t.c: Likewise.
23451         * sunrpc/xdr_mem.c: Likewise.
23452         * sunrpc/xdr_rec.c: Likewise.
23453         * sunrpc/xdr_ref.c: Likewise.
23454         * sunrpc/xdr_sizeof.c: Likewise.
23455         * sunrpc/xdr_stdio.c: Likewise.
23457 2012-05-10  Roland McGrath  <roland@hack.frob.com>
23459         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
23460         change.  Update copyright years.
23462 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
23464         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
23466 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
23467             Joseph Myers  <joseph@codesourcery.com>
23468             Paul Pluzhnikov  <ppluzhnikov@google.com>
23470         [BZ #14012]
23471         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
23472         requiring rpcgen.
23473         [cross-compiling] (extra-libs): Likewise.
23474         [cross-compiling] (extra-libs-others): Likewise.
23475         [cross-compiling] (librpcsvc-routines): Likewise.
23476         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
23477         [cross-compiling] (omit-deps): Likewise.
23478         (sunrpc-CPPFLAGS): New variable.
23479         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
23480         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
23481         (cross-rpcgen-objs): New variable.
23482         (extra-objs): Append $(cross-rpcgen-objs).
23483         ($(cross-rpcgen-objs)): New rule.
23484         ($(objpfx)cross-rpcgen): Likewise.
23485         (rpcgen-cmd): Define to use $(built-program-file).  Expand
23486         comment.
23487         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
23488         ($(objpfx)x%.stmp): Likewise.
23489         * sunrpc/proto.h [IS_IN_build] (_): Define.
23490         [IS_IN_build] (_libc_intl_domainname): Likewise.
23492 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
23494         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
23495         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
23496         and R_X86_64_TPOFF64.
23498 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
23500         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
23501         sysdeps/unix/sysv/syscalls.list.
23502         (stime): Likewise.
23503         (utime): Likewise.
23504         * sysdeps/unix/sysv/syscalls.list: Remove file.
23506 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
23508         [BZ #3440]
23509         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
23510         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
23511         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
23512         (__LC_IDENTIFICATION): Make these macros useful in #if
23513         expressions, as required by C99.
23515 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
23517         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
23518         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
23519         after this.
23521 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
23523         * stdlib/longlong.h: Updated from GCC.
23525 2012-05-09  Andreas Jaeger  <aj@suse.de>
23527         * nscd/nscd.c (run_modes): Make named enum, reorder so that
23528         default is first entry.
23529         (run_mode): Set type.
23530         (main): Remove informal message about syslog.
23531         (options): Fix typo.
23533         [BZ #14053]
23534         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
23535         to asm.
23536         (lrint): Likewise.
23537         (llrintf): Likewise.
23538         (llrint): Likewise.
23539         (rint): Likewise.
23540         (rintf): Likewise.
23541         (nearbyint): Likewise.
23542         (nearbyintf): Likewise.
23544 2012-05-09  Andreas Jaeger  <aj@suse.de>
23545             Pedro Alves  <palves@redhat.com>
23547         * nscd/nscd.c (run_mode): Use enum.
23548         (main): Cleanup coding style issue.
23550 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
23551             Andreas Jaeger  <aj@suse.de>
23553         * nscd/nscd.c (go_background): Replaced with...
23554         (run_mode): ... this.
23555         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
23556         (options): Add -F --foreground.
23557         (main): Implement it.
23558         (parse_opt): Parse it.
23560 2012-05-09  Andreas Jaeger  <aj@suse.de>
23562         [BZ #14083]
23563         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
23564         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
23565         -Wconversion warning.
23566         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
23567         Likewise.
23569 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
23571         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
23572         == 0.
23573         (LC_ALL): Use macro-int-constant.
23574         (LC_COLLATE): Likewise.
23575         (LC_CTYPE): Likewise.
23576         (LC_MESSAGES): Likewise.
23577         (LC_MONETARY): Likewise.
23578         (LC_NUMERIC): Likewise.
23579         (LC_TIME): Likewise.
23580         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
23581         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23582         [ISO || ISO99 || ISO11] (*_t): Do not allow.
23583         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
23584         Specify type.
23585         [C99-based standards] (float_t): Expect type.
23586         [C99-based standards] (double_t): Expect type.
23587         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
23588         type.
23589         [C99-based standards] (HUGE_VALL): Likewise.
23590         [C99-based standards] (INFINITY): Likewise.
23591         [C99-based standards] (NAN): Likewise.
23592         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
23593         [C99-based standards] (FP_NAN): Likewise.
23594         [C99-based standards] (FP_NORMAL): Likewise.
23595         [C99-based standards] (FP_SUBNORMAL): Likewise.
23596         [C99-based standards] (FP_ZERO): Likewise.
23597         [C99-based standards] (FP_FAST_FMA): Use
23598         optional-macro-int-constant.  Specify type.  Require == 1.
23599         [C99-based standards] (FP_FAST_FMAF): Likewise.
23600         [C99-based standards] (FP_FAST_FMAL): Likewise.
23601         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
23602         [C99-based standards] (FP_ILOGBNAN): Likewise.
23603         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
23604         Specify type.
23605         [C99-based standards] (MATH_ERREXCEPT): Likewise.
23606         [C99-based standards] (math_errhandling): Specify type.
23607         [ISO99 || ISO11] (signgam): Do not allow.
23608         [non-C99-based standards] (copysignf): Do not allow.
23609         [non-C99-based standards] (exp2f): Likewise.
23610         [non-C99-based standards] (log2f): Likewise.
23611         [non-C99-based standards] (modff): Allow.
23612         [non-C99-based standards] (erff): Do not allow.
23613         [non-C99-based standards] (erfcf): Likewise.
23614         [non-C99-based standards] (gammaf): Likewise.
23615         [non-C99-based standards] (hypotf): Likewise.
23616         [non-C99-based standards] (j0f): Likewise.
23617         [non-C99-based standards] (j1f): Likewise.
23618         [non-C99-based standards] (jnf): Likewise.
23619         [non-C99-based standards] (lgammaf): Likewise.
23620         [non-C99-based standards] (tgammaf): Likewise.
23621         [non-C99-based standards] (y0f): Likewise.
23622         [non-C99-based standards] (y1f): Likewise.
23623         [non-C99-based standards] (ynf): Likewise.
23624         [non-C99-based standards] (isnanf): Likewise.
23625         [non-C99-based standards] (acoshf): Likewise.
23626         [non-C99-based standards] (asinhf): Likewise.
23627         [non-C99-based standards] (atanhf): Likewise.
23628         [non-C99-based standards] (cbrtf): Likewise.
23629         [non-C99-based standards] (expm1f): Likewise.
23630         [non-C99-based standards] (ilogbf): Likewise.
23631         [non-C99-based standards] (log1pf): Likewise.
23632         [non-C99-based standards] (logbf): Likewise.
23633         [non-C99-based standards] (nextafterf): Likewise.
23634         [non-C99-based standards] (remainderf): Likewise.
23635         [non-C99-based standards] (rintf): Likewise.
23636         [non-C99-based standards] (scalbf): Likewise.
23637         [non-C99-based standards] (copysignl): Likewise.
23638         [non-C99-based standards] (exp2l): Likewise.
23639         [non-C99-based standards] (log2l): Likewise.
23640         [non-C99-based standards] (modfl): Allow.
23641         [non-C99-based standards] (erfl): Do not allow.
23642         [non-C99-based standards] (erfcl): Likewise.
23643         [non-C99-based standards] (gammal): Likewise.
23644         [non-C99-based standards] (hypotl): Likewise.
23645         [non-C99-based standards] (j0l): Likewise.
23646         [non-C99-based standards] (j1l): Likewise.
23647         [non-C99-based standards] (jnl): Likewise.
23648         [non-C99-based standards] (lgammal): Likewise.
23649         [non-C99-based standards] (tgammal): Likewise.
23650         [non-C99-based standards] (y0l): Likewise.
23651         [non-C99-based standards] (y1l): Likewise.
23652         [non-C99-based standards] (ynl): Likewise.
23653         [non-C99-based standards] (isnanl): Likewise.
23654         [non-C99-based standards] (acoshl): Likewise.
23655         [non-C99-based standards] (asinhl): Likewise.
23656         [non-C99-based standards] (atanhl): Likewise.
23657         [non-C99-based standards] (cbrtl): Likewise.
23658         [non-C99-based standards] (expm1l): Likewise.
23659         [non-C99-based standards] (ilogbl): Likewise.
23660         [non-C99-based standards] (log1pl): Likewise.
23661         [non-C99-based standards] (logbl): Likewise.
23662         [non-C99-based standards] (nextafterl): Likewise.
23663         [non-C99-based standards] (remainderl): Likewise.
23664         [non-C99-based standards] (rintl): Likewise.
23665         [non-C99-based standards] (scalbl): Likewise.
23666         [ISO || ISO99 || ISO11] (*_t): Do not allow.
23667         [non-C99-based standards] (FP_*): Do not allow.
23668         [C99-based standards] (FP_*): Change to
23669         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
23670         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23671         allow.
23672         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
23673         (SIG_ERR): Likewise.
23674         [X/Open-based standards] (SIG_HOLD): Likewise.
23675         (SIG_IGN): Likewise.
23676         (SIGABRT): Use macro-int-constant.  Specify type.  Require
23677         positive value.
23678         (SIGFPE): Likewise.
23679         (SIGILL): Likewise.
23680         (SIGINT): Likewise.
23681         (SIGSEGV): Likewise.
23682         (SIGTER): Likewise.
23683         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
23684         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
23685         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
23686         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
23687         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
23688         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
23689         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
23690         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
23691         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
23692         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
23693         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
23694         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
23695         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
23696         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
23697         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
23698         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
23699         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
23700         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
23701         [X/Open-based standards] (SIGTRAP): Likewise.
23702         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
23703         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
23704         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
23705         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
23706         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
23707         allow.
23709 2012-05-08  Ian Wienand  <ianw@vmware.com>
23711         [BZ #14080]
23712         * time/tzset.c (__tzset_parse_tz): Update default rules for
23713         daylight time changes in the Energy Policy Act of 2005.
23715 2012-05-09  Andreas Jaeger  <aj@suse.de>
23717         [BZ #13983]
23718         * elf/ldconfig.c (parse_conf): Change string to make clear that
23719         ldconfig only issued a warning if ld.so.conf does not exist.
23721 2012-05-08  David S. Miller  <davem@davemloft.net>
23723         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
23724         movxtod instead of popping the value on the stack.
23726         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23728 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
23730         * config.h.in: Add HAVE_ARM_PCS_VFP.
23732 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
23734         [BZ #13979]
23735         * include/features.h: Warn if user requests __FORTIFY_SOURCE
23736         checking but the checks are disabled for any reason.
23738 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
23740         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
23741         and ELF64_R_TYPE with ELFW(R_TYPE).
23743 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
23745         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
23746         (ulimit): Likewise.
23748         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
23749         (settimeofday): Likewise.
23751 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
23753         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
23754         a struct th_u2 inside the union, and move tu_block/tu_code into
23755         a new th_u3 union of tu_block/tu_code inside of that.  Move
23756         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
23757         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
23758         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
23759         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
23760         (th_stuff): Change to th_u1.tu_stuff.
23761         (th_data): Define.
23762         (th_msg): Change to th_u1.th_u2.tu_data.
23764 2012-05-07  David S. Miller  <davem@davemloft.net>
23766         * sysdeps/sparc/fpu/libm-test-ulps: Update.
23768         [BZ #14074]
23769         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
23770         (SETUP_PIC_REG): Use it.
23771         (SETUP_PIC_REG_LEAF): Use it.
23773 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
23775         [BZ #13885]
23776         [BZ #13923]
23777         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23778         USE_AS_EXPM1L.
23779         (EXPL_FINITE): Likewise.
23780         (FLDLOG): Likewise.
23781         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23782         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23783         e_expl.S.
23784         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23785         USE_AS_EXPM1L.
23786         (EXPL_FINITE): Likewise.
23787         (FLDLOG): Likewise.
23788         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
23789         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
23790         e_expl.S.
23791         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
23792         test of -max_value argument for long double.
23793         * sysdeps/i386/fpu/libm-test-ulps: Update.
23794         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23796 2012-05-06  David S. Miller  <davem@davemloft.net>
23798         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
23799         quad soft-float symbols whose references which are compiler
23800         generated.
23801         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
23803 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
23805         [BZ #13884]
23806         [BZ #13914]
23807         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23808         USE_AS_EXP10L.
23809         (EXPL_FINITE): Likewise.
23810         (FLDLOG): Likewise.
23811         (c0): Likewise.
23812         (c1): Likewise.
23813         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
23814         Adjust comments for base varying.
23815         (__expl_finite): Change alias to EXPL_FINITE.
23816         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
23817         e_expl.S.
23818         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
23819         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
23820         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
23821         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
23822         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
23823         USE_AS_EXP10L.
23824         (EXPL_FINITE): Likewise.
23825         (FLDLOG): Likewise.
23826         (c0): Likewise.
23827         (c1): Likewise.
23828         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
23829         Adjust comments for base varying.
23830         (__expl_finite): Change alias to EXPL_FINITE.
23831         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
23832         tests for bugs.
23833         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
23835         [BZ #14064]
23836         * math/libm-test.inc (check_float_internal): Correct ulp
23837         calculation for subnormal expected results.
23839 2012-05-06  Andreas Jaeger  <aj@suse.de>
23841         * Makeconfig (+math-flags): New, set to -frounding-math.
23842         (+cflags): Add +math-flags so that all of glibc gets compiled with
23843         it.
23845         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
23847 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
23849         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
23850         Disable one test.
23852         [BZ #13787]
23853         [BZ #13922]
23854         [BZ #14036]
23855         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
23856         (__ieee754_expl): Allow for and saturate large arguments.
23857         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
23858         (u_threshold): Likewise.
23859         (__exp): Call __ieee754_exp before checking for overflow and
23860         underflow.
23861         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
23862         (u_threshold): Likewise.
23863         (__expf): Call __ieee754_expf before checking for overflow and
23864         underflow.
23865         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
23866         (u_threshold): Likewise.
23867         (__expl): Call __ieee754_expl before checking for overflow and
23868         underflow.
23869         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
23870         (__ieee754_expl): Allow for and saturate large arguments.
23871         * math/libm-test.inc (exp_test): Add another test.  Do not allow
23872         missing overflow exception on overflow.
23873         (expm1_test): Do not allow missing overflow exception on overflow.
23875         * sysdeps/i386/fpu/e_expl.c: Move to ...
23876         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
23877         rather than using inline asm.
23878         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
23879         * sysdeps/x86_64/fpu/e_expl.S: Copy from
23880         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
23882         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
23883         (nice): Likewise.
23884         (poll): Likewise.
23885         (signal): Likewise.
23886         (time): Likewise.
23887         (times): Likewise.
23889 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
23891         * sysdeps/unix/syscalls.list (adjtime): Add entry from
23892         sysdeps/unix/common/syscalls.list.
23893         (fchmod): Likewise.
23894         (fchown): Likewise.
23895         (ftruncate): Likewise.
23896         (getrusage): Likewise.
23897         (gettimeofday): Likewise.
23898         (setpgid): Likewise.
23899         (setregid): Likewise.
23900         (setreuid): Likewise.
23901         (sigaction): Likewise.
23902         (truncate): Likewise.
23903         (vhangup): Likewise.
23904         * sysdeps/unix/common/syscalls.list: Remove file.
23905         * sysdeps/unix/bsd/Implies: Don't include unix/common.
23906         * sysdeps/unix/sysv/linux/Implies: Likewise.
23908 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
23910         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
23911         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
23912         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
23913         Moved to ...
23914         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
23915         Here.
23916         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
23917         to ...
23918         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
23919         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
23920         to ...
23921         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
23922         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
23923         to ...
23924         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
23925         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
23926         to ...
23927         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
23928         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
23929         to ...
23930         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
23931         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
23932         to ...
23933         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
23934         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
23935         to ...
23936         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
23937         Here.
23938         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
23939         to ...
23940         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
23941         Here.
23942         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
23943         to ...
23944         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
23945         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
23946         Moved to ...
23947         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
23948         Here.
23949         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
23950         to ...
23951         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
23953 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
23955         * sysdeps/unix/common/bits/dirent.h: Remove file.
23956         * sysdeps/unix/common/bits/fcntl.h: Likewise.
23958         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
23959         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
23960         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
23961         * sysdeps/unix/bsd/isatty.c: Likewise.
23962         * sysdeps/unix/bsd/tcdrain.c: Likewise.
23963         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
23964         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
23966 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23968         [BZ #13563]
23969         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
23970         long double comparison inaccuracies.
23971         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
23972         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23974 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
23976         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
23977         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
23979 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
23981         [BZ #14049]
23982         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
23983         nonzero digits before rounding a hex value.
23984         * stdlib/tst-strtod.c (tests): Add another test.
23986 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
23988         * sysdeps/s390/fpu/libm-test-ulps: Update.
23990 2012-05-03  Andreas Jaeger  <aj@suse.de>
23992         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
23993         does not get optimized out.
23994         (malloc_opt_barrier): New.
23996 2012-05-03  Andreas Jaeger  <aj@suse.de>
23997             Roland McGrath  <roland@hack.frob.com>
23999         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
24000         intermediate file deletion.
24001         (generated): Add .symlist files.
24003 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
24005         [BZ #13775]
24006         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
24007         Redirect under this condition.
24008         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24009         [__USE_GNU] (__dprintf_chk): Not under this condition.
24010         [__USE_GNU] (__vdprintf_chk): Likewise.
24011         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
24012         under this condition.
24013         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
24014         [__USE_XOPEN2K8] (dprintf): Define under this condition.
24015         [__USE_XOPEN2K8] (vdprintf): Likewise.
24016         [__USE_GNU] (__dprintf_chk): Not under this condition.
24017         [__USE_GNU] (__vdprintf_chk): Likewise.
24018         [__USE_GNU] (dprintf): Likewise.
24019         [__USE_GNU] (vdprintf): Likewise.
24021 2012-05-03  Roland McGrath  <roland@hack.frob.com>
24023         * elf/Makefile (common-generated): Set this instead of generated for
24024         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
24025         $(all-built-dso)-derived lists.
24027 2012-05-03  Andreas Jaeger  <aj@suse.de>
24029         * sysdeps/i386/fpu/libm-test-ulps: Update.
24031         * FAQ: Removed.
24032         * FAQ.in: Likewise.
24033         * scripts/gen-FAQ.pl: Likewise.
24034         * manual/install.texi (Installation): Point to online location of
24035         FAQ.
24036         * Makefile (files-for-dist): Remove FAQ.
24037         (FAQ): Remove.
24039 2012-05-02  Allan McRae  <allan@archlinux.org>
24041         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
24042         (LDFLAGS-reldepmod5.so): Likewise.
24043         (LDFLAGS-reldep6mod1.so): Likewise.
24044         (LDFLAGS-reldep6mod4.so): Likewise.
24045         (LDFLAGS-reldep8mod3.so): Likewise.
24046         (LDFLAGS-unload4mod1.so): Likewise.
24047         (LDFLAGS-unload4mod2.so): Likewise.
24048         (LDFLAGS-tst-initorder): Likewise.
24049         (LDFLAGS-tst-initordera2.so): Likewise.
24050         (LDFLAGS-tst-initordera3.so): Likewise.
24051         (LDFLAGS-tst-initordera4.so): Likewise.
24052         (LDFLAGS-tst-initorderb2.so): Likewise.
24053         (LDFLAGS-noload): Likewise.
24054         (LDFLAGS-next): Likewise.
24055         (LDFLAGS-order2mod1.so): Likewise.
24056         (LDFLAGS-order2mod2.so): Likewise.
24057         (LDFLAGS-tst-initorder2): Likewise.
24058         (LDFLAGS-tst-initorder2a.so): Likewise.
24059         (LDFLAGS-tst-initorder2b.so): Likewise.
24060         (LDFLAGS-tst-initorder2c.so): Likewise.
24061         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
24063 2012-05-02  David S. Miller  <davem@davemloft.net>
24065         * sysdeps/sparc/fpu/libm-test-ulps: Update.
24067 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
24069         [BZ #14055]
24070         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
24072 2012-05-02  Andreas Jaeger  <aj@suse.de>
24074         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
24075         since we manipulate rounding mode.
24076         (CPPFLAGS-test-idouble.c): Likewise.
24077         (CPPFLAGS-test-ifloat.c): Likewise.
24078         (CFLAGS-test-ldouble.c): Likewise.
24079         (CFLAGS-test-double.c): Likewise.
24080         (CFLAGS-test-float.c): Likewise.
24081         (CFLAGS-test-misc.c): Likewise.
24082         (CFLAGS-test-test-fenv.c): Likewise.
24084 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24086         [BZ #2550]
24087         [BZ #2570]
24088         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
24089         comparisons to determine direction to adjust input.
24091 2012-05-01  Roland McGrath  <roland@hack.frob.com>
24093         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
24094         output to the target.
24096         * scripts/localplt.awk: New file.
24097         * elf/Makefile ($(objpfx)check-localplt): Target removed.
24098         (check-localplt-CFLAGS): Variable removed.
24099         ($(all-built-dso:=.jmprel)): New static pattern rule.
24100         (generated): Add those targets.
24101         (localplt-built-dso): New variable.
24102         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
24104         * elf/check-localplt.c: File removed.
24106         * scripts/check-execstack.awk: New file.
24107         * elf/Makefile ($(objpfx)check-execstack): Target removed.
24108         (check-execstack-CFLAGS): Variable removed.
24109         ($(objpfx)check-execstack.h): Target removed.
24110         ($(objpfx)execstack-default): New target.
24111         (generated): Add that instead of check-execstack.h.
24112         ($(all-built-dso:=.phdr)): New static pattern rule.
24113         (generated): Add those targets.
24114         * elf/check-execstack.c: File removed.
24116         * scripts/check-textrel.awk: New file.
24117         * elf/Makefile ($(objpfx)check-textrel): Target removed.
24118         (check-textrel-CFLAGS): Variable removed.
24119         (all-built-dso): Use := to define.o
24120         ($(all-built-dso:=.dyn)): New static pattern rule.
24121         (generated): Add those targets.
24122         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
24123         * config.make.in (READELF): New substituted variable.
24124         * elf/check-textrel.c: File removed.
24126 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
24128         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
24129         allow.
24130         * conform/data/ctype.h-data [C99-based standards] (isblank):
24131         Expect function.
24132         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
24133         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
24134         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24135         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
24136         Specify type.  Require positive value.
24137         (EILSEQ): Likewise.
24138         (ERANGE): Likewise.
24139         [ISO || POSIX] (EILSEQ): Do not expect.
24140         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
24141         Specify type.  Require positive value.
24142         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
24143         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
24144         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
24145         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
24146         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
24147         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
24148         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
24149         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
24150         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
24151         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
24152         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
24153         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
24154         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
24155         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
24156         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
24157         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
24158         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
24159         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
24160         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
24161         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
24162         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
24163         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
24164         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
24165         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
24166         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
24167         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
24168         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
24169         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
24170         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
24171         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
24172         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
24173         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
24174         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
24175         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
24176         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
24177         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
24178         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
24179         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
24180         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
24181         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
24182         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
24183         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
24184         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
24185         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
24186         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
24187         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
24188         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
24189         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
24190         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
24191         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
24192         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
24193         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
24194         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
24195         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
24196         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
24197         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
24198         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
24199         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
24200         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
24201         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
24202         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
24203         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
24204         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
24205         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
24206         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
24207         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
24208         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
24209         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
24210         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
24211         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
24212         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
24213         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
24214         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
24215         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
24216         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
24217         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
24218         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
24219         Require >= 2.
24220         (FLT_ROUNDS): Expect as macro, not constant.
24221         (FLT_MANT_DIG): Use macro-int-constant.
24222         (DBL_MANT_DIG): Likewise.
24223         (LDBL_MANT_DIG): Likewise.
24224         (FLT_DIG): Likewise.
24225         (DBL_DIG): Likewise.
24226         (LDBL_DIG): Likewise.
24227         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
24228         (DBL_MIN_EXP): Likewise.
24229         (LDBL_MIN_EXP): Likewise.
24230         (FLT_MAX_EXP): Use macro-int-constant.
24231         (DBL_MAX_EXP): Likewise.
24232         (LDBL_MAX_EXP): Likewise.
24233         (FLT_MAX_10_EXP): Likewise.
24234         (DBL_MAX_10_EXP): Likewise.
24235         (LDBL_MAX_10_EXP): Likewise.
24236         (FLT_MAX): Use macro-constant.
24237         (DBL_MAX): Likewise.
24238         (LDBL_MAX): Likewise.
24239         (FLT_EPSILON): Use macro-constant.  Give upper bound.
24240         (DBL_EPSILON): Likewise.
24241         (LDBL_EPSILON): Likewise.
24242         (FLT_MIN): Likewise.
24243         (DBL_MIN): Likewise.
24244         (LDBL_MIN): Likewise.
24245         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
24246         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
24247         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
24248         [ISO11] (FLT_HAS_SUBNORM): Likewise.
24249         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
24250         [ISO11] (DBL_DECIMAL_DIG): Likewise.
24251         [ISO11] (FLT_DECIMAL_DIG): Likewise.
24252         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
24253         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
24254         [ISO11] (FLT_TRUE_MIN): Likewise.
24255         [ISO11] (LDBL_TRUE_MIN): Likewise.
24256         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24257         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
24258         (SCHAR_MIN): Use macro-int-constant.  Specify type.
24259         (SCHAR_MAX): Likewise.
24260         (UCHAR_MAX): Likewise.
24261         (CHAR_MIN): Likewise.
24262         (CHAR_MAX): Likewise.
24263         (MB_LEN_MAX): Use macro-int-constant.
24264         (SHRT_MIN): Use macro-int-constant.  Specify type.
24265         (SHRT_MAX): Likewise.
24266         (USHRT_MAX): Likewise.
24267         (INT_MAX): Likewise.
24268         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
24269         bound negative.
24270         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
24271         bound with "U".
24272         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
24273         bound with "L".
24274         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
24275         bound negative.  Suffix upper bound with "L".
24276         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
24277         bound with "UL".
24278         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
24279         Specify type.
24280         [C99-based standards] (LLONG_MAX): Likewise.
24281         [C99-based standards] (ULLONG_MAX): Likewise.
24282         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
24283         == 0.
24284         [ISO11] (max_align_t): Require type.
24285         [ISO || ISO99 || ISO11] (*_t): Do not allow.
24287         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
24288         from $CFLAGS, without defining away __attribute__ calls.
24289         (checknamespace): Use $CFLAGS_namespace.
24291         * conform/conformtest.pl (@keywords): Only include C99 keywords
24292         for standards based on C99 or C11.
24294         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
24295         Disable tests.
24296         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
24297         UNIX98]: Likewise.
24299         * conform/conformtest.pl: Handle "macro-int-constant" and test for
24300         usability of symbols in #if.
24302         * conform/conformtest.pl: If macro or constant types start
24303         "promoted:", expect the symbol to be of the following type
24304         promoted by the integer promotions.
24306         * conform/conformtest.pl: Parse all "constant" and "macro" lines
24307         in one place.  Also handle "macro-constant".
24309         * conform/conformtest.pl: Only accept expected macro values with
24310         "==".  Parse all "macro" lines in one place.
24311         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
24313         * conform/conformtest.pl: Handle braced types on "constant" lines
24314         instead of handling "typed-constant".
24315         * conform/data/signal.h-data: Use "constant" instead of
24316         "typed-constant".
24318         * conform/conformtest.pl: Handle "optional-" at start of lines in
24319         one place rather than duplicating several cases.  Handle each
24320         format of "macro" line with initial "optional-".
24322         * conform/conformtest.pl: Only accept expected constant or
24323         optional-constant values with "==".  Parse all "constant" lines in
24324         one place.  Parse all "optional-constant" lines in one place.
24325         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
24326         * conform/data/fmtmsg.h-data: Likewise.
24327         * conform/data/netinet/in.h-data: Likewise.
24328         * conform/data/tar.h-data: Likewise.
24329         * conform/data/limits.h-data: Use "==" form on "constant" and
24330         "optional-constant" lines.
24332         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
24333         Use -std=c99 for XOPEN2K.
24334         (@knownproblems): Remove.
24335         (newtoken): Don't check %isknown.
24337         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
24338         Do not expect macro.
24339         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
24340         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
24341         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
24342         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
24343         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
24344         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
24345         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
24346         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
24347         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
24348         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
24349         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
24350         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
24351         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
24352         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
24353         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
24354         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
24355         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
24356         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
24357         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
24358         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
24359         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
24360         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
24361         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
24362         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
24363         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
24364         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
24365         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
24366         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
24367         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
24368         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
24369         [XPG3] (acosh): Likewise.
24370         [XPG3] (asinh): Likewise.
24371         [XPG3] (atanh): Likewise.
24372         [XPG3] (cbrt): Likewise.
24373         [XPG3] (expm1): Likewise.
24374         [XPG3] (ilogb): Likewise.
24375         [XPG3] (log1p): Likewise.
24376         [XPG3] (logb): Likewise.
24377         [XPG3] (nextafter): Likewise.
24378         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
24379         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
24380         [XPG3] (remainder): Likewise.
24381         [XPG3] (rint): Likewise.
24382         [XPG3 || XPG4 || UNIX98] (round): Likewise.
24383         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
24384         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
24385         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
24386         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
24387         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
24388         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
24389         [UNIX98 || XOPEN2K] (scalb): Expect.
24390         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
24391         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
24392         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
24393         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
24394         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
24395         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
24396         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
24397         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
24398         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
24399         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
24400         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
24401         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
24402         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
24403         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
24404         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
24405         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
24406         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
24407         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
24408         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
24409         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
24410         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
24411         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
24412         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
24413         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
24414         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
24415         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
24416         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
24417         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
24418         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
24419         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
24420         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
24421         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
24422         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
24423         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
24424         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
24425         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
24426         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
24427         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
24428         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
24429         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
24430         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
24431         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
24432         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
24433         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
24434         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
24435         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
24436         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
24437         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
24438         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
24439         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
24440         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
24441         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
24442         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
24443         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
24444         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
24445         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
24446         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
24447         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
24448         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
24449         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
24450         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
24451         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
24452         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
24453         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
24454         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
24455         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
24456         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
24457         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
24458         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
24459         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
24460         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
24461         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
24462         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
24463         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
24464         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
24465         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
24466         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
24467         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
24468         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
24469         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
24470         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
24471         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
24472         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
24473         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
24474         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
24475         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
24476         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
24477         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
24478         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
24479         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
24480         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
24481         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
24482         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
24483         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
24484         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
24485         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
24486         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
24487         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
24488         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
24489         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
24490         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
24491         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
24492         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
24493         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
24494         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
24495         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
24496         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
24497         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
24498         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
24499         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
24500         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
24501         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
24502         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
24503         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
24504         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
24505         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
24506         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
24507         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
24508         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
24509         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
24510         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
24511         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
24512         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
24513         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
24514         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
24515         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
24516         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
24517         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
24518         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
24519         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
24520         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
24521         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
24522         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
24523         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
24524         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
24525         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
24526         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
24528         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
24529         _XOPEN_SOURCE_EXTENDED for XPG4.
24531         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
24533         * Makeconfig (localtime): Remove variable.
24534         (inst_localtime-file): Likewise.
24536 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
24538         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
24539         Update.
24540         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
24541         Update.
24542         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
24543         Update.
24544         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
24545         Update.
24546         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
24547         Update.
24548         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
24549         Update.
24550         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
24551         Update.
24552         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
24553         Update.
24554         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24555         Update.
24557 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
24559         [BZ #2550]
24560         [BZ #2570]
24561         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
24562         comparisons to determine direction to adjust input.
24563         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
24564         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
24565         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
24566         Likewise.
24567         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
24568         Likewise.
24569         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
24570         Likewise.
24571         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
24572         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
24573         Likewise.
24574         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
24575         Likewise.
24576         * math/libm-test.inc (nexttoward_test): Add more tests.
24578 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
24580         [BZ #14040]
24581         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
24582         in version GLIBC_2.1, not GLIBC_2.0.
24583         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
24584         Likewise.
24586 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
24588         [BZ #13942]
24589         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
24590         (1 - x) * (1 + x).
24591         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24592         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
24593         * math/libm-test.inc (acos_test): Add more tests.
24594         (asin_test): Likewise.
24595         * sysdeps/i386/fpu/libm-test-ulps: Update.
24596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24598         [BZ #14034]
24599         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
24600         of square root.
24601         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
24602         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
24603         * math/libm-test.inc (acos_test_tonearest): New function.
24604         (acos_test_towardzero): Likewise.
24605         (acos_test_downward): Likewise.
24606         (acos_test_upward): Likewise.
24607         (asin_test_tonearest): Likewise.
24608         (asin_test_towardzero): Likewise.
24609         (asin_test_downward): Likewise.
24610         (asin_test_upward): Likewise.
24611         (main): Call the new functions.
24612         * sysdeps/i386/fpu/libm-test-ulps: Update.
24613         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24615         [BZ #13884]
24616         [BZ #13924]
24617         * math/e_exp10.c: Include <float.h>.
24618         (__ieee754_exp10): Handle underflow here rather than multiplying
24619         large negative argument by M_LN10.
24620         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
24621         of __ieee754_expf.
24622         * math/e_exp10l.c: Include <float.h>.
24623         (__ieee754_exp10l): Handle underflow here rather than multiplying
24624         large negative argument by M_LN10l.
24625         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
24626         spurious overflow exception on underflow.
24628 2012-04-29  Marek Polacek  <polacek@redhat.com>
24630         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
24631         (__fortify_function): New macro.
24632         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
24633         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
24634         __extern_always_inline.
24635         * libio/bits/stdio2.h: Likewise.
24636         * libio/bits/stdio.h: Likewise.
24637         * string/string.h: Likewise.
24638         * string/bits/string3.h: Likewise.
24639         * include/stdio.h: Likewise.
24640         * stdlib/bits/stdlib.h: Likewise.
24641         * stdlib/stdlib.h: Likewise.
24642         * rt/bits/mqueue2.h: Likewise.
24643         * rt/mqueue.h: Likewise.
24644         * posix/bits/unistd.h: Likewise.
24645         * posix/unistd.h: Likewise.
24646         * io/bits/poll2.h: Likewise.
24647         * io/bits/fcntl2.h: Likewise.
24648         * io/fcntl.h: Likewise.
24649         * io/sys/poll.h: Likewise.
24650         * misc/bits/syslog.h: Likewise.
24651         * misc/bits/syslog-ldbl.h: Likewise.
24652         * misc/sys/syslog.h: Likewise.
24653         * socket/bits/socket2.h: Likewise.
24654         * socket/sys/socket.h: Likewise.
24655         * debug/tst-chk1.c: Likewise.
24656         * wcsmbs/bits/wchar2.h: Likewise.
24657         * wcsmbs/bits/wchar-ldbl.h: Likewise.
24658         * wcsmbs/wchar.h: Likewise.
24660 2012-04-29  Andreas Jaeger  <aj@suse.de>
24662         * Makerules (tests): Remove enable-check-abi protection.
24663         (check-abi-warn): Remove.
24664         (check-abi-%): Remove check-abi-warn usage.
24666         * configure.in: Remove check-abi configure option.
24667         * configure: Regenerated.
24668         * config.make.in (enable-check-abi): Remove.
24670 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
24672         [BZ #14033]
24673         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
24674         double functions to double *_finite functions.
24676         [BZ #13941]
24677         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
24678         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
24679         LDBL_MIN_EXP.
24680         * stdio-common/Makefile (tests): Add tst-sprintf3.
24681         * stdio-common/tst-sprintf3.c: New file.
24683         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
24684         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
24686 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
24688         * conform/conformtest.pl: Remove duplicate typed-constant
24689         handling.
24691 2012-04-28  David S. Miller  <davem@davemloft.net>
24693         * Makerules (%.abilist): Add vpath on sysdep_dirs.
24694         (check-abi-%): Remove AWK script prerequisite and explicit
24695         abilist directory.
24696         (check-abi): Rewrite to just diff the symlist with the abilist.
24697         (config-tls, config-abi-config): Delete, no longer used.
24698         (update-abi-%): Remove AWK script and explicit abilist directory.
24699         (update-abi): Rewrite to simply compare and conditionally copy the
24700         symlist and the sysdep abilist file.  Remove update-abi-config
24701         checks.
24702         * abilist/ld.abilist: Remove.
24703         * abilist/libBrokenLocale.abilist: Remove.
24704         * abilist/libanl.abilist: Remove.
24705         * abilist/libcrypt.abilist: Remove.
24706         * abilist/libdl.abilist: Remove.
24707         * abilist/librt.abilist: Remove.
24708         * abilist/libthread_db.abilist: Remove.
24709         * abilist/libutil.abilist: Remove.
24710         * scripts/extract-abilist.awk: Remove.
24711         * scripts/merge-abilist.awk: Remove.
24712         * sysdeps/generic/libcidn.abilist: New file.
24713         * sysdeps/generic/libnss_compat.abilist: New file.
24714         * sysdeps/generic/libnss_db.abilist: New file.
24715         * sysdeps/generic/libnss_dns.abilist: New file.
24716         * sysdeps/generic/libnss_files.abilist: New file.
24717         * sysdeps/generic/libnss_hesiod.abilist: New file.
24718         * sysdeps/generic/libnss_nis.abilist: New file.
24719         * sysdeps/generic/libnss_nisplus.abilist: New file.
24720         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
24721         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
24722         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
24723         file.
24724         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
24725         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
24726         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
24727         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
24728         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
24729         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
24730         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
24731         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
24732         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
24733         file.
24734         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
24735         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
24736         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
24737         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
24738         file.
24739         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
24740         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
24741         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
24742         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
24743         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
24744         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
24745         file.
24746         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
24747         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
24748         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
24749         file.
24750         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
24751         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
24752         New file.
24753         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
24754         New file.
24755         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
24756         New file.
24757         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
24758         New file.
24759         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
24760         New file.
24761         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
24762         New file.
24763         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
24764         New file.
24765         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
24766         New file.
24767         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
24768         New file.
24769         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
24770         New file.
24771         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
24772         New file.
24773         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
24774         New file.
24775         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
24776         New file.
24777         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
24778         file.
24779         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
24780         New file.
24781         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
24782         New file.
24783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
24784         file.
24785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
24786         New file.
24787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
24788         New file.
24789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
24790         file.
24791         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
24792         New file.
24793         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
24794         New file.
24795         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
24796         New file.
24797         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
24798         New file.
24799         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
24800         New file.
24801         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
24802         New file.
24803         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
24804         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
24805         file.
24806         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
24807         New file.
24808         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
24809         file.
24810         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
24811         file.
24812         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
24813         file.
24814         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
24815         file.
24816         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
24817         file.
24818         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
24819         New file.
24820         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
24821         file.
24822         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
24823         file.
24824         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
24825         New file.
24826         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
24827         file.
24828         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
24829         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
24830         file.
24831         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
24832         New file.
24833         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
24834         file.
24835         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
24836         file.
24837         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
24838         file.
24839         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
24840         file.
24841         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
24842         file.
24843         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
24844         New file.
24845         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
24846         file.
24847         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
24848         file.
24849         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
24850         New file.
24851         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
24852         file.
24853         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
24854         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
24855         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
24856         file.
24857         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
24858         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
24859         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
24860         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
24861         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
24862         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
24863         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
24864         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
24865         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
24866         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
24867         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
24868         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
24869         file.
24870         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
24871         New file.
24872         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
24873         file.
24874         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
24875         file.
24876         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
24877         file.
24878         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
24879         file.
24880         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
24881         file.
24882         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
24883         New file.
24884         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
24885         New file.
24886         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
24887         file.
24888         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
24889         New file.
24890         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
24891         file.
24892         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
24893         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
24894         file.
24895         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
24896         New file.
24897         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
24898         file.
24899         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
24900         file.
24901         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
24902         file.
24903         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
24904         file.
24905         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
24906         file.
24907         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
24908         New file.
24909         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
24910         New file.
24911         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
24912         file.
24913         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
24914         New file.
24915         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
24916         file.
24918 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
24920         * conform/conformtest.pl: Fix typo in handling typed-constant from
24921         allow-header.
24923 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
24925         * README: Cut down references to pre-2.6 Linux kernels and
24926         Linuxthreads.  Update lists of configurations in libc and ports
24927         and sort alphabetically.  Say "or newer" with Linux kernel version
24928         requirements.
24930         * config.h.in [IS_IN_build]: Allow compiling without optimization.
24932 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
24934         [BZ #887]
24935         * math/libm-test.inc (logb_test_downward): New test to expose
24936         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
24937         rounding mode.
24939 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
24941         [BZ #14027]
24942         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
24943         to be done.
24944         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
24945         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
24947 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
24949         * sysdeps/unix/i386/brk.S: Remove file.
24950         * sysdeps/unix/i386/dl-brk.S: Likewise.
24951         * sysdeps/unix/i386/pipe.S: Likewise.
24952         * sysdeps/unix/i386/sigreturn.S: Likewise.
24953         * sysdeps/unix/i386/syscall.S: Likewise.
24954         * sysdeps/unix/i386/vfork.S: Likewise.
24955         * sysdeps/unix/i386/wait.S: Likewise.
24957         * sysdeps/unix/common/tcsendbrk.c: Move to ...
24958         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
24960         * configure.in (arm*-none*): Do not allow without
24961         --enable-hacker-mode.
24962         (netbsd*): Remove case setting base_os.
24963         (386bsd*): Likewise.
24964         (freebsd*): Likewise.
24965         (bsdi*): Likewise.
24966         (osf*): Likewise.
24967         (sunos*): Likewise.
24968         (ultrix*): Likewise.
24969         (newsos*): Likewise.
24970         (dynix*): Likewise.
24971         (*bsd*): Likewise.
24972         (sysv*): Likewise.
24973         (isc*): Likewise.
24974         (esix*): Likewise.
24975         (sco*): Likewise.
24976         (minix*): Likewise.
24977         (irix4*): Likewise.
24978         (irix6*): Likewise.
24979         (solaris[2-9]*): Likewise.
24980         (none): Likewise.
24981         * configure: Regenerated.
24983 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
24985         [BZ #11521]
24986         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
24987         overflow or cancellation in calculating denominator.
24988         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
24989         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
24990         down expression to avoid unexpected rounding in newer GCCs.
24991         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
24993 2012-04-26  David S. Miller  <davem@davemloft.net>
24995         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
24996         long-double compat symbols.
24997         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
24998         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
24999         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
25000         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
25001         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
25002         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
25003         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
25004         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
25005         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
25006         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
25007         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
25008         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
25009         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
25011 2012-04-25  David S. Miller  <davem@davemloft.net>
25013         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
25014         HWCAP_* values only after the memory barriers have been defined.
25015         (atomic_full_barrier): Define.
25016         (atomic_read_barrier): Define.
25017         (atomic_write_barrier): Define.
25019 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
25021         * shlib-versions: Add libgcc_s version information.
25022         * sysdeps/generic/libgcc_s.h: Remove.
25023         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
25024         libgcc_s.h.
25025         * sysdeps/gnu/unwind-resume.c: Likewise.
25026         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
25028 2012-04-25  David S. Miller  <davem@davemloft.net>
25030         * sysdeps/unix/sparc/brk.S: Delete.
25031         * sysdeps/unix/sparc/dl-brk.S: Delete.
25032         * sysdeps/unix/sparc/pipe.S: Delete.
25033         * sysdeps/unix/sparc/sysdep.S: Delete.
25034         * sysdeps/unix/sparc/sysdep.h: Delete.
25035         * sysdeps/unix/sparc/vfork.S: Delete.
25036         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG,
25037         SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
25038         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO,
25039         ret_ERRVAL, r0, r1, MOVE): Define.
25040         (JUMPTARGET): Remove.
25041         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
25042         sysdeps/unix/sparc/sysdep.h
25043         (ENTRY, END): Remove.
25044         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
25046 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
25048         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
25049         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
25050         -DIS_IN_build.
25052         * timezone/README: Update upstream location and email address for
25053         tzcode and tzdata.
25054         * timezone/zdump.c: Update from tzcode 2012b.
25055         * timezone/zic.c: Likewise.
25057         * configure.in (libc_cv_as_needed): Remove test.
25058         * configure: Regenerated.
25059         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
25060         conditional definition.
25061         [$(have-as-needed) != yes] (no-as-needed): Likewise.
25062         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
25063         * config.make.in (have-as-needed): Remove variable.
25065 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
25066             Paul Pluzhnikov  <ppluzhnikov@google.com>
25068         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
25069         strings correctly.
25071 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
25073         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
25074         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
25075         * sysdeps/sh/strlen.S: Likewise.
25077 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
25079         * sysdeps/unix/fork.S: Remove file.
25080         * sysdeps/unix/i386/fork.S: Likewise.
25081         * sysdeps/unix/sparc/fork.S: Likewise.
25083         * sysdeps/unix/system.c: Remove file.
25084         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
25086         * sysdeps/unix/getegid.S: Remove file.
25087         * sysdeps/unix/geteuid.S: Likewise.
25089 2012-04-24  Roland McGrath  <roland@hack.frob.com>
25091         * scripts/check-localplt.awk: New file.
25092         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
25093         of diff.
25094         * scripts/data/localplt-generic.data: Add a comment.
25096         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
25097         NODE when __dir_mkfile failed.
25098         * sysdeps/mach/hurd/symlinkat.c: Likewise.
25099         Reported by Ludovic Courtès <ludo@gnu.org>.
25101 2012-04-24  Andreas Jaeger  <aj@suse.de>
25103         * Makerules (common-clean): Also remove gen-as-const-headers
25104         files.
25106 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
25108         * Makerules (native-compile): Do not change working directory for
25109         build.  Use $(OUTPUT_OPTION) in command.
25110         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
25112 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25114         [BZ #13886]
25115         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
25116         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
25117         * math/libm-test.inc (floor_test): Add more tests.
25118         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
25120 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
25122         * sysdeps/unix/getdents.c: Remove file.
25123         * sysdeps/unix/sysv/getdents.c: Likewise.
25124         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
25126         * sysdeps/unix/syscalls.list (madvise): Add syscall from
25127         sysdeps/unix/mman/syscalls.list.
25128         (mmap): Likewise.
25129         (mprotect): Likewise.
25130         (msync): Likewise.
25131         (munmap): Likewise.
25132         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
25133         * sysdeps/unix/mman/syscalls.list: Remove.
25134         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
25136         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
25137         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
25138         * configure: Regenerated.
25139         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
25140         $(libgcc_s_suffix).
25141         * config.make.in (libgcc_s_suffix): Remove variable.
25143 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
25145         * sysdeps/unix/sysv/gethostname.c: Move to ...
25146         * sysdeps/posix/gethostname.c: ... here.
25148         * sysdeps/unix/execve.S: Remove file.
25150         * sysdeps/unix/_exit.S: Remove file.
25152 2012-04-23  Andreas Jaeger  <aj@suse.de>
25154         [BZ #13739]
25155         * manual/Makefile: Remove make dist support, there's no
25156         need for a stand-alone documentation tar ball.
25157         (TEXI2DVI): Define always, it's not in Makeconfig.
25158         (dist): Removed.
25159         (tar-it): Removed.
25160         (edition): Removed.
25161         (glibc-doc-$(edition).tar): Removed
25162         (%.Z): Removed.
25163         (%.gz): Removed.
25164         (%.uu): Removed.
25165         (ETAGS): Remove, it's in Makeconfig.
25166         (move-if-change): Remove, it's in Makeconfig.
25168 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
25170         [BZ #13970]
25171         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
25172         (strtod, strtof, strtold, strtol, strtoul, strtoq)
25173         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
25174         (strtod_l, strtof_l, strtold_l): Remove __wur.
25175         It is not necessarily an error to ignore strtol's return value.
25176         One can reliably look at the stored endptr to decide whether
25177         the number had valid syntax.
25179 2012-04-21  Andreas Jaeger  <aj@suse.de>
25181         [BZ #13739]
25182         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
25184 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
25186         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
25187         * sysdeps/unix/sysv/Versions: Remove file.
25189 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
25191         [BZ #13927]
25192         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25194 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
25196         [BZ #7064]
25197         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
25198         version from __vm86.
25200 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
25202         * sysdeps/unix/common/lxstat.c: Remove file.
25203         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
25205         * sysdeps/unix/sysv/Makefile: Remove file.
25207         * sysdeps/unix/sysv/direct.h: Remove file.
25209         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
25210         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
25211         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
25212         * sysdeps/unix/sysv/bits/signum.h: Likewise.
25213         * sysdeps/unix/sysv/bits/stat.h: Likewise.
25214         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
25215         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
25217         * sysdeps/unix/sysv/setrlimit.c: Remove file.
25219         * sysdeps/unix/xmknod.c: Remove file.
25220         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
25222         * sysdeps/unix/sysv/settimeofday.c: Remove file.
25224         * sysdeps/unix/sysv/i386/time.S: Remove file.
25226         * sysdeps/unix/fxstat.c: Remove file.
25227         * sysdeps/unix/xstat.c: Likewise.
25228         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
25230         * sysdeps/unix/sysv/sigaction.c: Remove file.
25232         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
25233         (sysdep_headers): Remove variable.
25234         [termio.h not in sysdep_headers] (generated): Likewise.
25235         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
25236         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
25237         * sysdeps/unix/sysv/tcdrain.c: Likewise.
25238         * sysdeps/unix/sysv/tcflow.c: Likewise.
25239         * sysdeps/unix/sysv/tcflush.c: Likewise.
25240         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
25241         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
25242         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
25243         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
25244         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
25246         * sysdeps/unix/siglist.c: Remove file.
25248         * sysdeps/unix/getppid.S: Remove file.
25250         * sysdeps/unix/mkdir.c: Remove file.
25251         * sysdeps/unix/rmdir.c: Likewise.
25253 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
25255         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
25256         ERR_MAX value.
25257         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
25258         errlist-compat value.
25260 2012-04-18  David S. Miller  <davem@davemloft.net>
25262         * sysdeps/generic/memcopy.h (reg_char): Delete.
25263         * debug/strcat_chk.c: Use char, not reg_char.
25264         * debug/strcpy_chk.c: Likewise.
25265         * debug/strncat_chk.c: Likewise.
25266         * debug/strncpy_chk.c: Likewise.
25267         * string/memchr.c: Likewise.
25268         * string/memrchr.c: Likewise.
25269         * string/rawmemchr.c: Likewise.
25270         * string/strcat.c: Likewise.
25271         * string/strchr.c: Likewise.
25272         * string/strchrnul.c: Likewise.
25273         * string/strcmp.c: Likewise.
25274         * string/strcpy.c: Likewise.
25275         * string/strncat.c: Likewise.
25276         * string/strncmp.c: Likewise.
25277         * string/strncpy.c: Likewise.
25279 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
25281         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
25282         __builtin_memcopy is called when src and dest ranges are known to not
25283         overlap.
25285 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
25287         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
25288         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
25289         fwd_align_merge macro call.
25290         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
25291         bwd_align_merge macro call.
25292         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25294 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
25296         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
25297         bwd_align_merge macros.
25298         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
25299         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
25300         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
25302 2012-04-18  David S. Miller  <davem@davemloft.net>
25304         * sysdeps/sparc/sparc64/memcopy.h: Delete.
25306 2012-04-18  Andreas Jaeger  <aj@suse.de>
25308         [BZ# 6794]
25309         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
25310         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
25311         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25313         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
25314         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
25315         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25317         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
25318         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
25319         Adjust for changed ldbl-128 files.
25321         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
25322         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
25323         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
25325 2012-04-17  David S. Miller  <davem@davemloft.net>
25327         * sysdeps/sparc/sparc32/memcopy.h: Delete.
25329 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
25331         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
25332         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
25333         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
25334         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
25335         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
25336         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
25338 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
25340         [BZ #6794]
25341         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
25342         * math/libm-test.inc: Add ilogb errno and exception tests.
25343         * math/w_ilogb.c: New file: ilogb wrapper.
25344         * math/w_ilogbf.c: New file: ilogbf wrapper.
25345         * math/w_ilogbl.c: New file: ilogbl wrapper.
25346         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
25347         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
25348         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
25349         exception being thrown with 0.0 as argument.
25350         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
25351         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
25352         exception being thrown with 0.0 as argument.
25353         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
25354         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25355         exception being thrown with 0.0 as argument.
25356         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
25357         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
25358         exception being thrown with 0.0 as argument.
25359         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
25360         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
25361         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
25362         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
25363         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
25364         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
25365         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
25366         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
25367         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
25369 2012-04-17  Petr Baudis  <pasky@ucw.cz>
25371         * include/sys/uio.h: Change __vector to __iovec to avoid clash
25372         with altivec.
25374 2012-04-16  Marek Polacek  <polacek@redhat.com>
25376         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
25378 2012-04-16  Marek Polacek  <polacek@redhat.com>
25380         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
25381         operands of fdivp instruction.
25383 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
25385         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
25386         * elf/tst-auditmod3b.c: Likewise.
25387         * elf/tst-auditmod4b.c: Likewise.
25388         * elf/tst-auditmod5b.c: Likewise.
25389         * elf/tst-auditmod6b.c: Likewise.
25390         * elf/tst-auditmod6c.c: Likewise.
25391         * elf/tst-auditmod7b.c: Likewise.
25392         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
25393         * sysdeps/x86_64/preconfigure.in: Likewise.
25394         * sysdeps/x86_64/preconfigure: Regenerated.
25396 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
25398         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
25399         __ILP32__.
25401 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
25403         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
25404         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
25406 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
25408         [BZ #13973]
25409         * locale/iso-639.def: Fix gl language name. Spotted by
25410         Yaron Shahrabani.
25412 2012-04-12  Roland McGrath  <roland@hack.frob.com>
25414         [BZ #2074]
25415         * libio/libio.h (__io_write_fn): Update comment.
25417 2012-04-12  Petr Baudis  <pasky@ucw.cz>
25419         [BZ #2074]
25420         * stdio.texi (Hook Functions): The user provided writer function
25421         is not allowed to return -1.
25423 2012-04-11  David S. Miller  <davem@davemloft.net>
25425         * sysdeps/sparc/fpu/libm-test-ulps: Update.
25427 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
25429         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
25430         Add a leading slash to rtkaio.
25432 2012-04-11  Jim Meyering  <meyering@redhat.com>
25434         [BZ #11959]
25435         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
25436         It is not necessarily an error to ignore fwrite's return
25437         value.  One can reliably use ferror to test for errors after
25438         the fact.
25440 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
25442         * bits/types.h (__snseconds_t): New type.
25443         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
25445         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
25446         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
25447         (__SNSECONDS_T_TYPE): Likewise.
25448         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
25449         (__SNSECONDS_T_TYPE): Likewise.
25450         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
25451         (__SNSECONDS_T_TYPE): Likewise.
25453 2012-04-10  Andreas Jaeger  <aj@suse.de>
25455         [BZ #2636]
25456         * manual/time.texi (Processor Time): Return type of times is
25457         elapsed real time since an arbitrary point in the past.
25458         (CPU Time): Move CLK_TCK from here...
25459         (Processor Time): ...to here.  Correct description.
25460         * manual/conf.texi (Constants for Sysconf): Correct description of
25461         _SC_CLK_TCK.
25463 2012-04-10  David S. Miller  <davem@davemloft.net>
25465         [BZ #13967]
25466         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
25467         where the is a gap between DT_REL(A) and DT_JMPREL.
25469 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
25471         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
25472         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25473         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25475 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
25477         * elf/dl-support.c (_dl_inhibit_cache): New variable.
25478         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
25479         (dl_main): Handle --inhibit-cache.
25480         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
25481         _dl_inhibit_cache.
25482         * elf/dl-load.c (_dl_map_object): Use it.
25483         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
25485 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
25487         [BZ #13872]
25488         * sysdeps/i386/fpu/e_powl.S (p78): New object.
25489         (__ieee754_powl): Saturate large exponents rather than testing for
25490         overflow of y*log2(x).
25491         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
25492         * math/libm-test.inc (pow_test): Do not permit spurious overflow
25493         exceptions.
25495         [BZ #11521]
25496         * math/s_ctan.c: Include <float.h>.
25497         (__ctan): Avoid internal overflow or cancellation in calculating
25498         denominator.
25499         * math/s_ctanf.c: Likewise.
25500         * math/s_ctanl.c: Likewise.
25501         * math/s_ctanh.c: Likewise.
25502         * math/s_ctanhf.c: Likewise.
25503         * math/s_ctanhl.c: Likewise.
25504         * math/libm-test.inc (ctan_test): Add more tests.
25505         (ctanh_test): Likewise.
25506         * sysdeps/i386/fpu/libm-test-ulps: Update.
25507         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
25509 2012-04-09  Andreas Jaeger  <aj@suse.de>
25511         [BZ #6894]
25512         * manual/filesys.texi (Directory Entries): Mention that d_namlen
25513         is an optional BSD extension.
25515         [BZ #10254]
25516         * manual/stdio.texi (Opening Streams): Document additional fopen
25517         parameters.
25519 2012-04-09  Roland McGrath  <roland@hack.frob.com>
25521         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
25522         %eax without telling the compiler.
25524 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
25526         [BZ # 13963]
25527         * manual/install.texi: Use sourceware.org.
25529 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
25531         [BZ #13873]
25532         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
25533         (__ieee754_pow): Generate overflow and underflow using huge*huge
25534         and tiny*tiny rather than just returning constant infinity or zero
25535         for large exponents.
25536         * math/libm-test.inc (pow_test): Require overflow exceptions for
25537         applicable cases of large exponents.
25539         [BZ #706]
25540         * sysdeps/i386/fpu/e_pow.S (p10): New object.
25541         (__ieee754_pow): Use iterative multiplication algorithm only for
25542         integer exponents with absolute value below 1024.  Check for odd
25543         integer exponents when using algorithm for real exponents.
25544         * math/libm-test.inc (pow_test): Add more tests.
25545         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25547 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
25549         [BZ #13705]
25550         * math/libm-test.inc (exp_test): Do not allow overflow exception
25551         on underflow test.
25553 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
25555         [BZ #13705]
25556         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
25557         instead of __kernel_standard_f.
25559 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
25561         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
25562         * sysdeps/x86_64/memset_chk.S: Likewise.
25564 2012-04-08  Andreas Jaeger  <aj@suse.de>
25566         [BZ #10153]
25567         * manual/startup.texi (Environment Access): Describe return value
25568         for putenv and setenv.
25570         [BZ #6895]
25571         * manual/filesys.texi (Directory Entries): Add description for
25572         DT_LNK.
25574         [BZ #6890]
25575         * manual/filesys.texi (Directory Entries): Clarify that it's file
25576         system not operating system in the description of DT_UNKNOWN.
25578         [BZ #6578]
25579         * manual/syslog.texi (closelog): Fix reference, it's openlog.
25581 2012-04-08  Stephen Compall  <s11@member.fsf.org>
25583         [BZ #6649]
25584         * manual/llio.texi (Opening and Closing Files): Add cross
25585         reference to explain mode argument.
25587 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
25589         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
25590         * sysdeps/x86_64/memset_chk.S: Likewise.
25592 2012-04-07  David S. Miller  <davem@davemloft.net>
25594         * elf/elf.h (R_SPARC_WDISP10): Define.
25595         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
25596         R_SPARC_SIZE32.
25597         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
25598         R_SPARC_SIZE64 and R_SPARC_H34.
25600 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
25602         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
25603         conditions and remove no longer applicable assertion.
25605 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
25607         * bits/byteswap.h: Include <features.h>.
25608         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
25609         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
25611 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
25613         * bits/byteswap.h (__bswap_16): Removed.
25614         Include <bits/byteswap-16.h> to get __bswap_16.
25615         * sysdeps/i386/bits/byteswap.h: Likewise.
25616         * sysdeps/s390/bits/byteswap.h: Likewise.
25617         * sysdeps/x86_64/bits/byteswap.h: Likewise.
25618         * bits/byteswap-16.h: New file.
25619         * sysdeps/i386/bits/byteswap-16.h: Likewise.
25620         * sysdeps/s390/bits/byteswap-16.h: Likewise.
25621         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
25622         * string/Makefile (headers): Add bits/byteswap-16.h.
25624 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
25626         [BZ #13895]
25627         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
25628         extra indirection.
25629         * nss/Makefile (tests-static, tests): Add tst-nss-static.
25630         * nss/tst-nss-static.c: New.
25632 2012-04-06  Robert Millan  <rmh@gnu.org>
25634         [BZ #6486]
25635         * manual/llio.texi (File Position Primitive): lseek
25636         refers to WHENCE when it really means OFFSET.
25638 2012-04-06  Andreas Jaeger  <aj@suse.de>
25640         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
25641         strncmp declarations.
25643         * abilist/libc.abilist: Add __poll and __ppoll.
25645 2012-04-05  David S. Miller  <davem@davemloft.net>
25647         * scripts/check-local-headers.sh: Accept a host triplet in the
25648         path matched by the exclude regexp.
25650         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
25651         definition.
25652         * sysdeps/powerpc/powerpc32/dl-machine.h
25653         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
25654         * sysdeps/s390/s390-32/dl-machine.h
25655         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25656         * sysdeps/sparc/sparc32/dl-machine.h
25657         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25658         * sysdeps/sparc/sparc64/dl-machine.h
25659         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
25661         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
25662         lazy binding.
25663         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
25664         undefined symbol errors.
25666         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
25667         DT_NEEDED entries.
25669 2012-04-05  Michael Matz  <matz@suse.de>
25671         [BZ #13592]
25672         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
25674 2012-04-05  Andreas Jaeger  <aj@suse.de>
25676         [BZ #13908]
25677         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
25678         comment.
25680 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
25682         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
25683         which ROUND is no valid rounding mode.
25685 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
25687         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
25688         read again.
25689         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
25691 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
25693         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
25694         an exception using FPU order intentionally.
25696 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
25698         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
25699         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
25700         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
25701         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
25703 2012-04-05  Simon Josefsson  <simon@josefsson.org>
25705         [BZ #12340]
25706         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
25707         EINVAL when BUFLEN is too smal.
25709 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
25711         [BZ #13553]
25712         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
25713         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
25715 2012-04-03  Andreas Jaeger  <aj@suse.de>
25717         [BZ #13938]
25718         * manual/setjmp.texi (System V contexts): Fix sentence.
25720         [BZ #13926]
25721         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
25722         New macro for this case.
25723         [!__GNUC__] (__bswap_64): New inline function for this case.
25724         * sysdeps/x86_64/bits/byteswap.h: Likewise.
25725         * bits/byteswap.h: Likewise.
25726         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
25727         ull, guard with __GLIBC_HAVE_LONG_LONG.
25729         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
25730         __GLIBC_HAVE_LONG_LONG.
25732         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
25733         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
25735 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
25737         [BZ #13691]
25738         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
25739         inptr and inend, rather than using last_ch.
25741 2012-04-02  David S. Miller  <davem@davemloft.net>
25743         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
25744         * stdio-common/printf-parse.h (read_int): Change return type to
25745         'int', return -1 on INT_MAX overflow.
25746         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
25747         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
25748         overflows INT_MAX.  Check for overflow of in-format-string precision
25749         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
25750         SIZE_MAX not INT_MAX for integer overflow test.
25751         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
25752         skip the construct in the format string but do not record anything.
25753         * stdio-common/bug22.c: Adjust to test both width/prevision
25754         INT_MAX overflow as well as total length INT_MAX overflow.  Check
25755         explicitly for proper errno values.
25757 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
25759         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
25760         CHAR_MAX.
25761         * string/test-strcmp.c [! WIDE]: Likewise.
25762         * time/tst-mktime2.c: Likewise for INT_MAX.
25763         * string/test-string.h: #include <sys/param.h> for MIN.
25765         * csu/init-first.c (__libc_init_first): Call __ctype_init.
25766         * sysdeps/i386/init-first.c (init): Likewise.
25767         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
25768         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
25769         * sysdeps/sh/init-first.c (init): Likewise.
25771 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
25773         * po/ru.po: Update from translation team.
25774         * po/vi.po: Likewise.
25776 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
25778         * resolv/nss_dns/dns-host.c: Merge copyright years.
25780 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
25782         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
25783         Optimize memcpy with prefetch if
25784         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
25785         src, dst pointers have unequal 16 byte alignments.
25787 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
25789         [BZ #13928]
25790         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
25791         from a CNAME entry and return the minimum ttl for the query.
25792         (gaih_getanswer_slice): Likewise.
25794 2012-03-30  Jeff Law  <law@redhat.com>
25796         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
25797         due to long keys.
25798         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
25799         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
25801         * resolv/nss_dns/dns-host.c: Update copyright year.
25803 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
25805         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
25806         requests to save a system call.  Fix check that all bytes are sent.
25808         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
25809         comments for sendmmsg.
25811 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
25813         [BZ #13691]
25814         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
25815         with only 1 character between 0x0041 and 0x01b0.
25816         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
25817         * wcsmbs/tst-mbsnrtowcs.c: New file.
25819 2012-03-29  David S. Miller  <davem@davemloft.net>
25821         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
25822         small copies by hand.
25824 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
25826         [BZ #13761]
25827         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss,
25828         _nss_compat_initgroups_dyn): Fall back to malloc/free
25829         for large group memberships.
25831 2012-03-28  David S. Miller  <davem@davemloft.net>
25833         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
25834         that branches into memcpy.
25835         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
25836         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
25837         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
25838         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
25839         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
25840         bits.
25841         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
25842         implementation too.
25843         * sysdeps/sparc/mempcpy.S: New file.
25845         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
25846         the IFUNC routine in the libc case.
25847         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
25849         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
25850         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
25851         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
25852         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
25853         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
25854         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
25855         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
25856         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
25858         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
25859         loop to 256 bytes instead of 64 bytes and fix test signedness.
25861         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
25862         * sysdeps/sparc/sparc32/Makefile: rather than here...
25863         * sysdeps/sparc/sparc64/Makefile: and here.
25865 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
25867         * malloc/mallocbug.c: Avoid warnings about unused variables.
25869 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
25871         [BZ #13760]
25872         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
25873         in the right place. Discard and retry query if response is
25874         larger than input buffer size.
25876 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
25878         [BZ #369]
25879         [BZ #2678]
25880         [BZ #3866]
25881         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
25882         x for large integer exponent.
25883         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
25884         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
25885         sign of result as needed afterwards.
25886         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
25887         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
25888         result for underflowing pow the same as for overflow.
25889         (__kernel_standard_l): Handle powl overflow and underflow here
25890         rather than calling __kernel_standard.
25891         * math/libm-test.inc (pow_test): Add more tests.
25893         [BZ #3868]
25894         [BZ #13879]
25895         [BZ #13910]
25896         [BZ #13911]
25897         [BZ #13912]
25898         [BZ #13913]
25899         [BZ #13915]
25900         [BZ #13916]
25901         [BZ #13917]
25902         [BZ #13918]
25903         [BZ #13919]
25904         [BZ #13920]
25905         [BZ #13921]
25906         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
25907         * sysdeps/ieee754/k_standard.c: Include <float.h>.
25908         (__kernel_standard_l): New function.
25909         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
25910         __kernel_standard.
25911         * math/w_acosl.c (__acosl): Likewise.
25912         * math/w_asinl.c (__asinl): Likewise.
25913         * math/w_atan2l.c (__atan2l): Likewise.
25914         * math/w_atanhl.c (__atanhl): Likewise.
25915         * math/w_coshl.c (__coshl): Likewise.
25916         * math/w_exp10l.c (__exp10l): Likewise.
25917         * math/w_exp2l.c (__exp2l): Likewise.
25918         * math/w_fmodl.c (__fmodl): Likewise.
25919         * math/w_hypotl.c (__hypotl): Likewise.
25920         * math/w_j0l.c (__j0l, __y0l): Likewise.
25921         * math/w_j1l.c (__j1l, __y1l): Likewise.
25922         * math/w_jnl.c (__jnl, __ynl): Likewise.
25923         * math/w_lgammal.c (__lgammal): Likewise.
25924         * math/w_log10l.c (__log10l): Likewise.
25925         * math/w_log2l.c (__log2l): Likewise.
25926         * math/w_logl.c (__logl): Likewise.
25927         * math/w_powl.c (__powl): Likewise.
25928         * math/w_remainderl.c (__remainderl): Likewise.
25929         * math/w_scalbl.c (sysv_scalbl): Likewise.
25930         * math/w_sinhl.c (__sinhl): Likewise.
25931         * math/w_sqrtl.c (__sqrtl): Likewise.
25932         * math/w_tgammal.c (__tgammal): Likewise.
25933         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
25934         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
25935         * math/libm-test.inc (acos_test): Add more tests.
25936         (acosh_test): Likewise.
25937         (asin_test): Likewise.
25938         (atanh_test): Likewise.
25939         (exp_test): Likewise.
25940         (exp10_test): Likewise.
25941         (exp2_test): Likewise.
25942         (expm1_test): Likewise.
25943         (lgamma_test): Likewise.
25944         (log_test): Likewise.
25945         (log10_test): Likewise.
25946         (log1p_test): Likewise.
25947         (log2_test): Likewise.
25948         (pow_test): Do not allow some spurious overflow exceptions.
25949         (sqrt_test): Add more tests.
25950         (tgamma_test): Likewise.
25951         (y0_test): Likewise.
25952         (y1_test): Likewise.
25953         (yn_test): Likewise.
25955 2012-03-27  Anton Blanchard  <anton@samba.org>
25957         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
25958         MAP_HUGETLB.
25959         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
25960         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
25961         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
25963 2012-03-27  David S. Miller  <davem@davemloft.net>
25965         * conform/Makefile: Run run-conformtest.sh using $(BASH).
25967         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
25968         have-as-vis3 check.
25970 2012-03-27  Andreas Jaeger  <aj@suse.de>
25972         * sysdeps/x86_64/elf/configure.in: Moved to ...
25973         * sysdeps/x86_64/configure.in: ... here.
25974         * sysdeps/x86_64/elf/start.S: Moved to ...
25975         * sysdeps/x86_64/start.S: ... here.
25976         * sysdeps/x86_64/elf/configure: Delete.
25978         * sysdeps/x86_64/configure.in: Merge contents from
25979         sysdeps/i386/configure.in (without i686 check).
25981         * sysdeps/i386/elf/Versions: Merge into ...
25982         * sysdeps/i386/Versions: ... this.
25983         * sysdeps/i386/elf/Versions: Delete file.
25984         * sysdeps/i386/elf/start.S: Moved to ...
25985         * sysdeps/i386/start.S: ...here.
25986         * sysdeps/i386/elf/configure.in: Merge into...
25987         * sysdeps/i386/configure.in: ...here.
25988         * sysdeps/i386/elf/configure.in: Delete file.
25989         * sysdeps/i386/elf/configure: Delete file.
25991         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
25992         * debug/backtracesyms.c: ... here.
25993         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
25994         * debug/backtracesymsfd.c: ... here.
25995         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
25996         * sysdeps/generic/ifunc-sel.h: ... here.
25998         * sysdeps/unix/i386/start.c: Delete file.
25999         * sysdeps/unix/sparc/start.c: Delete file.
26000         * sysdeps/unix/start.c: Delete file.
26002         * sysdeps/sh/elf/configure.in: Moved to ...
26003         * sysdeps/sh/configure.in: ... here.
26004         * sysdeps/sh/elf/start.S: Moved to ...
26005         * sysdeps/sh/start.S: ... here.
26006         * sysdeps/sh/elf/configure: Delete file.
26008         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
26009         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
26010         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
26011         * sysdeps/powerpc/powerpc64/entry.h: ... here.
26012         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
26013         * sysdeps/powerpc/powerpc64/start.S: here.
26014         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
26015         * sysdeps/powerpc/powerpc64/Makefile: ... this.
26016         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
26017         * sysdeps/powerpc/powerpc64/configure.in: ... this.
26018         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
26020         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
26021         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
26022         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
26023         * sysdeps/powerpc/powerpc32/start.S: ... here.
26024         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
26025         * sysdeps/powerpc/powerpc32/configure.in: ... this.
26026         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
26028         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
26029         * sysdeps/powerpc/ifunc-sel.h: ... here.
26030         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
26031         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
26033         * sysdeps/sparc/elf/configure.in: Moved to ...
26034         * sysdeps/sparc/configure.in: ... here.
26035         * sysdeps/sparc/elf/configure: Delete file.
26036         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
26037         * sysdeps/sparc/sparc32/start.S: ... here.
26038         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
26039         * sysdeps/sparc/sparc64/start.S: ... here.
26040         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
26041         * sysdeps/sparc/sparc32/Makefile: ... this.
26042         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
26043         * sysdeps/sparc/sparc64/Makefile: ... this.
26045         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
26046         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
26047         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
26048         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
26049         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
26050         * sysdeps/s390/s390-32/setjmp.S: ... here.
26051         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
26052         * sysdeps/s390/s390-32/configure.in: ... here.
26053         * sysdeps/s390/s390-32/elf/configure: Delete file.
26054         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
26055         * sysdeps/s390/s390-32/start.S: ... here.
26057         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
26058         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
26059         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
26060         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
26061         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
26062         * sysdeps/s390/s390-64/setjmp.S: ... here.
26063         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
26064         * sysdeps/s390/s390-64/configure.in: ... here
26065         * sysdeps/s390/s390-64/elf/configure: Delete file.
26066         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
26067         * sysdeps/s390/s390-64/start.S: ... here.
26068         * sysdeps/s390/s390-64/elf/configure: Delete.
26070         * configure.in: Remove support for elf directories in sysdeps.
26072         * configure: Regenerated.
26073         * sysdeps/i386/configure: Regenerated.
26074         * sysdeps/powerpc/powerpc32/configure: Regenerated.
26075         * sysdeps/powerpc/powerpc64/configure: Regenerated.
26076         * sysdeps/s390/s390-32/configure: Regenerated.
26077         * sysdeps/s390/s390-64/configure: Regenerated.
26078         * sysdeps/sh/configure: Regenerated.
26079         * sysdeps/sparc/configure: Regenerated.
26080         * sysdeps/x86_64/configure: Regenerated.
26082 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
26084         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26086         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
26087         denormal result into account.
26089 2012-03-25  Roland McGrath  <roland@hack.frob.com>
26091         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
26092         Reported by Allan McRae <allan@archlinux.org>.
26094 2012-03-23  Jeff Law  <law@redhat.com>
26096         * nss/getnssent.c (__nss_getent): Fix typo.
26098 2012-03-23  David S. Miller  <davem@davemloft.net>
26100         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26102 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
26104         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
26105         to pad to uint64_t for each field.
26106         (dl_tls_index): Replace unsigned long with uint64_t.
26108 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
26109         Paul Pluzhnikov  <ppluzhnikov@google.com>
26111         [BZ #6528]
26112         * grp/Makefile (otherlibs): Don't set it.
26113         * inet/Makefile (otherlibs): Likewise.
26114         * login/Makefile (otherlibs): Likewise.
26115         * nscd/Makefile (otherlibs): Likewise.
26116         * posix/Makefile (otherlibs): Likewise.
26117         * pwd/Makefile (otherlibs): Likewise.
26118         * rt/Makefile (otherlibs): Likewise.
26119         * sunrpc/Makefile (otherlibs): Likewise.
26120         * nss/Makefile (otherlibs): Likewise.
26121         Add libnss_files to routines and static-only-routines.
26122         ($(objpfx)getent): Remove rule.
26123         * resolv/Makefile: Add libnss_dns and libresolv to routines and
26124         static-only-routines.
26126 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
26128         [BZ #13892]
26129         * math/s_cexp.c: Include <float.h>.
26130         (__cexp): Handle exp result overflowing not necessarily
26131         overflowing both real and imaginary parts of result.
26132         * math/s_cexpf.c: Likewise.
26133         * math/s_cexpl.c: Likewise.
26134         * math/libm-test.inc (cexp_test): Add more tests.
26135         * sysdeps/i386/fpu/libm-test-ulps: Update.
26136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26138 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26140         * include/link.h (ELFW): New macro.
26141         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
26142         Replace ELF64_R_TYPE with ELFW(R_TYPE).
26144 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26146         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
26147         with uint64_t.
26149 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26151         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
26152         declaration.
26153         (struct La_x32_retval): Likewise.
26155 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
26157         * sysdeps/x86_64/preconfigure.in: New file.
26158         * sysdeps/x86_64/preconfigure: New generated file.
26160 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
26162         [BZ #13824]
26163         * math/e_exp2l.c: Include <float.h>.
26164         (__ieee754_exp2l): Handle overflow and underflow cases
26165         separately.  Only pass fractional part of argument to
26166         __ieee754_expl.
26167         * math/libm-test.inc (exp2_test): Add more tests.
26169         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
26170         negating x to take absolute value.
26171         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
26172         Likewise.
26173         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
26174         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
26175         Likewise.
26176         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
26177         computing low part if x was negated.
26178         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
26180 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
26182         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
26183         la_x32_gnu_pltexit.
26184         (pltexit): Cast int_retval to ptrdiff_t.
26185         * elf/tst-auditmod3b.c: Likewise.
26186         * elf/tst-auditmod4b.c: Likewise.
26187         * elf/tst-auditmod5b.c: Likewise.
26188         * elf/tst-auditmod6b.c: Likewise.
26189         * elf/tst-auditmod6c.c: Likewise.
26190         * elf/tst-auditmod7b.c: Likewise.
26192         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
26193         and x32_gnu_pltexit.
26195         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
26196         __ELF_NATIVE_CLASS.
26197         (La_x32_regs): New macro.
26198         (La_x32_retval): Likewise.
26199         (la_x32_gnu_pltenter): New function prototype.
26200         (la_x32_gnu_pltexit): Likewise.
26202 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
26204         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
26205         exponent.
26207         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26209         * configure.in (libc_cv_cc_nofma): Check for option to disable
26210         generation of FMA instructions.
26211         * configure: Regenerate.
26212         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
26213         * sysdeps/ieee754/dbl-64/Makefile: New file.
26214         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
26215         Remove brandred-fma4.
26216         (CFLAGS-brandred-fma4.c): Remove.
26217         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
26218         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
26219         define.
26220         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
26221         define.
26223 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
26225         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
26226         LLONG_MAX != LONG_MAX.
26227         (_itoa_word): Use _ITOA_WORD_TYPE on value.
26228         (_fitoa_word): Likewise.
26229         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
26230         LLONG_MAX != LONG_MAX.
26231         * stdio-common/_itowa.h: Include <_itoa.h>.
26232         (_itowa_word): Use _ITOA_WORD_TYPE on value.
26233         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
26234         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
26235         only if not defined.
26236         (_ITOA_WORD_TYPE): Likewise.
26237         (_itoa_word): Use _ITOA_WORD_TYPE on value.
26238         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
26240 2012-03-21  David S. Miller  <davem@davemloft.net>
26242         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26244 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
26246         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
26247         of x86_64 when setting libc_cv_slibdir, libdir and
26248         libc_cv_localedir.
26249         * sysdeps/unix/sysv/linux/configure: Regenerated.
26251 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
26253         * manual/lang.texi (Old Varargs): Remove section.
26254         (How Variadic): Update menu.
26255         (va_start): Do not mention varargs.h.
26257 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
26258             Joseph Myers  <joseph@codesourcery.com>
26260         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
26261         link test.
26262         * configure: Regenerated.
26264 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
26266         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
26267         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
26268         conformtest.pl
26270 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
26272         * NOTES: Remove.
26273         * Makefile (files-for-dist): Remove NOTES.
26274         (NOTES): Remove rule.
26275         * README: Don't refer to NOTES.
26276         * manual/creature.texi: Don't include macros.texi.
26277         * manual/intro.texi (creature.texi): Remove comment referring to
26278         NOTES.
26280         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
26281         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
26282         * configure: Regenerated.
26283         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
26284         LIBC_TRY_CC_OPTION.
26285         (libc_cv_as_i686): Likewise.
26286         (libc_cv_cc_avx): Likewise.
26287         (libc_cv_cc_sse2avx): Likewise.
26288         (libc_cv_cc_fma4): Likewise.
26289         (libc_cv_cc_novzeroupper): Likewise.
26290         * sysdeps/i386/configure: Regenerated.
26292         [BZ #13883]
26293         * sysdeps/i386/fpu/s_cexp.S: Remove.
26294         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
26295         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
26296         * math/libm-test.inc (cexp_test): Add more tests.
26297         * sysdeps/i386/fpu/libm-test-ulps: Update.
26298         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26300 2012-03-21  Allan McRae  <allan@archlinux.org>
26302         * timezone/Makefile: Do not install iso3166.tab and zone.tab
26304 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
26306         [BZ #13871]
26307         * math/w_exp2.c: Do not include <float.h>.
26308         (o_threshold, u_threshold): Remove.
26309         (__exp2): Calculate result before checking finiteness and calling
26310         __kernel_standard.
26311         * math/w_exp2f.c: Likewise.
26312         * math/w_exp2l.c: Likewise.
26313         * math/libm-test.inc (exp2_test): Require overflow exception for
26314         1e6 input.
26316         [BZ #3866]
26317         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
26318         range of signed 64-bit integers before using fistpll.  Remove
26319         checks for whether integers fit in mantissa bits.
26320         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
26321         the range of signed 32-bit integers before using fistpl.  Remove
26322         checks for whether integers fit in mantissa bits.
26323         * sysdeps/i386/fpu/e_powl.S (p64): New object.
26324         (__ieee754_powl): Test for y outside the range of signed 64-bit
26325         integers before using fistpll.  Reduce 64-bit values to 63-bit
26326         ones as needed.
26327         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
26328         divide-by-zero is raised for zero to large negative powers.
26329         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
26330         (__ieee754_powl): Test for y outside the range of signed 64-bit
26331         integers before using fistpll.  Reduce 64-bit values to 63-bit
26332         ones as needed.
26333         * math/libm-test.inc (pow_test): Add more tests.
26335 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
26337         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
26338         <stdio-common/_itoa.h>.
26339         * debug/segfault.c: Likewise.
26340         * elf/dl-cache.c: Likewise.
26341         * elf/dl-minimal.c: Likewise.
26342         * elf/dl-misc.c: Likewise.
26343         * elf/dl-sysdep.c: Likewise.
26344         * elf/dl-version.c: Likewise.
26345         * elf/rtld.c: Likewise.
26346         * hurd/hurdsock.c: Likewise.
26347         * hurd/lookup-retry.c: Likewise.
26348         * malloc/malloc.c: Likewise.
26349         * malloc/mtrace.c: Likewise.
26350         * nscd/nscd_getgr_r.c: Likewise.
26351         * nscd/nscd_getpw_r.c: Likewise.
26352         * nscd/nscd_getserv_r.c: Likewise.
26353         * posix/getopt_init.c: Likewise.
26354         * posix/wordexp.c: Likewise.
26355         * stdio-common/_itoa.c: Likewise.
26356         * stdio-common/printf_fphex.c: Likewise.
26357         * stdio-common/vfprintf.c: Likewise.
26358         * string/_strerror.c: Likewise.
26359         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
26360         * sysdeps/i386/i686/hp-timing.h: Likewise.
26361         * sysdeps/mach/_strerror.c: Likewise.
26362         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
26363         * sysdeps/mach/hurd/sethostid.c: Likewise.
26364         * sysdeps/mach/hurd/xmknodat.c: Likewise.
26365         * sysdeps/mach/xpg-strerror.c: Likewise.
26366         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
26367         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
26368         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
26369         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
26370         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
26371         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
26372         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
26373         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
26374         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
26375         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
26376         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
26377         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
26378         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
26379         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
26380         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
26381         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
26382         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
26383         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
26384         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
26385         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
26386         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
26388         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
26390         * stdio-common/_itoa.h: Moved to ...
26391         * sysdeps/generic/_itoa.h: Here.
26393         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
26395         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
26396         instead of "_itoa.h" and "_itowa.h".
26397         * stdio-common/vfprintf.: Likewise.
26399 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
26401         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
26402         <bits/wordsize.h>.
26403         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
26404         (__signbit): Likwise.
26405         (llrintf): Likwise.
26406         (llrint): Likwise.
26408 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
26410         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
26411         __WORDSIZE != 64.
26413 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
26415         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
26416         OVERFLOW_EXCEPTION_OK.
26417         * math/libm-test.inc ("Philosophy"): Update comment about
26418         exception testing.
26419         (OVERFLOW_EXCEPTION): Define.
26420         (OVERFLOW_EXCEPTION_OK): Likewise.
26421         (INVALID_EXCEPTION_OK): Renumber.
26422         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
26423         (IGNORE_ZERO_INF_SIGN): Likewise.
26424         (test_exceptions): Handle FE_OVERFLOW.
26425         (exp10_test): Expect overflow exceptions.
26426         (exp2_test): Likewise.
26427         (expm1_test): Likewise.
26428         (nextafter_test): Likewise.
26429         (pow_test): Likewise.
26430         (scalbn_test): Likewise.
26431         (scalbln_test): Likewise.
26433 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26435         * sysdeps/x86_64/bits/atomic.h
26436         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
26437         64bit integer.
26438         (atomic_exchange_acq): Likewise.
26439         (__arch_exchange_and_add_body): Likewise.
26440         (__arch_add_body): Likewise.
26441         (atomic_add_negative): Likewise.
26442         (atomic_add_zero): Likewise.
26444 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26446         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
26447         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
26449 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26451         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
26452         Check __x86_64__ instead of __WORDSIZE.
26454 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26456         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
26458 2012-03-19  David S. Miller  <davem@davemloft.net>
26460         * sysdeps/sparc/fpu/libm-test-ulps: Update.
26462         * sysdeps/sparc/fpu/fenv_private.h: New file.
26463         * sysdeps/sparc/fpu/math_private.h: Use it.
26464         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
26465         Remove.
26466         (libc_feholdexcept_setround, libc_feholdexcept_setroundf,
26467         (libc_feholdexcept_setroundl): Remove.
26468         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
26469         Remove.
26470         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
26471         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
26473 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26475         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
26476         int64_t instead of long int.
26477         (INSERT_WORDS64): Likwise.
26479 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
26481         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
26482         _Unwind_GetCFA return to _Unwind_Ptr first.
26484 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
26486         [BZ #13629]
26487         * math/s_clog.c: Include <float.h>.
26488         (__clog): Scale large or subnormal inputs.
26489         * math/s_clogf.c: Likewise.
26490         * math/s_clogl.c: Likewise.
26491         * math/s_clog10.c: Include <float.h>.
26492         (M_LOG10_2): Define.
26493         (__clog10): Scale large or subnormal inputs.
26494         * math/s_clog10f.c: Likewise.
26495         * math/s_clog10l.c: Likewise.
26496         * math/libm-test.inc (clog_test): Add more tests.
26497         (clog10_test): Likewise.
26498         * sysdeps/i386/fpu/libm-test-ulps: Update.
26499         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26501         [BZ #11451]
26502         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
26503         x and y.
26504         * math/libm-test.inc (atan2_test): Add another test.
26506         * Makerules (common-objdir-compile): Remove.
26507         * sysdeps/unix/Makefile (config-generated): Do not add
26508         $(unix-generated) to variable.
26509         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
26510         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
26511         Remove rule.
26512         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
26513         Likewise.
26514         [generic bits/local_lim.h] (before-compile): Do not append to
26515         variable.
26516         [generic bits/local_lim.h] (common-generated): Likewise.
26517         [generic sys/param.h] (before-compile): Do not append to variable.
26518         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
26519         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
26520         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
26521         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
26522         include.
26523         [generic sys/param.h] (sys/param.h-includes): Remove variable.
26524         [generic sys/param.h] (sys/param.h-includes): Remove rule.
26525         [generic sys/param.h] ($(addprefix
26526         $(common-objpfx),$(sys/param.h-includes))): Likewise.
26527         [generic sys/param.h] (common-generated): Do not append to
26528         variable.
26529         [generic sys/param.h] (sysdep_headers): Likewise.
26530         [generic bits/errno.h] (before-compile): Do not append to
26531         variable.
26532         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
26533         rule.
26534         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
26535         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
26536         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
26537         [generic bits/errno.h] (common-generated): Do not append to
26538         variable.
26539         [generic bits/ioctls.h] (before-compile): Do not append to
26540         variable.
26541         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
26542         rule.
26543         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
26544         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
26545         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
26546         rule.
26547         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
26548         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
26549         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
26550         [generic bits/ioctls.h] (common-generated): Do not append to
26551         variable.
26552         [generic sys/syscall.h] (syscall.h): Remove variable.
26553         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
26554         rule.
26555         [generic sys/syscall.h] (before-compile): Do not append to
26556         variable.
26557         [generic sys/syscall.h] (common-generated): Likewise.
26558         * sysdeps/unix/errnos-tmpl.c: Remove file.
26559         * sysdeps/unix/errnos.awk: Likewise.
26560         * sysdeps/unix/ioctls-tmpl.c: Likewise.
26561         * sysdeps/unix/ioctls.awk: Likewise.
26562         * sysdeps/unix/mk-local_lim.c: Likewise.
26563         * sysdeps/unix/snarf-ioctls: Likewise.
26565 2012-03-19  Richard Henderson  <rth@twiddle.net>
26567         * sysdeps/i386/fpu/fenv_private.h: New file.
26568         * sysdeps/i386/fpu/math_private.h: Use it.
26569         (math_opt_barrier, math_force_eval): Remove.
26570         (libc_feholdexcept_setround_53bit): Remove.
26571         (libc_feupdateenv_53bit): Remove.
26572         * sysdeps/x86_64/fpu/math_private.h: Likewise.
26573         (math_opt_barrier, math_force_eval): Remove.
26574         (libc_feholdexcept): Remove.
26575         (libc_feholdexcept_setround): Remove.
26576         (libc_fetestexcept, libc_fesetenv): Remove.
26577         (libc_feupdateenv_test): Remove.
26578         (libc_feupdateenv, libc_feholdsetround): Remove.
26579         (libc_feresetround): Remove.
26581         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
26582         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
26584         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
26585         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
26586         (libc_feupdateenv_testl): New.
26587         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
26588         (libc_feupdateenv_testf): New.
26589         (libc_feupdateenv): Use libc_feupdateenv_test.
26590         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
26591         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
26593         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
26594         (libc_feholdsetroundf, libc_feholdsetroundl): New.
26595         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
26596         (libc_feresetround_noex): New.
26597         (libc_feresetround_noexf): New.
26598         (libc_feresetround_noexl): New.
26599         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
26600         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
26601         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
26602         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
26603         SET_RESTORE_ROUND.
26604         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
26605         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
26606         (__cos): Likewise.
26607         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
26608         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
26609         SET_RESTORE_ROUND_NOEX.
26610         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
26611         SET_RESTORE_ROUND_NOEXF.
26612         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
26613         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
26614         (libc_feholdsetroundf): New.
26615         (libc_feresetround, libc_feresetroundf): New.
26617         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
26618         (libc_feholdexcept_setround_53bit): Convert from macro to function.
26619         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
26621         * sysdeps/generic/math_private.h: Include <fenv.h>.
26622         (default_libc_feholdexcept): New.
26623         (default_libc_feholdexcept_setround): New.
26624         (default_libc_fesetenv, default_libc_feupdateenv): New.
26625         (libc_feholdexcept): Only define if undefined.
26626         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
26627         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
26628         (libc_feholdexcept_setroundl): Likewise.
26629         (libc_feholdexcept_setround_53bit): Likewise.
26630         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
26631         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
26632         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
26633         (libc_feupdateenv_53bit): Likewise.
26634         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
26635         (libc_feholdexcept): Convert from macro to inline function.
26636         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
26637         (libc_fesetenv, libc_feupdateenv): Likewise.
26639         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
26640         not previously defined.
26641         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
26642         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
26643         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
26644         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
26645         * sysdeps/ieee754/flt-32/math_private.h: New file.
26646         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
26647         math_private.h below SET_FLOAT_WORD.
26648         (__isnan, __isinf_ns, __finite): Remove.
26649         (__isnanf, __isinf_nsf, __finitef): Remove.
26651 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
26653         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26655 2012-03-17  David S. Miller  <davem@davemloft.net>
26657         [BZ #6471]
26658         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
26659         for 2.16.
26661 2012-03-16  David S. Miller  <davem@davemloft.net>
26663         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
26664         warnings.
26666         [BZ #6471]
26667         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
26668         properly.
26669         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
26670         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
26671         sysdep_routines when subdir is sysvipc.
26672         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
26673         __getshmlba helper.
26675         * sysdeps/sparc/fpu/libm-test/ulps: Update.
26677 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
26679         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
26680         [__LP64__].
26682 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
26684         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
26685         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
26686         (__lround): Renamed to ...
26687         (__llround): This.  Replace long int with long long int.
26688         Define lround functions as aliases of llround functions.
26689         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
26691 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
26693         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
26694         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
26695         adresses to uintptr_t.  Replace "long int" and "unsigned long
26696         int" with "greg_t" on va_arg.
26698 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
26700         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
26701         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
26703         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
26704         Move e_machine check before EI_CLASS check.  Handle x32
26705         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
26706         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
26707         SKIP_EM_IA_64 and include
26708         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
26710         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
26711         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
26712         (add_system_dir): New macro.
26714         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
26715         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
26717 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
26719         [BZ #2551]
26720         [BZ #2552]
26721         [BZ #2553]
26722         [BZ #2554]
26723         [BZ #2562]
26724         [BZ #2563]
26725         [BZ #2565]
26726         [BZ #2566]
26727         [BZ #2576]
26728         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
26729         (y0): Likewise.
26730         * math/w_j0f.c (j0f): Likewise.
26731         (y0f): Likewise.
26732         * math/w_j0l.c (__j0l): Likewise.
26733         (__y0l): Likewise.
26734         * math/w_j1.c (j1): Likewise.
26735         (y1): Likewise.
26736         * math/w_j1f.c (j1f): Likewise.
26737         (y1f): Likewise.
26738         * math/w_j1l.c (__j1l): Likewise.
26739         (__y1l): Likewise.
26740         * math/w_jn.c (jn): Likewise.
26741         (yn): Likewise.
26742         * math/w_jnf.c (jnf): Likewise.
26743         (ynf): Likewise.
26744         * math/w_jnl.c (__jnl): Likewise.
26745         (__ynl): Likewise.
26746         * math/libm-test.inc (j0_test): Add more tests.
26747         (j1_test): Likewise.
26748         (jn_test): Likewise.  Add trailing semicolon to existing test.
26749         (y0_test): Likewise.
26750         (y1_test): Likewise.
26751         * sysdeps/i386/fpu/libm-test-ulps: Update.
26752         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26754         [BZ #13851]
26755         [BZ #13854]
26756         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
26757         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
26758         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
26759         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
26760         (__tanl): Set errno for infinite argument.
26761         * sysdeps/i386/fpu/mptan.c: Remove.
26762         * sysdeps/i386/fpu/s_tan.S: Likewise.
26763         * sysdeps/i386/fpu/s_tanl.S: Likewise.
26764         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
26765         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
26766         * math/libm-test.inc (tan_test): Add more tests and enable more
26767         tests for double and long double.
26768         * sysdeps/i386/fpu/libm-test-ulps: Update.
26769         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26771 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
26773         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
26774         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
26776 2012-03-16  Roland McGrath  <roland@hack.frob.com>
26778         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
26779         * configure.in: Use it for both main tree and add-ons.
26780         * configure: Regenerated.
26782 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
26784         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
26786 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
26788         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
26789         in comment.
26791         [BZ #13851]
26792         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
26793         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
26794         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
26795         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
26796         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
26797         infinite argument.
26798         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
26799         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
26800         != 0 for prec == 2.
26801         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
26802         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
26803         * sysdeps/i386/fpu/s_cosl.S: Likewise.
26804         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
26805         * sysdeps/i386/fpu/s_sinl.S: Likewise.
26806         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
26807         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
26808         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
26809         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
26810         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
26811         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
26812         * math/libm-test.inc (cos_test): Add more tests and enable more
26813         tests for long double.
26814         (sin_test): Likewise.
26815         (sincos_test): Likewise.
26816         * sysdeps/i386/fpu/libm-test-ulps: Update.
26817         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
26819 2012-03-16  David S. Miller  <davem@davemloft.net>
26821         * sysdeps/sparc/fpu/math_private.h: New file.
26823 2012-03-15  David S. Miller  <davem@davemloft.net>
26825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
26826         file.
26827         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
26828         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
26829         file.
26830         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
26831         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
26832         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
26833         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
26834         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
26835         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
26836         sysdep routines.
26837         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26839         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
26840         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
26842         * sysdeps/sparc/sparc-ifunc.h: New file.
26843         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
26844         sparc-ifunc.h
26845         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
26846         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
26847         Likewise.
26848         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
26849         Likewise.
26850         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
26851         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
26852         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
26853         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
26854         Likewise.
26855         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
26856         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
26857         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
26858         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
26859         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
26860         Likewise.
26861         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
26862         Likewise.
26863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
26864         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
26865         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
26866         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
26867         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
26868         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
26869         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
26870         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
26871         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
26872         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
26873         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
26874         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
26875         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
26876         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
26877         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
26878         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
26879         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
26880         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
26881         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
26882         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
26883         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
26884         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
26885         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
26886         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
26888 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
26890         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
26891         scaling.
26892         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26894 2012-03-15  Andreas Jaeger  <aj@suse.de>
26896         [BZ #13852]
26897         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
26898         ieee754/flt-32 implementation for sin, cos and sincos.
26899         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
26900         * sysdeps/i386/fpu/s_cosf.S: Likewise.
26901         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
26902         * sysdeps/i386/fpu/s_sinf.S: Likewise.
26903         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
26904         ieee754/flt-32 implementation for tan.
26906         * math/libm-test.inc (cos_test): Enable some large input tests for
26907         float as well
26908         (sin_test): Likewise.
26909         (sincos_test): Likewise.
26910         (tan_test): Add tests for large input.
26912         * sysdeps/i386/fpu/libm-test-ulps: Update.
26914 2012-03-15  Andreas Jaeger  <aj@suse.de>
26916         [BZ #13658]
26917         * math/libm-test.inc (cos_test): Add more test cases.
26918         (sin_test): Likewise.
26919         (sincos_test): Likewise.
26921 2012-03-15  Andreas Jaeger  <aj@suse.de>
26923         [BZ #13837]
26924         * math/libm-test.inc (cos_test): Add a test case for large input
26925         value.
26926         (sin_test): Likewise.
26927         (sincos_test): Likewise.
26929 2012-03-15  Andreas Jaeger  <aj@suse.de>,
26930         Joseph Myers  <joseph@codesourcery.com>
26932         [BZ #13658]
26933         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
26934         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
26935         * sysdeps/i386/fpu/branred.c: Likewise.
26936         * sysdeps/i386/fpu/dosincos.c: Likewise.
26937         * sysdeps/i386/fpu/mpa.c: Likewise.
26938         * sysdeps/i386/fpu/s_cos.S: Likewise.
26939         * sysdeps/i386/fpu/s_sin.S: Likewise.
26940         * sysdeps/i386/fpu/s_sincos.S: Likewise.
26941         * sysdeps/i386/fpu/sincos32.c: Likewise.
26943         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
26944         Define.
26945         (libc_feupdateenv_53bit): Define.
26946         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
26947         Define.
26948         (libc_feupdateenv_53bit): Define.
26950         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
26951         53 bit (without extend i386 double precision).
26953         * math/libm-test.inc (sincos_test): Add tests for large input.
26954         (sin): Likewise.
26955         (cos): Likewise.
26957         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
26959 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
26961         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26963 2012-03-15  David S. Miller  <davem@davemloft.net>
26965         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
26966         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
26967         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
26968         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
26969         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
26970         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
26971         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
26972         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
26973         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
26974         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
26975         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
26976         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
26977         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
26978         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
26979         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
26980         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
26981         file.
26982         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
26983         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
26984         file.
26985         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
26986         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
26987         file.
26988         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
26989         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
26990         file.
26991         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
26992         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
26993         fmin/fmax sysdep routines.
26994         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
26996 2012-03-14  David S. Miller  <davem@davemloft.net>
26998         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
26999         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
27000         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
27001         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
27002         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
27003         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
27004         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
27005         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
27006         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
27007         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
27008         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
27009         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
27010         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
27011         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
27012         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
27013         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
27014         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
27015         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
27016         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
27017         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
27018         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
27019         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
27020         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
27021         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
27022         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
27023         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
27024         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
27025         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
27026         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
27027         routines.
27028         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
27029         file.
27030         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
27031         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
27032         file.
27033         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
27034         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
27035         file.
27036         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
27037         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
27038         file.
27039         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
27040         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
27041         file.
27042         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
27043         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
27044         file.
27045         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
27046         file.
27047         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
27048         file.
27049         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
27050         file.
27051         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
27052         New file.
27053         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
27054         file.
27055         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
27056         file.
27057         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
27058         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
27059         file.
27060         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
27061         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
27062         file.
27063         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
27064         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
27065         file.
27066         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
27067         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
27068         VIS3 routines.
27070         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
27071         New file.
27073         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27075         * sysdeps/sparc/configure.in: New file.
27076         * sysdeps/sparc/configure: Generate.
27077         * configure.in (libc_cv_sparc_as_vis3): Substitute.
27078         * configure: Regenerate.
27079         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
27080         * config.make.in (have-as-vis3): New.
27081         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
27082         available use -Av9d instead of -Av9a.
27083         * sysdeps/sparc/sparc64/Makefile: Likewise.
27084         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
27085         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
27086         New file.
27087         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
27088         file.
27089         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
27090         New file.
27091         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
27092         file.
27093         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
27094         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
27095         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
27096         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
27097         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
27099         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
27100         fzeros/fnegs to load 0x80000000 into a float register instead of
27101         using the stack.
27102         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
27104 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
27106         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27107         bits/syscall.h.
27108         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
27109         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
27110         ($(inst_includedir)/bits/syscall.h): Remove rule.
27111         ($(objpfx)bits/syscall.d): Include instead of
27112         $(objpfx)syscall-list.d.
27113         (generated): Change syscall-list.h and syscall-list.d to
27114         bits/syscall.h and bits/syscall.d.
27116 2012-03-14  Roland McGrath  <roland@hack.frob.com>
27118         [BZ #13846]
27119         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
27121 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
27123         [BZ #13841]
27124         * math/s_csqrt.c: Include <float.h>.
27125         (__csqrt): Scale large or subnormal inputs.
27126         * math/s_csqrtf.c: Likewise.
27127         * math/s_csqrtl.c: Likewise.
27128         * math/libm-test.inc (csqrt_test): Add more tests.
27129         * sysdeps/i386/fpu/libm-test-ulps: Update.
27130         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27132         [BZ #13840]
27133         * math/libm-test.inc (hypot_test): Add more tests.
27135 2012-03-13  David S. Miller  <davem@davemloft.net>
27137         [BZ #13840]
27138         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
27139         double-precision for the calculation instead of scaling.
27141 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
27143         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
27144         manipulate bits before adding and subtracting TWO52[sx].
27145         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
27146         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
27147         Likewise.
27148         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
27150 2012-03-13  David S. Miller  <davem@davemloft.net>
27152         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
27153         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
27154         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
27155         rtld-global-offsets.h
27156         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
27158         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
27159         large parameters.
27161         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
27163         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
27164         'err' in the ifdef scope in which it is actually used.
27166         * nss/nss_db/db-init.c: Include string.h
27168 2012-03-12  David S. Miller  <davem@davemloft.net>
27170         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
27171         masking out of the most significant byte of random value used.
27172         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27173         Fix coding style in previous change.
27175         * sysdeps/unix/sysv/linux/kernel-features.h
27176         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
27177         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
27178         expression.
27179         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
27180         later.
27182 2012-03-11  David S. Miller  <davem@davemloft.net>
27184         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
27185         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
27186         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
27187         for 'resultvar' otherwise things get truncated on 64-bit.
27189         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
27190         Fix masking out of the most significant byte of random value used.
27192         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27194 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
27196         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27198 2012-03-09  David S. Miller  <davem@davemloft.net>
27200         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
27201         variables with appropriate CPP guards.
27202         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr from the
27203         frame pointer, not the stack pointer.  Correct layout comments.  Fix test
27204         on resulting framesize and the management of the outregs buffer for pltexit.
27205         Preserve floating point return values across _dl_call_pltexit call.
27206         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
27207         framesize and the management of the outregs buffer for pltexit.
27208         Preserve floating point return values across _dl_call_pltexit
27209         call.
27210         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter, la_sparc64_gnu_pltenter,
27211         la_sparc32_gnu_pltexit, la_sparc64_gnu_pltexit): New functions.
27212         (print_exit): Fix format string for return register value.
27214 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
27216         * sunrpc/Makefile (others): Add rpcgen.
27217         ($(objpfx)rpcgen): Remove special build rule and dependency on
27218         libc.
27219         * sunrpc/rpcgen.c: New file.
27221 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
27223         [BZ #13673]
27224         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
27225         * stdio-common/bug-vfprintf-nargs.c: Likewise.
27226         * sysdeps/i386/crti.S: Likewise.
27227         * sysdeps/i386/crtn.S: Likewise.
27228         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
27229         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
27230         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
27231         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
27232         * sysdeps/sh/crti.S: Likewise.
27233         * sysdeps/sh/crtn.S: Likewise.
27234         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
27236         [BZ #13673]
27237         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
27238         with URL.
27239         * locale/programs/locfile-kw.gperf: Likewise.
27240         * locale/programs/charmap-kw.h: Regenerated.
27241         * locale/programs/locfile-kw.h: Likewise.
27243         [BZ #13673]
27244         * intl/plural.y: Replace FSF snail mail address with URL.
27245         * intl/plural.c: Regenerated.
27247 2012-03-09  Richard Henderson  <rth@twiddle.net>
27249         * include/math_private.h: Remove file.
27250         * math/math_private.h: Move file ...
27251         * sysdeps/generic/math_private.h: ... here.
27253         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
27254         * sysdeps/powerpc/fpu/math_private.h: Likewise.
27255         * sysdeps/x86_64/fpu/math_private.h: Likewise.
27257         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
27258         and <math_private.h>.
27259         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
27260         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
27261         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
27262         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
27263         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
27264         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
27265         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
27266         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
27267         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
27268         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
27269         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
27270         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
27271         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
27272         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
27273         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
27274         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
27275         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
27276         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
27277         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
27278         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
27279         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
27280         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
27281         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
27282         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
27283         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
27284         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
27285         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
27286         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
27287         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
27288         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
27289         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
27290         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
27291         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
27292         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
27293         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
27294         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
27295         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
27296         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
27297         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
27298         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
27299         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
27300         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
27301         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
27302         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
27303         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
27304         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
27305         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
27306         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
27307         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
27308         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
27309         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
27310         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
27311         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
27312         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
27313         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
27314         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
27315         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
27316         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
27317         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
27318         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
27319         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
27320         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
27321         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
27322         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
27323         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
27324         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
27325         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
27326         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
27327         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
27328         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
27329         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
27330         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
27331         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
27332         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
27333         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
27334         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
27335         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
27336         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
27337         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
27338         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
27339         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
27340         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
27341         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
27342         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
27343         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
27344         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
27345         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
27346         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
27347         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
27348         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
27349         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
27350         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
27351         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
27352         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
27353         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
27354         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
27355         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
27356         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
27357         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
27358         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
27359         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
27360         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
27361         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
27362         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
27363         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
27364         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
27365         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
27366         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
27367         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
27368         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
27369         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
27370         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
27371         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
27372         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
27373         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
27374         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
27375         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
27376         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
27377         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
27378         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
27379         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
27380         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
27381         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
27382         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
27383         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
27384         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
27385         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
27386         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
27387         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
27388         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
27389         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
27390         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
27391         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
27392         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
27393         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
27394         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
27395         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
27396         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
27397         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
27398         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
27399         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
27400         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
27401         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
27402         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
27403         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
27404         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
27405         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
27406         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
27407         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
27408         * sysdeps/ieee754/k_standard.c: Likewise.
27409         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
27410         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
27411         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
27412         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
27413         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
27414         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
27415         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
27416         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
27417         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
27418         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
27419         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
27420         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
27421         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
27422         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
27423         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
27424         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
27425         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
27426         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
27427         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
27428         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
27429         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
27430         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
27431         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
27432         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
27433         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
27434         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
27435         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
27436         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
27437         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
27438         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
27439         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
27440         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
27441         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
27442         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
27443         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
27444         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
27445         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
27446         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
27447         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
27448         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
27449         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
27450         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
27451         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
27452         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
27453         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
27454         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
27455         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
27456         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
27457         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
27458         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
27459         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
27460         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
27461         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
27462         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
27463         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
27464         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
27465         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
27466         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
27467         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
27468         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
27469         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
27470         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
27471         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
27472         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
27473         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
27474         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
27475         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
27476         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
27477         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
27478         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
27479         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
27480         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
27481         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
27482         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
27483         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
27484         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
27485         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
27486         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
27487         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27488         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
27489         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
27490         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
27491         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
27492         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
27493         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
27494         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
27495         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
27496         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
27497         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
27498         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
27499         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
27500         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
27501         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
27502         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
27503         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
27504         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
27505         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
27506         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
27507         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
27508         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
27509         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
27510         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
27511         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
27512         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
27513         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
27514         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
27515         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
27516         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
27517         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
27518         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
27519         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
27520         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
27521         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
27522         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
27523         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
27524         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
27525         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
27526         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
27527         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
27528         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
27529         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
27530         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
27531         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
27532         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
27533         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
27534         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
27535         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
27536         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
27537         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
27538         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
27539         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
27540         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
27541         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
27542         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
27543         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
27544         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
27545         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
27546         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
27547         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
27548         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
27549         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
27550         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
27551         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
27552         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
27553         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
27554         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
27555         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
27556         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
27557         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
27558         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
27559         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
27560         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
27561         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
27562         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
27563         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
27564         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
27565         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
27566         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
27567         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
27568         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
27569         * sysdeps/ieee754/s_lib_version.c: Likewise.
27570         * sysdeps/ieee754/s_matherr.c: Likewise.
27571         * sysdeps/ieee754/s_signgam.c: Likewise.
27572         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
27573         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
27574         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
27575         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
27576         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
27577         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
27578         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
27579         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
27580         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
27581         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
27582         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
27583         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
27584         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
27585         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
27586         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
27587         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
27588         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
27589         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
27590         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
27591         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
27592         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
27594 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
27596         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
27597         * sunrpc/rpc_main.c: Likewise.
27598         * sunrpc/rpc_svcout.c: Likewise.
27600 2012-03-09  David S. Miller  <davem@davemloft.net>
27602         * include/math_private.h: New file.
27604 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
27606         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
27607         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
27608         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
27609         from <bits/socket_type.h>.
27610         (enum __socket_type): Don't define here.
27611         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
27612         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
27613         bits/socket_type.h.
27615         [BZ #13566]
27616         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
27617         checking __USE_GNU.
27619         * Makerules ($(inst_includedir)/%.h): New rule.
27620         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
27621         (install-others): Remove variable setting.
27622         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
27624 2012-03-08  Richard Henderson  <rth@twiddle.net>
27626         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
27627         from macro to inline function; merge with the
27628         !__LIBC_INTERNAL_MATH_INLINES version.
27629         (__ieee754_sqrtf): Likewise.
27631         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
27632         to inline function.
27633         (__rintf, __floor, __floorf): Likewise.
27635         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
27636         macro to inline function.
27637         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
27639         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
27640         not <math/math_private.h>.
27642 2012-03-08  David S. Miller  <davem@davemloft.net>
27644         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
27645         copyright year.
27646         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
27648 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
27650         * resolv/gai_misc.c (handle_requests): Fix struct timespec
27651         normalization.
27652         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
27653         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
27655 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
27657         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
27658         be defined individually, they must be defined as a block.  Define
27659         S for printing a string instead of hidint the different by using a
27660         macro for adding the 'l'.
27661         * stdio-common/tst-fphex-wide.c: Adjust.
27663 2012-03-07  Marek Polacek  <polacek@redhat.com>
27665         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
27667 2012-03-08  Marek Polacek  <polacek@redhat.com>
27669         [BZ #13806]
27670         * stdio-common/Makefile (tests): Add tst-fphex-wide.
27671         * stdio-common/tst-fphex.c: Define a few macros to make the
27672         test reusable.  Use them.
27673         * stdio-common/tst-fphex-wide.c: New file.
27675 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
27677         [BZ #6911]
27678         * manual/macros.texi (gnusystems): New macro.
27679         (nongnusystems): Likewise.
27680         (gnulinuxhurdsystems): Likewise.
27681         (gnuhurdsystems): Likewise..
27682         (gnulinuxsystems): Likewise.
27683         * manual/charset.texi: Use new macros or @theglibc{} to refer to
27684         variants of the GNU system, not "GNU system".
27685         * manual/conf.texi: Likewise.
27686         * manual/errno.texi: Likewise.  Update example of errno macro
27687         expansion.
27688         * manual/filesys.texi: Likewise.
27689         (getumask): Document as specific to GNU/Hurd.
27690         * manual/install.texi: Likewise.  Reword some references to
27691         GNU/Linux.
27692         * manual/intro.texi: Likewise.
27693         * manual/io.texi: Likewise.
27694         (File Name Portability): Detail which constraints are inapplicable
27695         to all GNU systems and which are only inapplicable to GNU/Hurd.
27696         * manual/job.texi: Likewise.
27697         * manual/llio.texi: Likewise.
27698         (O_NOCTTY): Document as present on GNU/Linux.
27699         * manual/maint.texi: Likewise.
27700         * manual/memory.texi: Likewise.
27701         * manual/pattern.texi: Likewise.
27702         * manual/pipe.texi: Likewise.
27703         * manual/process.texi: Likewise.
27704         * manual/resource.texi: Likewise.
27705         (RUSAGE_CHILDREN): Remove statement about specifying a particular
27706         child on GNU/Hurd.
27707         * manual/setjmp.texi: Likewise.
27708         * manual/signal.texi: Likewise.
27709         * manual/startup.texi: Likewise.
27710         * manual/stdio.texi: Likewise.
27711         * manual/terminal.texi: Likewise.
27712         (ONLCR): Document as POSIX.
27713         (OXTABS): Document availability on GNU/Linux as XTABS.
27714         (ONOEOT): Document availability separately from other bits.
27715         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
27716         * manual/time.texi: Likewise.
27717         * manual/users.texi: Likewise.
27718         * INSTALL: Regenerated.
27719         * sysdeps/gnu/errlist.c: Regenerated.
27721         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
27722         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
27723         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
27724         puts.
27725         * configure: Regenerated.
27727 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
27729         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
27730         default includes instead of AC_HEADER_CHECK.
27731         * sysdeps/i386/configure: Regenerated.
27733         [BZ #10716]
27734         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
27735         * math/s_cacoshf.c (__cacoshf): Likewise.
27736         * math/s_cacoshl.c (__cacoshl): Likewise.
27737         * math/s_casinh.c (__casinh): Set signs of result from argument.
27738         * math/s_casinhf.c (__casinhf): Likewise.
27739         * math/s_casinhl.c (__casinhl): Likewise.
27740         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
27741         (casinh_test): Add more tests.
27742         * sysdeps/i386/fpu/libm-test-ulps: Update.
27743         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27745 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
27747         * po/zh_TW.po: Update from translation team.
27749         * login/Makefile (distribute): Remove variable.
27750         * catgets/Makefile: Likewise.
27751         * mach/Makefile: Likewise.
27752         * malloc/Makefile: Likewise.
27753         * misc/Makefile: Likewise.
27754         * iconv/Makefile: Likewise.
27755         * nscd/Makefile: Likewise.
27756         * hurd/Makefile: Likewise.
27757         * manual/Makefile: Likewise.
27758         * locale/Makefile: Likewise.
27759         * intl/Makefile: Likewise.
27760         * conform/Makefile: Likewise.
27761         * nss/Makefile: Likewise.
27762         * time/Makefile: Likewise.
27763         * soft-fp/Makefile: Likewise.
27764         * dirent/Makefile: Likewise.
27765         * gmon/Makefile: Likewise.
27766         * po/Makefile: Likewise.
27767         * rt/Makefile: Likewise.
27768         * socket/Makefile: Likewise.
27769         * math/Makefile: Likewise.
27770         * signal/Makefile: Likewise.
27771         * debug/Makefile: Likewise.
27772         * elf/Makefile: Likewise.
27773         * timezone/Makefile: Likewise.
27774         * stdlib/Makefile: Likewise.
27775         * iconvdata/Makefile: Likewise.
27776         * sunrpc/Makefile: Likewise.
27777         * io/Makefile: Likewise.
27778         * argp/Makefile: Likewise.
27779         * inet/Makefile: Likewise.
27780         * hesiod/Makefile: Likewise.
27781         * grp/Makefile: Likewise.
27782         * csu/Makefile: Likewise.
27783         * wctype/Makefile: Likewise.
27784         * crypt/Makefile: Likewise.
27785         * libio/Makefile: Likewise.
27786         * string/Makefile: Likewise.
27787         * nis/Makefile: Likewise.
27788         * resolv/Makefile: Likewise.
27789         * stdio-common/Makefile: Likewise.
27790         * wcsmbs/Makefile: Likewise.
27791         * dlfcn/Makefile: Likewise.
27792         * posix/Makefile: Likewise.
27794         [BZ #6959]
27795         * timezone/Makefile: Don't install timezone files, just the programs
27796         and scripts.
27798 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
27800         * nss/databases.def: Add missing gshadow entry.
27802         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
27804 2012-03-06  Marek Polacek  <polacek@redhat.com>
27806         [BZ #13726]
27807         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
27808         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
27809         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
27810         * stdio-common/tst-long-dbl-fphex.c: New file.
27812 2012-03-06  David S. Miller  <davem@davemloft.net>
27814         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
27815         (set_obp_int): New function.
27816         (get_obp_int): New function.
27817         (__get_clockfreq_via_dev_openprom): Likewise.
27818         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
27819         Avoid unused variable warnings on 'val' and use builtin_expect.
27820         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
27821         __builtin_expect.
27822         (INLINE_CLONE_SYSCALL): Likewise.
27824 2012-03-05  David S. Miller  <davem@davemloft.net>
27826         * sysdeps/sparc/fpu/libm-test-ulps: Update.
27828 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
27830         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27832         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
27833         only for |x| >= 40.
27834         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
27836 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
27838         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
27839         Replace gettimeofday with __vdso_gettimeofday.
27841         * sysdeps/unix/sysv/linux/x86_64/init-first.c
27842         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
27843         __vdso_clock_gettime and __vdso_getcpu.
27845         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
27846         time with __vdso_time.
27848 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
27850         * manual/lang.texi (size_t): Note types to which size_t may be
27851         equivalent with the GNU C Library, but do not describe when
27852         differences between them are significant.
27854 2012-03-05  Andreas Jaeger  <aj@suse.de>
27856         * sysdeps/i386/fpu/libm-test-ulps: Update.
27858 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
27860         [BZ #3976]
27861         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
27862         (__ieee754_pow): Save and restore rounding mode and use
27863         round-to-nearest for main computations.
27864         * math/libm-test.inc (pow_test_tonearest): New function.
27865         (pow_test_towardzero): Likewise.
27866         (pow_test_downward): Likewise.
27867         (pow_test_upward): Likewise.
27868         (main): Call the new functions.
27869         * sysdeps/i386/fpu/libm-test-ulps: Update.
27870         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27872         [BZ #3976]
27873         * math/libm-test.inc (cosh_test_tonearest): New function.
27874         (cosh_test_towardzero): Likewise.
27875         (cosh_test_downward): Likewise.
27876         (cosh_test_upward): Likewise.
27877         (sinh_test_tonearest): Likewise.
27878         (sinh_test_towardzero): Likewise.
27879         (sinh_test_downward): Likewise.
27880         (sinh_test_upward): Likewise.
27881         (main): Call the new functions.
27882         * sysdeps/i386/fpu/libm-test-ulps: Update.
27883         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27885 2012-03-05  Tom de Vries  <tom@codesourcery.com>
27887         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
27888         default stack guard is set in last bytes.
27889         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
27891 2012-03-05  Kees Cook  <keescook@chromium.org>
27893         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
27895         [BZ #13656]
27896         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
27897         possibly allocate from heap instead of stack.
27898         * stdio-common/bug-vfprintf-nargs.c: New file.
27899         * stdio-common/Makefile (tests): Add nargs overflow test.
27901 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
27903         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
27905 2012-03-03  Marek Polacek  <polacek@redhat.com>
27907         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
27908         * math/math_private.h: Likewise.
27909         * stdlib/tst-strtod.c: Likewise.
27910         * sysdeps/i386/i486/bits/atomic.h: Likewise.
27911         * sysdeps/x86_64/bits/atomic.h: Likewise.
27913 2012-03-02  David S. Miller  <davem@davemloft.net>
27915         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
27916         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
27917         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
27918         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
27919         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
27920         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
27921         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
27922         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
27924 2012-03-02  Roland McGrath  <roland@hack.frob.com>
27926         [BZ #13792]
27927         * manual/examples/README: New file, says the example source files
27928         can be used under GPL>=2.
27929         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
27930         line containing just "*/".
27931         * manual/examples/add.c: Add copyright header (GPL>=2).
27932         * manual/examples/argp-ex1.c: Likewise.
27933         * manual/examples/argp-ex2.c: Likewise.
27934         * manual/examples/argp-ex3.c: Likewise.
27935         * manual/examples/argp-ex4.c: Likewise.
27936         * manual/examples/atexit.c: Likewise.
27937         * manual/examples/db.c: Likewise.
27938         * manual/examples/dir.c: Likewise.
27939         * manual/examples/dir2.c: Likewise.
27940         * manual/examples/execinfo.c: Likewise.
27941         * manual/examples/filecli.c: Likewise.
27942         * manual/examples/filesrv.c: Likewise.
27943         * manual/examples/fmtmsgexpl.c: Likewise.
27944         * manual/examples/genpass.c: Likewise.
27945         * manual/examples/inetcli.c: Likewise.
27946         * manual/examples/inetsrv.c: Likewise.
27947         * manual/examples/isockad.c: Likewise.
27948         * manual/examples/longopt.c: Likewise.
27949         * manual/examples/memopen.c: Likewise.
27950         * manual/examples/memstrm.c: Likewise.
27951         * manual/examples/mkfsock.c: Likewise.
27952         * manual/examples/mkisock.c: Likewise.
27953         * manual/examples/mygetpass.c: Likewise.
27954         * manual/examples/pipe.c: Likewise.
27955         * manual/examples/popen.c: Likewise.
27956         * manual/examples/rprintf.c: Likewise.
27957         * manual/examples/search.c: Likewise.
27958         * manual/examples/select.c: Likewise.
27959         * manual/examples/setjmp.c: Likewise.
27960         * manual/examples/sigh1.c: Likewise.
27961         * manual/examples/sigusr.c: Likewise.
27962         * manual/examples/stpcpy.c: Likewise.
27963         * manual/examples/strdupa.c: Likewise.
27964         * manual/examples/strftim.c: Likewise.
27965         * manual/examples/strncat.c: Likewise.
27966         * manual/examples/subopt.c: Likewise.
27967         * manual/examples/swapcontext.c: Likewise.
27968         * manual/examples/termios.c: Likewise.
27969         * manual/examples/testopt.c: Likewise.
27970         * manual/examples/testpass.c: Likewise.
27971         * manual/examples/timeval_subtract.c: Likewise.
27973         [BZ #13792]
27974         * manual/time.texi (Elapsed Time): Move timeval_subtract example
27975         function to ...
27976         * manual/timeval_subtract.c.texi: ... here, new file.
27978 2012-03-02  David S. Miller  <davem@davemloft.net>
27980         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
27982 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
27984         [BZ #3976]
27985         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
27986         (__sin): Save and restore rounding mode and use round-to-nearest
27987         for all computations.
27988         (__cos): Save and restore rounding mode and use round-to-nearest
27989         for all computations.
27990         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
27991         <fenv.h>.
27992         (tan): Save and restore rounding mode and use round-to-nearest for
27993         all computations.
27994         * math/libm-test.inc (cos_test_tonearest): New function.
27995         (cos_test_towardzero): Likewise.
27996         (cos_test_downward): Likewise.
27997         (cos_test_upward): Likewise.
27998         (sin_test_tonearest): Likewise.
27999         (sin_test_towardzero): Likewise.
28000         (sin_test_downward): Likewise.
28001         (sin_test_upward): Likewise.
28002         (tan_test_tonearest): Likewise.
28003         (tan_test_towardzero): Likewise.
28004         (tan_test_downward): Likewise.
28005         (tan_test_upward): Likewise.
28006         (main): Call the new functions.
28007         * sysdeps/i386/fpu/libm-test-ulps: Update.
28008         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28010         [BZ #10135]
28011         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
28012         small n, then large n, before computing and testing k+n.
28013         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
28014         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
28015         Likewise.
28016         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
28017         Likewise.
28018         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
28019         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
28020         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
28021         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
28022         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
28023         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
28024         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
28025         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
28026         * math/libm-test.inc (scalbn_test): Add more tests.
28027         (scalbln_test): Likewise.
28029         * manual/filesys.texi (mode_t): Describe constraints on size and
28030         signedness, not exact equivalence to a particular type.
28031         (ino_t): Likewise.
28032         (ino64_t): Likewise.
28033         (dev_t): Likewise.
28034         (nlink_t): Likewise.
28035         (blkcnt_t): Likewise.
28036         (blkcnt64_t): Likewise.
28037         * manual/llio.texi (off_t): Likewise.
28039         [BZ #3976]
28040         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
28041         (__ieee754_exp): Save and restore rounding mode and use
28042         round-to-nearest for all computations.
28043         * math/libm-test.inc (exp_test_tonearest): New function.
28044         (exp_test_towardzero): Likewise.
28045         (exp_test_downward): Likewise.
28046         (exp_test_upward): Likewise.
28047         (main): Call the new functions.
28048         * sysdeps/i386/fpu/libm-test-ulps: Update.
28049         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28051 2012-03-01  Chris Demetriou  <cgd@google.com>
28053         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
28054         have predictable order.
28056 2012-03-01  David S. Miller  <davem@davemloft.net>
28058         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
28060         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
28061         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
28062         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
28063         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
28065         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
28066         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
28067         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
28068         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
28069         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
28070         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
28071         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
28072         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
28073         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
28075         * sysdeps/sparc/fpu/libm-test-ulps: Update.
28077         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
28078         * sysdeps/sparc/fpu/libm-test-ulps: to here.
28079         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
28081         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
28082         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
28083         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28084         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
28085         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
28086         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
28087         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
28088         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
28089         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28090         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
28091         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
28092         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28093         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
28094         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28095         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28096         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28097         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
28098         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
28099         * sysdeps/sparc/elf/configure: Regenerated.
28101 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
28103         * configure.in (AS, LD): Require binutils 2.20 or later.
28104         * configure: Regenerated.
28105         * manual/install.texi (Tools for Compilation): Give binutils 2.20
28106         as required minimum version.
28107         * INSTALL: Regenerated.
28109         [BZ #2541]
28110         [BZ #4108]
28111         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
28112         before squaring exponent.
28113         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
28114         bottom long double and 27 bits of top long double before squaring
28115         exponent.
28116         * math/libm-test.inc (erfc_test): Add more tests.
28117         * sysdeps/i386/fpu/libm-test-ulps: Update.
28118         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28119         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28121 2012-03-01  Kai Tietz  <ktietz@redhat.com>
28123         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
28124         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
28125         containing bit-fields.
28126         * soft-fp/extended.h (_FP_UNION_E): Likewise.
28127         * soft-fp/single.h (_FP_UNION_S): Likewise.
28128         * soft-fp/double.h (_FP_UNION_D): Likewise.
28130 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
28132         [BZ #13786]
28133         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
28134         not include ../strcmp.S.
28135         [USE_AS_STRNCASECMP_L]: Likewise.
28136         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
28137         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
28138         * sysdeps/i386/i686/multiarch/strncase_l-c.c
28139         (__strncasecmp_l_ia32): Define as alias to
28140         __strncasecmp_l_nonascii.
28142         [BZ #5794]
28143         * math/libm-test.inc (expm1_test): Add test for bug 5794.
28144         * sysdeps/i386/fpu/libm-test-ulps: Update.
28145         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28147         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
28148         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28150 2012-02-29  Jeff Law  <law@redhat.com>
28152         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
28153         out of bounds read.
28155 2012-02-29  Marek Polacek  <polacek@redhat.com>
28157         [BZ #13706]
28158         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
28159         * elf/Makefile: Add rules to run tst-unused-dep.out.
28161 2012-02-28  David S. Miller  <davem@davemloft.net>
28163         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
28164         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
28165         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
28166         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
28167         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
28168         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
28170 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
28172         * math/libm-test.inc (llround_test): Move one test from
28173         lround_test.  Use TEST_f_L in moved test.
28174         (lround_test): Move misplaced test to llround_test.  Add testcase
28175         from bug 2561.
28177 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
28179         * sysdeps/x86_64/fpu/e_expf.S: New file.
28180         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
28182 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
28184         [BZ #13637]
28185         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
28186         of remain_len that may cause incomplete multi-byte character and
28187         false match.
28188         * posix/bug-regex33.c: New file.
28189         * posix/Makefile (tests): Add bug-regex33.
28191 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
28193         * manual/macros.texi: New file.
28194         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
28195         * manual/libc.texinfo: Include macros.texi.
28196         * manual/creatute.texi: Likewise.
28197         * manual/install.texi: Likewise.
28198         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
28199         @glibcadj{} in references to the GNU C Library.
28200         * manual/charset.texi: Likewise.
28201         * manual/conf.texi: Likewise.
28202         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
28203         when not using those macros.
28204         * manual/creature.texi: Likewise.
28205         * manual/crypt.texi: Likewise.
28206         * manual/errno.texi: Likewise.
28207         * manual/filesys.texi: Likewise.
28208         * manual/header.texi: Likewise.
28209         * manual/install.texi: Likewise.
28210         * manual/intro.texi: Likewise.
28211         * manual/io.texi: Likewise.
28212         * manual/job.texi: Likewise.
28213         * manual/lang.texi: Likewise.
28214         * manual/libc.texiinfo: Likewise.
28215         * manual/llio.texi: Likewise.
28216         * manual/locale.texi: Likewise.
28217         * manual/maint.texi: Likewise.
28218         * manual/math.texi: Likewise.
28219         * manual/memory.texi: Likewise.
28220         * manual/message.texi: Likewise.
28221         * manual/nss.texi: Likewise.
28222         * manual/pattern.texi: Likewise.
28223         * manual/process.texi: Likewise.
28224         * manual/resource.texi: Likewise.
28225         * manual/search.texi: Likewise.
28226         * manual/setjmp.texi: Likewise.
28227         * manual/signal.texi: Likewise.
28228         * manual/socket.texi: Likewise.
28229         * manual/startup.texi: Likewise.
28230         * manual/stdio.texi: Likewise.
28231         * manual/string.texi: Likewise.
28232         * manual/sysinfo.texi: Likewise.
28233         * manual/syslog.texi: Likewise.
28234         * manual/terminal.texi: Likewise.
28235         * manual/time.texi: Likewise.
28236         * manual/users.texi: Likewise.
28237         * INSTALL: Regenerated.
28238         * NOTES: Regenerated.
28239         * sysdeps/gnu/errlist.c: Regenerated.
28241 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
28243         * include/dirent.h: Include <dirstream.h> before
28244         <dirent/dirent.h>.
28246 2012-02-28  David S. Miller  <davem@davemloft.net>
28248         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
28249         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
28250         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
28251         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
28253 2012-02-27  David S. Miller  <davem@davemloft.net>
28255         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
28256         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
28257         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
28258         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
28260         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
28261         frame pointer instead of stack pointer relative arg slot.
28262         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28263         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28264         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28266 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
28268         [BZ #3992]
28269         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
28271 2012-02-27  David S. Miller  <davem@davemloft.net>
28273         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
28274         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
28275         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
28276         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
28277         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
28278         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
28279         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
28280         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
28282 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
28284         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
28285         later.  Allow versions 5-9.
28286         * configure: Regenerated.
28287         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
28288         required minimum version and 4.6 as recommended version.  Do not
28289         mention bugs in GCC 2.7 and 2.8.
28290         * INSTALL: Regenerated.
28292 2012-02-27  David S. Miller  <davem@davemloft.net>
28294         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
28295         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
28296         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
28297         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
28298         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
28299         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
28300         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
28301         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
28303         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
28304         manipulate bits before adding and subtracting TWO112[sx].
28305         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
28307 2012-02-27  Roland McGrath  <roland@hack.frob.com>
28309         [BZ #13775]
28310         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
28311         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
28312         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
28313         being in POSIX, because they are in 1003.1-2008.
28315         * rt/tst-aio.c: Include <fcntl.h>.
28316         * rt/tst-aio7.c: Likewise.
28317         * rt/tst-aio64.c: Likewise.
28319         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
28321 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
28323         * manual/install.texi (--with-headers): Describe headers as
28324         interface headers, not private headers.
28325         (Specific advice for GNU/Linux systems): Describe use of headers
28326         from "make headers_install", not private headers from older
28327         kernels.
28328         * INSTALL: Regenerated.
28329         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
28330         Change to 2.6.19.
28331         * sysdeps/unix/sysv/linux/configure: Regenerated.
28333         * manual/llio.texi (fclean): Remove documentation.
28335         * manual/Makefile (libc-texi-generated): New variable.  Include
28336         version.texi.
28337         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
28338         $(libc-texi-generated), not duplicated list of files.
28339         (version.texi, stamp-version): New rules.
28340         (realclean): Remove $(libc-texi-generated), not individual files
28341         from that list.  Do not remove dir-add.texinfo.
28342         * manual/libc.texinfo: Comment out uses of edition numbers and
28343         references to printed manual.  Remove last-updated dates.
28344         (EDITION): Comment out.
28345         (ISBN): Likewise.
28346         (VERSION, UPDATED): Remove.
28347         (version.texi): Include.
28349 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
28351         * sysdeps/posix/spawni.c: Include <signal.h>.
28352         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
28353         * sysdeps/pthread/aio_fsync.c: Likewise.
28355 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
28357         * conform/Makefile (tests): Run only when not cross-compiling and
28358         when fast-check is not defined.
28360         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
28361         * conform/data/limits.h-data: Fixes for POSIX2008.
28362         * conform/run-conformtest.sh: Run all tests.
28363         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
28364         headers.
28365         * include/bits/dlfcn.h: Likewise.
28366         * include/langinfo.h: Likewise.
28367         * include/monetary.h: Likewise.
28368         * include/sys/poll.h: Likewise.
28370         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
28371         for __USE_GNU.
28372         * posix/spawn.h: Define __need_sigset_t.
28373         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
28374         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
28375         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
28376         to get sigevent_t only.
28377         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
28378         only for __USE_GNU.
28379         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
28380         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
28381         process_vm_writev only for __USE_GNU.
28382         * termios/termios.h: Declare tcgetsid also for POSIX2008.
28384         * conform/Makefile: For now ignore errors from run-conformtest.
28385         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
28386         POSIX to avoid namespace pollution.  Don't prepend headers.
28387         * conform/data/aio.h-data: Fixes for POSIX testing.
28388         * conform/data/fcntl.h-data: Likewise.
28389         * conform/data/glob.h-data: Likewise.
28390         * conform/data/grp.h-data: Likewise.
28391         * conform/data/pthread.h-data: Likewise.
28392         * conform/data/pwd.h-data: Likewise.
28393         * conform/data/signal.h-data: Likewise.
28394         * conform/data/spawn.h-data: Likewise.
28395         * conform/data/stdio.h-data: Likewise.
28396         * conform/data/stdlib.h-data: Likewise.
28397         * conform/data/stropts.h-data: Likewise.
28398         * conform/data/sys/mman.h-data: Likewise.
28399         * conform/data/sys/stat.h-data: Likewise.
28400         * conform/data/sys/types.h-data: Likewise.
28401         * conform/data/sys/wait.h-data: Likewise.
28402         * conform/data/time.h-data: Likewise.
28403         * conform/data/unistd.h-data: Likewise.
28404         * conform/data/utime.h-data: Likewise.
28406         * io/sys/stat.h: fchmod was always in POSIX.
28407         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
28408         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
28409         * rt/aio.h: Define __need_timespec before including <time.h>.
28410         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
28411         struct.  Add forward declaration of pthread_attr_t and use it in
28412         sigevent.
28413         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
28414         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
28415         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
28416         always remove CLK_TCK definition.
28418 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
28420         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
28422 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
28424         * conform/run-conformtest.sh: New file.
28425         * conform/Makefile: Run run-conformtest for tests.
28426         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
28427         support.
28429         * conform/data/uchar.h-data: New file.
28430         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
28431         * conform/data/arpa/inet.h-data: Likewise.
28432         * conform/data/assert.h-data: Likewise.
28433         * conform/data/complex.h-data: Likewise.
28434         * conform/data/cpio.h-data: Likewise.
28435         * conform/data/ctype.h-data: Likewise.
28436         * conform/data/dirent.h-data: Likewise.
28437         * conform/data/dlfcn.h-data: Likewise.
28438         * conform/data/errno.h-data: Likewise.
28439         * conform/data/fcntl.h-data: Likewise.
28440         * conform/data/float.h-data: Likewise.
28441         * conform/data/fmtmsg.h-data: Likewise.
28442         * conform/data/fnmatch.h-data: Likewise.
28443         * conform/data/ftw.h-data: Likewise.
28444         * conform/data/glob.h-data: Likewise.
28445         * conform/data/grp.h-data: Likewise.
28446         * conform/data/iconv.h-data: Likewise.
28447         * conform/data/inttypes.h-data: Likewise.
28448         * conform/data/langinfo.h-data: Likewise.
28449         * conform/data/libgen.h-data: Likewise.
28450         * conform/data/limits.h-data: Likewise.
28451         * conform/data/locale.h-data: Likewise.
28452         * conform/data/math.h-data: Likewise.
28453         * conform/data/monetary.h-data: Likewise.
28454         * conform/data/mqueue.h-data: Likewise.
28455         * conform/data/ndbm.h-data: Likewise.
28456         * conform/data/net/if.h-data: Likewise.
28457         * conform/data/netdb.h-data: Likewise.
28458         * conform/data/netinet/in.h-data: Likewise.
28459         * conform/data/nl_types.h-data: Likewise.
28460         * conform/data/poll.h-data: Likewise.
28461         * conform/data/pthread.h-data: Likewise.
28462         * conform/data/pwd.h-data: Likewise.
28463         * conform/data/regex.h-data: Likewise.
28464         * conform/data/sched.h-data: Likewise.
28465         * conform/data/search.h-data: Likewise.
28466         * conform/data/semaphore.h-data: Likewise.
28467         * conform/data/setjmp.h-data: Likewise.
28468         * conform/data/signal.h-data: Likewise.
28469         * conform/data/spawn.h-data: Likewise.
28470         * conform/data/stdarg.h-data: Likewise.
28471         * conform/data/stdio.h-data: Likewise.
28472         * conform/data/stdlib.h-data: Likewise.
28473         * conform/data/string.h-data: Likewise.
28474         * conform/data/strings.h-data: Likewise.
28475         * conform/data/stropts.h-data: Likewise.
28476         * conform/data/sys/ipc.h-data: Likewise.
28477         * conform/data/sys/mman.h-data: Likewise.
28478         * conform/data/sys/msg.h-data: Likewise.
28479         * conform/data/sys/resource.h-data: Likewise.
28480         * conform/data/sys/select.h-data: Likewise.
28481         * conform/data/sys/sem.h-data: Likewise.
28482         * conform/data/sys/shm.h-data: Likewise.
28483         * conform/data/sys/socket.h-data: Likewise.
28484         * conform/data/sys/stat.h-data: Likewise.
28485         * conform/data/sys/statvfs.h-data: Likewise.
28486         * conform/data/sys/time.h-data: Likewise.
28487         * conform/data/sys/timeb.h-data: Likewise.
28488         * conform/data/sys/times.h-data: Likewise.
28489         * conform/data/sys/types.h-data: Likewise.
28490         * conform/data/sys/uio.h-data: Likewise.
28491         * conform/data/sys/un.h-data: Likewise.
28492         * conform/data/sys/utsname.h-data: Likewise.
28493         * conform/data/sys/wait.h-data: Likewise.
28494         * conform/data/syslog.h-data: Likewise.
28495         * conform/data/tar.h-data: Likewise.
28496         * conform/data/termios.h-data: Likewise.
28497         * conform/data/utime.h-data: Likewise.
28498         * conform/data/utmpx.h-data: Likewise.
28499         * conform/data/varargs.h-data: Likewise.
28500         * conform/data/wchar.h-data: Likewise.
28501         * conform/data/wctype.h-data: Likewise.
28502         * conform/data/wordexp.h-data: Likewise.
28504         * include/stropts.h: New file.
28505         * include/uchar.h: New file.
28506         * include/aio.h: Changes to allow conformtest.pl to use the headers.
28507         * include/assert.h: Likewise.
28508         * include/ctype.h: Likewise.
28509         * include/dirent.h: Likewise.
28510         * include/dlfcn.h: Likewise.
28511         * include/fcntl.h: Likewise.
28512         * include/fnmatch.h: Likewise.
28513         * include/glob.h: Likewise.
28514         * include/grp.h: Likewise.
28515         * include/libio.h: Likewise.
28516         * include/locale.h: Likewise.
28517         * include/math.h: Likewise.
28518         * include/net/if.h: Likewise.
28519         * include/netdb.h: Likewise.
28520         * include/netinet/in.h: Likewise.
28521         * include/pthread.h: Likewise.
28522         * include/pwd.h: Likewise.
28523         * include/regex.h: Likewise.
28524         * include/sched.h: Likewise.
28525         * include/search.h: Likewise.
28526         * include/setjmp.h: Likewise.
28527         * include/signal.h: Likewise.
28528         * include/stdio.h: Likewise.
28529         * include/stdlib.h: Likewise.
28530         * include/string.h: Likewise.
28531         * include/sys/cdefs.h: Likewise.
28532         * include/sys/mman.h: Likewise.
28533         * include/sys/msg.h: Likewise.
28534         * include/sys/resource.h: Likewise.
28535         * include/sys/select.h: Likewise.
28536         * include/sys/socket.h: Likewise.
28537         * include/sys/stat.h: Likewise.
28538         * include/sys/statvfs.h: Likewise.
28539         * include/sys/time.h: Likewise.
28540         * include/sys/times.h: Likewise.
28541         * include/sys/uio.h: Likewise.
28542         * include/sys/utsname.h: Likewise.
28543         * include/sys/wait.h: Likewise.
28544         * include/termios.h: Likewise.
28545         * include/time.h: Likewise.
28546         * include/ulimit.h: Likewise.
28547         * include/unistd.h: Likewise.
28548         * include/utime.h: Likewise.
28549         * include/wchar.h: Likewise.
28550         * include/wctype.h: Likewise.
28551         * include/wordexp.h: Likewise.
28553         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
28555         * time/time.h: TIME_UTC must be a macro.
28556         Make timespec_get available for ISO C11 only as well.
28558 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
28560         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
28561         Reported by Peng Haitao <penght@cn.fujitsu.com>.
28563 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
28565         * configure.in: Use -o not -a in test for unsupported multi-arch.
28567 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
28569         * manual/texinfo.tex: Update to version 2012-01-19.16.
28571 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
28573         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
28575 2012-02-24  Roland McGrath  <roland@hack.frob.com>
28577         [BZ #13738]
28578         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
28579         * manual/fdl-1.3.texi: New file.
28580         * manual/fdl-1.1.texi: File removed.
28582         [BZ #13738]
28583         * manual/libc.texinfo (FDL_VERSION): New @set.
28584         Use it for mention of FDL in cover text.
28585         (Documentation License): Use it in @include file name.
28587 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
28588             Roland McGrath  <roland@hack.frob.com>
28590         [BZ #5461]
28591         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN,
28592         not LONG_LONG_MAX and LONG_LONG_MIN.
28593         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
28594         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
28595         name.
28596         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
28598 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
28600         [BZ #2547]
28601         [BZ #11365]
28602         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
28603         manipulate bits before adding and subtracting TWO23[sx].
28604         * math/libm-test.inc (nearbyint_test): Add more tests.
28606 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
28608         [BZ #2548]
28609         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
28610         bits before adding and subtracting TWO23[sx].
28611         * math/libm-test.inc (rint_test): Add more tests.
28612         (rint_test_tonearest): Likewise.
28613         (rint_test_towardzero): Likewise.
28614         (rint_test_downward): Likewise.
28615         (rint_test_upward: Likewise.
28617 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
28619         [BZ #10110]
28620         * include/stdc-predef.h: New file.  Extracted from features.h.
28621         * include/features.h: Include stdc-predef.h.
28622         * Makefile (headers): Add stdc-predef.h.
28623         * CONFORMANCE (Compiler limitations): Update.
28625 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
28627         * manual/libc.texinfo (VERSION, UPDATED): Revert.
28629 2012-02-21  David S. Miller  <davem@davemloft.net>
28631         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
28632         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28634 2012-02-20  David S. Miller  <davem@davemloft.net>
28636         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
28637         using a normal save/restore sequence, rather than allocating a
28638         dummy stack frame just to store a frame pointer and restore.
28639         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28641 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
28643         * manual/install.texi: Fix stray word in line-wrapped comment.
28645 2012-02-20  David S. Miller  <davem@davemloft.net>
28647         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
28648         both binutils and gcc support GOTDATA.
28650         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
28651         "rd %pc" in the PIC register setup sequences.
28653         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
28654         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
28655         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
28656         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
28657         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
28658         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
28659         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
28660         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
28661         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
28662         (SYSCALL_ERROR_HANDLER): Likewise.
28663         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
28664         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
28665         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
28666         (SYSCALL_ERROR_HANDLER): Likewise.
28668         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
28669         (HAVE_GCC_GOTDATA): New.
28670         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
28671         relocation support in both binutils and gcc.
28672         * sysdeps/sparc/elf/configure: Regenerate.
28674         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
28675         * sysdeps/sparc/sparc32/elf/configure: Delete.
28676         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
28677         * sysdeps/sparc/sparc64/elf/configure: Delete.
28678         * sysdeps/sparc/elf/configure.in: New file.
28679         * sysdeps/sparc/elf/configure: Generate.
28681         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
28682         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
28683         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
28684         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
28685         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
28687 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
28689         * manual/install.texi: Do not mention specific glibc version
28690         numbers.
28691         * manual/libc.texinfo (VERSION, UPDATED): Update.
28692         (@copying): Use @copyright{} and range of years.
28694 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
28696         [BZ #13695]
28697         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
28698         [crti.S not in sysdirs] (generated): Do not append.
28699         [crti.S not in sysdirs] (omit-deps): Likewise.
28700         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
28701         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
28702         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
28703         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
28704         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
28705         Likewise.
28706         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
28707         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
28708         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
28709         * csu/defs.awk: Remove file.
28710         * sysdeps/generic/initfini.c: Likewise.
28711         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
28712         variable.
28713         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
28714         Likewise.
28716 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
28718         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
28719         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
28720         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
28721         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
28722         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
28723         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
28724         <bits/epoll.h>.
28725         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
28726         (__EPOLL_PACKED): Define to empty if not defined by
28727         <bits/epoll.h>.
28728         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
28729         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28730         bits/epoll.h.
28732 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
28734         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
28735         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
28736         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
28737         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
28738         <bits/timerfd.h>.
28739         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
28740         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
28741         bits/timerfd.h.
28743 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
28745         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
28746         in C locale.
28747         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
28748         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
28749         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
28750         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28752 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
28754         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
28755         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
28757 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
28759         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
28760         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
28761         defined.
28762         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
28763         Likewise.
28764         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
28765         entry for 2.16.
28767 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
28769         * math/w_acos.c: Use non-signaling floating-point comparisons.
28770         * math/w_acosf.c: Likewise.
28771         * math/w_acosh.c: Likewise.
28772         * math/w_acoshf.c: Likewise.
28773         * math/w_acoshl.c: Likewise.
28774         * math/w_acosl.c: Likewise.
28775         * math/w_asin.c: Likewise.
28776         * math/w_asinf.c: Likewise.
28777         * math/w_asinl.c: Likewise.
28778         * math/w_atanh.c: Likewise.
28779         * math/w_atanhf.c: Likewise.
28780         * math/w_atanhl.c: Likewise.
28781         * math/w_exp2.c: Likewise.
28782         * math/w_exp2f.c: Likewise.
28783         * math/w_exp2l.c: Likewise.
28784         * math/w_j0.c: Likewise.
28785         * math/w_j0f.c: Likewise.
28786         * math/w_j0l.c: Likewise.
28787         * math/w_j1.c: Likewise.
28788         * math/w_j1f.c: Likewise.
28789         * math/w_j1l.c: Likewise.
28790         * math/w_jn.c: Likewise.
28791         * math/w_jnf.c: Likewise.
28792         * math/w_log.c: Likewise.
28793         * math/w_log10.c: Likewise.
28794         * math/w_log10f.c: Likewise.
28795         * math/w_log10l.c: Likewise.
28796         * math/w_log2.c: Likewise.
28797         * math/w_log2f.c: Likewise.
28798         * math/w_log2l.c: Likewise.
28799         * math/w_logf.c: Likewise.
28800         * math/w_logl.c: Likewise.
28801         * math/w_sqrt.c: Likewise.
28802         * math/w_sqrtf.c: Likewise.
28803         * math/w_sqrtl.c: Likewise.
28804         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
28805         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
28806         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
28807         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
28808         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
28810 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
28812         [BZ #9739]
28813         * manual/string.texi (strnlen): Use correct parameter name in
28814         equivalent expression.
28816 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
28818         [BZ #11174]
28819         * manual/users.texi (seteuid): Consistently use neweuid for
28820         argument name.
28822 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
28824         [BZ #13704]
28825         * manual/nss.texi (Services in the NSS configuration): Correct
28826         list of services in example configuration file.
28828 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
28830         [BZ #11322]
28831         * manual/arith.texi: Remove statements about negative zero
28832         behaving identically to zero.
28834 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
28836         [BZ #5993]
28837         * manual/install.texi: Do not document upgrading from libc5.
28839 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
28841         [BZ #4596]
28842         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
28844 2012-02-18  David S. Miller  <davem@davemloft.net>
28846         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
28847         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
28848         %o7 across the call.
28849         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
28850         instead.
28851         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
28852         SETUP_PIC_REG_LEAF.
28853         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
28854         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
28855         * sysdeps/sparc/crtn.S: Likewise.
28857 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
28859         * aout/Makefile: Remove.
28861 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
28863         [BZ #13058]
28864         * manual/examples/argp-ex1.c (main): Format definition in GNU
28865         style.
28866         * manual/examples/argp-ex2.c (main): Likewise.
28867         * manual/examples/argp-ex3.c (main): Likewise.
28868         * manual/examples/argp-ex4.c (main): Likewise.
28869         * manual/examples/longopt.c (main): Use new-style prototype
28870         definition.
28871         * manual/examples/strncat.c (main): Specify return type and use
28872         (void) for arguments.
28873         * manual/examples/subopt.c (main): Use char **argv argument.
28875 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
28877         [BZ #5077]
28878         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
28879         rounding modes.
28881 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
28883         [BZ #6907]
28884         * manual/string.texi (strchr): Change when strchrnul is
28885         recommended.
28887 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
28889         [BZ #174]
28890         * manual/locale.texi (setlocale): Document LOCPATH.
28892 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
28894         [BZ #10210]
28895         * manual/process.texi (execle): Move @dots{} before last argument.
28897 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
28899         [BZ #12047]
28900         * manual/charset.texi (Generic Charset Conversion): Fix typo
28901         (LC_TYPE -> LC_CTYPE).
28903 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
28905         [BZ #5805]
28906         * manual/arith.texi (scalbn): Use @var{} on parameter names.
28907         (scalbnf): Likewise.
28908         (scalbnl): Likewise.
28909         (scalbln): Likewise.
28910         (scalblnf): Likewise.
28911         (scalblnl): Likewise.
28912         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
28913         (vwarnx): Likewise.
28914         (verr): Likewise.
28915         (verrx): Likewise.
28916         * manual/filesys.texi (telldir): Use braces around return type.
28917         * manual/llio.texi (mmap): Add space after comma.
28918         (mmap64): Likewise.
28919         * manual/math.texi (jn): Use @var{} on parameter names.
28920         (jnf): Likewise.
28921         (jnl): Likewise.
28922         (yn): Likewise.
28923         (ynf): Likewise.
28924         (ynl): Likewise.
28925         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
28926         line.
28927         * manual/resource.texi (ulimit): Use @dots{} instead of literal
28928         "...".
28929         (sched_get_priority_min): Remove semicolon on @deftypefun line.
28930         (sched_get_priority_max): Likewise.
28931         * manual/signal.texi (sigvec): Add space after comma.
28932         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
28933         names.
28934         (if_indextoname): Likewise.
28935         (if_freenameindex): Likewise.
28936         (sendto): Use ',' instead of '.' in prototype.
28937         * manual/startup.texi (syscall): Use @dots{} instead of literal
28938         "...".
28939         * manual/stdio.texi (__fpending): Separate initial words of
28940         paragraph from @deftypefun line.
28941         * manual/syslog.texi (syslog): Use @dots{} instead of literal
28942         "...".
28943         (vsyslog): Use @var{} on parameter names.
28944         * manual/terminal.texi (stty): Use @var{} on parameter names.
28945         * manual/users.texi (getutmp): Use @var{} on parameter names.
28946         (getutmpx): Likewise.
28948 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
28950         [BZ #6884]
28951         * manual/stdio.texi (fopen): Fix typos in description of
28952         ",ccs=STRING".
28954 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
28956         [BZ #4026]
28957         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
28958         get clock_id definition.
28960 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
28962         [BZ #4822]
28963         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
28964         (madvise): Cast every argument to void on its own.
28966 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
28968         [BZ #9902]
28969         * manual/startup.texi (Exit Status): Fix typo.
28971 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
28973         [BZ #10140]
28974         * manual/examples/argp-ex1.c: Include <stdlib.h>.
28975         * manual/examples/argp-ex2.c: Likewise.
28976         * manual/examples/argp-ex3.c: Likewise.
28978 2012-02-16  Richard Henderson  <rth@redhat.com>
28980         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
28981         * sysdeps/s390/s390-32/initfini.c: Remove.
28982         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
28983         * sysdeps/s390/s390-64/initfini.c: Remove.
28985 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
28987         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
28988         compiler output for sysdeps/generic/initfini.c.
28989         * sysdeps/sh/elf/initfini.c: Remove file.
28991 2012-02-16  David S. Miller  <davem@davemloft.net>
28993         [BZ #11494]
28994         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
28996         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
28997         * sysdeps/sparc/crti.S: New file.
28998         * sysdeps/sparc/crtn.S: New file.
28999         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
29000         * sysdeps/sparc/sparc64/Makefile: Likewise.
29002 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
29004         [BZ #3335]
29005         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
29007 2012-02-15  Roland McGrath  <roland@hack.frob.com>
29009         [BZ #4822]
29010         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
29012         * mach/devstream.c (cookie_io_functions_t): Macro removed.
29013         (write, read, close): Likewise.
29014         Patch by Aurelien Jarno <aurelien@aurel32.net>.
29016 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
29018         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
29019         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
29020         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
29021         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
29022         <bits/signalfd.h>.
29023         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
29024         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29025         bits/signalfd.h.
29027 2012-02-14  Marek Polacek  <polacek@redhat.com>
29029         * sysdeps/x86_64/crti.S: New file.
29030         * sysdeps/x86_64/crtn.S: New file.
29031         * sysdeps/x86_64/elf/initfini.c: Remove file.
29033 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
29035         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
29036         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
29037         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
29038         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
29039         <bits/inotify.h>.
29040         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
29041         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29042         bits/inotify.h.
29044 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
29046         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
29047         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
29048         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
29049         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
29050         <bits/eventfd.h>.
29051         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
29052         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
29053         bits/eventfd.h.
29055 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
29057         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
29058         __feraiseexcept instead of feraiseexcept.
29060         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
29061         nanosleep invocations.
29062         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
29063         strings, and add error checking for a nanosleep invocations.
29065 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
29067         Replace FSF snail mail address with URLs, as per GNU coding standards.
29068         Most of the snail mail addresses were wrong anyway, and omitting
29069         them makes the source code easier to maintain.  Almost all of the
29070         changes are to license notices and to locale LC_IDENTIFICATION
29071         addresses, except for this one:
29072         * manual/libc.texinfo: In "Published by", give the FSF's URL,
29073         not its snail mail address.
29075 2012-02-09  Richard Henderson  <rth@twiddle.net>
29077         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
29078         of kernel-features.h.
29080         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
29082 2012-02-08  Marek Polacek  <polacek@redhat.com>
29084         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
29085         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
29086         * sysdeps/gnu/_G_config.h: Likewise.
29087         * sysdeps/generic/_G_config.h: Likewise.
29089 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
29091         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
29092         tests.
29093         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29095         * sysdeps/powerpc/powerpc32/crti.S: New file.
29096         * sysdeps/powerpc/powerpc32/crtn.S: New file.
29097         * sysdeps/powerpc/powerpc64/crti.S: New file.
29098         * sysdeps/powerpc/powerpc64/crtn.S: New file.
29100         * Makeconfig (have-initfini): Don't set.
29101         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
29102         * configure.in (nopic_initfini): Don't substitute.
29103         * config.h.in (HAVE_INITFINI): Don't #undef.
29104         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
29105         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
29107 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
29109         Support crti.S and crtn.S provided directly by architectures.
29110         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
29111         [crti.S in sysdirs] (omit-deps): Likewise.
29112         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
29113         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
29114         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
29115         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
29116         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
29117         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
29118         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
29119         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
29120         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
29121         compiler output for sysdeps/generic/initfini.c.
29122         * sysdeps/i386/elf/Makefile: Remove file.
29123         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
29125 2012-02-07  Marek Polacek  <polacek@redhat.com>
29127         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
29128         * sysdeps/gnu/_G_config.h: Likewise.
29129         * sysdeps/mach/hurd/_G_config.h: Likewise.
29131 2012-02-07  Marek Polacek  <polacek@redhat.com>
29133         * math/Makefile (tests): Add tst-CMPLX2.
29134         * math/tst-CMPLX2.c: New file.
29136 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
29138         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
29140         * math/libm-test.inc (jn_test): Add missing L suffix.
29142 2012-02-06  Marek Polacek  <polacek@redhat.com>
29144         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
29145         * sysdeps/i386/fpu/e_powf.S: Likewise.
29146         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
29147         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
29148         * sysdeps/i386/fpu/e_acosh.S: Likewise.
29149         * sysdeps/i386/fpu/e_pow.S: Likewise.
29150         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
29151         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
29152         * sysdeps/i386/fpu/s_expm1.S: Likewise.
29153         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
29154         * sysdeps/i386/fpu/e_log2.S: Likewise.
29155         * sysdeps/i386/fpu/e_log2l.S: Likewise.
29156         * sysdeps/i386/fpu/e_scalb.S: Likewise.
29157         * sysdeps/i386/fpu/e_powl.S: Likewise.
29158         * sysdeps/i386/fpu/s_log1p.S: Likewise.
29159         * sysdeps/i386/fpu/e_log10f.S: Likewise.
29160         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
29161         * sysdeps/i386/fpu/e_logl.S: Likewise.
29162         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
29163         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
29164         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
29165         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
29166         * sysdeps/i386/fpu/e_log2f.S: Likewise.
29167         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
29168         * sysdeps/i386/fpu/e_log.S: Likewise.
29169         * sysdeps/i386/fpu/s_cexp.S: Likewise.
29170         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
29171         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
29172         * sysdeps/i386/fpu/e_logf.S: Likewise.
29173         * sysdeps/i386/fpu/e_log10l.S: Likewise.
29174         * sysdeps/i386/fpu/e_atanh.S: Likewise.
29175         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
29176         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
29177         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
29178         * sysdeps/i386/fpu/e_log10.S: Likewise.
29179         * sysdeps/i386/fpu/s_frexp.S: Likewise.
29180         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
29181         * sysdeps/i386/fpu/s_asinh.S: Likewise.
29182         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
29183         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
29184         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
29185         * sysdeps/i386/asm-syntax.h: Likewise.
29186         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
29187         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
29188         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
29189         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
29190         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
29191         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
29192         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
29193         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
29194         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
29195         * sysdeps/powerpc/sysdep.h: Likewise.
29196         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
29197         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
29199 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
29201         [BZ #411]
29202         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
29204 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
29206         * sysdeps/i386/sysdep.h: Include <features.h>.
29207         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
29208         version.
29210 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
29212         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
29213         Define.
29214         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
29215         LOAD_PIC_REG_STR.
29217 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
29219         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
29220         (SETUP_PIC_REG): Use GET_PC_THUNK.
29221         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
29222         macro.
29224 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
29226         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
29227         for non-PIC compilation.
29228         (SETUP_PIC_REG): Add .p2align directive.
29229         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
29230         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
29231         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
29232         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
29233         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
29234         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
29235         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
29236         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
29237         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
29238         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
29239         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
29240         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
29241         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
29242         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
29243         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
29244         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
29245         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
29246         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
29247         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
29248         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
29249         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
29250         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
29251         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
29252         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
29253         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
29254         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
29255         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
29256         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
29257         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
29258         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
29259         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
29260         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
29261         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
29262         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
29263         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
29264         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
29265         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
29266         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
29267         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
29268         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
29269         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
29271 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
29273         * math/tst-CMPLX.c: Include <stdio.h>.
29275 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
29277         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
29278         float.
29279         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29280         * sysdeps/sparc/bits/mathdef.h: Likewise.
29282 2012-01-31  Marek Polacek  <polacek@redhat.com>
29284         * libio/libio.h: Don't define _PARAMS.
29285         * locale/programs/config.h: Don't define PARAMS.
29286         * stdlib/strtol_l.c: Likewise.
29287         (__strtol_l): Remove PARAMS from the prototype.
29289 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
29291         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
29292         names.  Just use the correct names.  Remove unnecessary wrapper
29293         functions.
29294         * malloc/arena.c: Likewise.
29295         * malloc/hooks.c: Likewise.
29297         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
29298         ARENA_TEST says not to.  Simplify test for creation of a new arena.
29299         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
29301 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
29303         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
29304         into tail calls.
29305         (update_get_addr): New function.
29306         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
29307         GET_ADDR_MODULE parameter.
29309 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
29311         * crypt/cert.c: Remove __STDC__ conditionals.
29312         * crypt/crypt-entry.c: Likewise.
29313         * crypt/crypt_util.c: Likewise.
29314         * libio/filedoalloc.c: Likewise.
29315         * libio/fileops.c: Likewise.
29316         * libio/genops.c: Likewise.
29317         * libio/iofclose.c: Likewise.
29318         * libio/iofdopen.c: Likewise.
29319         * libio/iofopen.c: Likewise.
29320         * libio/iofopen64.c: Likewise.
29321         * libio/iogetdelim.c: Likewise.
29322         * libio/iopopen.c: Likewise.
29323         * libio/obprintf.c: Likewise.
29324         * libio/oldfileops.c: Likewise.
29325         * libio/oldiofclose.c: Likewise.
29326         * libio/oldiofdopen.c: Likewise.
29327         * libio/oldiofopen.c: Likewise.
29328         * libio/oldiopopen.c: Likewise.
29329         * libio/wfiledoalloc.c: Likewise.
29330         * libio/wgenops.c: Likewise.
29331         * locale/programs/xmalloc.c: Likewise.
29332         * misc/syslog.c: Likewise.
29333         * stdio-common/xbug.c: Likewise.
29334         * string/memchr.c: Likewise.
29335         * string/memcmp.c: Likewise.
29336         * string/memrchr.c: Likewise.
29337         * string/rawmemchr.c: Likewise.
29338         * sysdeps/posix/getcwd.c: Likewise.
29339         * time/strftime_l.c: Likewise.
29341 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
29343         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
29344         * config.make.in (config-cflags-sse2avx): Define.
29345         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
29346         Fix typo.
29348 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
29350         * scripts/config.guess: Update from upstream config git repository.
29351         * scripts/config.sub: Likewise.
29353 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
29355         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
29356         (EM_NUM): Update.
29357         (R_TILEPRO_*, R_TILEGX_*): New macros.
29359         * scripts/firstversions.awk: Fix bug in version range handling.
29361         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
29363         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
29365         * include/sys/epoll.h: New file.
29366         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
29367         libc_hidden_def.
29369 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
29371         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
29372         Avoid unnecessary __WORDSIZE == 64 test.
29373         (fmaxf): Use VEX format if possible.
29374         (fmax): Likewise.
29375         (fminf): Likewise.
29376         (fmin): Likewise.
29378         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
29379         * math/math_private.h: Remove libc_fegetround* and
29380         libc_fesetround*.
29381         * sysdeps/i386/configure.in: Check for -msse2avx.
29382         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
29383         also if SSE2AVX is defined.
29384         Remove libc_fegetround* and libc_fesetround*.
29385         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
29386         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
29387         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
29388         of HAS_YMM_USABLE.
29389         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29390         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29391         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29392         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29393         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29395         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
29397 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
29399         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
29400         size is not set.
29401         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
29403 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
29405         [BZ #13618]
29406         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
29407         relocation.
29408         * Makeconfig (libm): Define.
29409         * elf/Makefile: Add rules to build and run tst-relsort1.
29410         * elf/tst-relsort1.c: New file.
29411         * elf/tst-relsort1mod1.c: New file.
29412         * elf/tst-relsort1mod2.c: New file.
29414 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
29416         * math/s_ldexp.c: Remove __STDC__ conditionals.
29417         * math/s_ldexpf.c: Likewise.
29418         * math/s_ldexpl.c: Likewise.
29419         * math/s_nextafter.c: Likewise.
29420         * math/s_nexttowardf.c: Likewise.
29421         * math/s_significand.c: Likewise.
29422         * math/s_significandf.c: Likewise.
29423         * math/s_significandl.c: Likewise.
29424         * math/w_jnl.c: Likewise.
29425         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
29426         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
29427         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
29428         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
29429         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
29430         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
29431         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
29432         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
29433         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
29434         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
29435         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
29436         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
29437         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
29438         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
29439         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
29440         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
29441         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
29442         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
29443         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
29444         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
29445         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
29446         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
29447         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
29448         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
29449         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
29450         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
29451         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
29452         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
29453         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
29454         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
29455         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
29456         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
29457         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
29458         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
29459         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
29460         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
29461         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
29462         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
29463         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
29464         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
29465         * sysdeps/ieee754/k_standard.c: Likewise.
29466         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
29467         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
29468         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
29469         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
29470         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
29471         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
29472         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
29473         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
29474         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
29475         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
29476         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
29477         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
29478         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
29479         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
29480         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
29481         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
29482         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
29483         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
29484         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
29485         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
29486         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
29487         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
29488         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
29489         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
29490         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
29491         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
29492         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
29493         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
29494         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
29495         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
29496         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
29497         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
29498         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
29499         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
29500         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
29501         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
29502         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
29503         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
29504         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
29505         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
29506         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
29507         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
29508         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
29509         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
29510         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
29511         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
29512         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
29513         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
29514         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
29515         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
29516         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
29517         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
29518         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
29519         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
29520         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
29521         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
29522         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
29523         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
29524         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
29525         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
29526         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
29527         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
29528         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
29529         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
29530         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
29531         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
29532         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
29533         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
29534         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
29535         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
29536         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
29537         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
29538         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
29539         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
29540         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
29541         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
29542         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
29543         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
29544         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
29545         * sysdeps/ieee754/s_matherr.c: Likewise.
29546         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
29547         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
29548         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
29549         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
29551 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
29553         * crypt/md5.h: Remove __STDC__ conditionals.
29554         * libio/libioP.h: Likewise.
29555         * locale/programs/config.h: Likewise.
29556         * sysdeps/generic/sysdep.h: Likewise.
29557         * sysdeps/i386/asm-syntax.h: Likewise.
29558         * sysdeps/s390/asm-syntax.h: Likewise.
29559         * sysdeps/unix/sysdep.h: Likewise.
29560         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
29561         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
29563 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
29565         * libio/libio.h: Remove __STDC__ conditionals.
29566         * malloc/obstack.h: Likewise.
29567         * math/complex.h: Likewise.
29568         * math/math.h: Likewise.
29569         * sysdeps/generic/_G_config.h: Likewise.
29570         * sysdeps/gnu/_G_config.h: Likewise.
29571         * sysdeps/mach/hurd/_G_config.h: Likewise.
29572         * sysdeps/powerpc/bits/mathdef.h: Likewise.
29573         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
29574         * sysdeps/sparc/bits/mathdef.h: Likewise.
29576 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
29578         [BZ #13583]
29579         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
29580         Clean up HAS_* macros.
29581         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
29582         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
29583         possible.
29584         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
29585         HAS_AVX.
29586         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
29587         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
29588         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
29589         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
29590         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
29592 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
29594         * elf/tst-unique3.cc (gets): Remove declaration.
29595         * elf/tst-unique3lib.cc (gets): Likewise.
29596         * elf/tst-unique3lib2.cc (gets): Likewise.
29597         * elf/tst-unique4.cc (gets): Likewise.
29599 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
29601         * include/stdio.h: Add C++ protection.  Add gets declarations and
29602         definitions.
29603         * debug/tst-chk1.c: Don't declare gets here.
29604         * stdio-common/tst-gets.c: Likewise.
29606 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
29608         * posix/glob: Remove directory.
29610 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
29612         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
29614 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
29616         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
29617         of the non-standard EPFNOSUPPORT.
29619 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
29621         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
29622         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
29623         ANYWHERE set to 1 only on KERN_NO_SPACE error.
29625 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
29627         * wcsmbs/uchar.h: Test __STDC_VERSION__.
29629 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
29631         * nscd/aicache.c (addhstaiX): Do not cache negative results of
29632         transient errors.
29633         * nscd/grpcache.c (cache_addgr): Likewise.
29634         * nscd/hstcache.c (cache_addhst): Likewise.
29635         * nscd/initgrcache.c (addinitgroupsX): Likewise.
29636         * nscd/pwdcache.c (cache_addpw): Likewise.
29637         * nscd/servicescache.c (cache_addserv): Likewise.
29639 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
29641         * malloc/malloc.c: Various cleanups.
29642         * malloc/hooks.c: Likewise.
29644         * stdlib/Makefile (tests): Add bug-fmtmsg1.
29645         * stdlib/bug-fmtmsg1.c: New file.
29647         * stdlib/fmtmsg.c (init): Add missing unlock.
29648         Patch by Peng Haitao <penght@cn.fujitsu.com>.
29650 2012-01-12  Marek Polacek  <polacek@redhat.com>
29652         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
29653         and _GNU_SOURCE.
29655 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
29657         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
29658         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
29659         macro to ensure uniqueness of label name.
29660         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
29661         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
29663 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
29665         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
29667         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
29668         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
29669         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
29670         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
29672 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
29674         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
29676         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
29677         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
29678         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
29680         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
29682         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
29683         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
29684         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
29685         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
29687         * math/bits/math-finite.h: Add ldexp support.
29689 2012-01-10  Marek Polacek  <polacek@redhat.com>
29691         * locale/programs/localedef.h (show_archive_content): Add noreturn
29692         attribute.
29694 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
29696         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
29698 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
29700         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
29702         * io/Makefile (headers): Add bits/poll2.h.
29704 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
29706         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
29707         typo #include statement.
29709 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
29711         * include/sys/cdefs.h: Define __attribute_alloc_size.
29712         * catgets/gencat.c: Add alloc_size attribute and apply consistently
29713         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
29714         * elf/pldd.c: Likewise.
29715         * iconv/iconv_charmap.c: Likewise.
29716         * iconv/iconvconfig.c: Likewise.
29717         * iconv/strtab.c: Likewise.
29718         * locale/programs/locale.c: Likewise.
29719         * locale/programs/localedef.h: Likewise.
29720         * locale/programs/simple-hash.c: Likewise.
29721         * nscd/nscd.h: Likewise.
29722         * nss/makedb.c: Likewise.
29723         * sysdeps/generic/ldconfig.h: Likewise.
29724         * locale/programs/localedef.c: Remove xmalloc prototype.
29725         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
29727 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
29729         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
29730         appropriate.
29732 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
29734         * math/Makefile (tests): Add tst-CMPLX.
29735         * math/tst-CMPLX.c: New file.
29737         * math/complex.h (CMPLXL): Fix typo.
29739         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
29740         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
29741         GLIBC_2.16.
29742         * debug/tst-chk1.c: Add poll and ppoll tests.
29743         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
29744         * include/sys/poll.h: Add hidden proto for ppoll.
29745         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
29746         * sysdeps/mach/hurd/ppoll.c: Likewise.
29747         * io/ppoll.c: Likewise.
29748         * debug/poll_chk.c: New file.
29749         * debug/ppoll_chk.c: New file.
29750         * include/bits/poll2.h: New file.
29751         * io/bits/poll2.h: New file.
29753         [BZ #1350]
29754         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
29756         * configure.in: static is always set to yes.  Remove.
29757         * config.make.in: Don't set build-static.
29758         * Makeconfig: Remove use of build-static.
29759         * dlfcn/Makefile: Likewise.
29760         * elf/Makefile: Likewise.
29761         * math/Makefile: Likewise.
29762         * misc/Makefile: Likewise.
29763         * nptl/Makefile: Likewise.
29764         * sysdeps/mach/hurd/Makefile: Likewise.
29766         * configure.in: PWD_P is not used anymore.
29767         * config.make.in: Remove PWD_P entry.
29769         * configure.in: Remove last remnants of RANLIB.
29770         No need to check for signed size_t anymore.
29771         Don't set libc_commonpagesize and libc_relro_required here for Alpha
29772         and IA-64.
29773         Remove __builtin_expect test because we require at least gcc 3.4.
29774         * aclocal.m4: Likewise.
29776         * wcsmbs/mbrtoc16.c: Implement using towc function.
29777         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
29778         * wcsmbs/wcsmbsload.c: Likewise.
29779         * iconv/gconv_simple.c: Likewise.
29780         * iconv/gconv_int.h: Likewise.
29781         * iconv/gconv_builtin.h: Likewise.
29782         * iconv/iconv_prog.c: Remove CHAR16 handling.
29784         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
29786         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
29788         * configure.in: Remove --with-elf and --enable-bounded options.
29789         Dont set base_machine for ia64.  More non-ELF conditions removed.
29790         Remove testing and setting of leading underscore information.
29791         * config.make.in (build-bounded): Set to no.
29792         * config.h.in: Remove NO_UNDERSCORES entry.
29793         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
29794         them.
29795         * csu/start.c: Remove !NO_UNDERSCORE code.
29796         * locale/localeinfo.h: Likewise.
29797         * sysdeps/generic/machine-gmon.h: Likewise.
29798         * sysdeps/generic/sysdep.h: Likewise.
29799         * sysdeps/i386/sysdep.h: Likewise.
29800         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
29801         * sysdeps/mach/sysdep.h: Likewise.
29802         * sysdeps/s390/s390-32/sysdep.h: Likewise.
29803         * sysdeps/s390/s390-64/sysdep.h: Likewise.
29804         * sysdeps/sh/sysdep.h: Likewise.
29805         * sysdeps/sparc/sparc32/alloca.S: Likewise.
29806         * sysdeps/unix/i386/sysdep.S: Likewise.
29807         * sysdeps/unix/sparc/start.c: Likewise.
29808         * sysdeps/unix/sparc/sysdep.S: Likewise.
29809         * sysdeps/unix/sparc/sysdep.h: Likewise.
29810         * sysdeps/unix/start.c: Likewise.
29811         * sysdeps/unix/x86_64/sysdep.S: Likewise.
29812         * sysdeps/x86_64/sysdep.h: Likewise.
29814 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
29816         [BZ #13553]
29817         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
29818         for non-gcc.
29819         * argp/argp-fmtstream.h: Use const instead __const.
29820         * argp/argp.h: Likewise.
29821         * assert/assert.h: Likewise.
29822         * bits/fenv.h: Likewise.
29823         * bits/sched.h: Likewise.
29824         * bits/sigset.h: Likewise.
29825         * bits/sigthread.h: Likewise.
29826         * catgets/nl_types.h: Likewise.
29827         * conform/data/pthread.h-data: Likewise.
29828         * crypt/crypt-private.h: Likewise.
29829         * crypt/crypt.h: Likewise.
29830         * crypt/crypt_util.c: Likewise.
29831         * ctype/ctype.h: Likewise.
29832         * debug/execinfo.h: Likewise.
29833         * debug/mbsnrtowcs_chk.c: Likewise.
29834         * debug/mbsrtowcs_chk.c: Likewise.
29835         * debug/wcsnrtombs_chk.c: Likewise.
29836         * debug/wcsrtombs_chk.c: Likewise.
29837         * debug/wcstombs_chk.c: Likewise.
29838         * dirent/dirent.h: Likewise.
29839         * dlfcn/dlfcn.h: Likewise.
29840         * elf/neededtest4.c: Likewise.
29841         * grp/grp.h: Likewise.
29842         * gshadow/gshadow.h: Likewise.
29843         * iconv/gconv.h: Likewise.
29844         * iconv/gconv_int.h: Likewise.
29845         * iconv/gconv_simple.c: Likewise.
29846         * iconv/iconv.h: Likewise.
29847         * iconv/loop.c: Likewise.
29848         * iconv/skeleton.c: Likewise.
29849         * include/aio.h: Likewise.
29850         * include/aliases.h: Likewise.
29851         * include/argz.h: Likewise.
29852         * include/arpa/inet.h: Likewise.
29853         * include/assert.h: Likewise.
29854         * include/dirent.h: Likewise.
29855         * include/dlfcn.h: Likewise.
29856         * include/execinfo.h: Likewise.
29857         * include/fcntl.h: Likewise.
29858         * include/fenv.h: Likewise.
29859         * include/glob.h: Likewise.
29860         * include/grp.h: Likewise.
29861         * include/libintl.h: Likewise.
29862         * include/mntent.h: Likewise.
29863         * include/netdb.h: Likewise.
29864         * include/pwd.h: Likewise.
29865         * include/rpc/netdb.h: Likewise.
29866         * include/sched.h: Likewise.
29867         * include/search.h: Likewise.
29868         * include/shadow.h: Likewise.
29869         * include/signal.h: Likewise.
29870         * include/stdio.h: Likewise.
29871         * include/stdlib.h: Likewise.
29872         * include/string.h: Likewise.
29873         * include/sys/socket.h: Likewise.
29874         * include/sys/stat.h: Likewise.
29875         * include/sys/statfs.h: Likewise.
29876         * include/sys/statvfs.h: Likewise.
29877         * include/sys/syslog.h: Likewise.
29878         * include/sys/time.h: Likewise.
29879         * include/sys/uio.h: Likewise.
29880         * include/time.h: Likewise.
29881         * include/unistd.h: Likewise.
29882         * include/utmp.h: Likewise.
29883         * include/wchar.h: Likewise.
29884         * include/wctype.h: Likewise.
29885         * inet/aliases.h: Likewise.
29886         * inet/arpa/inet.h: Likewise.
29887         * inet/netinet/ether.h: Likewise.
29888         * inet/netinet/in.h: Likewise.
29889         * intl/libintl.h: Likewise.
29890         * io/bits/fcntl2.h: Likewise.
29891         * io/fcntl.h: Likewise.
29892         * io/ftw.h: Likewise.
29893         * io/sys/poll.h: Likewise.
29894         * io/sys/stat.h: Likewise.
29895         * io/sys/statfs.h: Likewise.
29896         * io/sys/statvfs.h: Likewise.
29897         * io/utime.h: Likewise.
29898         * libio/bits/stdio.h: Likewise.
29899         * libio/bits/stdio2.h: Likewise.
29900         * libio/libio.h: Likewise.
29901         * libio/libioP.h: Likewise.
29902         * libio/stdio.h: Likewise.
29903         * locale/lc-ctype.c: Likewise.
29904         * locale/locale.h: Likewise.
29905         * login/utmp.h: Likewise.
29906         * malloc/arena.c: Likewise.
29907         * malloc/malloc.c: Likewise.
29908         * malloc/malloc.h: Likewise.
29909         * malloc/mcheck.c: Likewise.
29910         * malloc/mtrace.c: Likewise.
29911         * math/bits/mathcalls.h: Likewise.
29912         * math/fenv.h: Likewise.
29913         * math/math_private.h: Likewise.
29914         * misc/bits/error.h: Likewise.
29915         * misc/bits/syslog.h: Likewise.
29916         * misc/err.h: Likewise.
29917         * misc/error.h: Likewise.
29918         * misc/fstab.h: Likewise.
29919         * misc/mntent.h: Likewise.
29920         * misc/regexp.h: Likewise.
29921         * misc/search.h: Likewise.
29922         * misc/sgtty.h: Likewise.
29923         * misc/sys/mman.h: Likewise.
29924         * misc/sys/syslog.h: Likewise.
29925         * misc/sys/uio.h: Likewise.
29926         * misc/sys/xattr.h: Likewise.
29927         * misc/ttyent.h: Likewise.
29928         * nis/rpcsvc/ypclnt.h: Likewise.
29929         * nss/nss.h: Likewise.
29930         * posix/bits/unistd.h: Likewise.
29931         * posix/fnmatch.h: Likewise.
29932         * posix/glob.h: Likewise.
29933         * posix/sched.h: Likewise.
29934         * posix/spawn.h: Likewise.
29935         * posix/sys/wait.h: Likewise.
29936         * posix/unistd.h: Likewise.
29937         * posix/wordexp.h: Likewise.
29938         * pwd/pwd.h: Likewise.
29939         * resolv/netdb.h: Likewise.
29940         * resource/sys/resource.h: Likewise.
29941         * rt/aio.h: Likewise.
29942         * rt/bits/mqueue2.h: Likewise.
29943         * rt/mqueue.h: Likewise.
29944         * shadow/shadow.h: Likewise.
29945         * signal/signal.h: Likewise.
29946         * socket/send.c: Likewise.
29947         * socket/sendto.c: Likewise.
29948         * socket/sys/socket.h: Likewise.
29949         * stdio-common/printf.h: Likewise.
29950         * stdlib/bits/stdlib.h: Likewise.
29951         * stdlib/fmtmsg.h: Likewise.
29952         * stdlib/monetary.h: Likewise.
29953         * stdlib/stdlib.h: Likewise.
29954         * stdlib/ucontext.h: Likewise.
29955         * streams/stropts.h: Likewise.
29956         * string/argz.h: Likewise.
29957         * string/bits/string2.h: Likewise.
29958         * string/string.h: Likewise.
29959         * string/strings.h: Likewise.
29960         * sunrpc/rpc/auth.h: Likewise.
29961         * sunrpc/rpc/auth_des.h: Likewise.
29962         * sunrpc/rpc/clnt.h: Likewise.
29963         * sunrpc/rpc/netdb.h: Likewise.
29964         * sunrpc/rpc/pmap_clnt.h: Likewise.
29965         * sunrpc/rpc/xdr.h: Likewise.
29966         * sysdeps/generic/inttypes.h: Likewise.
29967         * sysdeps/generic/net/if.h: Likewise.
29968         * sysdeps/generic/sys/swap.h: Likewise.
29969         * sysdeps/gnu/net/if.h: Likewise.
29970         * sysdeps/gnu/utmpx.h: Likewise.
29971         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
29972         * sysdeps/i386/i486/bits/string.h: Likewise.
29973         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
29974         * sysdeps/s390/bits/string.h: Likewise.
29975         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
29976         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
29977         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
29978         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
29979         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
29980         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
29981         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
29982         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
29983         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
29984         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
29985         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
29986         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
29987         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
29988         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
29989         * sysdeps/unix/sysv/linux/readv.c: Likewise.
29990         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
29991         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
29992         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
29993         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
29994         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
29995         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
29996         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
29997         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
29998         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
29999         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
30000         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
30001         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
30002         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30003         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
30004         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
30005         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
30006         * sysvipc/sys/ipc.h: Likewise.
30007         * sysvipc/sys/msg.h: Likewise.
30008         * sysvipc/sys/sem.h: Likewise.
30009         * sysvipc/sys/shm.h: Likewise.
30010         * termios/termios.h: Likewise.
30011         * time/sys/time.h: Likewise.
30012         * time/time.h: Likewise.
30013         * wcsmbs/bits/wchar2.h: Likewise.
30014         * wcsmbs/uchar.h: Likewise.
30015         * wcsmbs/wchar.h: Likewise.
30016         * wctype/wctype.h: Likewise.
30018         [BZ #13551]
30019         * Makeconfig: Remove all but ELF support including AIX support.
30020         * Makerules: Likewise.
30021         * config.h.in: Likewise.
30022         * config.make.in: Likewise.
30023         * configure: Likewise.
30024         * configure.in: Likewise.
30025         * csu/Makefile: Likewise.
30026         * csu/version.c: Likewise.
30027         * debug/Makefile: Likewise.
30028         * dlfcn/Makefile: Likewise.
30029         * elf/Makefile: Likewise.
30030         * extra-lib.mk: Likewise.
30031         * iconv/Makefile: Likewise.
30032         * include/libc-symbols.h: Likewise.
30033         * include/shlib-compat.h: Likewise.
30034         * resolv/Makefile: Likewise.
30035         * resolv/res_libc.c: Likewise.
30036         * rt/Makefile: Likewise.
30037         * sysdeps/i386/asm-syntax.h: Likewise.
30038         * sysdeps/i386/sysdep.h: Likewise.
30039         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
30040         * sysdeps/mach/sysdep.h: Likewise.
30041         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
30042         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
30043         * sysdeps/s390/asm-syntax.h: Likewise.
30044         * sysdeps/s390/s390-32/sysdep.h: Likewise.
30045         * sysdeps/s390/s390-64/sysdep.h: Likewise.
30046         * sysdeps/sh/sysdep.h: Likewise.
30047         * sysdeps/unix/sparc/sysdep.h: Likewise.
30048         * sysdeps/wordsize-32/divdi3.c: Likewise.
30049         * sysdeps/x86_64/sysdep.h: Likewise.
30051         * argp/Versions: Remove _argp_unlock_xxx.
30053         [BZ #13559]
30054         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
30055         * abilist/libBrokenLocale.abilist: Likewise.
30056         * abilist/libanl.abilist: Likewise.
30057         * abilist/libc.abilist: Likewise.
30058         * abilist/libcrypt.abilist: Likewise.
30059         * abilist/libdl.abilist: Likewise.
30060         * abilist/libm.abilist: Likewise.
30061         * abilist/libnsl.abilist: Likewise.
30062         * abilist/libpthread.abilist: Likewise.
30063         * abilist/libresolv.abilist: Likewise.
30064         * abilist/librt.abilist: Likewise.
30065         * abilist/libthread_db.abilist: Likewise.
30066         * abilist/libutil.abilist: Likewise.
30067         * abilist/libnss_db.abilist: New file.
30069         * scripts/abilist.awk: Add support for indirect functions.
30071         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
30073         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
30075         * shlib-versions: Remove entries for ports architectures.
30077         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
30078         files in ports.
30079         * elf/stackguard-macros.h: Remove support for IA-64.
30080         * elf/tst-auditmod1.c: Likewise.
30081         * sysdeps/generic/ldsodefs.h: Likewise.
30083         * sysdeps/unix/sysv/linux/configure.in: Ports should define
30084         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
30085         configure files.
30087         [BZ #13552]
30088         * configure.in: Remove --enable-omitfp support.
30089         * FAQ.in: Adjust.
30090         * config.make.in: Likewise.
30091         * Makeconfig: Likewise.
30092         * manual/install.texi: Likewise.
30094         In case anyone cares, the IA-64 architecture could move to ports.
30095         * sysdeps/ia64/*: Removed.
30096         * sysdeps/unix/sysv/linux/ia64/*: Removed.
30097         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
30099         [BZ #13555]
30100         * configure.in: Remove entries for unsupported architectures.
30102         [BZ #13533]
30103         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
30104         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
30105         routines.
30106         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
30107         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
30108         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
30109         fall back to using wcrtomb.
30110         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
30111         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
30112         renaming.
30113         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
30114         * wcsmbs/tst-c16c32-1.c: New file.
30116         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
30117         local variable.
30119         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
30121         * elf/tst-unique3.cc: Add explicit declaration of gets.
30122         * elf/tst-unique3lib.cc: Likewise.
30123         * elf/tst-unique3lib2.cc: Likewise.
30124         * elf/tst-unique4.cc: Likewise.
30126         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
30128 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
30130         [BZ #13566]
30131         * assert/assert.h (static_assert): Don't define for C++.
30132         * libio/stdio.h (gets): Do declare for C++ <= C++11.
30133         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
30135 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
30137         * iconv/loop.c (single loop): Fix assertion in storing of
30138         remaining bytes.
30140         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
30142 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
30144         * posix/getconf.c: Update copyright year.
30145         * nss/getent.c: Likewise.
30146         * nss/makedb.c: Likewise.
30147         * iconv/iconvconfig.c: Likewise.
30148         * iconv/iconv_prog.c: Likewise.
30149         * elf/ldconfig.c: Likewise.
30150         * elf/pldd.c: Likewise.
30151         * elf/sotruss.ksh: Likewise.
30152         * catgets/gencat.c: Likewise.
30153         * csu/version.c: Likewise.
30154         * elf/ldd.bash.in: Likewise.
30155         * elf/sprof.c (print_version): Likewise.
30156         * locale/programs/locale.c: Likewise.
30157         * locale/programs/localedef.c: Likewise.
30158         * login/programs/pt_chown.c: Likewise.
30159         * nscd/nscd.c (print_version): Likewise.
30160         * debug/xtrace.sh: Likewise.
30161         * malloc/memusage.sh: Likewise.
30162         * malloc/mtrace.pl: Likewise.
30163         * debug/catchsegv.sh: Likewise.
30165 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
30167         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
30168         pure attribute.
30170 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
30172         [BZ #13533]
30173         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
30174         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
30175         transformations.
30176         * iconv/gconv_int.h: Likewise.
30177         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
30178         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
30179         from libc for GLIBC_2.16.
30180         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
30181         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
30182         * wcsmbs/uchar.h: Really define mbstate_t.
30183         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
30184         * wcsmbs/c16rtomb.c: New file.
30185         * wcsmbs/mbrtoc16.c: New file.
30186         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
30187         for C/POSIX locale.
30188         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
30189         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
30191         * wcsmbs/wchar.h: Add missing __restrict.
30193 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
30195         [BZ #13532]
30196         * time/Makefile (routines): Add timespec_get.
30197         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
30198         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
30199         timespec for ISO C11.
30200         * time/timespec_get.c: New file.
30201         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
30202         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
30204         [BZ #13531]
30205         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
30206         * stdlib/stdlib.h: Declare aligned_alloc.
30207         * Versions.def: Add GLIBC_2.16 for libc.
30208         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
30210         [BZ 13527]
30211         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
30212         ISO C11.
30214         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
30215         code.
30217         [BZ #13528]
30218         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
30220         [BZ #13529]
30221         * assert/assert.h (static_assert): Define.
30223         * version.h: Update for 2.16 development version.
30225         [BZ #13526]
30226         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
30227         _ISOC11_SOURCE.
30229         * version.h (RELEASE): Bump for 2.15 release.
30230         * include/features.h (__GLIBC_MINOR__): Bump to 15.
30232         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
30233         Patch by Marek Polacek <mpolacek@redhat.com>.
30235         * bits/byteswap.h: Protect long long constants with __extension__.
30236         * sysdeps/i386/bits/byteswap.h: Likewise.
30237         * sysdeps/ia64/bits/byteswap.h: Likewise.
30238         * sysdeps/s390/bits/byteswap.h: Likewise.
30239         * sysdeps/x86_64/bits/byteswap.h: Likewise.
30241 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30243         [BZ #13540]
30244         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
30245         destination buffer.
30246         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
30248 2011-12-23  Marek Polacek  <polacek@redhat.com>
30250         * elf/dl-addr.c (determine_info): Add inline keyword.
30251         * elf/tst-auditmod4b.c (check_avx): Likewise.
30252         * elf/tst-auditmod6b.c (check_avx): Likewise.
30253         * elf/tst-auditmod6c.c (check_avx): Likewise.
30254         * elf/tst-auditmod7b.c (check_avx): Likewise.
30256 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
30258         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
30259         !__SSE_MATH__.
30261 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30263         [BZ #13540]
30264         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
30265         processing for last bytes.
30267 2011-08-06  Bruno Haible  <bruno@clisp.org>
30269         [BZ #13061]
30270         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
30271         U+0385, not to U+1FEE.
30273         [BZ #13062]
30274         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
30275         entry for U+00A5 U+0301.
30277 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
30279         [BZ #13166]
30280         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
30281         buffer for the output is too small.
30283         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
30284         optimization.
30286         [BZ #13185]
30287         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
30288         SSE flags if possible.
30290 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30292         [BZ #13540]
30293         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
30294         processing for last bytes.
30296 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
30298         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
30299         (syscall-list-default-options, syscall-list-default-condition)
30300         (syscall-list-includes): Define.
30301         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
30302         list of ABIs and options and #if conditions for each ABI.  Do not
30303         handle common syscalls between ABIs specially.
30304         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
30305         Remove.
30306         (syscall-list-variants, syscall-list-32bit-options)
30307         (syscall-list-32bit-condition, syscall-list-64bit-options)
30308         (syscall-list-64bit-condition): Define.
30309         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
30310         (syscall-list-variants, syscall-list-32bit-options)
30311         (syscall-list-32bit-condition, syscall-list-64bit-options)
30312         (syscall-list-64bit-condition): Define.
30313         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
30314         Remove.
30315         (syscall-list-variants, syscall-list-32bit-options)
30316         (syscall-list-32bit-condition, syscall-list-64bit-options)
30317         (syscall-list-64bit-condition): Define.
30318         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
30319         Remove.
30320         (syscall-list-variants, syscall-list-32bit-options)
30321         (syscall-list-32bit-condition, syscall-list-64bit-options)
30322         (syscall-list-64bit-condition): Define.
30324 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
30326         * locale/iso-639.def: Add brx entry.
30328         [BZ #13328]
30329         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
30330         Proposed by Mariusz_Cukr <marcukr@op.pl>.
30332         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
30333         __feraiseexcept_renamed.
30335 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
30337         [BZ #13538]
30338         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
30339         EPOLLET with unsigned values.
30340         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
30341         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
30343         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
30344         to large cancellation.
30345         * math/s_cacoshf.c: Likewise.
30346         * math/s_cacoshl.c: Likewise.
30348 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
30350         [BZ #13305]
30351         [BZ #12786]
30352         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
30353         * math/s_cacoshf.c: Likewise.
30354         * math/s_cacoshl.c: Likewise.
30356 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
30358         [BZ #13439]
30359         * iconv/gconv.h: Define __GCONV_SWAP.
30360         * iconvdata/unicode.c: The swap bit must be stored in __flags.
30361         * iconvdata/utf-16.c: Likewise.
30362         * iconvdata/utf-32.c: Likewise.
30364 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
30366         [BZ #13524]
30367         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
30368         numerator after shifting it by one limb.
30370 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
30372         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
30373         under [__USE_EXTERN_INLINES].
30375 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
30377         [BZ #13446]
30378         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
30380 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30382         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
30383         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
30384         optimized code.
30385         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
30386         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
30387         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
30388         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
30389         for strncasecmp/strncasecmp_l compilation.
30390         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
30391         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
30393 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
30395         [BZ #13484]
30396         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
30397         of __asm__.
30399 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
30401         [BZ #13506]
30402         * time/tzfile.c (__tzfile_read): Check values from file header.
30404 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
30406         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
30407         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
30408         * powerpc/powerpc32/dl-start.S: Likewise.
30409         * powerpc/powerpc32/elf/start.S: Likewise.
30410         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
30411         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
30412         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
30413         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
30414         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
30415         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
30416         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
30417         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
30418         * powerpc/powerpc32/fpu/s_round.S: Likewise.
30419         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
30420         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
30421         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
30422         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
30423         * powerpc/powerpc32/memset.S: Likewise.
30424         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
30425         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
30426         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
30427         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
30428         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
30429         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
30430         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
30431         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
30432         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
30433         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
30434         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
30435         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
30436         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
30438 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30440         * math/libm-test.inc: Added more nearbyint tests.
30441         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
30442         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
30443         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
30444         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
30446 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
30448         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
30449         FD_CLOEXEC.
30451 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30453         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
30454         Add wcscpy-ssse3 wcscpy-c.
30455         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
30456         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
30457         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
30458         * sysdeps/x86_64/wcschr.S: New file.
30459         * sysdeps/x86_64/wcsrchr.S: New file.
30460         * string/test-strcmp.c: Remove checking of wcscmp function for
30461         wrong alignments.
30462         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
30463         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
30464         wcsrchr-sse2 wcsrchr-c.
30465         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
30466         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
30467         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
30468         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
30469         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
30470         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
30471         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
30472         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
30473         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
30474         * wcsmbc/wcschr.c (WCSCHR): New macro.
30476 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
30478         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
30479         * wcsmbs/test-wcsrchr.c: New file.
30480         * string/test-strrchr.c: Add wcsrchr support.
30481         (WIDE): New macro.
30482         * wcsmbs/test-wcscpy.c: New file.
30483         * string/test-strcpy.c: Add wcscpy support.
30484         (WIDE): New macro.
30486 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
30488         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
30489         the inner loop.
30491 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
30493         [BZ #13472]
30494         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
30496 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
30498         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
30499         Minor optimizations.
30501         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
30502         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
30503         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
30505 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
30507         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
30508         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
30509         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
30510         for gcc to avoid warnings.
30511         * inet/Makefile (tests): Add tst-checks.
30512         * inet/tst-checks.c: New file.
30514         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
30515         warning.
30517         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
30518         __wmemcmp_sse2.
30520         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
30521         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
30523         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
30525 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
30527         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
30528         problem.
30530         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
30532 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
30534         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
30535         conditional on GCC version.
30536         (__arch_compare_and_exchange_val_8_acq)
30537         (__arch_compare_and_exchange_val_16_acq)
30538         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
30539         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
30540         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
30542 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
30544         * sysdeps/sh/backtrace.c: New file.
30546 2011-12-02  Andreas Schwab  <schwab@redhat.com>
30548         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
30549         parenthesis.
30551 2011-12-01  Andreas Schwab  <schwab@redhat.com>
30553         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
30554         falling back to utime.
30556 2011-11-30  Andreas Schwab  <schwab@redhat.com>
30558         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
30559         expectations for float.
30561 2011-11-29  Andreas Schwab  <schwab@redhat.com>
30563         * locale/weight.h (findidx): Add parameter len.
30564         * locale/weightwc.h (findidx): Likewise.
30565         * posix/fnmatch_loop.c (FCT): Adjust caller.
30566         * posix/regcomp.c (build_equiv_class): Likewise.
30567         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
30568         * posix/regexec.c (check_node_accept_bytes): Likewise.
30569         * string/strcoll_l.c (STRCOLL): Likewise.
30570         * string/strxfrm_l.c (STRXFRM): Likewise.
30572 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
30574         * Makefile.in: Remove CVSOPT handling.
30575         * configure.in: Remove use of AC_REVISION.
30576         * iconvdata/Makefile (distribute): No need to filter out CVS.
30577         * scripts/list-sources.sh: Remove CVS, subversion and monotone
30578         handling.
30580 2011-11-16  Andreas Schwab  <schwab@redhat.com>
30582         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
30583         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
30584         [USE_AS_STRNCASECMP_L]: Likewise.
30585         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
30586         NO_TLS_DIRECT_SEG_REFS.
30587         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
30588         Fix argument offsets for non-PIC.
30589         [USE_AS_STRNCASECMP_L]: Likewise.
30590         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
30591         NO_TLS_DIRECT_SEG_REFS.
30593 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
30595         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
30596         O_CLOEXEC.
30597         * locale/loadlocale.c (_nl_load_locale): Likewise.
30599 2011-11-15  Andreas Schwab  <schwab@redhat.com>
30601         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
30602         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
30603         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
30604         (SYSCALL_GETTIME): Set errno on error.
30606         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
30607         count references to noai6ai_cached.
30609 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
30611         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
30613         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
30614         FD_CLOEXEC for /proc/self/maps.
30616         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
30617         FD_CLOEXEC for /proc/meminfo.
30619         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
30620         gai.conf.
30622         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
30623         FD_CLOEXEC for given file.
30625         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
30627         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
30628         FD_CLOEXEC for /etc/hosts.
30629         (_gethtent): Likewise.
30631         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
30633         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
30634         cancellation and set FD_CLOEXEC for /etc/netgroup.
30636         * nss/nss_files/files-key.c (search): Don't allow cancellation when
30637         reading /etc/publickey.
30639         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
30640         allow cancellation when reading /etc/group.
30642         * nss/nss_files/files-alias.c (internal_setent): Don't allow
30643         cancellation.
30644         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
30646         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
30647         when using data file.
30649         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
30651         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
30652         (write_nis_obj): Use "c" and "e" in fopen.
30654         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
30656         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
30658         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
30660         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
30662         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
30663         locale.alias.
30665         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
30667         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
30669         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
30671         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
30672         file parsing and set FD_CLOEXEC.
30674 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
30676         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
30678 2011-11-14  Andreas Schwab  <schwab@redhat.com>
30680         * malloc/arena.c (arena_get2): Don't call reused_arena when
30681         _int_new_arena failed.
30683 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
30685         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
30686         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
30687         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
30688         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30689         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30690         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
30691         to compile strcasecmp and strncasecmp.
30692         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
30693         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
30695         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
30697 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
30699         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
30700         locale-defines.sym to gen-as-const-headers.
30701         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
30702         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
30703         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
30704         to compile strcasecmp and strncasecmp.
30705         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
30706         strcasecmp_l and strncasecmp_l.
30707         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
30708         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
30709         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
30710         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
30711         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
30712         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
30713         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
30714         * sysdeps/i386/i686/multiarch/strncase.S: New file.
30715         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
30716         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
30717         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
30719 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
30721         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
30722         result of SYSDEP_GETTIME_CPU to retval.
30723         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
30724         parameter list to macro.  Remove trailing semicolon.  Adjust users.
30726         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
30727         variable.
30729         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
30730         mantissa words.
30731         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
30733         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
30734         from unused variable.
30736         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
30737         DWARF definitions.
30738         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
30739         for assembling.
30741         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
30742         over namespaces.
30744         * sunrpc/rpc_prot.c (rejected): Fix case value.
30746         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
30747         unsigned long long int to avoid warnings in shift.
30749         * posix/regex_internal.c (re_string_reconstruct): Actually use result
30750         of use of trans.
30751         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
30752         variable tmp.
30754         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
30755         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
30756         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
30758         * nis/nis_table.c (nis_list): Use variable of correct type for
30759         result of __follow_path call.
30761 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
30763         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
30764         of math functions ceil, trunc, floor, round, and sqrt, when
30765         avaliable on the platform.
30766         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
30767         name clash.
30768         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
30769         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
30770         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
30772 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
30774         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
30775         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
30777 2011-11-11  Roland McGrath  <roland@hack.frob.com>
30779         * include/unistd.h: Fix __readlink return type.
30780         Reported by Chris Metcalf <cmetcalf@tilera.com>.
30782 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
30784         * stdlib/ucontext.h: Undo last change for makecontext.
30786 2011-11-11  Andreas Schwab  <schwab@redhat.com>
30788         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
30790         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
30791         * setjmp/setjmp.h: Mark functions as non-leaf.
30792         * setjmp/bits/setjmp2.h: Likewise.
30793         * stdlib/ucontext.h: Likewise.
30795 2011-11-10  Andreas Schwab  <schwab@redhat.com>
30797         * malloc/arena.c (_int_new_arena): Don't increment narenas.
30798         (reused_arena): Don't check arena limit.
30799         (arena_get2): Atomically check arena limit.
30801 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
30803         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
30804         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
30806         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
30807         instructions.
30809 2011-11-07  Andreas Schwab  <schwab@redhat.com>
30811         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
30812         handler when locking.
30814         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
30815         Fix size of allocated buffer.
30817 2011-11-04  Andreas Schwab  <schwab@redhat.com>
30819         [BZ #10103]
30820         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
30821         declarations for long double functions.
30822         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
30824         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
30826 2011-11-03  Andreas Schwab  <schwab@redhat.com>
30828         * nscd/nscd.c (main): Don't start AVC thread until credentials are
30829         installed.
30831         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
30832         is disabled.
30834 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30836         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
30838 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
30840         * include/alloca.h (stackinfo_alloca_round): Define.
30841         (extend_alloca): Use it.
30842         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
30843         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
30844         here.
30846         * scripts/check-local-headers.sh: Ignore libaudit.h.
30848         * nscd/Makefile (extra-objs): Make recursively expanded.
30850 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
30852         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
30853         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
30855         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
30856         * posix/tst-rfc3484-2.c: Likewise.
30857         * posix/tst-rfc3484-3.c: Likewise.
30859         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
30860         process_vm_writev.
30861         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
30862         process_vm_writev.
30863         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
30864         process_vm_writev from libc using GLIBC_2.15 version.
30866         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
30868 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
30870         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
30871         stack usage.
30873 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
30875         [BZ #13367]
30876         * nss/getent.c (initgroups_keys): Show error message in case no group
30877         names are given.
30879         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
30880         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
30881         __bump_nl_timestamp.
30882         * nscd/connections (nscd_init): When host database is served open
30883         netlink socket and request notification about configuration changes.
30884         (main_loop_poll): Track netlink file descriptor and bump timestamp
30885         in case data becomes available.
30886         (main_loop_epoll): Likewise.
30887         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
30888         (database_pers_head): Add extra_data fileds.
30889         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
30890         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
30891         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
30892         Adjust caller.
30893         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
30894         in6ai data, call __free_in6ai.
30895         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
30896         Add -DHAVE_NETLINK.
30897         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
30898         interface information.  Reuse previous data if netlink timestamp
30899         is not changed.
30900         (__bump_nl_timestamp): New function.
30901         (__free_in6ai): New function.
30903 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
30905         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
30906         close_not_cancel_no_status here.
30907         (__check_pf): Reorganize code a bit to not call close twice if OOM.
30909 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
30911         [BZ #13276]
30912         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
30913         return value.
30915         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
30916         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
30917         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
30919 2011-07-03  Andreas Jaeger  <aj@suse.de>
30921         [BZ #10709]
30922         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
30923         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
30924         * math/libm-test.inc (sin_test): Add test case.
30926 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
30928         [BZ #13337]
30929         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
30930         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30932         * elf/chroot_canon.c (chroot_canon): Cleanups.
30934         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
30936         [BZ #13335]
30937         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
30938         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
30940         * string/test-strchr.c: Make usable for strchrnul testing.
30941         * string/test-strchrnul.c: New file.
30942         * string/Makefile (strop-tests): Add strchrnul.
30944         * po/it.po: Update from translation team.
30945         * po/es.po: Likewise.
30947 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
30949         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
30950         the three constants needed as parameters.  Drop the others.
30951         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
30952         __m128i_strloadu_tolower.
30953         Create and initialize variable zero and use it in all the places
30954         where _mm_setzero_si128 was used.
30956         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
30957         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
30958         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
30959         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
30960         anymore.
30961         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
30962         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
30963         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
30964         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
30965         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
30966         __mpranred, __mptan.
30967         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
30968         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
30969         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
30970         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
30971         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
30972         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
30973         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
30974         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
30975         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
30977 2011-10-28  Andreas Schwab  <schwab@redhat.com>
30979         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
30980         redefine if SHARED.
30981         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
30983         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
30984         wide char related routines to wcsmbs subdir.
30986 2011-10-27  Andreas Schwab  <schwab@redhat.com>
30988         [BZ #13344]
30989         * misc/sys/cdefs.h (__THROWNL): Define.
30990         * posix/unistd.h: Use __THREADNL instead of __THREAD
30991         for memory synchronization functions.
30993 2011-10-26  Roland McGrath  <roland@hack.frob.com>
30995         [BZ #13349]
30996         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
30997         doesn't exist.
30998         * manual/stdio.texi (Obstack Streams): Node removed.
31000 2011-10-26  Andreas Schwab  <schwab@redhat.com>
31002         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
31003         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31004         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31006         * math/math_private.h (math_force_eval): Allow non-addressable
31007         arguments.
31008         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
31010 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
31012         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
31013         file is not needed.
31015         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
31016         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
31017         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
31018         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
31019         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
31020         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
31021         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
31022         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
31023         Add AVX variants.
31024         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
31025         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
31026         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
31027         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
31028         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
31029         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
31030         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
31031         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
31032         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
31033         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
31034         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
31035         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
31036         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
31037         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
31038         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
31039         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
31040         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
31041         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
31042         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
31044         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
31045         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
31047         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
31048         place.  Use VEX encoding when compiling for AVX.
31050 2011-10-25  Andreas Schwab  <schwab@redhat.com>
31052         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
31053         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
31055         * string/test-strchr.c (do_test): Don't generate NUL bytes.
31057 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
31059         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
31060         useless if() expression.
31061         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31062         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
31063         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
31064         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31065         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
31066         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
31067         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31068         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31069         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
31070         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31071         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31072         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31073         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
31074         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31075         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
31076         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
31077         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31078         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31079         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
31081         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
31083 2011-10-25  Andreas Schwab  <schwab@redhat.com>
31085         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
31086         condition.
31087         * elf/dl-fini.c (_dl_sort_fini): Likewise.
31089 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
31091         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
31092         .text section.  Avoid duplicate constants.
31093         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
31094         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31095         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31096         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31097         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31098         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31099         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31100         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31101         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
31102         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
31103         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
31104         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
31105         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
31106         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
31107         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
31108         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
31109         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
31110         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
31111         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
31112         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31113         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
31114         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
31115         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
31116         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
31117         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
31118         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
31119         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
31120         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
31121         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
31122         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
31123         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
31124         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
31125         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
31126         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
31127         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
31128         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
31129         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
31130         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
31131         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
31132         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
31133         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
31134         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
31135         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
31136         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
31137         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
31139 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
31141         * sysdeps/x86_64/dla.h: Move to ...
31142         * sysdeps/x86_64/fpu/dla.h: ...here.
31143         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
31144         situations.  Use __builtin_fma only for gcc 4.6 and up.
31146         * config.make.in: Add have-mfma4 entry.
31147         * configure.in: Substitute libc_cv_cc_fma4.
31148         * math/Makefile (dbl-only-routines): Add sincostab.
31149         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
31150         Use __sincostab not sincos.
31151         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
31152         name is a macro.
31153         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31154         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31155         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31156         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
31157         using __copysign.
31158         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
31159         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
31160         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
31161         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
31162         and __inv.
31163         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
31164         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
31165         __copysign.
31166         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
31167         define aliases when function name is a macro.
31168         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
31169         sysdeps/ieee754/dbl-64/sincos.tbl.
31170         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
31171         fma4-enabled routines.
31172         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
31173         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
31174         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
31175         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
31176         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
31177         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
31178         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
31179         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
31180         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
31181         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
31182         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
31183         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
31184         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
31185         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
31186         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
31187         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
31188         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
31189         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
31190         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
31191         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
31192         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
31193         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
31194         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
31195         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
31196         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
31197         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
31198         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
31199         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
31200         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
31201         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
31203         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
31204         rename.
31205         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31206         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31207         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31208         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31209         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31210         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31211         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31212         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31214 2011-10-24  Andreas Schwab  <schwab@redhat.com>
31216         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
31218 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
31220         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
31222         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
31223         prediction.
31224         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
31226         * string/strnlen.c: Don't define STRNLEN, reverse logic.
31227         Remove unused variable magic_bits.
31228         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
31230         * string/strnlen.c: Define and use STRNLEN macro.
31231         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
31232         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
31233         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
31234         * wcsmbs/wcslen.c: Define and use WCSLEN.
31235         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
31236         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
31237         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
31238         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
31239         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
31240         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
31241         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
31243 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31245         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
31246         strnlen-sse2-no-bsf.
31247         Rename strlen-no-bsf to strlen-sse2-no-bsf.
31248         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
31249         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
31250         Add strnlen support.
31251         (USE_AS_STRNLEN): New macro.
31252         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
31253         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
31254         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
31255         * sysdeps/x86_64/wcslen.S: New file.
31257 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
31259         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
31260         XMM-moves are used for copying on small sizes.
31262 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31264         * wcsmbs/Makefile (strop-tests): Add wcschr.
31265         * wcsmbs/test-wcschr.c: New file.
31266         * string/test-strchr.c: Update.
31267         Add wcschr support.
31268         (WIDE): New macro.
31270 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31272         * wcsmbs/Makefile (strop-tests): Add wcslen.
31273         * wcsmbs/test-wcslen.c: New file.
31274         * string/test-strlen.c: Update.
31275         Add wcslen support.
31276         (WIDE): New macro.
31278 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
31280         * po/it.po: Update from translation team.
31282 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31284         * sysdeps/x86_64/wcscmp.S: Update.
31285         Fix wrong comparison semantics.
31286         wcscmp shall use signed comparison not unsigned.
31287         Don't use substraction to avoid overflow bug.
31288         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
31289         * wcsmbc/wcscmp.c: Likewise.
31290         * string/test-strcmp.c: Likewise.
31291         Add new tests to check cases with negative values.
31293 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
31295         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
31296         * sysdeps/x86_64/dla.h: ...here.  New file.
31297         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
31298         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31299         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31300         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31301         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31302         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31303         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31304         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31305         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31307 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
31309         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
31310         __ynl_finite aliases.
31312 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
31314         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
31316         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
31317         define DLA_FMA.
31318         [DLA_FMA] (EMULV): Use DLA_FMA.
31319         [DLA_FMA] (MUL12): Use EMULV.
31320         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
31321         that are not needed.
31322         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
31323         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31324         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31325         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31326         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31327         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
31328         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
31330 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
31332         * math/s_nan.c: Undef __nan.
31333         * math/s_nanf.c: Undef __nanf.
31334         * math/s_nanl.c: Undef __nanl.
31335         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
31336         "math_private.h".
31338 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
31340         * math/s_catan.c: Add branch predictions.
31341         * math/s_catanf.c: Likewise.
31342         * math/s_catanh.c: Likewise.
31343         * math/s_catanhf.c: Likewise.
31344         * math/s_catanhl.c: Likewise.
31345         * math/s_catanl.c: Likewise.
31346         * math/s_cexp.c: Likewise.
31347         * math/s_cexpf.c: Likewise.
31348         * math/s_cexpl.c: Likewise.
31349         * math/s_clog.c: Likewise.
31350         * math/s_clog10.c: Likewise.
31351         * math/s_clog10f.c: Likewise.
31352         * math/s_clog10l.c: Likewise.
31353         * math/s_clogf.c: Likewise.
31354         * math/s_clogl.c: Likewise.
31355         * math/s_csqrt.c: Likewise.
31356         * math/s_csqrtf.c: Likewise.
31357         * math/s_csqrtl.c: Likewise.
31358         * math/s_ctanf.c: Likewise.
31359         * math/s_ctanh.c: Likewise.
31360         * math/s_ctanhf.c: Likewise.
31361         * math/s_ctanhl.c: Likewise.
31362         * math/s_ctanl.c: Likewise.
31364         * math/math_private.h: Define __nan, __nanf, __nanl.
31365         * math/s_cacosh.c: Include <math_private.h>.
31366         * math/s_cacoshl.c: Likewise.
31367         * math/s_casinh.c: Likewise.
31368         * math/s_casinhf.c: Likewise.
31369         * math/s_casinhl.c: Likewise.
31370         * math/s_ccos.c: Rely entire on ccosh.
31371         * math/s_ccosf.c: Rely entire on ccoshf.
31372         * math/s_ccosl.c: Rely entirely on ccoshl.
31373         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
31374         Remove tests for FE_INVALID.
31375         * math/s_ccoshf.c: Likewise.
31376         * math/s_ccoshl.c: Likewise.
31377         * math/s_csin.c: Likewise.
31378         * math/s_csinf.c: Likewise.
31379         * math/s_csinh.c Likewise.
31380         * math/s_csinhf.c: Likewise.
31381         * math/s_csinhl.c: Likewise.
31382         * math/s_csinl.c: Likewise.
31383         * math/s_ctan.c: Likewise.
31384         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
31385         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
31386         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
31388 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
31390         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
31391         compilation problems.
31393         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
31394         __builtin_expect.
31396 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
31398         * sysdeps/i386/configure.in: Test for -mfma4 option.
31399         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
31400         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
31401         COMMON_CPUID_INDEX_80000001.
31402         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
31403         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
31404         use it if FMA3 is not supported.
31405         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
31407         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
31408         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
31410 2011-10-20  Andreas Schwab  <schwab@redhat.com>
31412         [BZ #12892]
31413         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
31414         it would create a cycle with a link time dependency.
31416 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
31418         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
31419         instruction.
31420         * string/Makefile (strop-tests): Add rawmemchr.
31421         * string/test-rawmemchr.c: New file.
31423         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
31424         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
31425         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
31426         when compiling str{,n}casecmp and when AVX is available.  Hook up
31427         new optimized code in initializers.
31429 2011-10-19  Andreas Schwab  <schwab@redhat.com>
31431         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
31432         __feraiseexcept instead of feraiseexcept.
31434 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
31436         * math/math_private.h: Define defaults for libc_fetestexcept and
31437         libc_feupdateenv.
31438         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
31439         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
31440         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31441         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31442         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
31443         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31444         libc_fetestexcept and libc_feupdateenv.
31446         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
31447         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
31448         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
31449         * sysdeps/x86_64/fpu/math_private.h: Define special version of
31450         libc_feholdexcept_setround.
31452         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
31453         Add s_nearbyint-c and s_nearbyintf-c.
31454         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
31455         nearbyintf inlines.
31456         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
31457         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
31458         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
31459         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
31461         * math/math_private.h: Define defaults for libc_fegetround,
31462         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
31463         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
31464         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
31465         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
31466         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
31467         standard functions.
31468         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31469         Remove comments and hacks for old compiler versions.
31470         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
31471         libc_fegetround, libc_fesetround, libc_feholdexcept, and
31472         libc_feholdexceptl.
31474 2011-10-18  Andreas Schwab  <schwab@redhat.com>
31476         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
31477         (__feraiseexcept_renamed): Add __NTH.
31478         (feraiseexcept): Add __NTH.  Rename local variables to fix
31479         namespace violations.
31481 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
31483         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
31485         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
31487         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
31488         recently added interfaces.
31489         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
31491         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
31492         about macro parameter expansion.
31494         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
31495         __NO_MATH_INLINES is defined.  Cleanups.
31497         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
31498         and __floorf is target has SSE4.1.
31499         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
31500         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
31501         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
31502         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
31504         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
31505         name.
31506         (floorf): Likewise.
31508         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
31510 2011-10-17  Andreas Schwab  <schwab@redhat.com>
31512         * misc/sys/cdefs.h: Fix last change.
31514         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
31515         database lookup.
31517 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
31519         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
31521         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
31522         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
31523         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
31524         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
31525         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
31526         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
31527         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
31528         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
31529         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
31530         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
31531         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
31532         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
31533         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
31534         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
31535         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
31536         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
31537         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
31538         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
31539         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
31540         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
31541         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
31542         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
31544         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
31545         ceil, ceilf, floor, floorf.
31547         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
31548         Perform IRELATIVE relocations last.
31550         * elf/do-rel.h: Add another parameter nrelative, replacing the
31551         local variable with the same name.  Change name of the function
31552         to end in Rel or Rela (uppercase).
31553         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
31554         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
31555         elf_dynamic_do_##reloc function.
31557 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
31559         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
31560         is sufficient, at least on modern CPUs.
31562         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
31564         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
31565         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
31567         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
31568         __expl_finite.
31569         * math/bits/math-finite.h: Add entries for exp.
31570         * math/e_expl.c: Add __*_finite alias.
31571         * sysdeps/i386/fpu/e_exp.S: Likewise.
31572         * sysdeps/i386/fpu/e_expf.S: Likewise.
31573         * sysdeps/i386/fpu/e_expl.c: Likewise.
31574         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
31575         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
31576         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
31577         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
31578         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
31579         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
31580         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
31582         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
31583         is sufficient, at least on modern CPUs.
31585         * ctype/ctype-info.c (__ctype_init): Define.
31586         * include/ctype.h (__ctype_init): Declare.
31587         (__ctype_b_loc): The variable is always initialized.
31588         (__ctype_toupper_loc): Likewise.
31589         (__ctype_tolower_loc): Likewise.
31590         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
31591         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
31593 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
31595         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
31597         * configure.in: Also look in $cxxmachine/include for C++ system
31598         headers.
31600 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31602         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
31603         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
31604         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
31605         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
31606         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
31607         (USE_AS_WMEMCMP): New macro.
31608         Fixing indents.
31609         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
31610         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
31611         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
31612         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
31613         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31614         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
31615         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
31616         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
31617         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
31618         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
31619         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
31620         (USE_AS_WMEMCMP): New macro.
31621         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
31622         * sysdeps/string/test-memcmp.c: Update.
31623         Fix simple_wmemcmp.
31624         Add new tests.
31625         * wcsmbs/wmemcmp.c: Update.
31626         (WMEMCMP): New macro.
31627         Fix overflow bug.
31629 2011-10-12  Andreas Jaeger  <aj@suse.de>
31631         [BZ #13268]
31632         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
31634 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
31636         * libio/iofwide.c (do_length): Avoid warning.
31638         * ctype/ctype.h (__isctype_f): Add missing __THROW.
31640 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
31642         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
31644         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
31645         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
31646         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
31647         * sysdeps/i386/i686/fpu/e_log.S: New file.
31648         * sysdeps/i386/i686/fpu/e_logf.S: New file.
31649         * sysdeps/i386/i686/fpu/e_logl.S: New file.
31651         * ctype/ctype.h: Add support for inlined isXXX functions when
31652         compiling C++ code.
31654 2011-10-14  Andreas Schwab  <schwab@redhat.com>
31656         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
31658         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
31660 2011-10-13  Roland McGrath  <roland@hack.frob.com>
31662         [BZ #13291]
31663         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
31665 2011-10-13  Andreas Schwab  <schwab@redhat.com>
31667         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
31668         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
31669         feraiseexcept.
31671         * sysdeps/x86_64/memrchr.S: Check for zero size.
31673         * string/stratcliff.c: Add memrchr tests.
31675 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
31677         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31678         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
31679         rawmemchr-sse2 rawmemchr-sse2-bsf.
31680         * sysdeps/i386/i686/multiarch/memchr.S: New file.
31681         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
31682         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
31683         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
31684         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
31685         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
31686         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
31687         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
31688         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
31689         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
31690         * string/memrchr.c (MEMRCHR): New macro.
31692 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
31694         Add integration with gcc's -ffinite-math-only and optimize wrapper
31695         functions in libm.
31696         * Versions.def: Define GLIBC_2.15 version for libm.
31697         * math/Makefile (headers): Add bits/math-finite.h.
31698         * math/bits/math-finite.h: New file.
31699         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
31700         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
31701         * math/e_acoshl.c: Add __*_finite alias.
31702         * math/e_acosl.c: Likewise.
31703         * math/e_asinl.c: Likewise.
31704         * math/e_atan2l.c: Likewise.
31705         * math/e_atanhl.c: Likewise.
31706         * math/e_coshl.c: Likewise.
31707         * math/e_exp10.c: Likewise.
31708         * math/e_exp10f.c: Likewise.
31709         * math/e_exp10l.c: Likewise.
31710         * math/e_exp2l.c: Likewise.
31711         * math/e_fmodl.c: Likewise.
31712         * math/e_gammal_r.c: Likewise.
31713         * math/e_hypotl.c: Likewise.
31714         * math/e_j0l.c: Likewise.
31715         * math/e_j1l.c: Likewise.
31716         * math/e_jnl.c: Likewise.
31717         * math/e_lgammal_r.c: Likewise.
31718         * math/e_log10l.c: Likewise.
31719         * math/e_log2l.c: Likewise.
31720         * math/e_logl.c: Likewise.
31721         * math/e_powl.c: Likewise.
31722         * math/e_sinhl.c: Likewise.
31723         * math/e_sqrtl.c: Likewise.
31724         * math/e_scalb.c: Completely rewritten and optimized.
31725         * math/e_scalbf.c: Likewise.
31726         * math/e_scalbl.c: Likewise.
31727         * math/w_acos.c: Likewise.
31728         * math/w_acosf.c: Likewise.
31729         * math/w_acosl.c: Likewise.
31730         * math/w_acosh.c: Likewise.
31731         * math/w_acoshf.c: Likewise.
31732         * math/w_acoshl.c: Likewise.
31733         * math/w_asin.c: Likewise.
31734         * math/w_asinf.c: Likewise.
31735         * math/w_asinl.c: Likewise.
31736         * math/w_atan2.c: Likewise.
31737         * math/w_atan2f.c: Likewise.
31738         * math/w_atan2l.c: Likewise.
31739         * math/w_atanh.c: Likewise.
31740         * math/w_atanhf.c: Likewise.
31741         * math/w_atanhl.c: Likewise.
31742         * math/w_exp10.c: Likewise.
31743         * math/w_exp10f.c: Likewise.
31744         * math/w_exp10l.c: Likewise.
31745         * math/w_fmod.c: Likewise.
31746         * math/w_fmodf.c: Likewise.
31747         * math/w_fmodl.c: Likewise.
31748         * math/w_j0.c: Likewise.
31749         * math/w_j0f.c: Likewise.
31750         * math/w_j0l.c: Likewise.
31751         * math/w_j1.c: Likewise.
31752         * math/w_j1f.c: Likewise.
31753         * math/w_j1l.c: Likewise.
31754         * math/w_jn.c: Likewise.
31755         * math/w_jnf.c: Likewise.
31756         * math/w_log.c: Likewise.
31757         * math/w_logf.c: Likewise.
31758         * math/w_logl.c: Likewise.
31759         * math/w_log10.c: Likewise.
31760         * math/w_log10f.c: Likewise.
31761         * math/w_log10l.c: Likewise.
31762         * math/w_log2.c: Likewise.
31763         * math/w_log2f.c: Likewise.
31764         * math/w_log2l.c: Likewise.
31765         * math/w_pow.c: Likewise.
31766         * math/w_powf.c: Likewise.
31767         * math/w_powl.c: Likewise.
31768         * math/w_remainder.c: Likewise.
31769         * math/w_remainderf.c: Likewise.
31770         * math/w_remainderl.c: Likewise.
31771         * math/w_scalb.c: Likewise.
31772         * math/w_scalbf.c: Likewise.
31773         * math/w_scalbl.c: Likewise.
31774         * math/w_sqrt.c: Likewise.
31775         * math/w_sqrtf.c: Likewise.
31776         * math/w_sqrtl.c: Likewise.
31777         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
31778         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
31779         used.
31780         * math/math_private.h: Declare __kernel_standard_f.
31781         * math/w_cosh.c: Remove cruft and optimize a bit.
31782         * math/w_coshf.c: Likewise.
31783         * math/w_coshl.c: Likewise.
31784         * math/w_exp2.c: Likewise.
31785         * math/w_exp2f.c: Likewise.
31786         * math/w_exp2l.c: Likewise.
31787         * math/w_hypot.c: Likewise.
31788         * math/w_hypotf.c: Likewise.
31789         * math/w_hypotl.c: Likewise.
31790         * math/w_lgamma.c: Likewise.
31791         * math/w_lgamma_r.c: Likewise.
31792         * math/w_lgammaf.c: Likewise.
31793         * math/w_lgammaf_r.c: Likewise.
31794         * math/w_lgammal.c: Likewise.
31795         * math/w_lgammal_r.c: Likewise.
31796         * math/w_sinh.c: Likewise.
31797         * math/w_sinhf.c: Likewise.
31798         * math/w_sinhl.c: Likewise.
31799         * math/w_tgamma.c: Likewise.
31800         * math/w_tgammaf.c: Likewise.
31801         * math/w_tgammal.c: Likewise.
31802         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
31803         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
31804         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
31805         Minor optimizations.  Pretty printing.  Remove cruft.
31806         * sysdeps/i386/fpu/e_acosf.S: Likewise.
31807         * sysdeps/i386/fpu/e_acosh.S: Likewise.
31808         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
31809         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
31810         * sysdeps/i386/fpu/e_acosl.c: Likewise.
31811         * sysdeps/i386/fpu/e_asin.S: Likewise.
31812         * sysdeps/i386/fpu/e_asinf.S: Likewise.
31813         * sysdeps/i386/fpu/e_atan2.S: Likewise.
31814         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
31815         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
31816         * sysdeps/i386/fpu/e_atanh.S: Likewise.
31817         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
31818         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
31819         * sysdeps/i386/fpu/e_exp10.S: Likewise.
31820         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
31821         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
31822         * sysdeps/i386/fpu/e_exp2.S: Likewise.
31823         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
31824         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
31825         * sysdeps/i386/fpu/e_fmod.S: Likewise.
31826         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
31827         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
31828         * sysdeps/i386/fpu/e_hypot.S: Likewise.
31829         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
31830         * sysdeps/i386/fpu/e_log.S: Likewise.
31831         * sysdeps/i386/fpu/e_log10.S: Likewise.
31832         * sysdeps/i386/fpu/e_log10f.S: Likewise.
31833         * sysdeps/i386/fpu/e_log10l.S: Likewise.
31834         * sysdeps/i386/fpu/e_log2.S: Likewise.
31835         * sysdeps/i386/fpu/e_log2f.S: Likewise.
31836         * sysdeps/i386/fpu/e_log2l.S: Likewise.
31837         * sysdeps/i386/fpu/e_logf.S: Likewise.
31838         * sysdeps/i386/fpu/e_logl.S: Likewise.
31839         * sysdeps/i386/fpu/e_pow.S: Likewise.
31840         * sysdeps/i386/fpu/e_powf.S: Likewise.
31841         * sysdeps/i386/fpu/e_powl.S: Likewise.
31842         * sysdeps/i386/fpu/e_remainder.S: Likewise.
31843         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
31844         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
31845         * sysdeps/i386/fpu/e_scalb.S: Likewise.
31846         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
31847         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
31848         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
31849         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
31850         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
31851         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
31852         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
31853         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
31854         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
31855         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
31856         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
31857         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
31858         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
31859         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
31860         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
31861         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
31862         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
31863         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
31864         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
31865         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
31866         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
31867         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
31868         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
31869         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
31870         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
31871         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
31872         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
31873         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
31874         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
31875         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
31876         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
31877         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
31878         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
31879         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
31880         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
31881         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
31882         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
31883         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
31884         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
31885         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
31886         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
31887         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
31888         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
31889         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
31890         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
31891         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
31892         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
31893         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
31894         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
31895         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
31896         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
31897         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
31898         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
31899         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
31900         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
31901         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
31902         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
31903         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
31904         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
31905         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
31906         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
31907         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
31908         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
31909         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
31910         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
31911         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
31912         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
31913         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
31914         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
31915         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
31916         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
31917         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
31918         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
31919         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
31920         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
31921         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
31922         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
31923         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
31924         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
31925         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
31926         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
31927         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
31928         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
31929         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
31930         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
31931         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
31932         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
31933         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
31934         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
31935         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
31936         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
31937         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
31938         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
31939         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
31940         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
31941         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
31942         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
31943         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
31944         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
31945         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
31946         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
31947         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
31948         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
31949         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
31950         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
31951         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
31952         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
31953         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
31954         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
31955         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
31956         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
31957         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
31958         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
31959         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
31960         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
31961         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
31962         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
31963         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
31964         (__isnanf): Likewise.
31965         (__isinf_ns): Likewise.
31966         (__isinf_nsf): Likewise.
31967         (__finite): Likewise.
31968         (__finitef): Likewise.
31969         (__ieee754_sqrt): Define as macro.
31970         (__ieee754_sqrtf): Define as macro.
31971         (__ieee754_sqrtl): Define as macro.
31972         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
31973         inlined copy.
31974         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
31975         __FINITE_MATH_ONLY__ consistent.
31976         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
31978 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
31980         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
31981         of rawmemchr.
31983         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
31985 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
31987         * po/ja.po: Update from translation team.
31989 2011-10-08  Roland McGrath  <roland@hack.frob.com>
31991         * locale/programs/locarchive.c (prepare_address_space): New function.
31992         (create_archive, enlarge_archive, open_archive): Use it.
31994         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
31995         inside [SHARED], where it is used.
31997         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
31999         * nss/getent.c (netgroup_keys): Remove unused variable.
32000         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
32002 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
32004         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
32005         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
32006         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
32007         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
32008         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
32009         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
32010         * math/Makefile (libm-calls): Add s_isinf_ns.
32011         * math/divtc3.c: Use __isinf_nsl instead of isinf.
32012         * math/multc3.c: Likewise.
32013         * math/s_casin.c: Likewise.
32014         * math/s_casinf.c: Likewise.
32015         * math/s_casinl.c: Likewise.
32016         * math/s_ccos.c: Likewise.
32017         * math/s_ccosf.c: Likewise.
32018         * math/s_ccosl.c: Likewise.
32019         * math/s_ctan.c: Likewise.
32020         * math/s_ctanf.c: Likewise.
32021         * math/s_ctanh.c: Likewise.
32022         * math/s_ctanhf.c: Likewise.
32023         * math/s_ctanhl.c: Likewise.
32024         * math/s_ctanl.c: Likewise.
32025         * math/w_fmod.c: Likewise.
32026         * math/w_fmodf.c: Likewise.
32027         * math/w_fmodl.c: Likewise.
32028         * math/w_remainder.c: Likewise.
32029         * math/w_remainderf.c: Likewise.
32030         * math/w_remainderl.c: Likewise.
32031         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
32032         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
32033         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
32034         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
32035         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
32036         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
32037         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
32038         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
32040         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
32041         of the number.
32042         * stdio-common/printf_fphex.c: Likewise.
32043         * stdio-common/printf_size.c: Likewise.
32045         * math/e_exp10.c: Include math_private.h using <...> not "...".
32046         * math/e_exp10f.c: Likewise.
32047         * math/e_exp10l.c: Likewise.
32048         * math/e_exp2l.c: Likewise.
32049         * math/e_j0l.c: Likewise.
32050         * math/e_j1l.c: Likewise.
32051         * math/e_jnl.c: Likewise.
32052         * math/e_lgammal_r.c: Likewise.
32053         * math/e_rem_pio2l.c: Likewise.
32054         * math/e_scalb.c: Likewise.
32055         * math/e_scalbf.c: Likewise.
32056         * math/e_scalbl.c: Likewise.
32057         * math/k_cosl.c: Likewise.
32058         * math/k_sinl.c: Likewise.
32059         * math/k_tanl.c: Likewise.
32060         * math/s_cacoshf.c: Likewise.
32061         * math/s_catan.c: Likewise.
32062         * math/s_catanf.c: Likewise.
32063         * math/s_catanh.c: Likewise.
32064         * math/s_catanhf.c: Likewise.
32065         * math/s_catanhl.c: Likewise.
32066         * math/s_catanl.c: Likewise.
32067         * math/s_ccosh.c: Likewise.
32068         * math/s_ccoshf.c: Likewise.
32069         * math/s_ccoshl.c: Likewise.
32070         * math/s_cexp.c: Likewise.
32071         * math/s_cexpf.c: Likewise.
32072         * math/s_cexpl.c: Likewise.
32073         * math/s_clog.c: Likewise.
32074         * math/s_clog10.c: Likewise.
32075         * math/s_clog10f.c: Likewise.
32076         * math/s_clog10l.c: Likewise.
32077         * math/s_clogf.c: Likewise.
32078         * math/s_clogl.c: Likewise.
32079         * math/s_csin.c: Likewise.
32080         * math/s_csinf.c: Likewise.
32081         * math/s_csinh.c: Likewise.
32082         * math/s_csinhf.c: Likewise.
32083         * math/s_csinhl.c: Likewise.
32084         * math/s_csinl.c: Likewise.
32085         * math/s_csqrt.c: Likewise.
32086         * math/s_csqrtf.c: Likewise.
32087         * math/s_csqrtl.c: Likewise.
32088         * math/s_ctan.c: Likewise.
32089         * math/s_ctanf.c: Likewise.
32090         * math/s_ctanh.c: Likewise.
32091         * math/s_ctanhf.c: Likewise.
32092         * math/s_ctanhl.c: Likewise.
32093         * math/s_ctanl.c: Likewise.
32094         * math/s_ldexp.c: Likewise.
32095         * math/s_ldexpf.c: Likewise.
32096         * math/s_ldexpl.c: Likewise.
32097         * math/s_significand.c: Likewise.
32098         * math/s_significandf.c: Likewise.
32099         * math/s_significandl.c: Likewise.
32100         * math/w_acos.c: Likewise.
32101         * math/w_acosf.c: Likewise.
32102         * math/w_acosh.c: Likewise.
32103         * math/w_acoshf.c: Likewise.
32104         * math/w_acoshl.c: Likewise.
32105         * math/w_acosl.c: Likewise.
32106         * math/w_asin.c: Likewise.
32107         * math/w_asinf.c: Likewise.
32108         * math/w_asinl.c: Likewise.
32109         * math/w_atan2.c: Likewise.
32110         * math/w_atan2f.c: Likewise.
32111         * math/w_atan2l.c: Likewise.
32112         * math/w_atanh.c: Likewise.
32113         * math/w_atanhf.c: Likewise.
32114         * math/w_atanhl.c: Likewise.
32115         * math/w_cosh.c: Likewise.
32116         * math/w_coshf.c: Likewise.
32117         * math/w_coshl.c: Likewise.
32118         * math/w_dremf.c: Likewise.
32119         * math/w_exp10.c: Likewise.
32120         * math/w_exp10f.c: Likewise.
32121         * math/w_exp10l.c: Likewise.
32122         * math/w_exp2.c: Likewise.
32123         * math/w_exp2f.c: Likewise.
32124         * math/w_fmod.c: Likewise.
32125         * math/w_fmodf.c: Likewise.
32126         * math/w_fmodl.c: Likewise.
32127         * math/w_hypot.c: Likewise.
32128         * math/w_hypotf.c: Likewise.
32129         * math/w_hypotl.c: Likewise.
32130         * math/w_j0.c: Likewise.
32131         * math/w_j0f.c: Likewise.
32132         * math/w_j0l.c: Likewise.
32133         * math/w_j1.c: Likewise.
32134         * math/w_j1f.c: Likewise.
32135         * math/w_j1l.c: Likewise.
32136         * math/w_jn.c: Likewise.
32137         * math/w_jnf.c: Likewise.
32138         * math/w_jnl.c: Likewise.
32139         * math/w_lgamma.c: Likewise.
32140         * math/w_lgamma_r.c: Likewise.
32141         * math/w_lgammaf.c: Likewise.
32142         * math/w_lgammaf_r.c: Likewise.
32143         * math/w_lgammal.c: Likewise.
32144         * math/w_lgammal_r.c: Likewise.
32145         * math/w_log.c: Likewise.
32146         * math/w_log10.c: Likewise.
32147         * math/w_log10f.c: Likewise.
32148         * math/w_log10l.c: Likewise.
32149         * math/w_log2.c: Likewise.
32150         * math/w_log2f.c: Likewise.
32151         * math/w_log2l.c: Likewise.
32152         * math/w_logf.c: Likewise.
32153         * math/w_logl.c: Likewise.
32154         * math/w_pow.c: Likewise.
32155         * math/w_powf.c: Likewise.
32156         * math/w_powl.c: Likewise.
32157         * math/w_remainder.c: Likewise.
32158         * math/w_remainderf.c: Likewise.
32159         * math/w_remainderl.c: Likewise.
32160         * math/w_scalb.c: Likewise.
32161         * math/w_scalbf.c: Likewise.
32162         * math/w_scalbl.c: Likewise.
32163         * math/w_sinh.c: Likewise.
32164         * math/w_sinhf.c: Likewise.
32165         * math/w_sinhl.c: Likewise.
32166         * math/w_sqrt.c: Likewise.
32167         * math/w_sqrtf.c: Likewise.
32168         * math/w_sqrtl.c: Likewise.
32169         * math/w_tgamma.c: Likewise.
32170         * math/w_tgammaf.c: Likewise.
32171         * math/w_tgammal.c: Likewise.
32173         * po/ja.po: Update from translation team.
32175 2011-09-29  Andreas Jaeger  <aj@suse.de>
32177         [BZ #13179]
32178         * sunrpc/netname.c (netname2host): Fix logic.
32180         [BZ #6779]
32181         [BZ #6783]
32182         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
32183         correctly.
32184         * math/w_remainder.c (__remainder): Likewise.
32185         * math/w_remainderf.c (__remainderf): Likewise.
32186         * math/libm-test.inc (remainder_test): Add test cases.
32188 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
32190         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
32191         sdiv_qrnnd.
32193 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
32195         * string/test-memcmp.c: Avoid unncessary #defines.
32196         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
32198 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32200         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
32201         Use new sse2 version for core i3 - i7 as it's faster
32202         than sse42 version.
32203         (bit_Prefer_PMINUB_for_stringop): New.
32204         * sysdeps/x86_64/rawmemchr.S: Update.
32205         Replace with faster SSE2 version.
32206         * sysdeps/x86_64/memrchr.S: New file.
32207         * sysdeps/x86_64/memchr.S: Update.
32208         Replace with faster SSE2 version.
32210 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
32212         * elf/dl-load.c (lose): Add cast to avoid warning.
32214 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
32216         * po/ca.po: Update from translation team.
32218         * inet/getnetgrent_r.c: Hook up nscd.
32219         * nscd/Makefile (routines): Add nscd_netgroup.
32220         (nscd-modules): Add netgroupcache.
32221         (CFLAGS-netgroupcache.c): Define.
32222         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
32223         (cache_search): Add const to second parameter.
32224         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
32225         INNETGR.
32226         (dbs): Add netgrdb entry.
32227         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
32228         (verify_persistent_db): Handle netgrdb.
32229         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
32230         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
32231         GETFDNETGR.
32232         (netgroup_response_header): Define.
32233         (innetgroup_response_header): Define.
32234         (datahead): Add netgroup_response_header and innetgroup_response_header
32235         elements.
32236         * nscd/nscd.conf: Add entries for netgroup cache.
32237         * nscd/nscd.h (dbtype): Add netgrdb.
32238         (_PATH_NSCD_NETGROUP_DB): Define.
32239         (netgroup_iov_disabled): Declare.
32240         (xmalloc, xcalloc, xrealloc): Move declarations here.
32241         (cache_search): Adjust prototype.
32242         Add netgroup-related prototypes.
32243         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
32244         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
32245         (__nscd_innetgr): Declare.
32246         * nscd/selinux.c (perms): Use access_vector_t as element type and
32247         add netgroup-related initializers.
32248         * nscd/netgroupcache.c: New file.
32249         * nscd/nscd_netgroup.c: New file.
32250         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
32251         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
32252         For four parameters use innetgr.
32253         * nss/nss_files/files-init.c: Add definition and callback for netgr.
32254         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
32255         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
32256         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
32258         * nscd/connections.c (register_traced_file): Don't register file
32259         for disabled databases.
32261 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
32263         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
32265         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
32266         from tree and freeing node.
32268 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
32270         * nss/nsswitch.c (__nss_database_lookup): Handle
32271         nss_parse_service_list out of memory case.
32273 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
32275         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
32276         out of memory case.
32278 2011-10-04  Andreas Schwab  <schwab@redhat.com>
32280         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
32281         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
32282         pass it down.
32283         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
32284         elf_machine_rela, elf_machine_lazy_rel.
32285         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
32286         (ELF_DYNAMIC_DO_REL): Likewise.
32287         (ELF_DYNAMIC_DO_RELA): Likewise.
32288         (ELF_DYNAMIC_RELOCATE): Likewise.
32289         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
32290         to ELF_DYNAMIC_DO_REL.
32291         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
32292         (dl_main): In trace mode always set __RTLD_NOIFUNC.
32293         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
32294         elf_machine_rela.
32295         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
32296         skip_ifunc, don't call ifunc function if non-zero.
32297         (elf_machine_rela): Likewise.
32298         (elf_machine_lazy_rel): Likewise.
32299         (elf_machine_lazy_rela): Likewise.
32300         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
32301         (elf_machine_lazy_rel): Likewise.
32302         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
32303         Likewise.
32304         (elf_machine_lazy_rel): Likewise.
32305         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32306         Likewise.
32307         (elf_machine_lazy_rel): Likewise.
32308         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
32309         (elf_machine_lazy_rel): Likewise.
32310         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
32311         (elf_machine_lazy_rel): Likewise.
32312         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
32313         (elf_machine_lazy_rel): Likewise.
32314         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
32315         (elf_machine_lazy_rel): Likewise.
32316         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
32317         (elf_machine_lazy_rel): Likewise.
32318         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
32319         (elf_machine_lazy_rel): Likewise.
32321 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
32323         * nss/nss_files/files-init.c (_nss_files_init): Use static
32324         initialization for all the *_traced_file variables.
32326 2011-09-28  Andreas Schwab  <schwab@redhat.com>
32328         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32330 2011-09-27  Roland McGrath  <roland@hack.frob.com>
32332         [BZ #13226]
32333         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
32335 2011-09-27  Andreas Schwab  <schwab@redhat.com>
32337         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
32338         Reread the line before reparsing it.
32340 2011-09-26  Andreas Schwab  <schwab@redhat.com>
32342         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
32344 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
32345             Maxim Kuvyrkov  <maxim@codesourcery.com>
32346             Joseph Myers  <joseph@codesourcery.com>
32348         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
32349         if needed for __stack_chk_guard.
32351 2011-09-19  Roland McGrath  <roland@hack.frob.com>
32353         * sysdeps/posix/spawni.c (script_execute): Always define it.
32354         It will be optimized away if unused.
32355         (maybe_script_execute): New function.
32356         (__spawni): Call it.
32358         * Makerules: Don't include tls.make.
32359         (config-tls): Always set to thread.
32360         * tls.make.c: File removed.
32362 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
32364         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
32365         * config.make.in (CPPFLAGS-config): New substituted variable.
32367 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
32369         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
32371         [BZ #13192]
32372         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
32373         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
32375 2011-09-15  Roland McGrath  <roland@hack.frob.com>
32377         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
32378         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
32379         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
32380         (CALL_FAIL): Likewise.
32381         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
32382         (CALL_FAIL): Macro removed.
32383         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
32385 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
32387         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
32388         for __FINITE_MATH_ONLY__ == 1.
32390 2011-09-15  Andreas Schwab  <schwab@redhat.com>
32392         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
32393         __ieee754_sqrt instead of sqrt.
32394         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
32395         __ieee754_sqrtf instead of sqrtf.
32396         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
32397         __floorf instead of floorf.
32398         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
32399         __floorf, __truncf instead of floorf, truncf.
32401 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
32403         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
32405         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
32406         __extern_always_inline.
32407         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
32408         32-bit.
32410 2011-09-14  Andreas Schwab  <schwab@redhat.com>
32412         * elf/rtld.c (dl_main): Also relocate in dependency order when
32413         doing symbol dependency testing.
32415 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
32417         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
32418         Always define `refsym'.
32420 2011-09-13  Andreas Schwab  <schwab@redhat.com>
32422         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
32423         (__FD_ELT): Renamed from __FDELT.
32424         * misc/bits/select2.h (__FD_ELT): Likewise.
32425         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
32426         __FD_MASK instead of __FDELT, __FDMASK.
32427         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32428         Likewise.
32429         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
32430         Likewise.
32432         * elf/Makefile (gen-ldd): Fix pattern.
32434         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
32435         (init_tls): Likewise.
32437 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
32439         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
32441 2011-09-12  Andreas Schwab  <schwab@redhat.com>
32443         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
32444         `struct cmsghdr *' instead of `void *'.
32445         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
32446         Likewise.
32448 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
32450         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
32451         if non-absolute.
32452         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
32453         ldd_rewrite_script.
32455 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
32457         * configure.in: Remove --with-tls option.
32458         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
32459         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
32460         out in case it is missing.
32461         * sysdeps/ia64/elf/configure.in: Likewise.
32462         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
32463         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
32464         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
32465         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
32466         * sysdeps/sh/elf/configure.in: Likewise.
32467         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
32468         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
32469         * sysdeps/x86_64/elf/configure.in: Likewise.
32470         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
32471         * sysdeps/mach/hurd/tls.h: Likewise.
32473         [BZ #13067]
32474         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
32476         [BZ #13090]
32477         * configure.in: Fix use of AC_INIT.
32479         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
32481 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
32483         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
32484         __set_errno.
32485         * malloc/hooks.c: Likewise.
32487         [BZ #11929]
32488         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
32489         variables statically.
32490         (narenas): Initialize.
32491         (list_lock): Initialize.
32492         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
32493         initializtion of main_arena and list_lock.  Small cleanups.
32494         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
32495         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
32496         Add initializers to main_arena and mp_.
32497         (malloc_state): Remove pagesize member.  Change all users to use
32498         GLRO(dl_pagesize).
32500         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
32501         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
32502         is always initialized.
32504         * malloc/malloc.c: Removed unused configurations and dead code.
32505         * malloc/arena.c: Likewise.
32506         * malloc/hooks.c: Likewise.
32507         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
32509         * include/tls.h: Removed.  USE___THREAD must always be defined.
32510         * bits/libc-tsd.h: Don't handle !USE___THREAD.
32511         * elf/dl-libc.c: Likewise.
32512         * elf/dl-tsd.c: Likewise.
32513         * include/errno.h: Likewise.
32514         * include/netdb.h: Likewise.
32515         * include/resolv.h: Likewise.
32516         * inet/herrno-loc.c: Likewise.
32517         * inet/herrno.c: Likewise.
32518         * malloc/arena.c: Likewise.
32519         * malloc/hooks.c: Likewise.
32520         * malloc/malloc.c: Likewise.
32521         * resolv/res-state.c: Likewise.
32522         * resolv/res_libc.c: Likewise.
32523         * sysdeps/i386/dl-machine.h: Likewise.
32524         * sysdeps/ia64/dl-machine.h: Likewise.
32525         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
32526         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
32527         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
32528         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
32529         * sysdeps/sh/dl-machine.h: Likewise.
32530         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
32531         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
32532         * sysdeps/unix/i386/sysdep.S: Likewise.
32533         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
32534         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
32535         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
32536         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
32537         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
32538         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
32539         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
32540         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
32541         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
32542         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
32543         * sysdeps/unix/x86_64/sysdep.S: Likewise.
32544         * sysdeps/x86_64/dl-machine.h: Likewise.
32545         * tls.make.c: Likewise.
32547         * configure.in: Remove --with-__thread option.  Make tests for
32548         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
32549         tls_model attribute fail if no support is available.  Remove
32550         USE_IN_LIBIO.
32551         * Makeconfig: Adjust for dropped configure option.  All features are
32552         now mandatory.
32553         * Makerules: Likewise.
32554         * Versions.def: Likewise.
32555         * argp/argp-fmtstream.c: Likewise.
32556         * argp/argp-fmtstream.h: Likewise.
32557         * argp/argp-help.c: Likewise.
32558         * assert/assert.c: Likewise.
32559         * config.h.in: Likewise.
32560         * config.make.in: Likewise.
32561         * configure: Likewise.
32562         * configure.in: Likewise.
32563         * csu/Versions: Likewise.
32564         * csu/init.c: Likewise.
32565         * elf/tst-audit2.c: Likewise.
32566         * elf/tst-tls10.c: Likewise.
32567         * elf/tst-tls10.h: Likewise.
32568         * elf/tst-tls11.c: Likewise.
32569         * elf/tst-tls12.c: Likewise.
32570         * elf/tst-tls14.c: Likewise.
32571         * elf/tst-tlsmod11.c: Likewise.
32572         * elf/tst-tlsmod12.c: Likewise.
32573         * elf/tst-tlsmod13.c: Likewise.
32574         * elf/tst-tlsmod13a.c: Likewise.
32575         * elf/tst-tlsmod14a.c: Likewise.
32576         * elf/tst-tlsmod15b.c: Likewise.
32577         * elf/tst-tlsmod16a.c: Likewise.
32578         * elf/tst-tlsmod16b.c: Likewise.
32579         * elf/tst-tlsmod7.c: Likewise.
32580         * elf/tst-tlsmod8.c: Likewise.
32581         * elf/tst-tlsmod9.c: Likewise.
32582         * gmon/gmon.c: Likewise.
32583         * grp/fgetgrent_r.c: Likewise.
32584         * grp/putgrent.c: Likewise.
32585         * hurd/fopenport.c: Likewise.
32586         * include/libc-symbols.h: Likewise.
32587         * include/tls.h: Likewise.
32588         * intl/gettextP.h: Likewise.
32589         * intl/loadinfo.h: Likewise.
32590         * locale/global-locale.c: Likewise.
32591         * locale/localeinfo.h: Likewise.
32592         * mach/devstream.c: Likewise.
32593         * malloc/arena.c: Likewise.
32594         * malloc/set-freeres.c: Likewise.
32595         * misc/err.c: Likewise.
32596         * misc/getttyent.c: Likewise.
32597         * misc/mntent_r.c: Likewise.
32598         * posix/getopt.c: Likewise.
32599         * posix/wordexp.c: Likewise.
32600         * pwd/fgetpwent_r.c: Likewise.
32601         * resolv/Versions: Likewise.
32602         * resolv/res_hconf.c: Likewise.
32603         * shadow/fgetspent_r.c: Likewise.
32604         * shadow/putspent.c: Likewise.
32605         * stdio-common/printf_fphex.c: Likewise.
32606         * stdio-common/tmpfile.c: Likewise.
32607         * stdlib/abort.c: Likewise.
32608         * stdlib/fmtmsg.c: Likewise.
32609         * sunrpc/auth_unix.c: Likewise.
32610         * sunrpc/clnt_perr.c: Likewise.
32611         * sunrpc/clnt_tcp.c: Likewise.
32612         * sunrpc/clnt_udp.c: Likewise.
32613         * sunrpc/clnt_unix.c: Likewise.
32614         * sunrpc/openchild.c: Likewise.
32615         * sunrpc/svc_simple.c: Likewise.
32616         * sunrpc/svc_tcp.c: Likewise.
32617         * sunrpc/svc_udp.c: Likewise.
32618         * sunrpc/svc_unix.c: Likewise.
32619         * sunrpc/xdr.c: Likewise.
32620         * sunrpc/xdr_array.c: Likewise.
32621         * sunrpc/xdr_rec.c: Likewise.
32622         * sunrpc/xdr_ref.c: Likewise.
32623         * sunrpc/xdr_stdio.c: Likewise.
32625 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
32627         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
32629 2011-07-03  Andreas Jaeger  <aj@suse.de>
32631         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
32632         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
32633         regenerate with gen-libm-tests.pl.
32635 2010-05-12  Petr Baudis  <pasky@suse.cz>
32637         [BZ #11589]
32638         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
32639         around j0() zero points by switching to j1().
32640         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
32641         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
32642         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
32643         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
32645 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
32647         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
32648         instead of 0.
32649         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
32650         instead of 0.
32651         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
32652         Patch in part by Pavel Roskin <proski@gnu.org>.
32654         [BZ #13138]
32655         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
32656         realloc.
32657         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
32658         Free memory block if necessary.
32660         [BZ #12847]
32661         * libio/genops.c (INTDEF): For string streams the _lock pointer can
32662         be NULL.  Don't lock in this case.
32664 2011-09-09  Roland McGrath  <roland@hack.frob.com>
32666         * elf/elf.h (ELFOSABI_GNU): New macro.
32667         (ELFOSABI_LINUX): Define to that.
32669 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
32671         * string/strncat.c (strncat): Undef the symbol in case it has been
32672         defined in bits/string.h.
32674 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
32676         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
32678         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
32679         link map.
32681 2011-08-17  Andreas Jaeger  <aj@suse.de>
32683         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
32685 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
32686             Ian Lance Taylor  <iant@google.com>
32688         * math/libm-test.inc (lround_test): New testcase.
32689         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
32691 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
32693         * Makefile: Remove support for automatic cvs check-ins.
32694         * Makerules: Likewise.
32695         * config.make.in: Likewise.
32696         * configure.in: Likewise.
32697         * intl/Makefile: Likewise.
32698         * locale/Makefile: Likewise.
32699         * po/Makefile: Likewise.
32700         * posix/Makefile: Likewise.
32701         * sysdeps/gnu/Makefile: Likewise.
32702         * sysdeps/mach/hurd/Makefile: Likewise.
32703         * sysdeps/sparc/sparc32/Makefile: Likewise.
32705         [BZ #13118]
32706         * posix/Makefile (bug-regex32-ENV): Define.
32707         Patch by John Stanley <jpsinthemix@verizon.net>.
32709         * misc/Makefile (headers): Add bits/select2.h.
32710         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
32711         * misc/bits/select2.h: New file.
32712         * include/bits/select2.h: New file.
32713         * debug/Makefile (routines): Add fdelt_chk.
32714         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
32715         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
32716         FD_ISSET.
32717         * debug/fdelt_chk.c: New file.
32719         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
32720         * wcsmbs/test-wmemcmp.c: Likewise.
32721         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
32722         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
32724 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32726         * string/Makefile (strop-tests): Add memcmp.
32727         * string/test-wmemcmp.c: New file.
32728         * string/test-memcmp.c: Add wmemcmp support.
32730 2011-09-08  Roland McGrath  <roland@hack.frob.com>
32732         [BZ #13153]
32733         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
32734         2011-07-19 change.
32736         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
32737         garbage value in a __mach_port_mod_refs call in the cases of the
32738         task-self and thread-self ports.
32740 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
32742         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
32744 2011-09-08  Andreas Schwab  <schwab@redhat.com>
32746         * elf/dl-load.c (lose): Check for non-null L.
32748 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
32750         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
32752         * elf/dl-libc.c (dlerror_run): Pass back error code from
32753         dl_catch_error.
32755         [BZ #13123]
32756         * elf/dl-load.c (lose): Free l_origin if it is valid.
32758         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
32759         names.
32760         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
32761         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32762         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
32763         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32764         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
32765         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
32767 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
32769         * sysdeps/powerpc/fpu/e_hypot.c: New file.
32770         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
32771         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
32772         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
32773         * sysdeps/powerpc/fpu/k_cosf.c: New file.
32774         * sysdeps/powerpc/fpu/k_sinf.c: New file.
32775         * sysdeps/powerpc/fpu/s_cosf.c: New file.
32776         * sysdeps/powerpc/fpu/s_sinf.c: New file.
32777         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
32778         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
32780 2011-08-15  Alan Modra  <amodra@gmail.com>
32782         [BZ #13092]
32783         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
32784         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
32785         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
32786         ppc_mcount to static-only-routines.
32787         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
32788         __mcount_internal.
32789         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
32790         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
32792 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
32794         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
32795         for finite and infinity parameters.
32797 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
32799         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
32800         and add nop instructions for throughput optimization.
32801         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
32803 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
32805         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
32806         aligned copy for power7 with vector-scalar instructions.
32807         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
32809 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
32811         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
32812         AVX check.
32814 2011-09-07  Andreas Schwab  <schwab@redhat.com>
32816         [BZ #13144]
32817         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
32818         last change.
32820 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
32822         * sysdeps/unix/sysv/linux/x86_64/init-first.c
32823         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
32824         syscall wrapper around clock_gettime in __vdso_clock_gettime.
32825         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
32826         clock_gettime.
32828 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
32830         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
32831         Forgot to demangle the pointer.
32833         * sysdeps/i386/sysdep.h: Define atom_text_section.
32834         * sysdeps/x86_64/sysdep.h: Likewise.
32835         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
32836         section with atom_text_section.
32837         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
32838         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
32839         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
32840         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
32841         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
32843         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
32844         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
32845         already be defined.  Change to take two parameters and don't assign
32846         result to variable.  Adjust all users.
32847         Define INTERNAL_GETTIME if not already defined.
32848         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
32849         call.
32850         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
32851         HAVE_CLOCK_GETTIME_VSYSCALL.
32852         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
32854         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
32855         gettimeofday vsyscall, just use time.
32857 2011-09-06  Andreas Schwab  <schwab@redhat.com>
32859         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
32860         <errno.h>.
32862 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
32864         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
32865         syscall on x86-64.
32866         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
32867         syscall.
32868         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
32869         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
32870         syscall if possible.
32872 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
32874         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
32875         e_ident.  Don't pass to find_mapsXX.
32876         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
32878 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32880         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
32881         strchr-sse2-no-bsf strrchr-sse2-no-bsf
32882         * sysdeps/x86_64/multiarch/strchr.S: Update.
32883         Check bit_slow_BSF bit.
32884         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
32885         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
32886         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
32888 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
32890         [BZ #13134]
32891         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
32892         before glibc 2.15.
32893         (tryshell): Define.
32894         (__spawni): Change last parameter to be flag.  Test
32895         SPAWN_XFLAGS_USE_PATH flag to use path or not.
32896         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
32897         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
32898         * posix/spawni.c: Likewise.
32899         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
32900         * posix/spawnp.c: Likewise.  Change normal version to use
32901         SPAWN_XFLAGS_USE_PATH.
32902         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
32903         SPAWN_XFLAGS_TRY_SHELL.
32905         [BZ #13150]
32906         * posix/glob.h: Remove gcc 1.x support.
32908         [BZ #13068]
32909         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
32911 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
32913         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
32914         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
32915         strrchr-sse2-bsf
32916         * sysdeps/i386/i686/multiarch/strchr.S: New file.
32917         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
32918         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
32919         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
32920         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
32921         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
32923 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
32925         * sysdeps/x86_64/wcscmp.S: New file.
32927         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
32928         wcscmp-c wcscmp-sse2
32929         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
32930         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
32931         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
32932         * wcsmbs/wcscmp.c: Allow renaming.
32934 2011-09-05  David S. Miller  <davem@davemloft.net>
32936         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
32937         stack slot, rather than the struct return pointer slot.
32938         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
32939         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
32940         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
32941         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
32943 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
32945         * po/ja.po: Update from translation team.
32947         [BZ #13144]
32948         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
32949         kernel in 64-bit binaries.
32951 2011-09-01  David S. Miller  <davem@davemloft.net>
32953         * elf/elf.h (HWCAP_SPARC_*): Move to..
32954         * sysdeps/sparc/sysdep.h: this new file and add new values.
32955         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
32956         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
32957         _DL_HWCAP_COUNT to 24.
32958         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
32959         entries.
32960         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
32961         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
32962         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
32963         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
32964         instead of magic constants.
32965         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
32967 2011-08-31  David S. Miller  <davem@davemloft.net>
32969         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
32970         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
32971         Reimplement to do errno handling inline.
32972         (SYSCALL_ERROR_HANDLER): New macro.
32973         (__SYSCALL_STRING): Do not do errno handling in asm.
32974         (__CLONE_SYSCALL_STRING): Delete.
32975         (__INTERNAL_SYSCALL_STRING): Delete.
32976         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
32977         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
32978         (PSEUDO): Reimplement to do errno handling inline.
32979         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
32980         (SYSCALL_ERROR_HANDLER): New macro.
32981         (__SYSCALL_STRING): Do not do errno handling in asm.
32982         (__CLONE_SYSCALL_STRING): Delete.
32983         (__INTERNAL_SYSCALL_STRING): Delete.
32984         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
32985         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
32986         i386.
32987         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
32988         (inline_syscall*): Add 'err' argument.
32989         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
32990         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
32991         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
32992         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
32994         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
32995         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
32997 2011-08-30  Andreas Schwab  <schwab@redhat.com>
32999         * elf/rtld.c (dl_main): Relocate objects in dependency order.
33001 2011-08-29  Jiri Olsa <jolsa@redhat.com>
33003         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
33004         directive.
33006 2011-08-24  David S. Miller  <davem@davemloft.net>
33008         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
33010 2011-08-24  Andreas Schwab  <schwab@redhat.com>
33012         * elf/Makefile: Add rules to build and run unload8 test.
33013         * elf/unload8.c: New file.
33014         * elf/unload8mod1.c: New file.
33015         * elf/unload8mod1x.c: New file.
33016         * elf/unload8mod2.c: New file.
33017         * elf/unload8mod3.c: New file.
33019         * elf/dl-close.c (_dl_close_worker): Reset private search list if
33020         it wasn't used.
33022 2011-08-23  David S. Miller  <davem@davemloft.net>
33024         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
33025         subtract stack bias.
33026         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
33027         %sp not %fp in calculations.
33028         (_JMPBUF_UNWINDS_ADJ): Likewise.
33030         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
33031         (aio_suspend): Call it to force an exception region around the
33032         AIO_MISC_WAIT() invocation.
33034 2011-08-23  Andreas Schwab  <schwab@redhat.com>
33036         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
33037         backslash.
33039 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
33041         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
33042         protection macro.
33043         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
33044         and <dl-machine.h>.
33045         (Elf64_FuncDesc): Remove.
33047 2011-08-22  David S. Miller  <davem@davemloft.net>
33049         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
33050         sigaltstack check, add missing cfi directives.
33051         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
33052         missing cfi directives, and sigaltstack handling.
33054 2011-08-16  Andreas Schwab  <schwab@redhat.com>
33056         [BZ #11724]
33057         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
33058         object is seen twice.
33059         * elf/dl-fini.c (_dl_sort_fini): Likewise.
33061         * elf/Makefile (distribute): Add tst-initorder2.c.
33062         (tests): Add tst-initorder2.
33063         (modules-names): Add tst-initorder2a tst-initorder2b
33064         tst-initorder2c tst-initorder2d.  Add rules to build them.
33065         ($(objpfx)tst-initorder2.out): New rule.
33066         * elf/tst-initorder2.c: New file.
33067         * elf/tst-initorder2.exp: New file.
33069 2011-08-22  Andreas Schwab  <schwab@redhat.com>
33071         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
33073         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
33074         dependencies back to end of function.
33076         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
33077         $(elfobjdir)/ld.so.
33079 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
33081         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
33082         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
33083         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
33084         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
33085         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
33086         of __vdso_gettimeofday.
33087         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
33088         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
33089         attribute_hidden.
33090         (_libc_vdso_platform_setup): Remove initialization of
33091         __vdso_gettimeofday and __vdso_time.
33093 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
33095         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
33096         and fgetc_unlocked.
33097         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
33098         getc_unlocked.
33100         * elf/dl-open.c (add_to_global): Report additions to the global scope
33101         for LD_DEBUG=scopes.
33102         (dl_open_worker): Also print scope of newly loaded dependencies.
33103         (_dl_show_scope): Indicate if there is no scope.
33105         [BZ #13114]
33106         * stdio-common/Makefile (tests): Add bug24.
33107         * stdio-common/bug24.c: New file.
33109 2011-08-19  Andreas Jaeger  <aj@suse.de>
33111         [BZ #13114]
33112         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
33113         non-existant file when using close-on-exec mode.
33115 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
33117         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
33118         the very first instruction.
33120         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
33121         the CFI state in the end.
33122         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
33123         inclusion of dl-trampoline.h.
33124         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
33126 2011-08-19  Andreas Schwab  <schwab@redhat.com>
33128         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
33129         expectations for long double.
33131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
33132         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
33134 2011-08-14  David S. Miller  <davem@davemloft.net>
33136         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
33137         artificual limit depends upon the system page size.
33139 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
33141         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
33142         * resolv/Makefile: Define CFLAGS-libresolv.
33144 2011-08-17  Andreas Schwab  <schwab@redhat.com>
33146         * nss/makedb.c (compute_tables): Make variables used in nested
33147         function static.
33149 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
33151         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
33152         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
33153         if buffer was too small.
33155         * elf/pldd.c (main): Attach to all threads in the process.
33156         Rewrite /proc handling to use *at functions.
33158 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
33160         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
33161         specifies first scope to show.
33162         (dl_open_worker): Update callers.  Move printing scope of new
33163         object to before the relocation.
33164         * elf/rtld.c (dl_main): Update _dl_show_scope call.
33165         * sysdeps/generic/ldsodefs.h: Update declaration.
33167         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
33168         string for the scope number.
33170 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
33172         * nscd/servicescache.c (cache_addserv): Make sure written is always
33173         initialized.
33175 2011-08-14  Roland McGrath  <roland@hack.frob.com>
33177         * sysdeps/i386/i486/bits/atomic.h
33178         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
33179         statement expression, so as to suppress "set but not used" warning.
33180         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
33182         * string/strncat.c (STRNCAT): Use prototype definition.
33184         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
33185         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
33186         -Iprograms here.
33187         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
33188         (localedef-modules): Add localedef.
33189         (locale-modules): Add locale.
33191         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
33192         * elf/rtld.c (dl_main): Invert order of assignment in last change,
33193         to avoid a warning.
33195 2011-08-14  David S. Miller  <davem@davemloft.net>
33197         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
33198         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
33200 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
33202         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
33203         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
33204         * elf/rtld.c (dl_main): Set l_name of vDSO.
33205         Call _dl_show_scope when DL_DEBUG_SCOPES.
33206         (process_dl_debug): Recognize scopes flag and also set it for all.
33207         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
33208         Declare _dl_show_scope.
33210         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
33211         (do_dlopen): Pass caller_dlopen to dl_open.
33212         (__libc_dlopen_mode): Initialize caller_dlopen.
33214         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
33215         of libc.  Make tolower call locale-independent.  Optimize a bit by
33216         using isdigit instead of isalnum.
33217         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
33219 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
33221         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
33222         was a dependency or dynamically loaded.
33224 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
33226         * intl/l10nflist.c: Allow architecture-specific pop function.
33227         * sysdeps/x86_64/l10nflist.c: New file.
33229         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
33230         classification.
33232 2011-08-10  Andreas Schwab  <schwab@redhat.com>
33234         * include/dirent.h: Add libc_hidden_proto for scandirat and
33235         scandirat64.  Don't declare __scandirat64.
33236         * dirent/scandirat.c: Add libc_hidden_def.
33237         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
33238         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
33240 2011-08-10  David S. Miller  <davem@davemloft.net>
33242         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
33243         enum.
33244         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33245         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33246         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33248 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
33250         * Versions.def [libc]: Add GLIBC_2.15.
33251         * dirent/Makefile (routines): Add scandirat and scandirat64.
33252         * dirent/Versions [libc]: Export scandirat and scandirat64 for
33253         GLIBC_2.15.
33254         * dirent/dirent.h: Declare scandirat and scandirat64.
33255         * dirent/scandirat.c: New file.
33256         * dirent/scandirat64.c: New file.
33257         * sysdeps/wordsize-64/scandirat.c: New file.
33258         * sysdeps/wordsize-64/scandirat64.c: New file.
33259         * dirent/opendir.c: Define opendirat.
33260         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
33261         using scandirat.
33262         * dirent/scandir64.c: Adjust for scandir.c change.
33263         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
33264         __scandirat64, and __scandir_cancel_handler.
33265         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
33266         additional parameter and use openat instead of open (outside of ld.so).
33267         Add new __opendir as wrapper around __opendirat.
33268         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
33269         here without requiring old scandirat implementation.
33271 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
33273         * dirent/scandir.c (cancel_handler): Renamed to
33274         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
33275         defined.  Adjust users.
33276         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
33277         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
33279 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
33281         * string/test-string.h (IMPL): Use __STRING to expand name and then
33282         stringify it.
33284         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
33285         of cleanups.
33287 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33289         * string/Makefile: Update.
33290         (strop-tests): Append strncat.
33291         * string/test-wcscmp.c: New file.
33292         New comprehensive test for wcscmp.
33293         * string/test-strcmp.c: Update.
33294         (WIDE): New define.
33296 2011-07-22  Andreas Schwab  <schwab@redhat.com>
33298         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
33299         line.
33301 2011-07-26  Andreas Schwab  <schwab@redhat.com>
33303         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
33304         encoding to ACE if AI_IDN.
33306 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
33308         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
33309         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
33311 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33313         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
33314         Fix overflow bug in strncat.
33315         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
33317         * string/test-strncat.c: Update.
33318         Add new tests for checking overflow bugs.
33320 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33322         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33323         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
33324         * sysdeps/i386/i686/multiarch/strcat.S: New file.
33325         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
33326         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
33327         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
33328         * sysdeps/i386/i686/multiarch/strncat.S: New file.
33329         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
33330         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
33332         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
33333         (USE_AS_STRCAT): Define.
33334         Add strcat and strncat support.
33335         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33337 2011-07-25  Andreas Schwab  <schwab@redhat.com>
33339         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
33340         __n bigger than INT_MAX+1.
33341         (__strncmp_g): Likewise.
33343 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
33345         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
33346         * libio/stido.h: Likewise.
33348         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
33349         (AF_NFC): Define.
33350         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
33351         (AF_NFC): Define.
33353         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
33354         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
33355         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
33356         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
33357         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
33359         [BZ #13021]
33360         * scripts/test-installation.pl: Don't expect libnss_test1 to be
33361         installed.
33363         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
33364         typo.
33365         (_dl_x86_64_save_sse): Likewise.
33367 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
33369         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
33370         OSXSAVE.
33371         (_dl_x86_64_save_sse): Likewise.
33373         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
33375         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
33377 2011-07-21  Andreas Schwab  <schwab@redhat.com>
33379         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
33380         change.
33381         (_dl_x86_64_save_sse): Use correct AVX check.
33383 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
33385         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
33386         bug in strncpy/strncat.
33387         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
33389 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
33391         * string/tester.c (test_strcat): Add tests for different alignments
33392         of source and destination.
33393         (test_strncat): Likewise.
33395 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
33397         [BZ #12852]
33398         * posix/glob.c (glob): Check passed in values before using them in
33399         expressions to avoid some overflows.
33400         (glob_in_dir): Likewise.
33402         [BZ #13007]
33403         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
33404         check for AVX enablement so that we don't crash with old kernels and
33405         new hardware.
33406         * elf/tst-audit4.c: Add same checks here.
33407         * elf/tst-audit6.c: Likewise.
33409         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
33411 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
33413         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
33415 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
33417         * po/cs.po: Update from translation team.
33418         * po/bg.po: Likewise.
33420 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
33422         * misc/sys/cdefs.h: Add support for const attribute.
33423         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
33424         to gnu_dev_{major,minor,makedev} functions.
33426 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
33428         * intl/dcigettext.c (get_output_charset): Add missing bracket.
33430 2011-07-20  Andreas Schwab  <schwab@redhat.com>
33432         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
33433         strlen results.
33435 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
33437         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
33438         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
33439         register in order to avoid conflicts with the soft frame pointer
33440         being held in r11 when necessary.
33441         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
33442         (INTERNAL_VSYSCALL_NCS): Likewise.
33444 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
33446         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
33447         * elf/dl-fini.c (_dl_fini): Adjust caller.
33448         * elf/dl-close.c (_dl_close_worker): Likewise.
33449         * sysdeps/generic/ldsodefs.h: Adjust declaration.
33451 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
33453         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
33454         "aux_cache->nlibs < 0".
33456         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
33457         in the reload-count case.
33459 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
33461         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33462         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
33463         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
33464         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
33465         * sysdeps/x86_64/multiarch/strcat.S: New file.
33466         * sysdeps/x86_64/multiarch/strncat.S: New file.
33467         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
33468         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
33469         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
33470         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
33471         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
33472         (USE_AS_STRCAT): Define.
33473         Add strcat and strncat support.
33474         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
33475         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33476         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
33477         * string/strncat.c: Update.
33478         (USE_AS_STRNCAT): Define.
33479         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33480         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
33481         and i7.
33482         * sysdeps/x86_64/multiarch/init-arch.h
33483         (bit_Prefer_PMINUB_for_stringop): New.
33484         (index_Prefer_PMINUB_for_stringop): Likewise.
33485         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
33486         bit_Prefer_PMINUB_for_stringop.
33488 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
33490         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
33491         buffer64.
33492         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
33493         of casting of buffer.
33494         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
33495         buffer32 and buffer64.
33496         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
33497         writes instead of casting of buffer.
33498         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
33499         buffer32.
33500         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
33501         casting of buffer.
33503 2011-07-19  Andreas Schwab  <schwab@redhat.com>
33505         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
33507 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
33509         * nscd/nscd.c (termination_handler): Don't do anything for a database
33510         if it has not yet been initialized.
33512 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
33514         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33516 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
33518         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
33520 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
33522         * po/nl.po: Update from translation team.
33523         * po/sv.po: Likewise.
33525 2011-07-16  Roland McGrath  <roland@hack.frob.com>
33527         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
33528         now disallowed by GCC.
33530         * configure.in (use-default-link): Default to yes if a test -shared
33531         link meets our qualifications.
33532         * configure: Regenerated.
33534         * config.make.in (output-format): New variable.
33535         * configure.in: Check for ld --print-output-format support.
33536         * configure: Regenerated.
33537         * Makerules ($(common-objpfx)format.lds)
33538         [$(output-format) != unknown]: Just use $(output-format),
33539         instead of the linker-script munging.
33541 2011-07-14  Roland McGrath  <roland@hack.frob.com>
33543         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
33544         of $(common-objpfx)shlib.lds.
33545         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
33547         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
33548         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
33550         * configure.in (-z relro check): Adjust test code to add a large
33551         writable data section after it.
33552         * configure: Regenerated.
33554 2011-07-11  Roland McGrath  <roland@hack.frob.com>
33556         * configure.in (-z relro check): Fix test code to make the variable
33557         truly const.
33558         * configure: Regenerated.
33560 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
33562         * nscd/nscd.h (struct traced_file): Define.
33563         (struct database_dyn): Remove inotify_descr, reset_res, and filename
33564         elements.  Add traced_files.
33565         (inotify_fd): Declare.
33566         (register_traced_file): Declare.
33567         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
33568         (inotify_fd): Export.
33569         (resolv_conf_descr): Remove.
33570         (nscd_init): Move inotify descriptor creation to main.
33571         Don't register files for notification here.
33572         (register_traced_file): New function.
33573         (invalidate_cache): Don't use reset_res to determine whether to call
33574         res_init, go through the list of registered files.
33575         (main_loop_poll): The inotify descriptors are now stored in the
33576         structures for the traced files.
33577         (main_loop_epoll): Likewise
33578         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
33579         to __nss_disable_nscd.
33580         * nscd/cache.c (prune_cache): There is no single inotify descriptor
33581         for a database anymore.  Check the records for all the registered
33582         files instead.
33583         * nss/Makefile (libnss_files-routines): Add files-init.
33584         (libnss_db-routines): Add db-init.
33585         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
33586         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
33587         * nss/nss_db/db-init.c: New file.
33588         * nss/nss_files/files-init.c: New file.
33589         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
33590         __nss_lookup_function.
33591         (__nss_lookup_function): Call nss_load_library.
33592         (nss_load_all_libraries): New function.
33593         (__nss_disable_nscd): Take parameter with callback function for files
33594         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
33595         used for the cached services.
33596         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
33597         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
33598         options for features to all the files in nscd.
33600         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
33602 2011-07-10  Roland McGrath  <roland@hack.frob.com>
33604         * csu/elf-init.c (__libc_csu_init): Comment typo.
33606 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
33608         * po/pl.po: Update from translation team.
33609         * po/ja.po: Likewise.
33610         * po/ru.po: Likewise.
33611         * po/ko.po: Likewise.
33612         * po/fr.po: Likewise.
33614 2011-07-09  Roland McGrath  <roland@hack.frob.com>
33616         * configure.in (.ctors/.dtors header and trailer check):
33617         Use an empirical test on a built program.
33618         * configure: Regenerated.
33620         * configure.in (-z relro check): Use an empirical test on a built DSO.
33621         Detect, but do not require, on ia64.
33622         * configure: Regenerated.
33624         * configure.in (READELF): Find it with AC_CHECK_TOOL.
33625         Update tests that use readelf to use $READELF instead.
33626         * configure: Regenerated.
33628 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
33630         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
33631         if the result is not used.
33633 2011-07-05  Andreas Jaeger  <aj@suse.de>
33635         [BZ#9696]
33636         * stdlib/tst-strtod.c: Add testcase.
33638 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
33640         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
33641         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
33642         The latter has a higher limit.  Take additional parameter to pass to
33643         the new function.
33644         (__pathconf): Pass file to __statfs_link_max.
33645         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
33646         __statfs_link_max.
33647         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
33648         __statfs_link_max.
33650         [BZ #12868]
33651         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
33652         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
33653         Handle Lustre.
33654         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
33655         (__statfs_filesize_max): Likewise.
33656         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
33658 2011-07-05  Andreas Jaeger  <aj@suse.de>
33660         * resolv/res_comp.c (dn_skipname): Remove unused variable.
33662 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
33664         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
33665         `status' variable.
33666         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
33667         Likewise.
33669 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
33671         * Makefile (strop-tests): Add strncat.
33672         * string/test-strncat.c: New file.
33674 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
33676         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
33678 2011-06-21  Andreas Jaeger  <aj@suse.de>
33680         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
33681         Copy rule from iconvdata/Makefile.
33683 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
33685         [BZ #12922]
33686         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
33687         but no long options are defined, just return 'W'.
33689 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
33691         [BZ #9696]
33692         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
33694 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
33696         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
33697         netgroups to read.
33698         (innetgr): Likewise.
33700 2011-07-05  Roland McGrath  <roland@hack.frob.com>
33702         * config.make.in (install_root): Default to $(DESTDIR).
33704 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
33706         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
33708 2011-07-02  Roland McGrath  <roland@hack.frob.com>
33710         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
33712         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
33713         containing directory rather than embedding absolute directory names.
33715         * scripts/check-local-headers.sh: Rewritten using awk.
33716         Match by word, not by line.  Print error messages for matches.
33717         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
33719         * Makerules [shlib-lds-flags empty]:
33720         ($(common-objpfx)libc_pic.opts): New target.
33721         ($(common-objpfx)libc_pic.os.clean): New target.
33722         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
33724         * config.make.in (OBJCOPY): New variable.
33725         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
33726         * configure: Regenerated.
33728         * config.make.in (use-default-link): New variable.
33729         * configure.in (use_default_link): Grok --with-default-link to set it.
33730         * configure: Regenerated.
33731         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
33732         (shlib-lds, shlib-lds-flags): Define to empty.
33734         * Makerules (shlib-lds): New variable.
33735         (shlib-lds-flags): New variable.
33736         (build-shlib, build-moduile, build-module-asneeded): Use it.
33737         ($(common-objpfx)libc.so): Use $(shlib-lds).
33738         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
33739         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
33741         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
33742         DT_FLAGS/DT_FLAGS_1 with zero flags.
33744         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
33745         linker script munging.
33747 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
33749         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
33750         as 128-bit value.
33751         * crypt/sha512.c (sha512_process_block): Perform total addition using
33752         128-bit if possible.
33753         (__sha512_finish_ctx): Likewise.
33754         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
33755         as 64-bit value.
33756         * crypt/sha256.c (SWAP64): Define.
33757         (sha256_process_block): Perform total addition using 64-bit if
33758         possible.
33759         (__sha256_finish_ctx): Likewise.
33761 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
33763         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
33764         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33765         * nscd/hstcache.c (cache_addhst): Likewise.
33766         * nscd/grpcache.c (cache_addgr): Likewise.
33767         * nscd/aicache.c (addhstaiX): Likewise
33768         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
33770 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
33772         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
33773         * nscd/initgrcache.c (addinitgroupsX): Likewise.
33774         * nscd/hstcache.c (cache_addhst): Likewise.
33775         * nscd/grpcache.c (cache_addgr): Likewise.
33776         * nscd/aicache.c (addhstaiX): Likewise
33778 2011-07-01  Andreas Schwab  <schwab@redhat.com>
33780         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
33781         domain only when needed.
33783 2011-06-30  Andreas Schwab  <schwab@redhat.com>
33785         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
33786         is always restored.
33788 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
33790         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
33791         are re-adding the entry.
33792         * nscd/servicescache.c (cache_addserv): Likewise.
33794 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
33796         * sysdeps/generic/dl-irel.h: fix protection against multiple
33797         inclusions.
33798         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
33800 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
33802         [BZ #12935]
33803         * malloc/memusage.sh: Fix quoting in message.
33804         * debug/xtrace.sh: Likewise.
33806         * configure.in: Remove support for --experimental-malloc option, make
33807         it the default.
33808         * config.make.in: Likewise.
33809         * malloc/Makefile: Likewise.
33811 2011-06-27  Andreas Schwab  <schwab@redhat.com>
33813         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
33814         two-byte characters.
33816 2011-06-27  Roland McGrath  <roland@hack.frob.com>
33818         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
33819         AC_CACHE_CHECK invocation.
33820         * configure: Regenerated.
33822         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
33824 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
33826         [BZ #12350]
33827         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
33828         bit from old_res_options.
33830         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
33832         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
33833         value type for setfct.
33835 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
33837         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33838         __gettimeofday instead of gettimeofday.
33840 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
33842         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
33844 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
33846         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
33848         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
33849         info.
33851 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
33853         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
33854         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33855         strcpy-sse2-unaligned strncpy-sse2-unaligned
33856         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
33857         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
33858         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
33859         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
33860         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
33861         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
33862         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
33863         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
33864         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
33865         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
33866         (STRCPY): Support SSE2 and SSSE3 versions.
33868 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
33870         [BZ #12874]
33871         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
33872         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
33873         kernels which artificially limit size of requests.
33875 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
33877         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
33878         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
33879         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
33880         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
33881         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
33882         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
33883         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
33884         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
33885         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
33886         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
33887         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
33888         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
33889         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
33890         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
33891         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
33892         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33893         Enable unaligned load optimization for Intel Core i3, i5 and i7
33894         processors.
33895         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
33896         Define.
33897         (index_Fast_Unaligned_Load): Define.
33898         (HAS_FAST_UNALIGNED_LOAD): Define.
33900 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
33902         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
33904 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
33906         [BZ #12907]
33907         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
33908         until it is clear that the information is realy needed.
33909         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
33911 2011-06-22  Andreas Schwab  <schwab@redhat.com>
33913         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
33915 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
33917         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
33918         /sys/devices/system/cpu/online if it is usable.
33920         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
33921         reading the information from the /proc filesystem to once a second.
33923 2011-06-21  Andreas Jaeger  <aj@suse.de>
33925         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
33926         NULL after inclusion of kernel headers.
33928 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
33930         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
33931         calls to internal_setent.
33933         [BZ #12885]
33934         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
33935         addresses using gethostbyname4_r ignore IPv4 addresses.
33937         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
33938         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
33940         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
33942 2011-06-20  David S. Miller  <davem@davemloft.net>
33944         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
33945         inclusions.
33946         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
33948         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
33949         (elf_irel): Use it.
33950         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
33951         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
33952         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
33953         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
33954         * sysdeps/x86_64/dl-irel.h: Likewise.
33956         * elf/dl-runtime.c: Use elf_ifunc_invoke.
33957         * elf/dl-sym.c: Likewise.
33959 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
33961         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
33962         need to dereference resplen2.
33964 2011-06-14  Andreas Schwab  <schwab@redhat.com>
33966         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
33968 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
33970         * Makeconfig: Define vardbdir and inst_vardbdir.
33971         * nss/Makefile: Add rules to install db-Makefile.
33973         * nss/nss_db/db-XXX.c: Cleanup.
33975         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
33976         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
33977         GLIBC_PRIVATE.
33978         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
33979         * nss/makedb.c: Implement -g option to specify that value strings
33980         are generated and should not be added to table iterated over for
33981         get*ent calls.
33982         * nss/nss_db/db-initgroups.c: New file.
33984         * nss/getent.c: Add support for initgroups lookups through getgrouplist
33985         interface.
33987         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
33988         (internal_getgrouplist): Adjust to name change.
33989         Update use_initgroups_entry if this is not the first call.
33990         * nss/databases.def: Add initgroups entry.
33992         * nss/makedb.c (compute_tables): Check result of multiple hash table
33993         sizes to minimize maximum chain length.
33995 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
33997         * Versions.def: Add entry for libnss_db.
33998         * shlib-versions: Likewise.
33999         * nss/Makefile: Add rules to build libnss_db.
34000         * nss/Versions: Add libnss_db information.  Organize libnss_files
34001         entries better.
34002         * nss/db-Makefile: Add gshadow support.  Change rules for the new
34003         makedb progra.  Some minor improvements to generate smaller files.
34004         * nss/nss_db/nss_db.h: Move NSS database header data structures to
34005         here from...
34006         * nss/makedb.c: ...here.
34007         Improve database format to be smaller and require less memory at
34008         runtime.
34009         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
34010         db anymore.
34011         * nss/nss_db/db-netgrp.c: Likewise.
34012         * nss/nss_db/db-open.c: Likewise.
34013         * nss/nss_files/flies-XXX.x: Adjust comments.
34014         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
34015         * nss/nss_files/files-grp.c: Likewise.
34016         * nss/nss_files/files-hosts.c: Likewise.
34017         * nss/nss_files/files-network.c: Likewise.
34018         * nss/nss_files/files-proto.c: Likewise.
34019         * nss/nss_files/files-pwd.c: Likewise.
34020         * nss/nss_files/files-rpc.c: Likewise.
34021         * nss/nss_files/files-service.c: Likewise.
34022         * nss/nss_files/files-sgrp.c: Likewise.
34023         * nss/nss_files/files-spwd.c: Likewise.
34024         * nss/nss_db/db-alias.c: Removed.
34025         * nss/nss_db/dummy-db.h: Removed.
34027 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
34029         * nss/makedb.c: Rewritten to not use database library.
34030         * nss/Makefile: Update to build new makedb program.
34032 2011-06-14  Andreas Jaeger  <aj@suse.de>
34034         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
34035         memset declaration.
34037 2011-06-10  Andreas Schwab  <schwab@redhat.com>
34039         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
34040         tmpbuf.
34042 2011-06-10  Roland McGrath  <roland@hack.frob.com>
34044         * Makerules (shlib.lds): Fail if the linker script comes out empty.
34045         * elf/Makefile ($(objpfx)ld.so): Likewise.
34047         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
34048         Don't list ld.so twice in dependencies.
34050         * posix/bug-regex31.c: Include <stdlib.h>.
34052         * nscd/hstcache.c (cache_addhst): Remove unused variable.
34054         * nis/nss_compat/compat-spwd.c
34055         (getspent_next_nss_netgr): Remove unused variable.
34056         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
34058         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
34059         nonmembers" output to use the right array.
34061         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
34063         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
34065         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
34066         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
34067         * catgets/gencat.c (read_input_file): Likewise.
34068         * locale/programs/locarchive.c (enlarge_archive): Likewise.
34070         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
34071         variable definition inside #if's controlling its use.
34073         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
34075         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
34077         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
34079         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
34080         unreachable code.
34082         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
34084         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
34085         * configure: Regenerated.
34087         * Makerules: Revert last change.
34088         * elf/Makefile: Likewise.
34090 2011-06-09  Roland McGrath  <roland@hack.frob.com>
34092         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
34093         * elf/Makefile ($(objpfx)librtld.os): Likewise.
34094         (reloc-link): Likewise.
34096 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
34098         * elf/Makefile: Add rules to build pldd.
34099         * elf/pldd.c: New file.
34100         * elf/pldd-xx.c: New file.
34102 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
34104         * version.h: Update for 2.15 development version.
34106 2011-06-07  David S. Miller  <davem@davemloft.net>
34108         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
34109         ifuncs.
34110         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
34111         elf_machine_lazy_rel): Likewise.
34112         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
34113         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
34114         elf_machine_lazy_rel): Likewise.
34115         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
34116         dl_hwcap via passed in argument.
34117         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
34118         Likewise.
34120 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34122         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
34124 2011-06-06  Roland McGrath  <roland@hack.frob.com>
34126         [BZ #12849]
34127         * manual/fdl-1.1.texi: New file, verbatim from:
34128         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
34129         * manual/lgpl-2.1.texi: New file, verbatim from:
34130         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
34131         * manual/Makefile (licenses): New variable, list those new file names.
34132         (texis): Use it.
34133         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
34135         * manual/fdl.texi: File removed.
34136         * manual/lesser.texi: File removed.
34137         * manual/libc.texinfo (Copying, Documentation License):
34138         Use new @include file names, put @appendix directive before @include.
34140 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
34142         [BZ #12841]
34143         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
34144         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
34145         (mq_open): Add __NTH.
34147 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
34149         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
34150         Assume Intel Core i3/i5/i7 processor if AVX is available.
34152 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
34154         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
34155         typo.
34157 2011-05-31  Andreas Schwab  <schwab@redhat.com>
34159         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
34160         memory.  Use alloca_account.  Fix memory leak when retrying.
34162 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
34164         * version.h (RELEASE): Bump for 2.14 release.
34165         * include/features.h (__GLIBC_MINOR__): Bump to 14.
34167         * config.make.in (RANLIB): Remove entry.
34169 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
34171         * po/Makefile (po-sed-cmd): Add ksh to extensions.
34172         (libc.pot): Work around missing support for .ksh extension in xgettext.
34174         [BZ #12684]
34175         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
34176         if both request failed.
34177         (send_dg): In case of server errors clear resplen or *resplen2.
34179         [BZ #12454]
34180         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
34181         when there are multiple maps.
34182         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
34183         (_dl_fini): Remove test here.
34185         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
34187 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
34189         [BZ #12350]
34190         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
34191         bit from old_res_options.
34192         (gaih_inet): Likewise.
34194         [BZ #11099]
34195         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
34196         as signed.
34198         * resolv/res_init.c (res_setoptions): Make the code more compact.
34200         [BZ #11558]
34201         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
34202         set RES_USEVC.
34204         [BZ #11634]
34205         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
34207         * malloc/malloc.h: Mark malloc hook variables as deprecated.
34209         [BZ #11781]
34210         * malloc/malloc.h: Declare malloc hook variables as volatile.
34212         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
34213         in last patch.
34215         [BZ #11799]
34216         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
34217         raise in the comment.
34218         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
34219         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
34220         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
34222 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
34224         [BZ #12811]
34225         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
34226         grow the buffers more if it already has to be sufficient.
34227         (build_wcs_upper_buffer): Likewise.
34228         * posix/regexec.c (check_matching): Likewise.
34229         (clean_state_log_if_needed): Likewise.
34230         (extend_buffers): Don't enlarge buffers beyond size of the input
34231         buffer.
34232         Patches mostly by Emil Wojak <emil@wojak.eu>.
34233         * posix/bug-regex32.c: New file.
34234         * posix/Makefile (tests): Add bug-regex32.
34236         * locale/findlocale.c (_nl_find_locale): Return right away if
34237         _nl_explode_name failed.
34238         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
34240         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
34242         * debug/xtrace.sh: Unify messages.
34243         * malloc/memusage.sh: Likewise.
34245         [BZ #12813]
34246         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
34247         time symbol from vDSO.  Substitute with vsyscall if not available.
34248         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
34249         __vdso_time.
34251         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
34252         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
34253         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
34254         Add sendmmsg and internal_sendmmsg.
34255         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
34256         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
34257         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
34259         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
34260         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
34261         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
34263 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
34265         [BZ #12813]
34266         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
34267         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
34268         available.
34269         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
34270         __vdso_getcpu.
34272         [BZ #12814]
34273         * iconvdata/Makefile (tests): Add bug-iconv9.
34274         * iconvdata/bug-iconv9.c: New file.
34276 2011-05-27  Andreas Schwab  <schwab@redhat.com>
34278         [BZ #12814]
34279         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
34281 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
34283         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34284         (struct user_regs_struct): Change intcs field back to cs.
34286 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
34288         * po/ja.po: Update from translation team.
34290 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
34292         [BZ #12795]
34293         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
34294         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
34296 2011-05-20  Andreas Schwab  <schwab@redhat.com>
34298         * stdlib/longlong.h: Update from GCC.
34300 2011-05-23  Andreas Schwab  <schwab@redhat.com>
34302         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
34303         parameter name.
34304         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
34305         Add parameter name.
34306         (__sysconf): Pass it down.
34308 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
34310         [BZ #12671]
34311         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
34312         some situations.
34313         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
34314         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
34315         add in in __libc_use_alloca calls.  Adjust callers.
34316         (glob): Use malloc in some situations.
34318         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
34319         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
34320         pltexit.
34322 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
34324         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
34325         and CLOCK_BOOTTIME_ALARM.
34327         [BZ #12782]
34328         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
34329         is returned.
34331         * string/_strerror.c (__strerror_r): Print negative errors as signed
34332         numbers.
34334         [BZ #12777]
34335         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
34336         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
34337         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
34339         * configure.in: Fix typo in redirection and correct removal of test
34340         files in two cases.
34342         [BZ #12788]
34343         * locale/setlocale.c (new_composite_name): Fix test to check for
34344         identical name of all categories.
34346         [BZ #12792]
34347         * libio/filedoalloc.c (local_isatty): New function.
34348         (_IO_file_doallocate): Use local_isatty.
34349         * stdio-common/perror.c (perror): In case a new stream is used
34350         forward the stream error.
34351         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
34352         error flag.
34354 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
34356         [BZ #11869]
34357         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
34358         alloca.
34359         * include/alloca.h (extend_alloca_account): Define.
34361         [BZ #11857]
34362         * posix/regex.h: Fix comments with documentation of user-accessible
34363         fields after compilation and describe correct free'ing of pattern
34364         after re_compile_pattern.
34365         Patch by Reuben Thomas <rrt@sc3d.org>.
34367 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
34369         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
34370         and -mno-altivec to prevent the compiler from using Altivec and/or
34371         VSX instructions when the corresponding registers are not available.
34373 2011-05-19  Andreas Schwab  <schwab@redhat.com>
34375         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
34377 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
34379         * libio/freopen.c (freopen): Use __dup2, not dup2.
34380         * libio/freopen64.c (freopen64): Likewise.
34382 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
34384         [BZ #12775]
34385         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
34386         * math/Makefile (tests): Add test-powl.
34387         (CFLAGS-test-powl.c): Define.
34388         * math/test-powl.c: New file.
34390 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
34392         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
34394 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
34396         [BZ #11837]
34397         * iconvdata/gb18030.c: Update to GB18020-2005.
34399 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
34401         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
34402         RE_SYNTAX_POSIX_AWK): Update to match recent development.
34403         Patch by Aharon Robbins <arnold@skeeve.com>.
34405         [BZ #11892]
34406         * stdlib/putenv.c (putenv): Don't always create copy of the variable
34407         on the stack.
34409         [BZ #11895]
34410         * misc/pselect.c (__pselect): Handle timeout value errors hidden
34411         through underflows.
34413         [BZ #12766]
34414         * misc/error.c (error_at_line): Ensure file_name and old_file_name
34415         point to strings before performing equality test for error_one_per_line
34416         mode.
34418         [BZ #11697]
34419         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
34421         [BZ #11820]
34422         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
34423         (struct user_fpregs_struct): Avoid __uint*_t types.
34425         [BZ #6420]
34426         * malloc/mtrace.c (tr_where): Add additional parameter to point to
34427         symbol info.  Use it instead of calling _dl_addr locally.
34428         (lock_and_info): New function.
34429         (tr_freehook): Call lock_and_info and pass symbol info as additional
34430         parameter to tr_where.
34431         (tr_mallochook): Likewise.
34432         (tr_reallochook): Likewise.
34433         (tr_memalignhook): Likewise.
34435         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
34436         used and couldn't be at all thread-safe.
34438 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
34440         * libio/freopen.c (freopen): Don't close old file descriptor
34441         before the new one is opened.  Instead dup the new file descriptor
34442         to the old one after the new stream is created.
34443         * libio/freopen64.c (freopen64): Likewise.
34444         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
34445         * libio/fileops.c (_IO_new_file_close_it): Handle new
34446         _IO_FLAGS2_NOCLOSE flag.
34447         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
34448         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
34449         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
34450         _IO_FLAGS2_NOCLOSE flag.
34451         * include/unistd.h: Add hidden_proto for dup3.
34452         Define __have_dup3.
34453         * io/dup3.c: Define hidden symbol.
34454         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
34456         [BZ #7101]
34457         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
34458         when an incomplete long option is used.
34459         * posix/tst-getopt_long1.c: New file.
34460         * posix/Makefile (tests): Add tst-getopt_long1.
34462         [BZ #10138]
34463         * scripts/config.guess: Update from autoconf-2.68.
34464         * scripts/config.sub: Likewise.
34466         [BZ #10157]
34467         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
34468         tests into ...
34469         (has_cpuclock): ...this.  New function.
34470         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
34471         macro here based on has_cpuclock code.
34473         [BZ #10149]
34474         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34475         First byte (not low byte) is now always NUL.
34476         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
34478         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
34479         Use non-cancelable interfaces.
34481         [BZ #9809]
34482         * locale/iso-639.def: Add entry for Sorani.
34484         [BZ #11901]
34485         * include/stdlib.h: Move include protection to the right place.
34486         Define abort_msg_s.  Declare __abort_msg with it.
34487         * stdlib/abort.c (__abort_msg): Adjust type.
34488         * assert/assert.c (__assert_fail_base): New function.  Majority
34489         of code from __assert_fail.  Allocate memory for __abort_msg with
34490         mmap.
34491         (__assert_fail): Now call __assert_fail_base.
34492         * assert/assert-perr.c: Remove bulk of implementation.  Use
34493         __assert_fail_base.
34494         * include/assert.hL Declare __assert_fail_base.
34495         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
34496         mmap.
34497         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
34499 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
34501         [BZ #11952]
34502         [BZ #12453]
34503         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
34504         until all modules are registered in the DTV.
34505         * elf/Makefile: Add rules to build and run tst-tls19.
34506         * elf/tst-tls19.c: New file.
34507         * elf/tst-tls19mod1.c: New file.
34508         * elf/tst-tls19mod2.c: New file.
34509         * elf/tst-tls19mod3.c: New file.
34510         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
34512         [BZ #12083]
34513         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
34514         correctly.
34516         [BZ #12601]
34517         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
34518         two-byte sequence errors.
34519         * iconvdata/Makefile (tests): Add bug-iconv8.
34520         * iconvdata/bug-iconv8.c: New file.
34522         [BZ #12626]
34523         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
34524         buf2 definition.
34526         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
34528         [BZ #12432]
34529         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
34530         (dummy_getcfa): New function.
34531         (init): Get _Unwind_GetCFA address, use dummy if not found.
34532         (backtrace_helper): In recursion check, also check whether CFA changes.
34533         (__backtrace): Completely initialize arg.
34535         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
34536         storing incomplete byte sequence in state object.  Avoid testing for
34537         guaranteed too small input if we know there is enough data available.
34539 2011-05-11  Andreas Schwab  <schwab@redhat.com>
34541         * Makeconfig (+link-pie): Indent.
34542         * Rules (binaries-pie): Define if $(have-fpie) and
34543         $(build-shared).
34544         (binaries-shared): Also filter out $(binaries-pie).
34545         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
34546         * nscd/Makefile (others-pie): Add nscd.
34547         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
34548         ($(objpfx)nscd): Remove command override.
34549         * login/Makefile (others-pie): Add pt_chown.
34550         ($(objpfx)pt_chown): Remove command override.
34551         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
34552         remove command overrides.
34554 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
34556         * libio/tst_putwc.c: Fix error messages.
34558         [BZ #12724]
34559         * libio/fileops.c (_IO_new_file_close_it): Always flush when
34560         currently writing and seek to current position when not.
34561         * libio/Makefile (tests): Add bug-fclose1.
34562         * libio/bug-fclose1.c: New file.
34564 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
34566         [BZ #12511]
34567         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
34568         don't set DF_1_NODELETE here.
34569         (do_lookup_x): When entering new entry test for copy relocation
34570         and if necessary set DF_1_NODELETE flag.
34571         * elf/tst-unique4.cc: New file.
34572         * elf/tst-unique4.h: New file.
34573         * elf/tst-unique4lib.cc: New file.
34574         * elf/Makefile: Add rules to build and run tst-unique4.
34575         Patch by Piotr Bury <pbury@goahead.com>.
34577 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
34579         [BZ #12052]
34580         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
34582         [BZ #12625]
34583         * misc/mntent_r.c (addmntent): Flush the stream after the output
34585         [BZ #12393]
34586         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
34587         (is_trusted_path_normalize): Skip initial colon.  Append slash
34588         to empty buffer.  Duplicate is_trusted_path code but allow
34589         constructed patch to be prefix.
34590         (is_dst): Allow $ORIGIN followed by /.
34591         (_dl_dst_substitute): Correct clearing of check_for_trusted.
34592         Correct testing of result of is_trusted_path_normalize
34593         (decompose_rpath): Fix warning.
34595 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
34597         [BZ #11257]
34598         * grp/initgroups.c (internal_getgrouplist): When we found the service
34599         list through the initgroups entry in nsswitch.conf do not always
34600         continue on a successful lookup.  Don't always use the
34601         __nss_group_database value if it is set.
34602         * nss/nsswitch.conf (initgroups): Change action for successful db
34603         lookup to continue for compatibility.
34605 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
34607         [BZ #11532]
34608         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
34609         and CP774 modules.
34610         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
34611         and CP774 modules.
34612         * iconvdata/tst-tables.sh: Likewise.
34613         * iconvdata/cp770.c: New file.
34614         * iconvdata/cp771.c: New file.
34615         * iconvdata/cp772.c: New file.
34616         * iconvdata/cp773.c: New file.
34617         * iconvdata/cp774.c: New file.
34618         * iconvdata/testdata/CP770: New file.
34619         * iconvdata/testdata/CP770..UTF8: New file.
34620         * iconvdata/testdata/CP771: New file.
34621         * iconvdata/testdata/CP771..UTF8: New file.
34622         * iconvdata/testdata/CP772: New file.
34623         * iconvdata/testdata/CP772..UTF8: New file.
34624         * iconvdata/testdata/CP773: New file.
34625         * iconvdata/testdata/CP773..UTF8: New file.
34626         * iconvdata/testdata/CP774: New file.
34627         * iconvdata/testdata/CP774..UTF8: New file.
34629         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
34630         END CHARMAP line.
34631         * iconvdata/gen-8bit-gap.sh: Likewise.
34632         * iconvdata/gen-8bit.sh: Likewise.
34634         * locale/iso-639.def: Add ary entry.
34636         [BZ #11258]
34637         * locale/C-translit.h.in: Add U20A1 transliteration.
34639         [BZ #12178]
34640         * locale/iso-639.def: Add wae entry.
34641         Patch by Kevin Bortis <bortis@translate-wae.ch>.
34643         [BZ #12545]
34644         * locale/programs/localedef.c (construct_output_path): Use ssize_t
34645         for n.
34647         [BZ #12711]
34648         * locale/C-translit.h.in: Add entry for U20B9.
34649         Patch by pravin.d.s@gmail.com.
34651 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
34653         [BZ #12713]
34654         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
34655         ENAMETOOLONG use generic getcwd.
34656         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
34657         in rtld.  Use *stat64.
34658         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
34659         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
34660         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
34661         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
34662         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
34663         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
34664         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
34665         __fstatat64 macros.
34666         * include/dirent.h: Add libc_hidden_proto for rewinddir.
34667         * dirent/rewinddir.c: Add libc_hidden_def.
34668         * sysdeps/mach/hurd/rewinddir.c: Likewise.
34669         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
34671         * include/dirent.h (__alloc_dir): Add flags parameter.
34672         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
34673         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
34674         __alloc_dir.
34675         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
34676         from fdopendir if O_CLOEXEC is already set.
34678 2011-03-15  Alan Modra  <amodra@gmail.com>
34680         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
34681         l_tls_firstbyte_offset non-zero.  Save padding offset in
34682         l_tls_firstbyte_offset for later use.
34683         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
34684         freeing static tls block.
34686 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
34688         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
34689         where #ifdef was intended.  The intent is to prevent ARG_MAX from
34690         being defined by the kernel headers.
34692 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
34694         [BZ #12734]
34695         * resolv/resolv.h: Define RES_NOTLDQUERY.
34696         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
34697         no-tld-query and set RES_NOTLDQUERY.
34698         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
34699         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
34700         modern BIND to search name as TLD unless forbidden.
34702 2011-05-07  Petr Baudis  <pasky@suse.cz>
34703             Ulrich Drepper  <drepper@gmail.com>
34705         [BZ #12393]
34706         * elf/dl-load.c (fillin_rpath): Move trusted path check...
34707         (is_trusted_path): ...to here.
34708         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
34709         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
34710         using is_trusted_path_normalize() in setuid scripts.
34712 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
34714         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
34715         __BEGIN/__END_DECLS.
34717 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
34719         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
34720         NSS_STATUS_NOTFOUND if no record was found.
34722 2011-05-05  Andreas Schwab  <schwab@redhat.com>
34724         * sunrpc/Makefile (headers): Add rpc/netdb.h.
34725         (headers-not-in-tirpc): Remove rpc/netdb.h
34726         * resolv/netdb.h: Revert last change.
34728 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
34730         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
34731         circular dependency between libgcc.a and libc.a.
34733 2011-05-05  Andreas Schwab  <schwab@redhat.com>
34735         * resolv/netdb.h: Don't include <rpc/netdb.h>.
34736         * nis/Makefile: Don't install rpcsvc/*.
34737         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
34738         instead of <rpc/types.h>.
34739         (MAXHOSTNAMELEN): Define.
34741 2011-05-03  Andreas Schwab  <schwab@redhat.com>
34743         * elf/ldconfig.c (add_dir): Don't crash on empty path.
34745 2011-04-28  Maciej Babinski  <mbabinski@google.com>
34747         [BZ #12714]
34748         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
34749         gethostbyname4_r when IPv6 results are possible.
34751 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
34753         [BZ #12723]
34754         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
34755         _PC_PIPE_BUF handling.
34757 2011-04-30  Bruno Haible  <bruno@clisp.org>
34759         [BZ #12717]
34760         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
34761         * resolv/netdb.h (getnameinfo): Change type of flags parameter
34762         to 'int'.
34763         * inet/getnameinfo.c (getnameinfo): Likewise.
34765 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
34767         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
34768         to groups setting in database lookup.
34769         * nss/nsswitch.conf: Add initgroups entry.
34771 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
34773         [BZ #12685]
34774         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
34775         mode string.
34776         Patch by Eric Blake <eblake@redhat.com>.
34778 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
34780         * sunrpc/Makefile (need-export-routines): Add svc_run.
34781         (routines): Remove svc_run.
34782         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
34783         * sunrpc/clnt_perr.c (clnt_perrno): Export.
34784         * sunrpc/svc_run.c (svc_run): Likewise.
34785         * sunrpc/svc_udp.c (svcudp_create): Likewise.
34787 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
34789         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
34790         problem in reallocation in last patch.
34792 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
34794         * sunrpc/Makefile: Move inclusion of Rules.
34796 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
34798         * nss/nss_files/files-initgroups.c: New file.
34799         * nss/Makefile (libnss_files-routines): Add files-initgroups.
34800         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
34801         _nss_files_initgroups_dyn.
34803 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
34805         * elf/elf.h (R_ARM_IRELATIVE): Define.
34807 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
34809         * po/ru.po: Update from translation team.
34811 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
34813         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
34814         dependencies.
34816 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
34818         [BZ #12653]
34819         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
34820         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
34821         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
34822         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
34823         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
34825 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
34827         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
34828         differing bytes.
34829         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
34830         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
34831         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
34833 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
34835         [BZ #12420]
34836         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
34837         storing it.
34838         * stdlib/bug-getcontext.c: New file.
34839         * stdlib/Makefile: Add rules to build and run bug-getcontext.
34841 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34843         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
34844         instructions into .machine "z9-109".
34845         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
34846         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
34848 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
34850         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
34851         between environment variables and auxiliary vector.
34853 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
34855         * Makefile: Add rules to build linkobj/libc.so.
34856         * include/libc-symbols.h: Define libc_hidden_nolink.
34857         * include/rpc/auth.h: Mark functions which are to be hidden.
34858         * include/rpc/auth_des.h: Likewise.
34859         * include/rpc/auth_unix.h: Likewise.
34860         * include/rpc/clnt.h: Likewise.
34861         * include/rpc/des_crypt.h: Likewise.
34862         * include/rpc/key_prot.h: Likewise.
34863         * include/rpc/pmap_clnt.h: Likewise.
34864         * include/rpc/pmap_prot.h: Likewise.
34865         * include/rpc/pmap_rmt.h: Likewise.
34866         * include/rpc/rpc_msg.h: Likewise.
34867         * include/rpc/svc.h: Likewise.
34868         * include/rpc/svc_auth.h: Likewise.
34869         * include/rpc/xdr.h: Likewise.
34870         * nis/Makefile: Link all DSOs against linkobj/libc.so.
34871         * nss/Makefile: Likewise.
34872         * sunrpc/Makefile: Don't install headers.  Build library with normal
34873         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
34874         * sunrpc/auth_des.c: Hide exported symbols by default, export some
34875         for the compat linking library.  Remove use of INTDEF/INTUSE.
34876         * sunrpc/auth_none.c: Likewise.
34877         * sunrpc/auth_unix.c: Likewise.
34878         * sunrpc/authdes_prot.c: Likewise.
34879         * sunrpc/authuxprot.c: Likewise.
34880         * sunrpc/clnt_gen.c: Likewise.
34881         * sunrpc/clnt_perr.c: Likewise.
34882         * sunrpc/clnt_raw.c: Likewise.
34883         * sunrpc/clnt_simp.c: Likewise.
34884         * sunrpc/clnt_tcp.c: Likewise.
34885         * sunrpc/clnt_udp.c: Likewise.
34886         * sunrpc/clnt_unix.c: Likewise.
34887         * sunrpc/des_crypt.c: Likewise.
34888         * sunrpc/des_soft.c: Likewise.
34889         * sunrpc/get_myaddr.c: Likewise.
34890         * sunrpc/key_call.c: Likewise.
34891         * sunrpc/key_prot.c: Likewise.
34892         * sunrpc/netname.c: Likewise.
34893         * sunrpc/pm_getmaps.c: Likewise.
34894         * sunrpc/pm_getport.c: Likewise.
34895         * sunrpc/pmap_clnt.c: Likewise.
34896         * sunrpc/pmap_prot.c: Likewise.
34897         * sunrpc/pmap_prot2.c: Likewise.
34898         * sunrpc/pmap_rmt.c: Likewise.
34899         * sunrpc/publickey.c: Likewise.
34900         * sunrpc/rpc_cmsg.c: Likewise.
34901         * sunrpc/rpc_common.c: Likewise.
34902         * sunrpc/rpc_dtable.c: Likewise.
34903         * sunrpc/rpc_prot.c: Likewise.
34904         * sunrpc/rpc_thread.c: Likewise.
34905         * sunrpc/rtime.c: Likewise.
34906         * sunrpc/svc.c: Likewise.
34907         * sunrpc/svc_auth.c: Likewise.
34908         * sunrpc/svc_authux.c: Likewise.
34909         * sunrpc/svc_raw.c: Likewise.
34910         * sunrpc/svc_run.c: Likewise.
34911         * sunrpc/svc_simple.c: Likewise.
34912         * sunrpc/svc_tcp.c: Likewise.
34913         * sunrpc/svc_udp.c: Likewise.
34914         * sunrpc/svc_unix.c: Likewise.
34915         * sunrpc/svcauth_des.c: Likewise.
34916         * sunrpc/xcrypt.c: Likewise.
34917         * sunrpc/xdr.c: Likewise.
34918         * sunrpc/xdr_array.c: Likewise.
34919         * sunrpc/xdr_float.c: Likewise.
34920         * sunrpc/xdr_intXX_t.c: Likewise.
34921         * sunrpc/xdr_mem.c: Likewise.
34922         * sunrpc/xdr_rec.c: Likewise.
34923         * sunrpc/xdr_ref.c: Likewise.
34924         * sunrpc/xdr_sizeof.c: Likewise.
34925         * sunrpc/xdr_stdio.c: Likewise.
34927 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
34929         [BZ #12650]
34930         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
34931         * sysdeps/ia64/dl-tls.h: Likewise.
34932         * sysdeps/powerpc/dl-tls.h: Likewise.
34933         * sysdeps/s390/dl-tls.h: Likewise.
34934         * sysdeps/sh/dl-tls.h: Likewise.
34935         * sysdeps/sparc/dl-tls.h: Likewise.
34936         * sysdeps/x86_64/dl-tls.h: Likewise.
34937         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
34939 2011-03-14  Andreas Schwab  <schwab@redhat.com>
34941         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
34942         rpath element also skip the following colon.
34943         (expand_dynamic_string_token): Add is_path parameter and pass
34944         down to DL_DST_REQUIRED and _dl_dst_substitute.
34945         (decompose_rpath): Call expand_dynamic_string_token with
34946         non-zero is_path.  Ignore empty rpaths.
34947         (_dl_map_object_from_fd): Call expand_dynamic_string_token
34948         with zero is_path.
34950 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
34952         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
34953         Make cancelable.
34955 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
34957         [BZ #12655]
34958         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
34959         Patch by Filipe David Manana <fdmanana@apache.org>.
34961 2011-04-07  Andreas Schwab  <schwab@redhat.com>
34963         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
34964         Maintain aligned stack.
34965         (CHECK_RSP): Remove unused macro.
34967 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
34969         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
34970         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
34972 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
34974         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
34976         * include/features.h: Mention __USE_XOPEN2K8 in comment.
34978 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
34980         [BZ #12518]
34981         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
34982         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
34983         * sysdeps/x86_64/memmove.c: New file.
34984         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
34985         (memcpy): Renamed to ...
34986         (__new_memcpy): This.
34987         (memcpy): Provide GLIBC_2_14 memcpy.
34988         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
34989         (memcpy): Provide GLIBC_2_2_5 memcpy.
34991 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
34993         [BZ #12631]
34994         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
34996 2011-03-30  Andreas Schwab  <schwab@redhat.com>
34998         * misc/syncfs.c: New file.
34999         * misc/Makefile (routines): Add syncfs.
35000         * posix/unistd.h: Declare syncfs.
35001         * sysdeps/unix/syscalls.list: Add syncfs.
35003 2011-04-01  Andreas Schwab  <schwab@redhat.com>
35005         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
35006         open_by_handle_at.
35007         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
35008         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35009         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35010         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35011         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35012         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
35013         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35015 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
35017         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
35018         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35019         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
35020         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35021         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35022         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35023         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35025         * io/Makefile: Compile fallocate.c, fallocate64.c, and
35026         sync_file_range.c with -fexceptions.
35027         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
35028         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
35029         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
35030         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
35031         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
35032         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
35033         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
35034         sync_file_range as cancellation point
35035         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
35036         now a wrapper around __call_sync_file_range with cancellation handling.
35037         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
35038         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
35039         function name to __call_sync_file_range.
35040         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
35041         Add call_sync_file_range.
35043 2011-04-01  Andreas Schwab  <schwab@redhat.com>
35045         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
35046         bits/timex.h.
35048 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
35050         * iconv/iconv.h: Fix typo in comment.
35051         * io/fcntl.h: Likewise.
35052         * libio/stdio.h: Likewise.
35053         * posix/spawn.h: Likewise.
35054         * posix/unistd.h: Likewise.
35055         * stdlib/stdlib.h: Likewise.
35056         * time/time.h: Likewise.
35057         * wcsmbs/wchar.h: Likewise.
35059         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
35060         open_by_handle): Add.
35061         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
35062         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
35063         Augment a few comments.
35064         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
35065         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
35066         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
35067         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
35068         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
35069         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
35070         open_by_handle.
35072         * io/fcntl.h (AT_EMPTY_PATH): Define.
35074 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
35076         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
35077         * sysdeps/unix/sysv/linux/bits/time.h: New file.
35078         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
35079         to...
35080         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
35081         * Versions.def: Add GLIBC_2.14.
35082         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
35083         Export.
35085 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
35087         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
35088         round counter.
35089         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35091 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
35093         [BZ #12597]
35094         * string/test-strncmp.c (do_page_test): New function.
35095         (check2): Likewise.
35096         (test_main): Call check2.
35097         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
35099 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
35101         [BZ #12587]
35102         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
35103         Handle cache information in CPU leaf 4.
35104         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
35106 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
35108         [BZ #12583]
35109         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
35110         character representation.
35111         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
35113 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
35115         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
35116         END(__isnan) to END(__isnanf) to match function entry point/label
35117         EALIGN(__isnanf,...).
35119 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
35121         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
35123 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
35125         [BZ #12510]
35126         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
35127         copy from the symbol referenced in the relocation to initialize the
35128         used variable.
35129         Patch by Piotr Bury <pbury@goahead.com>.
35130         * elf/Makefile: Add rules to build and tst-unique3.
35131         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
35132         * elf/tst-unique3.cc: New file.
35133         * elf/tst-unique3.h: New file.
35134         * elf/tst-unique3lib.cc: New file.
35135         * elf/tst-unique3lib2.cc: New file.
35137         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
35139 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
35141         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
35142         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
35143         to _start.
35145 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
35147         * elf/dl-load.c (_dl_map_object): If we are looking for the first
35148         to-be-loaded object along a path to loader is ld.so.
35150 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
35151             Ulrich Drepper  <drepper@gmail.com>
35153         * sysdeps/x86_64/memset.S: After aligning destination, code
35154         branches to different locations depending on the value of
35155         misalignment, when multiarch is enabled. Fix this.
35157 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
35159         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
35160         Set _x86_64_preferred_memory_instruction for AMD processsors.
35161         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35162         Set bit_Prefer_SSE_for_memop for AMD processors.
35164 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
35166         * libio/fmemopen.c (fmemopen): Optimize a bit.
35168 2011-03-03  Andreas Schwab  <schwab@redhat.com>
35170         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
35172 2011-03-03  Roland McGrath  <roland@redhat.com>
35174         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
35176 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
35178         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
35179         __bzero_ultra1 instead of __memset_ultra1.
35181 2011-02-23  Andreas Schwab  <schwab@redhat.com>
35182             Ulrich Drepper  <drepper@gmail.com>
35184         [BZ #12509]
35185         * include/link.h (struct link_map): Add l_orig_initfini.
35186         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
35187         returning unsuccessfully.
35188         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
35189         close of a file loaded at startup, restore the original l_initfini
35190         list.
35191         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
35192         list, store the pointer.
35193         * elf/Makefile ($(objpfx)noload-mem): New rule.
35194         (noload-ENV): Define.
35195         (tests): Add $(objpfx)noload-mem.
35196         * elf/noload.c: Include <memcheck.h>.
35197         (main): Call mtrace.  Close all opened handles.
35199 2011-02-17  Andreas Schwab  <schwab@redhat.com>
35201         [BZ #12454]
35202         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
35203         dependencies are missing.
35205 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35207         Fix __if_freereq crash: Unlike the generic version which uses free,
35208         Hurd needs munmap.
35209         * sysdeps/mach/hurd/ifreq.h: New file.
35211 2011-01-27  Petr Baudis  <pasky@suse.cz>
35212             Ulrich Drepper  <drepper@gmail.com>
35214         [BZ 12445]#
35215         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
35216         to extend_alloca().
35217         * stdio-common/bug23.c: New file.
35218         * stdio-common/Makefile (tests): Add bug23.
35220 2010-09-28  Andreas Schwab  <schwab@redhat.com>
35221             Ulrich Drepper  <drepper@gmail.com>
35223         [BZ #12489]
35224         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
35225         before performing relro protection.  At old place add assertion
35226         to make sure nothing changed.
35228 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
35229             Glauber de Oliveira Costa  <glommer@gmail.com>
35231         * elf/elf.h: Add new ARM TLS relocs.
35233 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
35235         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
35236         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
35237         cast from r3.
35238         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
35239         'tests' variable.
35240         * sysdeps/wordsize-64/tst-writev.c: New file.
35242 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
35244         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
35245         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
35246         insns in _dl_start to prevent a TOC reference before relocs are
35247         resolved.
35249 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
35251         [BZ #12469]
35252         * Makeconfig: Remove RANLIB definition.
35253         * Makerules: Don't use RANLIB.
35254         * aclocal.m4: Remove ranlib test.
35255         * configure.in: No need to check for ranlib.
35256         * elf/rtld-Rules: Don't use RANLIB.
35258 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35260         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
35261         protection macro.
35262         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
35263         inclusion protection macro.
35265         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
35266         SIGRTMIN and SIGRTMAX and print information in that case only when
35267         SIGRTMIN is defined.
35269 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
35271         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
35272         arginfo fn returning -1.
35274         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
35275         and thousands string is zero terminated.
35277 2011-02-03  Andreas Schwab  <schwab@redhat.com>
35279         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
35280         sysdeps/unix/sysv/linux/bits/socket.h.
35282 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35284         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
35285         (__CPU_COUNT): Remove old macros.
35286         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
35287         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
35288         (__CPU_ALLOC, __CPU_FREE): Add macros.
35289         (__sched_cpualloc, __sched_cpufree): Add declarations.
35291 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
35293         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
35294         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
35295         * nscd/aicache.c (addhstaiX): Return timeout of added value.
35296         (readdhstai): Return value of addhstaiX call.
35297         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
35298         (addgrbyX): Return value returned by cache_addgr.
35299         (readdgrbyname): Return value returned by addgrbyX.
35300         (readdgrbygid): Likewise.
35301         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
35302         (addpwbyX): Return value returned by cache_addpw.
35303         (readdpwbyname): Return value returned by addhstbyX.
35304         (readdpwbyuid): Likewise.
35305         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
35306         (addservbyX): Return value returned by cache_addserv.
35307         (readdservbyname): Return value returned by addservbyX:
35308         (readdservbyport): Likewise.
35309         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
35310         (addhstbyX): Return value returned by cache_addhst.
35311         (readdhstbyname): Return value returned by addhstbyX.
35312         (readdhstbyaddr): Likewise.
35313         (readdhstbynamev6): Likewise.
35314         (readdhstbyaddrv6): Likewise.
35315         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
35316         (readdinitgroups): Return value returned by addinitgroupsX.
35317         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
35318         (prune_cache): Keep track of timeout value of re-added entries.
35319         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
35320         * nscd/nscd.h: Adjust prototypes of readd* functions.
35322 2011-02-04  Roland McGrath  <roland@redhat.com>
35324         * nis/nis_server.c (nis_servstate): Use the right name for 0.
35325         (nis_stats): Likewise.
35326         * nis/nis_modify.c (nis_modify): Likewise.
35327         * nis/nis_remove.c (nis_remove): Likewise.
35328         * nis/nis_add.c (nis_add): Likewise.
35330         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
35332         * posix/fnmatch_loop.c: Add some consts.
35334         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
35336 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
35338         [BZ #12460]
35339         * config.make.in (config-cflags-novzeroupper): Define.
35340         * configure.in: Substitute libc_cv_cc_novzeroupper.
35341         * elf/Makefile (AVX-CFLAGS): Define.
35342         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
35343         (CFLAGS-tst-auditmod4a.c): Likewise.
35344         (CFLAGS-tst-auditmod4b.c): Likewise.
35345         (CFLAGS-tst-auditmod6b.c): Likewise.
35346         (CFLAGS-tst-auditmod6c.c): Likewise.
35347         (CFLAGS-tst-auditmod7b.c): Likewise.
35348         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
35350 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
35352         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
35353         function to the callback.
35354         Patch partly by Jiri Olsa <jolsa@redhat.com>.
35356 2011-02-02  Andreas Schwab  <schwab@redhat.com>
35358         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
35359         of errno.
35361 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
35363         [BZ #11724]
35364         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
35365         of constructors.
35366         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
35367         of destructors.
35368         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
35370         [BZ #11724]
35371         * elf/Makefile: Add rules to build and run new test.
35372         * elf/tst-initorder.c: New file.
35373         * elf/tst-initorder.exp: New file.
35374         * elf/tst-initordera1.c: New file.
35375         * elf/tst-initordera2.c: New file.
35376         * elf/tst-initordera3.c: New file.
35377         * elf/tst-initordera4.c: New file.
35378         * elf/tst-initorderb1.c: New file.
35379         * elf/tst-initorderb2.c: New file.
35380         * elf/tst-order-a1.c: New file.
35381         * elf/tst-order-a2.c: New file.
35382         * elf/tst-order-a3.c: New file.
35383         * elf/tst-order-a4.c: New file.
35384         * elf/tst-order-b1.c: New file.
35385         * elf/tst-order-b2.c: New file.
35386         * elf/tst-order-main.c: New file.
35387         New test case by George Gensure <werkt0@gmail.com>.
35389 2010-10-01  Andreas Schwab  <schwab@redhat.com>
35391         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
35392         decoding ACE if AI_CANONIDN.
35394 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
35396         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
35398 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
35400         * version.h (RELEASE): Bump for 2.13 release.
35401         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
35403         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
35405         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
35406         MADV_NOHUGEPAGE.
35407         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
35408         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
35409         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
35410         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
35411         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
35412         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35414         * posix/getconf.c: Update copyright year.
35415         * catgets/gencat.c: Likewise.
35416         * csu/version.c: Likewise.
35417         * debug/catchsegv.sh: Likewise.
35418         * debug/xtrace.sh: Likewise.
35419         * elf/ldconfig.c: Likewise.
35420         * elf/ldd.bash.in: Likewise.
35421         * elf/sprof.c (print_version): Likewise.
35422         * iconv/iconv_prog.c: Likewise.
35423         * iconv/iconvconfig.c: Likewise.
35424         * locale/programs/locale.c: Likewise.
35425         * locale/programs/localedef.c: Likewise.
35426         * malloc/memusage.sh: Likewise.
35427         * malloc/mtrace.pl: Likewise.
35428         * nscd/nscd.c (print_version): Likewise.
35429         * nss/getent.c: Likewise.
35431         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
35432         PF_CAIF, and PF_ALG.
35433         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
35435 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
35437         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
35438         (modules-names): Use them.
35439         (ifunc-test-modules, ifunc-pie-tests): Define.
35440         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
35441         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
35442         (test-extras): Likewise.
35443         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
35444         $(compile-command.c).
35445         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
35446         (all-built-dso): Define.
35447         (check-textrel.out, check-execstack.out): Depend on it.
35449         * configure.in: Don't override --enable-multi-arch.
35451 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
35453         [BZ #6812]
35454         * nscd/hstcache.c (tryagain): Define.
35455         (cache_addhst): Return tryagain not notfound for temporary errors.
35456         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
35457         failed.
35459 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
35461         [BZ #10563]
35462         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
35463         to make the syscall.
35464         * sysdeps/unix/sysv/linux/setgroups.c: New file.
35466         [BZ #12378]
35467         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
35468         and fall back to matching as normal character if the string ends before
35469         the matching ']' is found.  This is what POSIX requires.
35470         * posix/testfnm.c: Adjust test result.
35471         * posix/globtest.sh: Adjust test result.  Add new test.
35472         * posix/tst-fnmatch.input: Likewise.
35473         * posix/tst-fnmatch2.c: Add new test.
35475 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
35477         * elf/Makefile (check-execstack): Revert last change.  Depend on
35478         check-execstack.h.
35479         (check-execstack.h): New target.
35480         (generated): Add check-execstack.h.
35481         * elf/check-execstack.c: Include "check-execstack.h".
35482         (main): Revert last change.
35483         (handle_file): Return zero if GNU_STACK is absent and
35484         DEFAULT_STACK_PERMS doesn't include PF_X.
35486 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
35488         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
35489         in child fails because the descriptor is already closed.
35490         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
35491         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
35492         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
35494         [BZ #12397]
35495         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
35496         syscall.
35498         [BZ #10484]
35499         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
35500         temporary buffer used to handle multi lookups locally.
35501         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
35503 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
35505         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
35506         loader is ld.so.
35508 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
35510         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
35511         alignment for SSE2.
35513 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
35515         [BZ #12394]
35516         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
35517         characters.  When rounding increased number of integer digits recompute
35518         number of groups.
35519         * stdio-common/tst-grouping.c: New file.
35520         * stdio-common/Makefile: Add rules to build and run tst-grouping.
35522 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
35524         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
35525         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
35527         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
35528         void.
35529         * bits/select.h: Likewise.
35531 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
35533         * po/ja.po: Update from translation team.
35535 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
35537         [BZ #11155]
35538         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
35539         implementation just like for lxstat, fxstatat, et al.
35541 2010-12-27  Jim Meyering  <meyering@redhat.com>
35543         [BZ #12348]
35544         * posix/regexec.c (build_trtable): Return failure indication upon
35545         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
35547 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
35549         [BZ #12201]
35550         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
35551         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
35552         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
35553         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
35555         [BZ #12207]
35556         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
35558         [BZ #12204]
35559         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
35560         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
35562 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
35564         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
35565         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
35566         script has SORT_BY_INIT_PRIORITY.
35567         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
35568         NO_CTORS_DTORS_SECTIONS is defined.
35569         * elf/soinit.c: Likewise.
35570         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
35571         NO_CTORS_DTORS_SECTIONS is defined.
35572         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
35573         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
35574         * sysdeps/sh/init-first.c: Likewise.
35575         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
35577 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
35579         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
35580         always use the slow path.
35582 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
35584         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
35585         similar rule which adds the sysdep directories to the header search in
35586         order to pick up the correct platform stackinfo.h.
35587         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
35588         perform test if it is, otherwise return successfully without testing.
35589         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
35590         DEFAULT_STACK_PERMS define in stackinfo.h.
35591         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
35592         defined in stackinfo.h.
35593         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
35594         DEFAULT_STACK_PERMS defined in stackinfo.h.
35595         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
35596         * sysdeps/ia64/stackinfo.h: Likewise.
35597         * sysdeps/s390/stackinfo.h: Likewise.
35598         * sysdeps/sh/stackinfo.h: Likewise.
35599         * sysdeps/sparc/stackinfo.h: Likewise.
35600         * sysdeps/x86_64/stackinfo.h: Likewise.
35601         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
35602         PF_X for powerpc64.  Retain PF_X for powerpc32.
35604 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
35606         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
35607         accurately.
35608         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
35609         GETDENTS_64BIT_ALIGNED.
35611 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
35613         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
35615 2010-12-10  Andreas Schwab  <schwab@redhat.com>
35617         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
35618         _GNU_SOURCE.
35620         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
35621         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
35622         Remove __restrict.
35623         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
35624         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
35626 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
35628         [BZ #11655]
35629         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
35630         are initialized.
35632 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
35634         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
35636 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
35638         * po/it.po: Update from translation team.
35640 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
35642         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
35643         unused codes.
35645 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
35647         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
35649 2010-11-24  Andreas Schwab  <schwab@redhat.com>
35651         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
35652         specially.
35653         (gaih_getanswer_slice): Likewise.
35655 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
35657         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
35659 2010-05-31  Petr Baudis  <pasky@suse.cz>
35661         [BZ #11149]
35662         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
35663         silently even in the chroot mode.
35665 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
35667         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
35668         last patch a bit.  Pretty printing
35670 2010-05-31  Petr Baudis <pasky@suse.cz>
35672         [BZ #10085]
35673         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
35674         initialization of skip_initgroups_dyn.
35676 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
35678         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
35679         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
35681 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
35683         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
35685 2010-11-11  Andreas Schwab  <schwab@redhat.com>
35687         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
35688         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
35689         (tst-fnmatch-ENV): Set MALLOC_TRACE.
35690         ($(objpfx)tst-fnmatch-mem): New rule.
35691         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
35692         * posix/tst-fnmatch.c (main): Call mtrace.
35694 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
35696         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35697         Support Intel processor model 6 and model 0x2c.
35699 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
35701         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
35702           signed comparison.
35704 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
35706         [BZ #12205]
35707         * string/test-strncasecmp.c (check_result): New function.
35708         (do_one_test): Use it.
35709         (check1): New function.
35710         (test_main): Use it.
35711         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
35712         Support strcasecmp and strncasecmp.
35714 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
35716         [BZ #12194]
35717         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
35718         * sysdeps/x86_64/bits/byteswap.h: Likewise.
35720 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
35722         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
35723         IFUNC support.
35724         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
35725         memset-x86-64.
35726         * sysdeps/x86_64/multiarch/bzero.S: New file.
35727         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
35728         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
35729         * sysdeps/x86_64/multiarch/memset.S: New file.
35730         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
35731         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
35732         Set bit_Prefer_SSE_for_memop for Intel processors.
35733         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
35734         Define.
35735         (index_Prefer_SSE_for_memop): Define.
35736         (HAS_PREFER_SSE_FOR_MEMOP): Define.
35738 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
35740         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
35741         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
35743 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
35745         [BZ #12191]
35746         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35747         (__x86_64_raw_data_cache_size_half): Likewise.
35748         (__x86_64_raw_shared_cache_size): Likewise.
35749         (__x86_64_raw_shared_cache_size_half): Likewise.
35751         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
35752         (__x86_64_raw_data_cache_size_half): Likewise.
35753         (__x86_64_raw_shared_cache_size): Likewise.
35754         (__x86_64_raw_shared_cache_size_half): Likewise.
35755         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
35756         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
35757         and __x86_64_raw_shared_cache_size_half.  Round
35758         __x86_64_data_cache_size_half, __x86_64_data_cache_size
35759         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
35760         to multiple of 256 bytes.
35762 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
35764         [BZ #12167]
35765         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
35766         of inacessible symlinks.  Verify result of symlink before returning it.
35767         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
35768         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
35770 2010-10-28  Erich Ritz  <erichritz@gmail.com>
35772         * math/math.h (isinf): Fix typo in comment.
35774 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
35776         * po/da.po: Update from translation team.
35778 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
35780         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
35781         is added to the list.
35783 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
35784             Ulrich Drepper  <drepper@gmail.com>
35786         * elf/dl-object.c (_dl_new_object): Don't append the new object to
35787         the global list here.  Move code to...
35788         (_dl_add_to_namespace_list): ...here.  New function.
35789         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
35790         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
35791         * elf/dl-load.c (lose): Don't remove the element from the list.
35792         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
35793         (_dl_map_object): Likewise.
35795 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
35797         [BZ #12159]
35798         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
35799         into all bytes of SSE register.
35800         Patch by Richard Li <richardpku@gmail.com>.
35802 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
35804         [BZ #12140]
35805         * malloc/malloc.c (_int_free): Fill correct number of bytes when
35806         perturbing.
35808 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
35810         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
35811         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
35812         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
35813         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
35814         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
35815         submachine.
35816         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
35818 2010-10-22  Andreas Schwab  <schwab@redhat.com>
35820         * include/dlfcn.h (__RTLD_SECURE): Define.
35821         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
35822         mode & __RTLD_SECURE instead.
35823         (open_path): Rename preloaded parameter to secure.
35824         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
35825         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
35826         * elf/dl-deps.c (openaux): Likewise.
35827         * elf/rtld.c (struct map_args): Remove is_preloaded.
35828         (map_doit): Don't use it.
35829         (dl_main): Likewise.
35830         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
35831         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
35833 2010-09-09  Andreas Schwab  <schwab@redhat.com>
35835         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
35836         (sysd-rules-targets): Remove duplicates.
35837         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
35838         rtld-%.$o dependency.
35840 2010-10-18  Andreas Schwab  <schwab@redhat.com>
35842         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
35843         _dl_map_object do it.
35845 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
35847         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
35848         fast fma builtins, define the macros in the C99 standard.
35849         (FP_FAST_FMAF): Likewise.
35850         (FP_FAST_FMAL): Likewise.
35851         * sysdeps/x86_64/bits/mathdef.h: Likewise.
35853         * bits/mathdef.h: Update copyright year.
35854         * sysdeps/powerpc/bits/mathdef.h: Likewise.
35856 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
35858         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
35859         builtins, define the macros in the C99 standard.
35860         (FP_FAST_FMAF): Likewise.
35861         (FP_FAST_FMAL): Likewise.
35862         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
35863         multiply/add.
35864         (FP_FAST_FMAF): Likewise.
35866 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
35868         [BZ #3268]
35869         * math/libm-test.inc (fma_test): Some new testcases.
35870         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
35871         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
35872         y and infinite z.  Do multiplication by C already in long double.
35873         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
35874         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
35875         y and infinite z.  Do bitwise or of inexact bit into u.d.
35876         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
35877         * sysdeps/i386/fpu/s_fmaf.S: Removed.
35878         * sysdeps/i386/fpu/s_fma.S: Removed.
35879         * sysdeps/i386/fpu/s_fmal.S: Removed.
35881 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
35883         [BZ #3268]
35884         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
35885         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
35886         computation is not scheduled after fetestexcept.  Fix value
35887         of minimum denormal long double.
35889 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
35891         [BZ #3268]
35892         * math/libm-test.inc (fma_test): Add some more tests.
35893         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
35894         correctly.
35896 2010-10-15  Andreas Schwab  <schwab@redhat.com>
35898         * scripts/data/localplt-s390-linux-gnu.data: New file.
35899         * scripts/data/localplt-s390x-linux-gnu.data: New file.
35901 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
35903         [BZ #3268]
35904         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
35905         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
35906         instead of dbl-64.
35907         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
35908         inlines.
35909         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
35910         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
35911         if one of x and y is very large and the other is subnormal.
35912         * sysdeps/s390/fpu/s_fmaf.c: New file.
35913         * sysdeps/s390/fpu/s_fma.c: New file.
35914         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
35915         * sysdeps/powerpc/fpu/s_fma.S: New file.
35916         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
35917         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
35918         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
35920 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
35922         [BZ #3268]
35923         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
35924         fma tests.
35925         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
35926         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
35927         * sysdeps/i386/i686/multiarch/s_fma.c: Include
35928         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
35929         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
35930         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
35931         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
35933 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
35935         [BZ #12078]
35936         * posix/regcomp.c (parse_branch): One more memory leak plugged.
35937         * posix/bug-regex31.input: Add test case.
35939 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
35941         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
35942         * posix/bug-regex31.input: New file.
35944         [BZ #12078]
35945         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
35946         (parse_sub_exp): Fix last change, use postorder.
35948         * posix/bug-regex31.c: New file.
35949         * posix/Makefile: Add rules to build and run bug-regex31.
35951         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
35953         [BZ #12078]
35954         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
35956         [BZ #12108]
35957         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
35958         to have entries in sys_siglist.
35960         [BZ #12093]
35961         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
35962         be NULL.
35964 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
35966         [BZ #3268]
35967         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
35968         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
35969         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
35970         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
35971         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
35972         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
35973         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
35974         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
35975         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
35976         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
35977         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
35978         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
35979         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
35980         * math/ftestexcept.c (fetestexcept): Likewise.
35981         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
35982         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
35983         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
35984         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
35985         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
35986         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
35987         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
35989 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
35991         [BZ #12107]
35992         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
35993         newline.
35995 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
35997         * string/bug-strstr1.c: New file.
35998         * string/Makefile: Add rules to build and run bug-strstr1.
36000 2010-10-05  Eric Blake  <eblake@redhat.com>
36002         [BZ #12092]
36003         * string/str-two-way.h (two_way_long_needle): Always clear memory
36004         when skipping input due to the shift table.
36006 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
36008         [BZ #12005]
36009         * malloc/mcheck.c: Handle large requests.
36011         [BZ #12077]
36012         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
36013         for strncmp and strncasecmp.
36014         * string/stratcliff.c: Add tests for strcmp and strncmp.
36015         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
36017 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
36019         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
36020         __set_fpscr.
36022 2010-09-30  Andreas Jaeger  <aj@suse.de>
36024         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
36025         (CGROUP_SUPER_MAGIC): Define.
36026         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36027         Handle btrfs and cgroup file systems.
36028         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
36029         Likewise.
36031 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
36033         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
36034         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
36036 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
36038         [BZ #12067]
36039         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
36040         trying to locate the ELF header.
36042 2010-09-27  Andreas Schwab  <schwab@redhat.com>
36044         [BZ #11611]
36045         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
36046         Mask out sign-bit copies when constructing f_fsid.
36048 2010-09-24  Petr Baudis <pasky@suse.cz>
36050         * debug/stack_chk_fail_local.c: Add missing licence exception.
36051         * debug/warning-nop.c: Likewise.
36053 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
36055         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
36056         implementing getdents64 using getdents syscall, set d_type if
36057         __ASSUME_GETDENTS32_D_TYPE.
36059 2010-09-16  Andreas Schwab  <schwab@redhat.com>
36061         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
36062         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
36064 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
36066         [BZ #12037]
36067         * posix/unistd.h: Undo change of feature selection for ftruncate from
36068         2010-01-11.
36070 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
36072         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
36073         detection.
36075 2010-09-20  Andreas Schwab  <schwab@redhat.com>
36077         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
36078         fanotify_mark.
36079         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36081 2010-09-14  Andreas Schwab  <schwab@redhat.com>
36083         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
36084         variables after CHECK_SP call.
36085         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
36087 2010-09-13  Andreas Schwab  <schwab@redhat.com>
36088             Ulrich Drepper  <drepper@redhat.com>
36090         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
36091         re-relocationg ld.so.
36092         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
36093         _dl_init_paths call.
36094         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
36095         here anymore.
36097 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
36099         * resolv/res_init.c (__res_vinit): Count the default server we added.
36101 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
36102             Ulrich Drepper  <drepper@redhat.com>
36104         [BZ #11968]
36105         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
36106         (____longjmp_chk): Use %ebx for saving value across system call.
36107         Add unwind info.
36109 2010-09-06  Andreas Schwab  <schwab@redhat.com>
36111         * manual/Makefile: Don't mix pattern rules with normal rules.
36113 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
36115         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
36116         operation.
36117         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
36118         * libio/iofopncook.c (_IO_cookie_init): Likewise.
36119         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
36120         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
36121         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
36122         Likewise.
36124 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
36126         [BZ #11979]
36127         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
36128         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
36130 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
36132         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
36133         * sysdeps/x86_64/addmul_1.S: Likewise.
36134         * sysdeps/x86_64/lshift.S: Likewise.
36135         * sysdeps/x86_64/mul_1.S: Likewise.
36136         * sysdeps/x86_64/rshift.S: Likewise.
36137         * sysdeps/x86_64/sub_n.S: Likewise.
36138         * sysdeps/x86_64/submul_1.S: Likewise.
36140 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36142         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
36143         Define __sched_param instead of SCHED_* and sched_param when
36144         <bits/sched.h> is included with __need_schedparam defined.
36145         * bits/sched.h [__need_schedparam]
36146         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
36147         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
36148         (__defined_schedparam): Define to 1.
36149         (__sched_param): New structure, identical to sched_param.
36150         (__need_schedparam): Undefine.
36152 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
36154         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
36155         (epoll_create1): Declare.
36157         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
36159 2010-08-31  Andreas Schwab  <schwab@redhat.com>
36161         [BZ #7066]
36162         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
36163         shifting retval into place.
36165 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
36167         * nis/rpcsvc/nis.h: Update copyright notice.
36168         * nis/rpcsvc/nis.x: Likewise.
36169         * nis/rpcsvc/nis_callback.h: Likewise.
36170         * nis/rpcsvc/nis_callback.x: Likewise.
36171         * nis/rpcsvc/nis_object.x: Likewise.
36172         * nis/rpcsvc/nis_tags.h: Likewise.
36173         * nis/rpcsvc/yp.h: Likewise.
36174         * nis/rpcsvc/yp.x: Likewise.
36175         * nis/rpcsvc/ypupd.h: Likewise.
36176         * nis/yp_xdr.c: Likewise.
36177         * nis/ypupdate_xdr.c: Likewise.
36179         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
36180         mainly the body of pmap_getport.  Add parameters to specify timeouts.
36181         (pmap_getport): Use __libc_rpc_getport.
36182         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
36183         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
36184         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
36186 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
36188         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
36189         fanotify_mark.
36191 2010-08-27  Roland McGrath  <roland@redhat.com>
36193         * sysdeps/i386/i686/multiarch/Makefile
36194         (CFLAGS-varshift.c): New variable.
36196 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
36198         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
36199         * sysdeps/i386/i686/multiarch/varshift.c: New file.
36201         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
36203         * sysdeps/x86_64/strlen.S: Minimal code improvement.
36205 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
36207         * sysdeps/x86_64/strlen.S: Unroll the loop.
36208         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36209         strlen-sse2 strlen-sse2-bsf.
36210         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
36211         __strlen_no_bsf if bit_Slow_BSF is set.
36212         (__strlen_sse42): Removed.
36213         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
36214         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
36216 2010-08-25  Roland McGrath  <roland@redhat.com>
36218         * sysdeps/x86_64/multiarch/varshift.S: File removed.
36219         * sysdeps/x86_64/multiarch/varshift.c: New file.
36220         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
36221         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
36222         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
36223         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
36225 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
36227         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36228         strlen-sse2 strlen-sse2-bsf.
36229         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
36230         __strlen_sse2_bsf if bit_Slow_BSF is unset.
36231         (__strlen_sse2): Removed.
36232         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
36233         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
36234         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
36235         bit_Slow_BSF for Atom.
36236         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
36237         (index_Slow_BSF): Define.
36238         (HAS_SLOW_BSF): Define.
36240 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
36242         [BZ #10851]
36243         * resolv/res_init.c (__res_vinit): When no server address at all
36244         is given default to loopback.
36246 2010-08-24  Roland McGrath  <roland@redhat.com>
36248         * configure.in: Remove config-name.h generation.
36249         * configure: Regenerated.
36250         * config-name.in: File removed.
36251         * scripts/config-uname.sh: New file.
36252         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
36253         ($(objdir)config-name.h): New target.
36255         * sunrpc/rpc_parse.h: Avoid nested comment.
36257 2010-08-24  Richard Henderson  <rth@redhat.com>
36258             Ulrich Drepper  <drepper@redhat.com>
36259             H.J. Lu  <hongjiu.lu@intel.com>
36261         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
36262         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
36263         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
36264         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
36265         _mm_alignr_epi8 with _mm_loadu_si128.
36266         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
36267         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
36268         (__m128i_shift_right): Removed.
36269         * sysdeps/i386/i686/multiarch/varshift.h: New file.
36270         * sysdeps/i386/i686/multiarch/varshift.S: New file.
36271         * sysdeps/x86_64/multiarch/varshift.h: New file.
36272         * sysdeps/x86_64/multiarch/varshift.S: New file.
36274 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
36276         * configure.in: Move assembler checks to before sysdep dir checking.
36278 2010-08-20  Petr Baudis  <pasky@suse.cz>
36280         * LICENSES: Sync the sunrpc license.
36282 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
36284         * sunrpc/auth_des.c: Update copyright notice once again.
36285         * sunrpc/auth_none.c: Likewise.
36286         * sunrpc/auth_unix.c: Likewise.
36287         * sunrpc/authdes_prot.c: Likewise.
36288         * sunrpc/authuxprot.c: Likewise.
36289         * sunrpc/bindrsvprt.c: Likewise.
36290         * sunrpc/clnt_gen.c: Likewise.
36291         * sunrpc/clnt_perr.c: Likewise.
36292         * sunrpc/clnt_raw.c: Likewise.
36293         * sunrpc/clnt_simp.c: Likewise.
36294         * sunrpc/clnt_tcp.c: Likewise.
36295         * sunrpc/clnt_udp.c: Likewise.
36296         * sunrpc/clnt_unix.c: Likewise.
36297         * sunrpc/des_crypt.c: Likewise.
36298         * sunrpc/des_soft.c: Likewise.
36299         * sunrpc/get_myaddr.c: Likewise.
36300         * sunrpc/getrpcport.c: Likewise.
36301         * sunrpc/key_call.c: Likewise.
36302         * sunrpc/key_prot.c: Likewise.
36303         * sunrpc/openchild.c: Likewise.
36304         * sunrpc/pm_getmaps.c: Likewise.
36305         * sunrpc/pm_getport.c: Likewise.
36306         * sunrpc/pmap_clnt.c: Likewise.
36307         * sunrpc/pmap_prot.c: Likewise.
36308         * sunrpc/pmap_prot2.c: Likewise.
36309         * sunrpc/pmap_rmt.c: Likewise.
36310         * sunrpc/rpc/auth.h: Likewise.
36311         * sunrpc/rpc/auth_unix.h: Likewise.
36312         * sunrpc/rpc/clnt.h: Likewise.
36313         * sunrpc/rpc/des_crypt.h: Likewise.
36314         * sunrpc/rpc/key_prot.h: Likewise.
36315         * sunrpc/rpc/netdb.h: Likewise.
36316         * sunrpc/rpc/pmap_clnt.h: Likewise.
36317         * sunrpc/rpc/pmap_prot.h: Likewise.
36318         * sunrpc/rpc/pmap_rmt.h: Likewise.
36319         * sunrpc/rpc/rpc.h: Likewise.
36320         * sunrpc/rpc/rpc_des.h: Likewise.
36321         * sunrpc/rpc/rpc_msg.h: Likewise.
36322         * sunrpc/rpc/svc.h: Likewise.
36323         * sunrpc/rpc/svc_auth.h: Likewise.
36324         * sunrpc/rpc/types.h: Likewise.
36325         * sunrpc/rpc/xdr.h: Likewise.
36326         * sunrpc/rpc_clntout.c: Likewise.
36327         * sunrpc/rpc_cmsg.c: Likewise.
36328         * sunrpc/rpc_common.c: Likewise.
36329         * sunrpc/rpc_cout.c: Likewise.
36330         * sunrpc/rpc_dtable.c: Likewise.
36331         * sunrpc/rpc_hout.c: Likewise.
36332         * sunrpc/rpc_main.c: Likewise.
36333         * sunrpc/rpc_parse.c: Likewise.
36334         * sunrpc/rpc_parse.h: Likewise.
36335         * sunrpc/rpc_prot.c: Likewise.
36336         * sunrpc/rpc_sample.c: Likewise.
36337         * sunrpc/rpc_scan.c: Likewise.
36338         * sunrpc/rpc_scan.h: Likewise.
36339         * sunrpc/rpc_svcout.c: Likewise.
36340         * sunrpc/rpc_tblout.c: Likewise.
36341         * sunrpc/rpc_util.c: Likewise.
36342         * sunrpc/rpc_util.h: Likewise.
36343         * sunrpc/rpcinfo.c: Likewise.
36344         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
36345         * sunrpc/rpcsvc/key_prot.x: Likewise.
36346         * sunrpc/rpcsvc/klm_prot.x: Likewise.
36347         * sunrpc/rpcsvc/mount.x: Likewise.
36348         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
36349         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
36350         * sunrpc/rpcsvc/rex.x: Likewise.
36351         * sunrpc/rpcsvc/rstat.x: Likewise.
36352         * sunrpc/rpcsvc/rusers.x: Likewise.
36353         * sunrpc/rpcsvc/sm_inter.x: Likewise.
36354         * sunrpc/rpcsvc/spray.x: Likewise.
36355         * sunrpc/rpcsvc/yppasswd.x: Likewise.
36356         * sunrpc/rtime.c: Likewise.
36357         * sunrpc/svc.c: Likewise.
36358         * sunrpc/svc_auth.c: Likewise.
36359         * sunrpc/svc_authux.c: Likewise.
36360         * sunrpc/svc_raw.c: Likewise.
36361         * sunrpc/svc_run.c: Likewise.
36362         * sunrpc/svc_simple.c: Likewise.
36363         * sunrpc/svc_tcp.c: Likewise.
36364         * sunrpc/svc_udp.c: Likewise.
36365         * sunrpc/svc_unix.c: Likewise.
36366         * sunrpc/svcauth_des.c: Likewise.
36367         * sunrpc/xcrypt.c: Likewise.
36368         * sunrpc/xdr.c: Likewise.
36369         * sunrpc/xdr_array.c: Likewise.
36370         * sunrpc/xdr_float.c: Likewise.
36371         * sunrpc/xdr_mem.c: Likewise.
36372         * sunrpc/xdr_rec.c: Likewise.
36373         * sunrpc/xdr_ref.c: Likewise.
36374         * sunrpc/xdr_sizeof.c: Likewise.
36375         * sunrpc/xdr_stdio.c: Likewise.
36377         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
36378         handling.
36380 2010-08-19  Andreas Schwab  <schwab@redhat.com>
36382         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
36384 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
36386         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
36387         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
36388         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
36389         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
36390         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
36391         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
36392         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
36393         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
36394         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
36395         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
36396         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
36397         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
36398         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
36399         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
36401 2010-07-26  Anton Blanchard  <anton@samba.org>
36403         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
36404         * malloc/arena.c (heap_trim): Likewise.
36406 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
36408         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
36409         here.  Not...
36410         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
36411         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
36413 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
36415         * sysdeps/i386/elf/Makefile: New file.
36417 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
36419         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
36420         from fanotify_init.
36421         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
36422         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36424 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
36426         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
36427         of strncasecmp_l.
36428         * sysdeps/multiarch/strcmp.S: Likewise.
36430 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
36432         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36433         strncase_l-nonascii.
36434         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36435         Add strncase_l-ssse3.
36436         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
36437         * sysdeps/x86_64/strcmp.S: Likewise.
36438         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
36439         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
36440         * sysdeps/x86_64/strncase.S: New file.
36441         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
36442         * sysdeps/x86_64/strncase_l.S: New file.
36443         * string/Makefile (strop-tests): Add strncasecmp.
36444         * string/test-strncasecmp.c: New file.
36446         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
36447         warning.
36449         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
36450         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
36452 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
36454         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
36456 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
36458         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
36459         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
36460         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
36462 2010-05-01  Alan Modra  <amodra@gmail.com>
36464         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
36465         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
36466         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
36467         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
36468         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
36469         tidying.  Don't tail-call __sigjmp_save for static lib.
36470         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
36471         save location.
36472         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
36473         (CALL_MCOUNT): Add eh info, and nop after bl.
36474         (TAIL_CALL_SYSCALL_ERROR): New macro.
36475         (PSEUDO_RET): Use it.
36476         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
36477         Correct save location of integer regs and cr.
36478         (_dl_profile_resolve): Correct cr save location.  Delete nops
36479         after bl when SHARED.  Reduce cfi size a little by better
36480         placement of cfi directives.
36481         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
36482         make a stack frame.  Instead use parm save area as a temp.
36483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
36484         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
36485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
36486         Don't make a stack frame for parent, use parm save area.
36487         Increase child stack frame to 112 bytes.  Don't save unused reg,
36488         and adjust reg usage.  Set up cfi on error recovery and
36489         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
36490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
36491         (__makecontext): Add dummy nop after jump to exit.
36492         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
36493         Use correct parm save area and cr save, reduce stack frame.
36494         Correct cfi for possible PSEUDO_RET frame setup.
36495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
36496         Branch to local label emitted by PSEUDO_RET rather than
36497         __syscall_error.
36499 2010-08-12  Andreas Schwab  <schwab@redhat.com>
36501         [BZ #11904]
36502         * locale/programs/locale.c (print_assignment): New function.
36503         (show_locale_vars): Use it.
36505 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
36507         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
36508         field.
36509         (struct statfs64): Likewise.
36510         (_STATFS_F_FLAGS): Define.
36511         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
36512         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
36513         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
36514         (ST_VALID): Define locally.
36515         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
36516         __statvfs_getflags, use the provided value.
36517         * sysdeps/unix/sysv/linux/kernel-features.h: Define
36518         __ASSUME_STATFS_F_FLAGS.
36520         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
36522         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
36523         Add sys/fanotify.h.
36524         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
36525         fanotify_mask for GLIBC_2.13.
36526         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
36527         fanotify_init and fanotify_mark.
36528         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
36529         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
36531         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
36532         Add prlimit.
36533         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
36534         prlimit64 for GLIBC_2.13.
36535         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
36536         prlimit64.
36537         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
36538         syscall.
36539         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
36540         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
36541         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
36542         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
36543         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
36544         add prlimit alias.
36545         * sysdeps/unix/sysv/linux/prlimit.c: New file.
36547         [BZ #11903]
36548         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
36549         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
36551         * nss/Makefile: Add rules to build and run tst-nss-test1.
36552         * shlib-versions: Add entry for libnss_test1.
36553         * nss/nss_test1.c: New file.
36554         * nss/tst-nss-test1.c: New file.
36556         * nss/nsswitch.c (__nss_database_custom): Define new variable.
36557         (__nss_configure_lookup): Set appropriate entry in
36558         __nss_configure_lookup to true.
36559         * nss/nsswitch.h: Define enum with indeces of databases in
36560         databases and __nss_database_custom arrays.  Declare
36561         __nss_database_custom.
36562         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
36563         to avoid using nscd when custom rules are installed.
36564         * nss/getXXbyYY_r.c: Likewise.
36565         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
36567         * nss/nss_files/files-parse.c: Whitespace fixes.
36569 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
36571         [BZ #11883]
36572         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
36573         * posix/fnmatch_loop.c: Likewise.
36575 2010-07-17  Andi Kleen  <ak@linux.intel.com>
36577         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
36578         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
36579         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
36580         * Versions.def [GLIBC_2.13]: Add.
36582 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
36584         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36585         Also fail if tpwd after pwuid call is NULL.
36587 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36589         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
36590         when converting to ms.
36592 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36594         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
36595         EOPNOTSUPP errors with ENOTTY.
36596         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
36597         EOPNOTSUPP errors with ENOTTY.
36599 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
36601         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
36602         Add strcasecmp_l-ssse3.
36603         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
36604         strcasecmp.
36605         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
36606         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
36607         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
36609 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
36611         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
36613         * string/Makefile (strop-tests): Add strcasecmp.
36614         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
36615         strcasecmp_l-nonascii.
36616         (gen-as-const-headers): Add locale-defines.sym.
36617         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
36618         * sysdeps/x86_64/strcasecmp.S: New file.
36619         * sysdeps/x86_64/strcasecmp_l.S: New file.
36620         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
36621         * sysdeps/x86_64/locale-defines.sym: New file.
36622         * string/test-strcasecmp.c: New file.
36624         * string/test-strcasestr.c: Test both ends of the range of characters.
36625         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
36627 2010-07-29  Roland McGrath  <roland@redhat.com>
36629         [BZ #11856]
36630         * manual/locale.texi (Yes-or-No Questions): Fix example code.
36632 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
36634         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
36635         for ld.so.
36637 2010-07-27  Andreas Schwab  <schwab@redhat.com>
36639         * manual/memory.texi (Malloc Tunable Parameters): Document
36640         M_PERTURB.
36642 2010-07-26  Roland McGrath  <roland@redhat.com>
36644         [BZ #11840]
36645         * configure.in (-fgnu89-inline check): Set and substitute
36646         gnu89_inline, not libc_cv_gnu89_inline.
36647         * configure: Regenerated.
36648         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
36650 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
36652         * string/test-strnlen.c: New file.
36653         * string/Makefile (strop-tests): Add strnlen.
36654         * string/tester.c (test_strnlen): Add a few more test cases.
36655         * string/tst-strlen.c: Better error reporting.
36657         * sysdeps/x86_64/strnlen.S: New file.
36659 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
36661         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
36662         lower-latency instructions.
36664 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
36666         * string/test-strcasestr.c: New file.
36667         * string/test-strstr.c: New file.
36668         * string/Makefile (strop-tests): Add strstr and strcasestr.
36669         * string/str-two-way.h: Don't undefine MAX.
36670         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
36672 2010-07-21  Andreas Schwab  <schwab@redhat.com>
36674         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
36675         strcasestr-nonascii.
36676         (CFLAGS-strcasestr-nonascii.c): Define.
36677         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
36678         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
36679         Remove unused attribute.
36681 2010-07-20  Roland McGrath  <roland@redhat.com>
36683         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
36684         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
36685         ld.so.cache was broken.  With it, there is no way to disable dsocaps
36686         like LD_HWCAP_MASK can disable hwcaps.
36688 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
36690         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
36692 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
36694         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
36695         call in strcasestr.
36696         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
36697         __strcasestr_sse42_nonascii.
36698         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
36699         strcasestr-nonascii.c.
36700         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
36702 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
36704         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
36705         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
36706         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
36707         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
36709 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
36711         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
36712         fcntl.
36714 2010-07-06  Andreas Schwab  <schwab@redhat.com>
36716         [BZ #11577]
36717         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
36718         dl_signal_cerror.
36720 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
36722         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
36723         _PC_PIPE_BUF using F_GETPIPE_SZ.
36725 2010-07-05  Roland McGrath  <roland@redhat.com>
36727         * manual/arith.texi (Rounding Functions): Fix rint description
36728         implicit in round description.
36730 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
36732         * elf/Makefile: Fix linking for a few tests to make recent linker
36733         happy.
36735 2010-06-30  Andreas Schwab  <schwab@redhat.com>
36737         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
36738         $(common-objpfx)libc_nonshared.a.
36740 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
36742         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
36743         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
36744         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36745         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36746         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
36747         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
36748         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36749         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36750         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
36751         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
36752         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
36753         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
36754         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
36755         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
36756         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
36757         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
36758         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
36759         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
36760         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
36761         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
36762         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
36763         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
36764         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
36765         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
36766         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
36767         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
36768         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
36769         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
36770         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
36771         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
36772         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
36773         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
36774         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
36775         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
36776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
36777         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
36778         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
36779         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
36780         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
36781         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
36782         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
36783         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
36784         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
36785         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
36786         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
36787         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
36788         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
36789         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
36791 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
36793         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
36794         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
36795         * string/memmove.c (memmove): Renamed to ...
36796         (MEMMOVE): ...this.  Default to memmove.
36797         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
36798         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
36799         (END_CHK): Define.
36800         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36801         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
36802         mempcpy-ssse3-back memmove-ssse3-back.
36803         * sysdeps/x86_64/multiarch/bcopy.S: New file .
36804         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
36805         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
36806         * sysdeps/x86_64/multiarch/memcpy.S: New file.
36807         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
36808         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
36809         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
36810         * sysdeps/x86_64/multiarch/memmove.c: New file.
36811         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
36812         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
36813         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
36814         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
36815         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
36816         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
36817         Define.
36818         (index_Fast_Copy_Backward): Define.
36819         (HAS_ARCH_FEATURE): Define.
36820         (HAS_FAST_REP_STRING): Define.
36821         (HAS_FAST_COPY_BACKWARD): Define.
36823 2010-06-21  Andreas Schwab  <schwab@redhat.com>
36825         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
36826         Restore proper fallback handling.
36828 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
36830         [BZ #11701]
36831         * posix/group_member.c (__group_member): Correct checking loop.
36833         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
36834         OOM in getpwuid_r correctly.  Return error number when the caller
36835         should return, otherwise -1.
36836         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
36837         call returning > 0 value.
36838         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
36840 2010-06-07  Andreas Schwab  <schwab@redhat.com>
36842         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
36843         libc_nonshared.a from targets in modules-names.
36845 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
36847         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
36848         requires it.
36850 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
36852         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
36853         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
36854         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
36855         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
36857 2010-06-02  Andreas Schwab  <schwab@redhat.com>
36859         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
36861 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
36863         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
36864         and F_GETPIPE_SZ.
36865         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
36866         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
36867         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
36868         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
36869         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
36870         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise
36872 2010-06-14  Roland McGrath  <roland@redhat.com>
36874         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
36876 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
36878         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
36879         __REDIRECT followed by __THROW.
36880         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
36881         * posix/getopt.h (getopt): Likewise.
36883 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
36885         * hurd/lookup-at.c (__file_name_lookup_at): Accept
36886         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
36887         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
36888         in AT_FLAGS.
36889         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
36890         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
36892 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
36894         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
36896 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
36898         [BZ #11640]
36899         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
36900         Properly check family and model.
36902 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
36904         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
36906 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
36908         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
36910 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
36912         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
36913         symbol reference.
36915 2010-05-19  Andreas Schwab  <schwab@redhat.com>
36917         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
36918         symbol reference.
36920 2010-05-21  Andreas Schwab  <schwab@redhat.com>
36922         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
36923         and internal_recvmmsg.
36924         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
36925         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
36926         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
36927         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
36929         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
36930         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
36931         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
36933 2010-05-20  Andreas Schwab  <schwab@redhat.com>
36935         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
36937 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
36939         POWER7 optimizations.
36940         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
36941         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
36943 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
36945         * version.h: Update for 2.13 development version.
36947 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
36949         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
36950         exceptions.  Return 0.
36952 2010-05-07  Roland McGrath  <roland@redhat.com>
36954         * elf/ldconfig.c (main): Add a const.
36956 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
36958         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
36959         (args_options): Add no-idn option.
36960         (ahosts_keys_int): Add idn_flags to ai_flags.
36961         (parse_option): Handle 'i' option to clear idn_flags.
36963         * malloc/malloc.c (_int_free): Possible race in the most recently
36964         added check.  Only act on the data if no current modification
36965         happened.
36967 See ChangeLog.17 for earlier changes.